summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-09-15 10:14:58 +0000
committertaca <taca@pkgsrc.org>2013-09-15 10:14:58 +0000
commit21670fd9cf44aa7e775f3eb0f5e3c12ba51c964a (patch)
treeb455ae84d7b4c9492f93b1ac344c4ddc6e505948 /devel
parent4f00fe1490c51991b2a1ec70950f12290fa4b9b7 (diff)
downloadpkgsrc-21670fd9cf44aa7e775f3eb0f5e3c12ba51c964a.tar.gz
Update ruby-rspec-expectations to 2.14.2
### 2.14.2 / 2013-08-14 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.1...v2.14.2) Bug fixes * Fix `be_<predicate>` matcher to not support operator chaining like the `be` matcher does (e.g. `be == 5`). This led to some odd behaviors since `be_<predicate> == anything` returned a `BeComparedTo` matcher and was thus always truthy. This was a consequence of the implementation (e.g. subclassing the basic `Be` matcher) and was not intended behavior. (Myron Marston). * Fix `change` matcher to compare using `==` in addition to `===`. This is important for an expression like: `expect {}.to change { a.class }.from(ClassA).to(ClassB)` because `SomeClass === SomeClass` returns false. (Myron Marston) ### 2.14.1 / 2013-08-08 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.0...2.14.1) Bug fixes * Ensure diff output uses the same encoding as the encoding of the string being diff'd to prevent `Encoding::UndefinedConversionError` errors (Jon Rowe). ### 2.14.0 / 2013-07-06 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.0.rc1...v2.14.0) Bug fixes * Values that are not matchers use `#inspect`, rather than `#description` for documentation output (Andy Lindeman, Sam Phippen). * Make `expect(a).to be_within(x).percent_of(y)` work with negative y (Katsuhiko Nishimra). * Make the `be_predicate` matcher work as expected used with `expect{...}.to change...` (Sam Phippen). ### 2.14.0.rc1 / 2013-05-27 [full changelog](http://github.com/rspec/rspec-expectations/compare/v2.13.0...v2.14.0.rc1) Enhancements * Enhance `yield_control` so that you can specify an exact or relative number of times: `expect { }.to yield_control.exactly(3).times`, `expect { }.to yield_control.at_least(2).times`, etc (Bartek Borkowski). * Make the differ that is used when an expectation fails better handle arrays by splitting each element of the array onto its own line. (Sam Phippen) * Accept duck-typed strings that respond to `:to_str` as expectation messages. (Toby Ovod-Everett) Bug fixes * Fix differ to not raise errors when dealing with differently-encoded strings (Jon Rowe). * Fix `expect(something).to be_within(x).percent_of(y)` where x and y are both integers (Sam Phippen). * Fix `have` matcher to handle the fact that on ruby 2.0, `Enumerator#size` may return nil (Kenta Murata). * Fix `expect { raise s }.to raise_error(s)` where s is an error instance on ruby 2.0 (Sam Phippen). * Fix `expect(object).to raise_error` passing. This now warns the user and fails the spec (tomykaira). Deprecations * Deprecate `expect { }.not_to raise_error(SpecificErrorClass)` or `expect { }.not_to raise_error("some specific message")`. Using these was prone to hiding failures as they would allow _any other error_ to pass. (Sam Phippen and David Chelimsky)
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-rspec-expectations/Makefile8
-rw-r--r--devel/ruby-rspec-expectations/PLIST4
-rw-r--r--devel/ruby-rspec-expectations/distinfo8
3 files changed, 10 insertions, 10 deletions
diff --git a/devel/ruby-rspec-expectations/Makefile b/devel/ruby-rspec-expectations/Makefile
index 8d2a15bcb7b..8c5983563af 100644
--- a/devel/ruby-rspec-expectations/Makefile
+++ b/devel/ruby-rspec-expectations/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2013/03/11 07:47:46 taca Exp $
+# $NetBSD: Makefile,v 1.13 2013/09/15 10:14:58 taca Exp $
-DISTNAME= rspec-expectations-2.13.0
+DISTNAME= rspec-expectations-2.14.2
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -8,9 +8,7 @@ HOMEPAGE= http://relishapp.com/rspec
COMMENT= Behaviour Driven Development framework for Ruby, expectations
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-diff-lcs>=1.1.3<2:../../textproc/ruby-diff-lcs
-
-OVERRIDE_GEMSPEC+= diff-lcs>=1.1.3
+DEPENDS+= ${RUBY_PKGPREFIX}-diff-lcs<2:../../textproc/ruby-diff-lcs
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-rspec-expectations/PLIST b/devel/ruby-rspec-expectations/PLIST
index 5959e4dd46e..5a678a2af25 100644
--- a/devel/ruby-rspec-expectations/PLIST
+++ b/devel/ruby-rspec-expectations/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2013/03/11 07:47:46 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2013/09/15 10:14:58 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.document
${GEM_LIBDIR}/.yardopts
@@ -37,6 +37,7 @@ ${GEM_LIBDIR}/features/diffing.feature
${GEM_LIBDIR}/features/implicit_docstrings.feature
${GEM_LIBDIR}/features/step_definitions/additional_cli_steps.rb
${GEM_LIBDIR}/features/support/env.rb
+${GEM_LIBDIR}/features/support/rubinius.rb
${GEM_LIBDIR}/features/syntax_configuration.feature
${GEM_LIBDIR}/features/test_frameworks/test_unit.feature
${GEM_LIBDIR}/lib/rspec-expectations.rb
@@ -86,6 +87,7 @@ ${GEM_LIBDIR}/lib/rspec/matchers/matcher.rb
${GEM_LIBDIR}/lib/rspec/matchers/method_missing.rb
${GEM_LIBDIR}/lib/rspec/matchers/operator_matcher.rb
${GEM_LIBDIR}/lib/rspec/matchers/pretty.rb
+${GEM_LIBDIR}/lib/rspec/matchers/test_unit_integration.rb
${GEM_LIBDIR}/spec/rspec/expectations/differ_spec.rb
${GEM_LIBDIR}/spec/rspec/expectations/expectation_target_spec.rb
${GEM_LIBDIR}/spec/rspec/expectations/extensions/kernel_spec.rb
diff --git a/devel/ruby-rspec-expectations/distinfo b/devel/ruby-rspec-expectations/distinfo
index 8c017b64d5c..3fa5baaa557 100644
--- a/devel/ruby-rspec-expectations/distinfo
+++ b/devel/ruby-rspec-expectations/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2013/03/11 07:47:46 taca Exp $
+$NetBSD: distinfo,v 1.12 2013/09/15 10:14:58 taca Exp $
-SHA1 (rspec-expectations-2.13.0.gem) = 6e6840da013ccca8b34c4f53e02e680ba7df12e4
-RMD160 (rspec-expectations-2.13.0.gem) = 47396144e2a869ba4ca2fd87dec50c9ca71e2162
-Size (rspec-expectations-2.13.0.gem) = 84992 bytes
+SHA1 (rspec-expectations-2.14.2.gem) = e65cf778c7611af04986326ddf484248dc5c8286
+RMD160 (rspec-expectations-2.14.2.gem) = cf2d8a98ec6f5f43461cffd2fe1481d77bd0a919
+Size (rspec-expectations-2.14.2.gem) = 88576 bytes