pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-rspec-core Update ruby-rspec-core to 3.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50c63e3f79be
branches:  trunk
changeset: 646296:50c63e3f79be
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Feb 07 14:40:27 2015 +0000

description:
Update ruby-rspec-core to 3.2.0.

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

Enhancements:

* Improve the `inspect` output of example groups. (Mike Dalton, #1687)
* When rake task fails, only output the command if `verbose` flag is
  set. (Ben Snape, #1704)
* Add `RSpec.clear_examples` as a clear way to reset examples in between
  spec runs, whilst retaining user configuration.  (Alexey Fedorov, #1706)
* Reduce string allocations when defining and running examples by 70%
  and 50% respectively. (Myron Marston, #1738)
* Removed dependency on pathname from stdlib. (Sam Phippen, #1703)
* Improve the message presented when a user hits Ctrl-C.
  (Alex Chaffee #1717, #1742)
* Improve shared example group inclusion backtrace displayed
  in failed example output so that it works for all methods
  of including shared example groups and shows all inclusion
  locations. (Myron Marston, #1763)
* Issue seed notification at start (as well as the end) of the reporter
  run. (Arlandis Word, #1761)
* Improve the documentation of around hooks. (Jim Kingdon, #1772)
* Support prepending of modules into example groups from config and allow
  filtering based on metadata. (Arlandis Word, #1806)
* Emit warnings when `:suite` hooks are registered on an example group
  (where it has always been ignored) or are registered with metadata
  (which has always been ignored). (Myron Marston, #1805)
* Provide a friendly error message when users call RSpec example group
  APIs (e.g. `context`, `describe`, `it`, `let`, `before`, etc) from
  within an example where those APIs are unavailable. (Myron Marston, #1819)
* Provide a friendly error message when users call RSpec example
  APIs (e.g. `expect`, `double`, `stub_const`, etc) from
  within an example group where those APIs are unavailable.
  (Myron Marston, #1819)
* Add new `RSpec::Core::Sandbox.sandboxed { }` API that facilitates
  testing RSpec with RSpec, allowing you to define example groups
  and example from within an example without affecting the global
  `RSpec.world` state. (Tyler Ball, 1808)
* Apply line-number filters only to the files they are scoped to,
  allowing you to mix filtered and unfiltered files. (Myron Marston, #1839)
* When dumping pending examples, include the failure details so that you
  don't have to un-pend the example to see it. (Myron Marston, #1844)
* Make `-I` option support multiple values when separated by
  `File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
  the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).

Bug Fixes:

* When assigning generated example descriptions, surface errors
  raised by `matcher.description` in the example description.
  (Myron Marston, #1771)
* Don't consider expectations from `after` hooks when generating
  example descriptions. (Myron Marston, #1771)
* Don't apply metadata-filtered config hooks to examples in groups
  with matching metadata when those examples override the parent
  metadata value to not match. (Myron Marston, #1796)
* Fix `config.expect_with :minitest` so that `skip` uses RSpec's
  implementation rather than Minitest's. (Jonathan Rochkind, #1822)
* Fix `NameError` caused when duplicate example group aliases are defined and
  the DSL is not globally exposed. (Aaron Kromer, #1825)
* When a shared example defined in an external file fails, use the host
  example group (from a loaded spec file) for the re-run command to
  ensure the command will actually work. (Myron Marston, #1835)
* Fix location filtering to work properly for examples defined in
  a nested example group within a shared example group defined in
  an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, #1837)
* When a pending example fails (as expected) due to a mock expectation,
  set `RSpec::Core::Example::ExecutionResult#pending_exception` --
  previously it was not being set but should have been. (Myron Marston, #1844)
* Fix rake task to work when `rspec-core` is installed in a directory
  containing a space. (Guido Günther, #1845)
* Fix regression in 3.1 that caused `describe Regexp` to raise errors.
  (Durran Jordan, #1853)
* Fix regression in 3.x that caused the profile information to be printed
  after the summary. (Max Lincoln, #1857)
* Apply `--seed` before loading `--require` files so that required files
  can access the provided seed. (Myron Marston, #1745)
* Handle `RSpec::Core::Formatters::DeprecationFormatter::FileStream` being
  reopened with an IO stream, which sometimes happens with spring.
  (Kevin Mook, #1757)

diffstat:

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

diffs (51 lines):

diff -r 7587df3ad25d -r 50c63e3f79be devel/ruby-rspec-core/Makefile
--- a/devel/ruby-rspec-core/Makefile    Sat Feb 07 14:39:34 2015 +0000
+++ b/devel/ruby-rspec-core/Makefile    Sat Feb 07 14:40:27 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2015/02/02 14:18:35 taca Exp $
+# $NetBSD: Makefile,v 1.13 2015/02/07 14:40:27 taca Exp $
 
-DISTNAME=      rspec-core-3.1.7
+DISTNAME=      rspec-core-3.2.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +8,7 @@
 COMMENT=       Behaviour Driven Development framework for Ruby, core part
 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
 
 RUBYGEM_OPTIONS+=      --format-executable
 
diff -r 7587df3ad25d -r 50c63e3f79be devel/ruby-rspec-core/PLIST
--- a/devel/ruby-rspec-core/PLIST       Sat Feb 07 14:39:34 2015 +0000
+++ b/devel/ruby-rspec-core/PLIST       Sat Feb 07 14:40:27 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2015/02/02 14:18:35 taca Exp $
+@comment $NetBSD: PLIST,v 1.12 2015/02/07 14:40:27 taca Exp $
 bin/rspec${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.document
@@ -54,6 +54,7 @@
 ${GEM_LIBDIR}/lib/rspec/core/reporter.rb
 ${GEM_LIBDIR}/lib/rspec/core/ruby_project.rb
 ${GEM_LIBDIR}/lib/rspec/core/runner.rb
+${GEM_LIBDIR}/lib/rspec/core/sandbox.rb
 ${GEM_LIBDIR}/lib/rspec/core/shared_context.rb
 ${GEM_LIBDIR}/lib/rspec/core/shared_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/core/test_unit_assertions_adapter.rb
diff -r 7587df3ad25d -r 50c63e3f79be devel/ruby-rspec-core/distinfo
--- a/devel/ruby-rspec-core/distinfo    Sat Feb 07 14:39:34 2015 +0000
+++ b/devel/ruby-rspec-core/distinfo    Sat Feb 07 14:40:27 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2015/02/02 14:18:35 taca Exp $
+$NetBSD: distinfo,v 1.13 2015/02/07 14:40:27 taca Exp $
 
-SHA1 (rspec-core-3.1.7.gem) = caca1f6bf925406a0867d68087c4f46cf7e3993d
-RMD160 (rspec-core-3.1.7.gem) = 1d8f8e267e176d96b90b2bd7bc15cd410d875be2
-Size (rspec-core-3.1.7.gem) = 112128 bytes
+SHA1 (rspec-core-3.2.0.gem) = 5a9d64d5a90e056f11648c709dc9e42b9d539fa2
+RMD160 (rspec-core-3.2.0.gem) = 1e187033827c1994e44dc239c268e7e6ce5a2e2c
+Size (rspec-core-3.2.0.gem) = 121344 bytes



Home | Main Index | Thread Index | Old Index