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 devel/ruby-rspec-expecta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca9c851749c5
branches:  trunk
changeset: 444648:ca9c851749c5
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jan 11 13:06:55 2021 +0000

description:
devel/ruby-rspec-expectations: update to 3.10.1

### 3.10.1 / 2020-12-27
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.10.0...v3.10.1)

Bug Fixes:

* Allow JRuby 9.2.x.x to generate backtraces normally rather than via our
  backfill workaround. (#1230, Jon Rowe)

### 3.10.0 / 2020-10-30
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.3...v3.10.0)

Enhancements:

* Allow `include` matcher to be chained with `once`, `at_least`, etc. for simple cases.
  (Marc-André Lafortune, #1168)
* Add an explicit warning when `nil` is passed to `raise_error`. (Phil Pirozhkov, #1143)
* Improve `include` matcher's composability. (Phil Pirozhkov, #1155)
* Mocks expectations can now set a custom failure message.
  (Benoit Tigeot and Nicolas Zermati, #1156)
* `aggregate_failures` now shows the backtrace line for each failure. (Fabricio Bedin, #1163)
* Support multiple combinations of `yield_control` modifiers like `at_least`, `at_most`.
  (Jon Rowe, #1169)
* Dynamic `have_<n>` matchers now have output consistent with other dynamic matchers.
  (Marc-André Lafortune, #1195)
* New config option `strict_predicate_matchers` allows predicate matcher to be strict
  (i.e. match for `true` or `false`) instead of the default (match truthy vs `false` or `nil`).
  (Marc-André Lafortune, #1196)

### 3.9.4 / 2020-10-29
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.3...v3.9.4)

Bug Fixes:

* Fix regression with `be_` and `have_` matchers and arguments implementing `to_hash`
  were they would act like keywords and be cast to a hash. (Jon Rowe, #1222)

### 3.9.3 / 2020-10-23
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.2...v3.9.3)

Bug Fixes:

* Swap the comparison of the delta vs the expected for the `be_within` matcher allowing
  more complicated oobjects to be compared providing they provide `abs` and other
  comparison methods. (Kelly Stannard, #1182)
* Properly format expected in the description of the `be_within` matcher. (Jon Rowe, #1185)
* Remove warning when using keyword arguments with `be_` and `have_` matchers on 2.7.x
  (Jon Rowe, #1187)
* Prevent formatting a single hash as a list of key value pairs in default failure messages
  for custom matches (fixes formatting in `EnglishPhrasing#list`). (Robert Eshleman, #1193)
* Prevent errors from causing false positives when using `be <operator>` comparison, e.g.
  `expect(1).not_to be < 'a'` will now correctly fail rather than pass. (Jon Rowe, #1208)

diffstat:

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

diffs (53 lines):

diff -r 3db3688abe66 -r ca9c851749c5 devel/ruby-rspec-expectations/Makefile
--- a/devel/ruby-rspec-expectations/Makefile    Mon Jan 11 13:06:05 2021 +0000
+++ b/devel/ruby-rspec-expectations/Makefile    Mon Jan 11 13:06:55 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2020/05/25 13:49:02 taca Exp $
+# $NetBSD: Makefile,v 1.30 2021/01/11 13:06:55 taca Exp $
 
-DISTNAME=      rspec-expectations-3.9.2
+DISTNAME=      rspec-expectations-3.10.1
 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.9.0<3.10:../../devel/ruby-rspec-support
+DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-support>=3.10.0<3.11:../../devel/ruby-rspec-support
 DEPENDS+=      ${RUBY_PKGPREFIX}-diff-lcs<2:../../textproc/ruby-diff-lcs
 
 .include "../../lang/ruby/gem.mk"
diff -r 3db3688abe66 -r ca9c851749c5 devel/ruby-rspec-expectations/PLIST
--- a/devel/ruby-rspec-expectations/PLIST       Mon Jan 11 13:06:05 2021 +0000
+++ b/devel/ruby-rspec-expectations/PLIST       Mon Jan 11 13:06:55 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2017/06/05 14:05:45 taca Exp $
+@comment $NetBSD: PLIST,v 1.17 2021/01/11 13:06:55 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.document
 ${GEM_LIBDIR}/.yardopts
@@ -28,6 +28,7 @@
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/change.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/compound.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/contain_exactly.rb
+${GEM_LIBDIR}/lib/rspec/matchers/built_in/count_expectation.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/cover.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/eq.rb
 ${GEM_LIBDIR}/lib/rspec/matchers/built_in/eql.rb
diff -r 3db3688abe66 -r ca9c851749c5 devel/ruby-rspec-expectations/distinfo
--- a/devel/ruby-rspec-expectations/distinfo    Mon Jan 11 13:06:05 2021 +0000
+++ b/devel/ruby-rspec-expectations/distinfo    Mon Jan 11 13:06:55 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.28 2020/05/25 13:49:02 taca Exp $
+$NetBSD: distinfo,v 1.29 2021/01/11 13:06:55 taca Exp $
 
-SHA1 (rspec-expectations-3.9.2.gem) = 6ed7cead63f297671016a0cce3be1132d6775288
-RMD160 (rspec-expectations-3.9.2.gem) = 01b18e2f98d1ad5a4f12f619e1a30d44aceddfc0
-SHA512 (rspec-expectations-3.9.2.gem) = 09ce2e3a008b04ec3bb4ceb42f885baa6509630e1b5a1bc18af39d49d69c46a8a0f04f28afa7488235d6f7b751b85e481e33904866e2b795489358e8d2f554e3
-Size (rspec-expectations-3.9.2.gem) = 83968 bytes
+SHA1 (rspec-expectations-3.10.1.gem) = 887d8beda1925b70cfe7835073111e9b0860dc6e
+RMD160 (rspec-expectations-3.10.1.gem) = 1268f57512c2c9f7a0309bdddeeb412f1abb143c
+SHA512 (rspec-expectations-3.10.1.gem) = c2e6fa12f5531ba91f03e22de3af4eed5cea74434634503302e38732b042423c669d2ddae3750d94f5f36c85433ae5743fcc0d0c4a0c50326050efde087b8a0a
+Size (rspec-expectations-3.10.1.gem) = 86016 bytes



Home | Main Index | Thread Index | Old Index