Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
taca 84a97ac9cb Update ruby-mocha package to 0.9.1.
= 0.9.1 (r349)

* Fixed bug #21465 - expects & stubs should support method names as strings (as well as symbols) or fail fast. Convert all expectation method names to a symbol in case they were supplied as a string.
* By removing Mock#unexpected_method_called we reduce the number of methods vulnerable to the problem that surfaced in bug #21563.
* Fix bug #21563 - stubbing 'verified?' method is unsafe. Instance method names on the Mock class should be more obscure.
* Performance improvement. StubbaExampleTest goes twice as fast on my local machine.
* Added primitive performance test to default rake task.
* Fix format of case statements which don't work in Ruby 1.9 and make others consistent.
* There is no point in running (potentially expensive) checks if configuration is set to allow such checks to fail. This is a relatively quick fix in response to Chris McGrath's performance problems.
* Fix for bug #21161 - 'uninitialized constant Deprecation in stubba.rb'.
* It's more readable to talk about 'once' and 'twice' rather than '1 time' and '2 times'.
* Fix bug #20883 - never should raise when called to prevent follow up errors. Fail fast when there are no matching invokable expectations and handle the stub_everything case sensibly. This might not be entirely backwards compatible, but I think the benefits outweigh the risks. The most likely change is that a test that was already failing will now fail faster, which doesn't seem so awful.

= 0.9.0 (r316)

* Configurable warnings or errors
  * when a method on a non-public method is stubbed
  * when a method on a non-existent method is stubbed
  * when a method on a non-mock object is stubbed
  * when a method is stubbed unnecessarily (i.e. the stubbed method is not called during the test)

* Improved error messages
  * User-friendly list of unsatisfied expectations, satisfied expectations and state machines.
  * Improved readability of cardinality description.
  * Display sensible failure message for any_instance expectations e.g. "#<AnyInstance:Foo>.bar - expected calls: 1, actual calls: 0"

* Parameter matchers
  * New to this release
    * optionally (allows matching of optional parameters if available)
    * yaml_equivalent (allows matching of YAML that represents the specified object)
    * responds_with (tests the quack not the duck)
  * Nesting of parameter matchers is now supported.

* Optional block passed into mock initializer is evaluated in the context of the new mock instance and can be used as a shortcut to set up expectations.

* Added JMock-style sequences for constraining the order of expected invocations. See Standalone#sequence and Expectation#in_sequence.

* Added JMock-style states for constraining the order of expected invocations. See Standalone#states, Expectation#then, Expectation#when and StateMachine.

* Compatibility with versions of Ruby
  * Compatibility with Ruby v1.9. All test errors and warnings fixed.
  * Nasty fix so that TestCaseAdaptor works consistently with earlier versions of Test::Unit as well as more recent versions.
  * Added platform to gem specification to avoid bug in rubygems 0.9.5 - see http://www.dcmanges.com/blog/rubygems-0-9-5-platform-bug and http://rubygems.org/read/chapter/20#platform.
  * Make ExpectationRaiser deal with subclasses of Interrupt which seem to need a message supplied in the raise statement in Ruby 1.8.6 (but not 1.8.4 or 1.9). Not sure this is really Mocha's responsibility.

* Added deprecation warning in stubba.rb which is no longer needed and will be removed.

* Supply positioning information to evals to improve any error messages. See http://ola-bini.blogspot.com/2008/01/ruby-antipattern-using-eval-without.html

* Bug fixes
  * 18914 in revision 296 - http://rubyforge.org/tracker/index.php?func=detail&aid=18914&group_id=1917&atid=7477
  * 18917 in revision 295 - http://rubyforge.org/tracker/index.php?func=detail&aid=18917&group_id=1917&atid=7477
  * 18336 in revision 287 - http://rubyforge.org/tracker/index.php?func=detail&aid=18336&group_id=1917&atid=7477
  * 17835 in revision 255 - http://rubyforge.org/tracker/index.php?func=detail&aid=17835&group_id=1917&atid=7477
  * 17412 in revision 242 - http://rubyforge.org/tracker/index.php?func=detail&aid=17412&group_id=1917&atid=7477
  * 15977 in revision 198 - http://rubyforge.org/tracker/index.php?func=detail&aid=15977&group_id=1917&atid=7477
  * 11885 in revision 156 - http://rubyforge.org/tracker/index.php?func=detail&aid=11885&group_id=1917&atid=7477
