pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-rspec-expectations Update ruby-rspec-expect...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8173066594f8
branches:  trunk
changeset: 646297:8173066594f8
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Feb 07 14:41:07 2015 +0000

description:
Update ruby-rspec-expectations to 3.2.0.

### 3.2.0 / 2015-02-03
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.1.2...v3.2.0)

Enhancements:

* Add `block_arg` method to custom matcher API, which allows you to
  access the block passed to a custom matcher, if there is one.
  (Mike Dalton, #645)
* Provide more detail in failure message of `yield_control` matcher.
  (Jon Rowe, #650)
* Add a shorthand syntax for `chain` in the matcher DSL which assigns values
  for use elsewhere, for example `chain :and_smaller_than, :small_value`
  creates an `attr_reader` for `small_value` (Tom Stuart, #644)
* Provide a more helpful deprecation message when using the `should` syntax.
  (Elia Schito, #663)
* Provide more detail in the `have_attributes` matcher failure message.
  (Jon Rowe,  #668)
* Make the `have_attributes` matcher diffable.
  (Jon Rowe, Alexey Fedorov, #668)
* Add `output(...).to_std(out|err)_from_any_process` as alternatives
  to `output(...).to_std(out|err)`. The latter doesn't work when a sub
  process writes to the named stream but is much faster.
  (Alex Genco, #700)
* Improve compound matchers (created by `and` and `or`) so that diffs
  are included in failures when one or more of their matchers
  are diffable. (Alexey Fedorov, #713)

Bug Fixes:

* Avoid calling `private_methods` from the `be` predicate matcher on
  the target object if the object publicly responds to the predicate
  method. This avoids a possible error that can occur if the object
  raises errors from `private_methods` (which can happen with celluloid
  objects). (@chapmajs, #670)
* Make `yield_control` (with no modifier) default to
  `at_least(:once)` rather than raising a confusing error
  when multiple yields are encountered.
  (Myron Marston, #675)
* Fix "instance variable @color not initialized" warning when using
  rspec-expectations outside of an rspec-core context. (Myron Marston, #689)
* Fix `start_with` and `end_with` to work properly when checking a
  string against an array of strings. (Myron Marston, #690)
* Don't use internally delegated matchers when generating descriptions
  for examples without doc strings. (Myron Marston, #692)

diffstat:

 devel/ruby-rspec-expectations/Makefile |  6 +++---
 devel/ruby-rspec-expectations/PLIST    |  5 +++--
 devel/ruby-rspec-expectations/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r 50c63e3f79be -r 8173066594f8 devel/ruby-rspec-expectations/Makefile
--- a/devel/ruby-rspec-expectations/Makefile    Sat Feb 07 14:40:27 2015 +0000
+++ b/devel/ruby-rspec-expectations/Makefile    Sat Feb 07 14:41:07 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2015/02/02 14:20:08 taca Exp $
+# $NetBSD: Makefile,v 1.16 2015/02/07 14:41:07 taca Exp $
 
-DISTNAME=      rspec-expectations-3.1.2
+DISTNAME=      rspec-expectations-3.2.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +8,7 @@
 COMMENT=       Behaviour Driven Development framework for Ruby, expectations
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-support>=3.1.0<3.2:../../devel/ruby-rspec-support
+DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-support>=3.2.0<3.3:../../devel/ruby-rspec-support
 DEPENDS+=      ${RUBY_PKGPREFIX}-diff-lcs<2:../../textproc/ruby-diff-lcs
 
 .include "../../lang/ruby/gem.mk"
diff -r 50c63e3f79be -r 8173066594f8 devel/ruby-rspec-expectations/PLIST
--- a/devel/ruby-rspec-expectations/PLIST       Sat Feb 07 14:40:27 2015 +0000
+++ b/devel/ruby-rspec-expectations/PLIST       Sat Feb 07 14:41:07 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2015/02/02 14:20:08 taca Exp $
+@comment $NetBSD: PLIST,v 1.13 2015/02/07 14:41:07 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.document
 ${GEM_LIBDIR}/.yardopts
@@ -40,11 +40,12 @@
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/raise_error.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/respond_to.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/satisfy.rb
-${GEM_LIBDIR}/lib/rspec/matchers/built_in/start_and_end_with.rb
+${GEM_LIBDIR}/lib/rspec/matchers/built_in/start_or_end_with.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/throw_symbol.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/yield.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/composable.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/dsl.rb
+${GEM_LIBDIR}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/generated_descriptions.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/matcher_delegator.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/matcher_protocol.rb
diff -r 50c63e3f79be -r 8173066594f8 devel/ruby-rspec-expectations/distinfo
--- a/devel/ruby-rspec-expectations/distinfo    Sat Feb 07 14:40:27 2015 +0000
+++ b/devel/ruby-rspec-expectations/distinfo    Sat Feb 07 14:41:07 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2015/02/02 14:20:08 taca Exp $
+$NetBSD: distinfo,v 1.15 2015/02/07 14:41:07 taca Exp $
 
-SHA1 (rspec-expectations-3.1.2.gem) = 7c65ed8b33fee31a75a5030245bd03870dd20326
-RMD160 (rspec-expectations-3.1.2.gem) = f60e1d11dd7265cb682c9eab5182fd12d8aa503c
-Size (rspec-expectations-3.1.2.gem) = 64000 bytes
+SHA1 (rspec-expectations-3.2.0.gem) = f2ade9547a6da5a8d63dd60b1e6549dc29e6ab18
+RMD160 (rspec-expectations-3.2.0.gem) = 3ff594b6ef548c7a5ff3988eb585558e7acd500e
+Size (rspec-expectations-3.2.0.gem) = 67584 bytes



Home | Main Index | Thread Index | Old Index