pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-mocha



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Sep 12 11:50:51 UTC 2011

Modified Files:
        pkgsrc/devel/ruby-mocha: Makefile PLIST distinfo

Log Message:
Update ruby-mocha package to 0.10.0.

= 0.10.0 ()
* Add Expectation#throws to allow a stubbed method to use Kernel#throw.
* Updates for versions of Test::Unit up to and including v2.3.3 (including
  patch by Jens Fahnenbruck).
* Updates for versions of MiniTest up to and including v2.5.1.
* Since the singleton method added by Mocha masks the underlying instance
  method, there's no need to move it out the way and then back again. This
  fixes Github issue #20, because the original method is left unchanged -
  https://github.com/floehopper/mocha/issues/20 (thanks to Nick Lewis).
* Handle stubbing of a singleton method, leaving the original method unchanged
  after the test.
* When stubbing an instance method that was originally defined as a singleton
  method, the original method should still exist after the test.
* Fixed mis-print in Mocha::ObjectMethods#unstub documentation (patch by Gleb
  Pomykalov).
* Improved test coverage around stubbing of methods defined in different ways
  - this makes use of the newly extracted introspection gem (although this
  means some tests are now failing in Ruby v1.9.2).
* Added configuration for Travis continuous integration.
* Make the gemspec the canonical reference and stop generating it from the
  Rakefile.
* Use the built-in Bundler rake tasks for packaging the gem.
* Use the "release" rake task provided by Bundler instead of using the
  Rake::XForge::Release functionality.
* Extract Object#__metaclass__ into a new metaclass gem.
* Run rake tasks without `bundle exec`.
* Avoid deprecation warning for rdoc rake task.
* Remove the `use_test_unit_gem` MOCHA_OPTION which hasn't worked since we
  switched to bundler - we can now run the tests specifying a different
  Gemfile instead.
* Use multiple Gemfiles seems to run Travis CI builds against multiple version
  of test-unit & minitest.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-mocha/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-mocha/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/ruby-mocha/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index