summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-12-16 16:44:31 +0000
committertaca <taca@pkgsrc.org>2012-12-16 16:44:31 +0000
commit2fc1d03663fb69d48585832c7629ee01379523c8 (patch)
treea435a538157aa9846e3f496ee650bf8ef107c700 /devel
parent927cf2b6f20f037b425910dcee3f8f688513824c (diff)
downloadpkgsrc-2fc1d03663fb69d48585832c7629ee01379523c8.tar.gz
Update ruby-rspec-expectations to 2.12.0.
### 2.12.0 / 2012-11-12 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.3...2.12.0) Enhancements * Colorize diffs if the `--color` option is configured. (Alex Coplan) * Include backtraces in unexpected errors handled by `raise_error` matcher (Myron Marston) * Print a warning when users accidentally pass a non-string argument as an expectation message (Sam Phippen) * `=~` and `match_array` matchers output a more useful error message when the actual value is not an array (or an object that responds to `#to_ary`) (Sam Phippen) Bug fixes * Fix `include` matcher so that `expect({}).to include(:a => nil)` fails as it should (Sam Phippen). * Fix `be_an_instance_of` matcher so that `Class#to_s` is used in the description rather than `Class#inspect`, since some classes (like `ActiveRecord::Base`) define a long, verbose `#inspect`. (Tom Stuart) ### 2.11.3 / 2012-09-04 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.2...v2.11.3) Bug fixes * Fix (and deprecate) `expect { }.should` syntax so that it works even though it was never a documented or intended syntax. It worked as a consequence of the implementation of `expect` in RSpec 2.10 and earlier. (Myron Marston) * Ensure #== is defined on built in matchers so that they can be composed. For example: expect { user.emailed! }.to change { user.last_emailed_at }.to be_within(1.second).of(Time.zone.now) ### 2.11.2 / 2012-07-25 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.1...v2.11.2) Bug fixes * Define `should` and `should_not` on `Object` rather than `BasicObject` on MacRuby. On MacRuby, `BasicObject` is defined but is not the root of the object hierarchy. (Gabriel Gilder)
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-rspec-expectations/Makefile4
-rw-r--r--devel/ruby-rspec-expectations/PLIST3
-rw-r--r--devel/ruby-rspec-expectations/distinfo8
3 files changed, 8 insertions, 7 deletions
diff --git a/devel/ruby-rspec-expectations/Makefile b/devel/ruby-rspec-expectations/Makefile
index cbe36b3d251..c0afb33b2d8 100644
--- a/devel/ruby-rspec-expectations/Makefile
+++ b/devel/ruby-rspec-expectations/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2012/09/16 06:25:42 taca Exp $
+# $NetBSD: Makefile,v 1.9 2012/12/16 16:44:31 taca Exp $
-DISTNAME= rspec-expectations-2.11.3
+DISTNAME= rspec-expectations-2.12.0
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/devel/ruby-rspec-expectations/PLIST b/devel/ruby-rspec-expectations/PLIST
index f098351d094..1d6ed719931 100644
--- a/devel/ruby-rspec-expectations/PLIST
+++ b/devel/ruby-rspec-expectations/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2012/09/16 06:25:42 taca Exp $
+@comment $NetBSD: PLIST,v 1.8 2012/12/16 16:44:31 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.document
${GEM_LIBDIR}/.yardopts
@@ -91,6 +91,7 @@ ${GEM_LIBDIR}/spec/rspec/expectations/expectation_target_spec.rb
${GEM_LIBDIR}/spec/rspec/expectations/extensions/kernel_spec.rb
${GEM_LIBDIR}/spec/rspec/expectations/fail_with_spec.rb
${GEM_LIBDIR}/spec/rspec/expectations/handler_spec.rb
+${GEM_LIBDIR}/spec/rspec/expectations/syntax_spec.rb
${GEM_LIBDIR}/spec/rspec/matchers/base_matcher_spec.rb
${GEM_LIBDIR}/spec/rspec/matchers/be_close_spec.rb
${GEM_LIBDIR}/spec/rspec/matchers/be_instance_of_spec.rb
diff --git a/devel/ruby-rspec-expectations/distinfo b/devel/ruby-rspec-expectations/distinfo
index f535b26dcd5..fbfd5bd5b64 100644
--- a/devel/ruby-rspec-expectations/distinfo
+++ b/devel/ruby-rspec-expectations/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2012/09/16 06:25:42 taca Exp $
+$NetBSD: distinfo,v 1.9 2012/12/16 16:44:32 taca Exp $
-SHA1 (rspec-expectations-2.11.3.gem) = f66237ae03a8dfe1502c93e454ee84e2cb5c91b5
-RMD160 (rspec-expectations-2.11.3.gem) = 4375084f69e6bd51103381729da76d54d2498c8e
-Size (rspec-expectations-2.11.3.gem) = 77312 bytes
+SHA1 (rspec-expectations-2.12.0.gem) = 9e9a345a4f1894e528294446ade3313e5b09484e
+RMD160 (rspec-expectations-2.12.0.gem) = b212882cbdc6e8814dd30d72992b4c92a59cfe0a
+Size (rspec-expectations-2.12.0.gem) = 79360 bytes