summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-03-17 14:39:20 +0000
committertaca <taca@pkgsrc.org>2012-03-17 14:39:20 +0000
commit25d967f6e0283e4836d6df167090e01167481b4a (patch)
tree5ab8f3743b900bae35f8ea88722f5f36fefa7dd1 /devel
parent6f6a49860c10f066e68d20875a4f53f9ed94abb1 (diff)
downloadpkgsrc-25d967f6e0283e4836d6df167090e01167481b4a.tar.gz
Update ruby-mocha to 0.10.5.
= 0.10.5 (a5a64cf9755b21d4a30e446232654d1c0fc6f151) * Fix for issue #66 (hopefully without regressing on issue #63) - Mocha::Mock has Mocha::Mockery as a dependency. Stop trying to pretend otherwise. Thanks to @kennyj for reporting. * Fix a bunch of warnings in Ruby 1.9. There are still the 6 test failures mentioned in issue #41 which I suspect are due to the introspection gem not being Ruby 1.9-compatible. * Add links to README for source code & issue tracker. * Fix for issue #67 - Make the travis-ci badge visible in the README. Thanks to Diego Plentz for pull request. * Fix for issue #70 - Rename Mock#expectations to Mock#__expectations__ to avoid conflicts. Thanks to Jeremy Stephens for pull request. = 0.10.4 () * Fix for issue #65 - expectations not being verified in subsequent tests * Fix for issue #63 - require Mocha::Mockery at Mocha::Mock class load time and not on invocation of Mock#method_missing. * Fix for issue #45 - raise ArgumentError if Mocha::ParameterMatchers#has_entry is given Hash with wrong number of entries. * Make global variable name more obscure to avoid clashes with other libraries. * Move travis-ci-related gemfiles into their own directory. = 0.10.3 (e7f88af8e7c3396bc85fe9f9cb9e5f5fef04bea2) * Fix for issue #57. Gem::Requirement#=~ was only added in rubygems v1.8.0, but Object#=~ means the result of various monkey-patching checks is always false/nil for earlier versions of rubygems. However, the method it aliases #satisfied_by? has existed since Gem::Dependency was extracted from Gem::Version in rubygems v0.9.4.4, so it's much safer to use that. Thanks to fguillen for reporting and helping with diagnosis. = 0.10.2 (e05d9a555f1cf97c5961900dab0d884e9753257b) * Merge pull request #53. Unstubbing a method should not remove expectations for other stubbed methods. Fixes #52. Thanks to saikat. = 0.10.1 (f631a4ba22c6ed4929c52b0520311a9a84034a20) * Merge pull request #51. Use Gem::Requirement & Gem::Version for version comparison. Fixes issue #50. Thanks to meineerde. * Fixed typo in rdoc for Mocha::ObjectMethods. * Improve README as suggested in issue #46. Explain that Mocha must be loaded after test libraries and how to achieve this using Bundler. * Merge pull request #43 - nobody expects the spanish inquisition! Thanks to cairo140. * Fix for issue #39 - improve documentation for Expectation#multiple_yields. * Fix for issue #38 where a subtle change in test-unit v2.3.0 had been missed - only visible in verbose mode. * Support for MiniTest up to v2.6.2 has been verified. * Add explicit development dependency on coderay for generating syntax-highlighted code examples.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-mocha/Makefile4
-rw-r--r--devel/ruby-mocha/PLIST32
-rw-r--r--devel/ruby-mocha/distinfo8
3 files changed, 23 insertions, 21 deletions
diff --git a/devel/ruby-mocha/Makefile b/devel/ruby-mocha/Makefile
index 05e750daab0..21cd0cad4da 100644
--- a/devel/ruby-mocha/Makefile
+++ b/devel/ruby-mocha/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2011/09/12 11:50:50 taca Exp $
+# $NetBSD: Makefile,v 1.10 2012/03/17 14:39:20 taca Exp $
-DISTNAME= mocha-0.10.0
+DISTNAME= mocha-0.10.5
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/devel/ruby-mocha/PLIST b/devel/ruby-mocha/PLIST
index d2c87cc2b50..15607e7dcec 100644
--- a/devel/ruby-mocha/PLIST
+++ b/devel/ruby-mocha/PLIST
@@ -1,20 +1,8 @@
-@comment $NetBSD: PLIST,v 1.7 2011/09/12 11:50:51 taca Exp $
+@comment $NetBSD: PLIST,v 1.8 2012/03/17 14:39:20 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/COPYING.rdoc
${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/Gemfile.minitest.1.3.0
-${GEM_LIBDIR}/Gemfile.minitest.1.4.0
-${GEM_LIBDIR}/Gemfile.minitest.1.4.1
-${GEM_LIBDIR}/Gemfile.minitest.1.4.2
-${GEM_LIBDIR}/Gemfile.minitest.2.0.0
-${GEM_LIBDIR}/Gemfile.minitest.2.0.1
-${GEM_LIBDIR}/Gemfile.minitest.2.3.0
-${GEM_LIBDIR}/Gemfile.minitest.latest
-${GEM_LIBDIR}/Gemfile.test-unit.2.0.0
-${GEM_LIBDIR}/Gemfile.test-unit.2.0.1
-${GEM_LIBDIR}/Gemfile.test-unit.2.0.3
-${GEM_LIBDIR}/Gemfile.test-unit.latest
${GEM_LIBDIR}/MIT-LICENSE.rdoc
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/RELEASE.rdoc
@@ -22,6 +10,18 @@ ${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/examples/misc.rb
${GEM_LIBDIR}/examples/mocha.rb
${GEM_LIBDIR}/examples/stubba.rb
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.3.0
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.4.0
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.4.1
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.4.2
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.2.0.0
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.2.0.1
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.2.3.0
+${GEM_LIBDIR}/gemfiles/Gemfile.minitest.latest
+${GEM_LIBDIR}/gemfiles/Gemfile.test-unit.2.0.0
+${GEM_LIBDIR}/gemfiles/Gemfile.test-unit.2.0.1
+${GEM_LIBDIR}/gemfiles/Gemfile.test-unit.2.0.3
+${GEM_LIBDIR}/gemfiles/Gemfile.test-unit.latest
${GEM_LIBDIR}/init.rb
${GEM_LIBDIR}/lib/mocha.rb
${GEM_LIBDIR}/lib/mocha/any_instance_method.rb
@@ -51,13 +51,13 @@ ${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_141.rb
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_142_to_172.rb
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_200.rb
${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_201_to_222.rb
-${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_230_to_251.rb
+${GEM_LIBDIR}/lib/mocha/integration/mini_test/version_230_to_262.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/assertion_counter.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_200.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_201_to_202.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_203_to_220.rb
-${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_230_to_233.rb
+${GEM_LIBDIR}/lib/mocha/integration/test_unit/gem_version_230_to_240.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/ruby_version_185_and_below.rb
${GEM_LIBDIR}/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb
${GEM_LIBDIR}/lib/mocha/is_a.rb
@@ -118,6 +118,8 @@ ${GEM_LIBDIR}/test/acceptance/exception_rescue_test.rb
${GEM_LIBDIR}/test/acceptance/expectations_on_multiple_methods_test.rb
${GEM_LIBDIR}/test/acceptance/expected_invocation_count_test.rb
${GEM_LIBDIR}/test/acceptance/failure_messages_test.rb
+${GEM_LIBDIR}/test/acceptance/issue_65_test.rb
+${GEM_LIBDIR}/test/acceptance/issue_70_test.rb
${GEM_LIBDIR}/test/acceptance/minitest_test.rb
${GEM_LIBDIR}/test/acceptance/mocha_example_test.rb
${GEM_LIBDIR}/test/acceptance/mocha_test_result_test.rb
diff --git a/devel/ruby-mocha/distinfo b/devel/ruby-mocha/distinfo
index 222e46078a0..4a1c384014a 100644
--- a/devel/ruby-mocha/distinfo
+++ b/devel/ruby-mocha/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2011/09/12 11:50:51 taca Exp $
+$NetBSD: distinfo,v 1.9 2012/03/17 14:39:20 taca Exp $
-SHA1 (mocha-0.10.0.gem) = 9fe4c957e1eb1634d97e8621ce62e3e8330b7ec7
-RMD160 (mocha-0.10.0.gem) = 96075a586c50e8fdadd3017ef72b2b4bc48c5e27
-Size (mocha-0.10.0.gem) = 71168 bytes
+SHA1 (mocha-0.10.5.gem) = b3490deeb5a2e50b86df3cdacf27f19b67fc6f3f
+RMD160 (mocha-0.10.5.gem) = 5e29c4701db4fdd90012cf3e1c4ebe46a254e972
+Size (mocha-0.10.5.gem) = 73728 bytes