pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-mocha Update ruby-mocha to 1.2.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87b66985f703
branches:  trunk
changeset: 354137:87b66985f703
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Oct 20 14:40:39 2016 +0000

description:
Update ruby-mocha to 1.2.1.

## 1.2.1

* Fixed #272. Workaround Ruby bug 12832 which caused interpreter to hang. See https://bugs.ruby-lang.org/issues/12832. Thanks to @chrisroos & @petems (6f1c8b9b, #273).

## 1.2.0

* Always use prepended module to stub class & instance methods for Ruby v2+ - thanks to @grosser & @chrisroos (43d56671, #244)
* Always use prepended module to stub AnyInstance methods in Ruby v2+ - thanks to @chrisroos (#262)
* Always set visibility of stub method to match stubbed method on included module - thanks to @grosser & @chrisroos (e87c03b0, #248)
* Always set visibility to stub method to match stubbed method on superclass - thanks to @chrisroos (38d902ad)
* Allow stubbing of method to which any instance responds (#200)
* Allow `includes` matcher to take matcher arguments - thanks to @lazyatom (#217)
* Avoid exception in older version of Rubygems - thanks to @chrisroos (78d930a7)
* Add licenses to gemspec as requested by @coreyhaines (#201)
* Fix typo in README - thanks to @jaredbeck (6119460d)
* Added section about using Mocha with RSpec & Rails to README (#221)
* Fix documentation for Mocha::API#stub method - thanks to @raeno (599b1dcd)
* Added backers and sponsors from OpenCollective - thanks to @piamancini (#253)
* Fix typo in docs for equals - thanks to @alexcoco (#254)
* Add known issue for Ruby v1.8 to README - thanks to @chrisroos (2c642096)

diffstat:

 devel/ruby-mocha/Makefile |   4 ++--
 devel/ruby-mocha/PLIST    |   5 ++++-
 devel/ruby-mocha/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r 057f5e3420b8 -r 87b66985f703 devel/ruby-mocha/Makefile
--- a/devel/ruby-mocha/Makefile Thu Oct 20 14:40:08 2016 +0000
+++ b/devel/ruby-mocha/Makefile Thu Oct 20 14:40:39 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2015/02/01 14:50:43 taca Exp $
+# $NetBSD: Makefile,v 1.21 2016/10/20 14:40:39 taca Exp $
 
-DISTNAME=      mocha-1.1.0
+DISTNAME=      mocha-1.2.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 057f5e3420b8 -r 87b66985f703 devel/ruby-mocha/PLIST
--- a/devel/ruby-mocha/PLIST    Thu Oct 20 14:40:08 2016 +0000
+++ b/devel/ruby-mocha/PLIST    Thu Oct 20 14:40:39 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2015/02/01 14:50:43 taca Exp $
+@comment $NetBSD: PLIST,v 1.19 2016/10/20 14:40:39 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gemtest
 ${GEM_LIBDIR}/.yardopts
@@ -112,6 +112,7 @@
 ${GEM_LIBDIR}/lib/mocha/pretty_parameters.rb
 ${GEM_LIBDIR}/lib/mocha/receivers.rb
 ${GEM_LIBDIR}/lib/mocha/return_values.rb
+${GEM_LIBDIR}/lib/mocha/ruby_version.rb
 ${GEM_LIBDIR}/lib/mocha/sequence.rb
 ${GEM_LIBDIR}/lib/mocha/setup.rb
 ${GEM_LIBDIR}/lib/mocha/single_return_value.rb
@@ -134,6 +135,7 @@
 ${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_272_test.rb
 ${GEM_LIBDIR}/test/acceptance/issue_65_test.rb
 ${GEM_LIBDIR}/test/acceptance/issue_70_test.rb
 ${GEM_LIBDIR}/test/acceptance/mocha_example_test.rb
@@ -165,6 +167,7 @@
 ${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_object_class_test.rb
 ${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb
 ${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_superclass_test.rb
+${GEM_LIBDIR}/test/acceptance/stub_method_defined_on_module_and_aliased_test.rb
 ${GEM_LIBDIR}/test/acceptance/stub_module_method_test.rb
 ${GEM_LIBDIR}/test/acceptance/stub_test.rb
 ${GEM_LIBDIR}/test/acceptance/stubba_example_test.rb
diff -r 057f5e3420b8 -r 87b66985f703 devel/ruby-mocha/distinfo
--- a/devel/ruby-mocha/distinfo Thu Oct 20 14:40:08 2016 +0000
+++ b/devel/ruby-mocha/distinfo Thu Oct 20 14:40:39 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2015/11/03 03:29:25 agc Exp $
+$NetBSD: distinfo,v 1.21 2016/10/20 14:40:39 taca Exp $
 
-SHA1 (mocha-1.1.0.gem) = 688b422198a9115993ec24cb3349248e520a709c
-RMD160 (mocha-1.1.0.gem) = 8ab48d756f89cbc1ca187dba2b33aa73bc2fd338
-SHA512 (mocha-1.1.0.gem) = 5a07c8364ae649a6be821c4b61c349d79e1dbf1e574ed95b07848f5dae3a2860e2f2e06499fc15b8352ec2146f273cc40ee8e65e670214f0f0669b6eedf698bb
-Size (mocha-1.1.0.gem) = 87552 bytes
+SHA1 (mocha-1.2.1.gem) = abbd8d08e590f82b539192f10426a298364b3c71
+RMD160 (mocha-1.2.1.gem) = e0512d548bc0fcf41d0e80651e752018335b2e2e
+SHA512 (mocha-1.2.1.gem) = 318fc7275b7ef14b6839ce68beb4a6dcd2a06325bcc5e69d82bd6842dc39c78b8a09d6d06d36dbf0f43e59bbcf441be9a6b1d3037f0cbde25be9d04ae44b2aed
+Size (mocha-1.2.1.gem) = 90624 bytes



Home | Main Index | Thread Index | Old Index