Sat Jun 2 00:45:07 2012 UTC ()
Update ruby-rspec-expectations to 2.10.0.

### 2.10.0 / 2012-05-03
[full changelog](http://github.com/rspec/rspec-expectations/compare/v2.9.1...v2.10.0)

Enhancements

* Add new `start_with` and `end_with` matchers (Jeremy Wadsack)
* Add new matchers for specifying yields (Myron Marson):
    * `expect {...}.to yield_control`
    * `expect {...}.to yield_with_args(1, 2, 3)`
    * `expect {...}.to yield_with_no_args`
    * `expect {...}.to yield_successive_args(1, 2, 3)`
* `match_unless_raises` takes multiple exception args

Bug fixes

* Fix `be_within` matcher to be inclusive of delta.
* Fix message-specific specs to pass on Rubinius (John Firebaugh)


(taca)
diff -r1.5 -r1.6 pkgsrc/devel/ruby-rspec-expectations/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/ruby-rspec-expectations/distinfo
diff -r1.4 -r1.5 pkgsrc/devel/ruby-rspec-expectations/PLIST

cvs diff -r1.5 -r1.6 pkgsrc/devel/ruby-rspec-expectations/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-rspec-expectations/Makefile 2012/04/29 05:28:41 1.5
+++ pkgsrc/devel/ruby-rspec-expectations/Makefile 2012/06/02 00:45:07 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.5 2012/04/29 05:28:41 taca Exp $ 1# $NetBSD: Makefile,v 1.6 2012/06/02 00:45:07 taca Exp $
2 2
3DISTNAME= rspec-expectations-2.9.1 3DISTNAME= rspec-expectations-2.10.0
4CATEGORIES= devel 4CATEGORIES= devel
5 5
6MAINTAINER= pkgsrc-users@NetBSD.org 6MAINTAINER= pkgsrc-users@NetBSD.org
7HOMEPAGE= http://relishapp.com/rspec 7HOMEPAGE= http://relishapp.com/rspec
8COMMENT= Behaviour Driven Development framework for Ruby, expectations 8COMMENT= Behaviour Driven Development framework for Ruby, expectations
9LICENSE= mit 9LICENSE= mit
10 10
11DEPENDS+= ${RUBY_PKGPREFIX}-diff-lcs>=1.1.3<1.2:../../textproc/ruby-diff-lcs 11DEPENDS+= ${RUBY_PKGPREFIX}-diff-lcs>=1.1.3<1.2:../../textproc/ruby-diff-lcs
12 12
13.include "../../lang/ruby/gem.mk" 13.include "../../lang/ruby/gem.mk"
14.include "../../mk/bsd.pkg.mk" 14.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/devel/ruby-rspec-expectations/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ruby-rspec-expectations/distinfo 2012/04/29 05:28:41 1.5
+++ pkgsrc/devel/ruby-rspec-expectations/distinfo 2012/06/02 00:45:07 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2012/04/29 05:28:41 taca Exp $ 1$NetBSD: distinfo,v 1.6 2012/06/02 00:45:07 taca Exp $
2 2
3SHA1 (rspec-expectations-2.9.1.gem) = bba3d963149235f626a1341bf1bfa2ef28c4bb39 3SHA1 (rspec-expectations-2.10.0.gem) = 8e201de0085ba6ebe293377009576311565cac80
4RMD160 (rspec-expectations-2.9.1.gem) = 111a37228d94840eb68eccb6054e3c5cb7f433cc 4RMD160 (rspec-expectations-2.10.0.gem) = eac596fcb51579e7c1006b93b30b1b0df86d63ba
5Size (rspec-expectations-2.9.1.gem) = 64000 bytes 5Size (rspec-expectations-2.10.0.gem) = 70144 bytes

cvs diff -r1.4 -r1.5 pkgsrc/devel/ruby-rspec-expectations/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/ruby-rspec-expectations/PLIST 2012/03/20 13:37:28 1.4
+++ pkgsrc/devel/ruby-rspec-expectations/PLIST 2012/06/02 00:45:07 1.5
@@ -1,39 +1,42 @@ @@ -1,39 +1,42 @@
1@comment $NetBSD: PLIST,v 1.4 2012/03/20 13:37:28 taca Exp $ 1@comment $NetBSD: PLIST,v 1.5 2012/06/02 00:45:07 taca Exp $
2${GEM_HOME}/cache/${GEM_NAME}.gem 2${GEM_HOME}/cache/${GEM_NAME}.gem
3${GEM_LIBDIR}/.document 3${GEM_LIBDIR}/.document
4${GEM_LIBDIR}/.yardopts 4${GEM_LIBDIR}/.yardopts
5${GEM_LIBDIR}/Changelog.md 5${GEM_LIBDIR}/Changelog.md
6${GEM_LIBDIR}/License.txt 6${GEM_LIBDIR}/License.txt
7${GEM_LIBDIR}/README.md 7${GEM_LIBDIR}/README.md
8${GEM_LIBDIR}/features/README.markdown 8${GEM_LIBDIR}/features/README.md
9${GEM_LIBDIR}/features/Upgrade.md 9${GEM_LIBDIR}/features/Upgrade.md
10${GEM_LIBDIR}/features/built_in_matchers/README.md 10${GEM_LIBDIR}/features/built_in_matchers/README.md
11${GEM_LIBDIR}/features/built_in_matchers/be.feature 11${GEM_LIBDIR}/features/built_in_matchers/be.feature
12${GEM_LIBDIR}/features/built_in_matchers/be_within.feature 12${GEM_LIBDIR}/features/built_in_matchers/be_within.feature
13${GEM_LIBDIR}/features/built_in_matchers/cover.feature 13${GEM_LIBDIR}/features/built_in_matchers/cover.feature
 14${GEM_LIBDIR}/features/built_in_matchers/end_with.feature
14${GEM_LIBDIR}/features/built_in_matchers/equality.feature 15${GEM_LIBDIR}/features/built_in_matchers/equality.feature
15${GEM_LIBDIR}/features/built_in_matchers/exist.feature 16${GEM_LIBDIR}/features/built_in_matchers/exist.feature
16${GEM_LIBDIR}/features/built_in_matchers/expect_change.feature 17${GEM_LIBDIR}/features/built_in_matchers/expect_change.feature
17${GEM_LIBDIR}/features/built_in_matchers/expect_error.feature 18${GEM_LIBDIR}/features/built_in_matchers/expect_error.feature
18${GEM_LIBDIR}/features/built_in_matchers/have.feature 19${GEM_LIBDIR}/features/built_in_matchers/have.feature
19${GEM_LIBDIR}/features/built_in_matchers/include.feature 20${GEM_LIBDIR}/features/built_in_matchers/include.feature
20${GEM_LIBDIR}/features/built_in_matchers/match.feature 21${GEM_LIBDIR}/features/built_in_matchers/match.feature
21${GEM_LIBDIR}/features/built_in_matchers/operators.feature 22${GEM_LIBDIR}/features/built_in_matchers/operators.feature
22${GEM_LIBDIR}/features/built_in_matchers/predicates.feature 23${GEM_LIBDIR}/features/built_in_matchers/predicates.feature
23${GEM_LIBDIR}/features/built_in_matchers/respond_to.feature 24${GEM_LIBDIR}/features/built_in_matchers/respond_to.feature
24${GEM_LIBDIR}/features/built_in_matchers/satisfy.feature 25${GEM_LIBDIR}/features/built_in_matchers/satisfy.feature
 26${GEM_LIBDIR}/features/built_in_matchers/start_with.feature
25${GEM_LIBDIR}/features/built_in_matchers/throw_symbol.feature 27${GEM_LIBDIR}/features/built_in_matchers/throw_symbol.feature
26${GEM_LIBDIR}/features/built_in_matchers/types.feature 28${GEM_LIBDIR}/features/built_in_matchers/types.feature
 29${GEM_LIBDIR}/features/built_in_matchers/yield.feature
27${GEM_LIBDIR}/features/custom_matchers/access_running_example.feature 30${GEM_LIBDIR}/features/custom_matchers/access_running_example.feature
28${GEM_LIBDIR}/features/custom_matchers/define_diffable_matcher.feature 31${GEM_LIBDIR}/features/custom_matchers/define_diffable_matcher.feature
29${GEM_LIBDIR}/features/custom_matchers/define_matcher.feature 32${GEM_LIBDIR}/features/custom_matchers/define_matcher.feature
30${GEM_LIBDIR}/features/custom_matchers/define_matcher_outside_rspec.feature 33${GEM_LIBDIR}/features/custom_matchers/define_matcher_outside_rspec.feature
31${GEM_LIBDIR}/features/custom_matchers/define_matcher_with_fluent_interface.feature 34${GEM_LIBDIR}/features/custom_matchers/define_matcher_with_fluent_interface.feature
32${GEM_LIBDIR}/features/customized_message.feature 35${GEM_LIBDIR}/features/customized_message.feature
33${GEM_LIBDIR}/features/diffing.feature 36${GEM_LIBDIR}/features/diffing.feature
34${GEM_LIBDIR}/features/implicit_docstrings.feature 37${GEM_LIBDIR}/features/implicit_docstrings.feature
35${GEM_LIBDIR}/features/step_definitions/additional_cli_steps.rb 38${GEM_LIBDIR}/features/step_definitions/additional_cli_steps.rb
36${GEM_LIBDIR}/features/support/env.rb 39${GEM_LIBDIR}/features/support/env.rb
37${GEM_LIBDIR}/features/test_frameworks/test_unit.feature 40${GEM_LIBDIR}/features/test_frameworks/test_unit.feature
38${GEM_LIBDIR}/lib/rspec-expectations.rb 41${GEM_LIBDIR}/lib/rspec-expectations.rb
39${GEM_LIBDIR}/lib/rspec/expectations.rb 42${GEM_LIBDIR}/lib/rspec/expectations.rb
@@ -60,27 +63,29 @@ ${GEM_LIBDIR}/lib/rspec/matchers/built_i @@ -60,27 +63,29 @@ ${GEM_LIBDIR}/lib/rspec/matchers/built_i
60${GEM_LIBDIR}/lib/rspec/matchers/built_in/cover.rb 63${GEM_LIBDIR}/lib/rspec/matchers/built_in/cover.rb
61${GEM_LIBDIR}/lib/rspec/matchers/built_in/eq.rb 64${GEM_LIBDIR}/lib/rspec/matchers/built_in/eq.rb
62${GEM_LIBDIR}/lib/rspec/matchers/built_in/eql.rb 65${GEM_LIBDIR}/lib/rspec/matchers/built_in/eql.rb
63${GEM_LIBDIR}/lib/rspec/matchers/built_in/equal.rb 66${GEM_LIBDIR}/lib/rspec/matchers/built_in/equal.rb
64${GEM_LIBDIR}/lib/rspec/matchers/built_in/exist.rb 67${GEM_LIBDIR}/lib/rspec/matchers/built_in/exist.rb
65${GEM_LIBDIR}/lib/rspec/matchers/built_in/has.rb 68${GEM_LIBDIR}/lib/rspec/matchers/built_in/has.rb
66${GEM_LIBDIR}/lib/rspec/matchers/built_in/have.rb 69${GEM_LIBDIR}/lib/rspec/matchers/built_in/have.rb
67${GEM_LIBDIR}/lib/rspec/matchers/built_in/include.rb 70${GEM_LIBDIR}/lib/rspec/matchers/built_in/include.rb
68${GEM_LIBDIR}/lib/rspec/matchers/built_in/match.rb 71${GEM_LIBDIR}/lib/rspec/matchers/built_in/match.rb
69${GEM_LIBDIR}/lib/rspec/matchers/built_in/match_array.rb 72${GEM_LIBDIR}/lib/rspec/matchers/built_in/match_array.rb
70${GEM_LIBDIR}/lib/rspec/matchers/built_in/raise_error.rb 73${GEM_LIBDIR}/lib/rspec/matchers/built_in/raise_error.rb
71${GEM_LIBDIR}/lib/rspec/matchers/built_in/respond_to.rb 74${GEM_LIBDIR}/lib/rspec/matchers/built_in/respond_to.rb
72${GEM_LIBDIR}/lib/rspec/matchers/built_in/satisfy.rb 75${GEM_LIBDIR}/lib/rspec/matchers/built_in/satisfy.rb
 76${GEM_LIBDIR}/lib/rspec/matchers/built_in/start_and_end_with.rb
73${GEM_LIBDIR}/lib/rspec/matchers/built_in/throw_symbol.rb 77${GEM_LIBDIR}/lib/rspec/matchers/built_in/throw_symbol.rb
 78${GEM_LIBDIR}/lib/rspec/matchers/built_in/yield.rb
74${GEM_LIBDIR}/lib/rspec/matchers/compatibility.rb 79${GEM_LIBDIR}/lib/rspec/matchers/compatibility.rb
75${GEM_LIBDIR}/lib/rspec/matchers/dsl.rb 80${GEM_LIBDIR}/lib/rspec/matchers/dsl.rb
76${GEM_LIBDIR}/lib/rspec/matchers/extensions/instance_eval_with_args.rb 81${GEM_LIBDIR}/lib/rspec/matchers/extensions/instance_eval_with_args.rb
77${GEM_LIBDIR}/lib/rspec/matchers/generated_descriptions.rb 82${GEM_LIBDIR}/lib/rspec/matchers/generated_descriptions.rb
78${GEM_LIBDIR}/lib/rspec/matchers/matcher.rb 83${GEM_LIBDIR}/lib/rspec/matchers/matcher.rb
79${GEM_LIBDIR}/lib/rspec/matchers/method_missing.rb 84${GEM_LIBDIR}/lib/rspec/matchers/method_missing.rb
80${GEM_LIBDIR}/lib/rspec/matchers/operator_matcher.rb 85${GEM_LIBDIR}/lib/rspec/matchers/operator_matcher.rb
81${GEM_LIBDIR}/lib/rspec/matchers/pretty.rb 86${GEM_LIBDIR}/lib/rspec/matchers/pretty.rb
82${GEM_LIBDIR}/spec/rspec/expectations/differ_spec.rb 87${GEM_LIBDIR}/spec/rspec/expectations/differ_spec.rb
83${GEM_LIBDIR}/spec/rspec/expectations/extensions/kernel_spec.rb 88${GEM_LIBDIR}/spec/rspec/expectations/extensions/kernel_spec.rb
84${GEM_LIBDIR}/spec/rspec/expectations/fail_with_spec.rb 89${GEM_LIBDIR}/spec/rspec/expectations/fail_with_spec.rb
85${GEM_LIBDIR}/spec/rspec/expectations/handler_spec.rb 90${GEM_LIBDIR}/spec/rspec/expectations/handler_spec.rb
86${GEM_LIBDIR}/spec/rspec/matchers/base_matcher_spec.rb 91${GEM_LIBDIR}/spec/rspec/matchers/base_matcher_spec.rb
@@ -100,19 +105,21 @@ ${GEM_LIBDIR}/spec/rspec/matchers/equal_ @@ -100,19 +105,21 @@ ${GEM_LIBDIR}/spec/rspec/matchers/equal_
100${GEM_LIBDIR}/spec/rspec/matchers/exist_spec.rb 105${GEM_LIBDIR}/spec/rspec/matchers/exist_spec.rb
101${GEM_LIBDIR}/spec/rspec/matchers/has_spec.rb 106${GEM_LIBDIR}/spec/rspec/matchers/has_spec.rb
102${GEM_LIBDIR}/spec/rspec/matchers/have_spec.rb 107${GEM_LIBDIR}/spec/rspec/matchers/have_spec.rb
103${GEM_LIBDIR}/spec/rspec/matchers/include_spec.rb 108${GEM_LIBDIR}/spec/rspec/matchers/include_spec.rb
104${GEM_LIBDIR}/spec/rspec/matchers/match_array_spec.rb 109${GEM_LIBDIR}/spec/rspec/matchers/match_array_spec.rb
105${GEM_LIBDIR}/spec/rspec/matchers/match_spec.rb 110${GEM_LIBDIR}/spec/rspec/matchers/match_spec.rb
106${GEM_LIBDIR}/spec/rspec/matchers/matcher_spec.rb 111${GEM_LIBDIR}/spec/rspec/matchers/matcher_spec.rb
107${GEM_LIBDIR}/spec/rspec/matchers/matchers_spec.rb 112${GEM_LIBDIR}/spec/rspec/matchers/matchers_spec.rb
108${GEM_LIBDIR}/spec/rspec/matchers/method_missing_spec.rb 113${GEM_LIBDIR}/spec/rspec/matchers/method_missing_spec.rb
109${GEM_LIBDIR}/spec/rspec/matchers/operator_matcher_spec.rb 114${GEM_LIBDIR}/spec/rspec/matchers/operator_matcher_spec.rb
110${GEM_LIBDIR}/spec/rspec/matchers/raise_error_spec.rb 115${GEM_LIBDIR}/spec/rspec/matchers/raise_error_spec.rb
111${GEM_LIBDIR}/spec/rspec/matchers/respond_to_spec.rb 116${GEM_LIBDIR}/spec/rspec/matchers/respond_to_spec.rb
112${GEM_LIBDIR}/spec/rspec/matchers/satisfy_spec.rb 117${GEM_LIBDIR}/spec/rspec/matchers/satisfy_spec.rb
 118${GEM_LIBDIR}/spec/rspec/matchers/start_with_end_with_spec.rb
113${GEM_LIBDIR}/spec/rspec/matchers/throw_symbol_spec.rb 119${GEM_LIBDIR}/spec/rspec/matchers/throw_symbol_spec.rb
 120${GEM_LIBDIR}/spec/rspec/matchers/yield_spec.rb
114${GEM_LIBDIR}/spec/spec_helper.rb 121${GEM_LIBDIR}/spec/spec_helper.rb
115${GEM_LIBDIR}/spec/support/classes.rb 122${GEM_LIBDIR}/spec/support/classes.rb
116${GEM_LIBDIR}/spec/support/matchers.rb 123${GEM_LIBDIR}/spec/support/matchers.rb
117${GEM_LIBDIR}/spec/support/ruby_version.rb 124${GEM_LIBDIR}/spec/support/ruby_version.rb
118${GEM_HOME}/specifications/${GEM_NAME}.gemspec 125${GEM_HOME}/specifications/${GEM_NAME}.gemspec