2008-09-15 08:49:50 +00:00
archivers Update from version 1.23 to 1.24. 2008-09-11 12:31:18 +00:00
audio Added audio/ampache version 3.4.3 2008-09-14 09:07:34 +00:00
benchmarks Remove restriction to i386. I can't find any reason for it, other packagers 2008-08-30 08:50:39 +00:00
biology Add license, and rewrite RESTRICTED based on it (basically similar). 2008-09-12 20:10:44 +00:00
bootstrap Use /usr/xpg4/bin/id on Solaris to get user id and group id. 2008-07-31 13:42:57 +00:00
cad Update to gerbv-2.1.0. Changes from 2.0.1 include: 2008-09-15 02:25:54 +00:00
chat Use config file. 2008-09-11 21:59:33 +00:00
comms Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib 2008-09-06 20:54:31 +00:00
converters EGG_NAME now defaults to ${DISTNAME} so don't set it here. 2008-09-12 07:08:47 +00:00
cross Uses BSD makefile, so tag it as such. 2008-07-10 15:29:29 +00:00
databases Update ruby-activerecord to 2.1.1. 2008-09-15 05:38:29 +00:00
devel Update ruby-mocha package to 0.9.1. 2008-09-15 08:49:50 +00:00
distfiles
doc Note update of ruby-maruku. 2008-09-15 06:06:27 +00:00
editors Updated editors/vim-share to 7.2.18 2008-09-14 20:30:17 +00:00
emulators Add a workaround to make NetBSD/arc work with vga/pckbd console. 2008-09-14 06:15:35 +00:00
filesystems Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib 2008-09-06 20:54:31 +00:00
finance Update to 2.2.6: 2008-08-12 22:29:54 +00:00
fonts Update dejavu-ttf to 2.26. 2008-09-10 00:27:12 +00:00
games Note that underlying license is GPL2. 2008-09-12 22:46:52 +00:00
geography Update MASTER_SITES, from Zafer Aydogan. 2008-08-04 06:50:36 +00:00
graphics Update ruby-RMagick package to 2.6.0. 2008-09-15 08:45:01 +00:00
ham Bump PKGREVISION for these packages due to JACK update. 2008-07-31 04:02:40 +00:00
inputmethod Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib 2008-09-06 20:54:31 +00:00
lang Accept none existing directory in REPLACE_RUBY_DIRS. 2008-09-15 08:40:55 +00:00
licenses add license 2008-09-12 22:49:37 +00:00
mail Update ruby-actionmailer to 2.1.1 to sync with other rails packages. 2008-09-15 05:56:31 +00:00
math Imported math/fricas. 2008-09-14 12:29:56 +00:00
mbone Fix pidfile option handling (in configuration file case). 2008-08-26 17:18:14 +00:00
meta-pkgs Update boost to 1.36.0. Way too many changes since 1.34 to be listed 2008-09-13 16:14:13 +00:00
misc Update rubygems pacakge to 1.2.0. 2008-09-15 08:43:44 +00:00
mk As the openmotif license doesnt allow usage on close source systems, 2008-09-14 09:51:30 +00:00
multimedia fix path to .pc file 2008-09-14 13:54:45 +00:00
net Added p5-Net-Z3950-ZOOM. 2008-09-14 19:33:41 +00:00
news set NO_*_ON_CDROM following LICENSE. 2008-09-12 11:33:44 +00:00
packages
parallel Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib 2008-09-06 20:54:31 +00:00
pkgtools pbulk-0.34: 2008-09-14 18:59:02 +00:00
print Treat FITB* references like their counterparts w/o 'B' instead 2008-09-14 14:35:27 +00:00
regress Drop maintainership 2008-04-30 13:38:14 +00:00
security Update from version 1.06 to 1.07. 2008-09-12 11:53:45 +00:00
shells Regenerate correct distinfo for patch-ab. 2008-08-22 19:47:44 +00:00
sysutils Instead of using PRId32 (which fixed the amd64 build only to break i386), 2008-09-14 16:15:05 +00:00
templates Remove trailing spaces. 2007-10-09 19:19:08 +00:00
textproc Update ruby-json-pure pacakge to 1.1.3. 2008-09-15 08:39:10 +00:00
time Update from version 1.11 to 1.13, discussed with maintainer. 2008-09-14 12:52:29 +00:00
wm Set NO_BIN_ON_FTP because pkgsrc modifies the source. 2008-09-12 20:06:29 +00:00
www Update ruby-rack package to 0.4.0. 2008-09-15 08:31:47 +00:00
x11 I just learned that this incarnation of dri2 will never ship and has 2008-09-13 00:33:14 +00:00
Makefile The crosspkgtools has not worked for a long time because of changes in 2008-06-23 20:34:20 +00:00
pkglocate
README

$NetBSD: README,v 1.18 2005/05/07 22:18:28 wiz Exp $

Please see doc/pkgsrc.txt for information.