diff options
author | taca <taca@pkgsrc.org> | 2012-09-03 15:51:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-09-03 15:51:39 +0000 |
commit | 6de1dea2147f3a9fb450e703064f4b6e588cb2b7 (patch) | |
tree | 631ea2c08868138baee4dbc03e003255221ba75e /devel | |
parent | 91cddbd7801d445d1c03af73a55a55bc787be72c (diff) | |
download | pkgsrc-6de1dea2147f3a9fb450e703064f4b6e588cb2b7.tar.gz |
Update ruby-rspec-core to 2.11.1.
### 2.11.1 / 2012-07-18
[full changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
Bug fixes
* Fix the way we autoload RSpec::Matchers so that custom matchers can be
defined before rspec-core has been configured to definitely use
rspec-expectations. (Myron Marston)
* Fix typo in --help message printed for -e option. (Jo Liss)
* Fix ruby warnings. (Myron Marston)
* Ignore mock expectation failures when the example has already failed.
Mock expectation failures have always been ignored in this situation,
but due to my changes in 27059bf1 it was printing a confusing message.
(Myron Marston).
### 2.11.0 / 2012-07-07
[full changelog](http://github.com/rspec/rspec-core/compare/v2.10.1...v2.11.0)
Enhancements
* Support multiple `--example` options. (Daniel Doubrovkine @dblock)
* Named subject e.g. `subject(:article) { Article.new }`
* see [http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/](http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/)
for background.
* thanks to Bradley Schaefer for suggesting it and Avdi Grimm for almost
suggesting it.
* `config.mock_with` and `config.expect_with` yield custom config object to a
block if given
* aids decoupling from rspec-core's configuation
* `include_context` and `include_examples` support a block, which gets eval'd
in the current context (vs the nested context generated by `it_behaves_like`).
* Add `config.order = 'random'` to the `spec_helper.rb` generated by `rspec
--init`.
* Delay the loading of DRb (Myron Marston).
* Limit monkey patching of `describe` onto just the objects that need it rather
than every object in the system (Myron Marston).
Bug fixes
* Support alternative path separators. For example, on Windows, you can now do
this: `rspec spec\subdir`. (Jarmo Pertman @jarmo)
* When an example raises an error and an after or around hook does as
well, print out the hook error. Previously, the error was silenced and
the user got no feedback about what happened. (Myron Marston)
* `--require` and `-I` are merged among different configuration sources (Andy
Lindeman)
* Delegate to mocha methods instead of aliasing them in mocha adapter.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-rspec-core/Makefile | 4 | ||||
-rw-r--r-- | devel/ruby-rspec-core/PLIST | 3 | ||||
-rw-r--r-- | devel/ruby-rspec-core/distinfo | 8 |
3 files changed, 8 insertions, 7 deletions
diff --git a/devel/ruby-rspec-core/Makefile b/devel/ruby-rspec-core/Makefile index ac535133bcd..c9b70a9e54d 100644 --- a/devel/ruby-rspec-core/Makefile +++ b/devel/ruby-rspec-core/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2012/06/02 00:44:33 taca Exp $ +# $NetBSD: Makefile,v 1.6 2012/09/03 15:51:39 taca Exp $ -DISTNAME= rspec-core-2.10.1 +DISTNAME= rspec-core-2.11.1 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/devel/ruby-rspec-core/PLIST b/devel/ruby-rspec-core/PLIST index 233702631eb..cadea771353 100644 --- a/devel/ruby-rspec-core/PLIST +++ b/devel/ruby-rspec-core/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2012/06/02 00:44:33 taca Exp $ +@comment $NetBSD: PLIST,v 1.6 2012/09/03 15:51:39 taca Exp $ bin/autospec bin/rspec ${GEM_HOME}/cache/${GEM_NAME}.gem @@ -122,6 +122,7 @@ ${GEM_LIBDIR}/spec/rspec/core/configuration_spec.rb ${GEM_LIBDIR}/spec/rspec/core/deprecations_spec.rb ${GEM_LIBDIR}/spec/rspec/core/drb_command_line_spec.rb ${GEM_LIBDIR}/spec/rspec/core/drb_options_spec.rb +${GEM_LIBDIR}/spec/rspec/core/dsl_spec.rb ${GEM_LIBDIR}/spec/rspec/core/example_group_spec.rb ${GEM_LIBDIR}/spec/rspec/core/example_spec.rb ${GEM_LIBDIR}/spec/rspec/core/filter_manager_spec.rb diff --git a/devel/ruby-rspec-core/distinfo b/devel/ruby-rspec-core/distinfo index 19d2bbc631a..c4d373f1586 100644 --- a/devel/ruby-rspec-core/distinfo +++ b/devel/ruby-rspec-core/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2012/06/02 00:44:33 taca Exp $ +$NetBSD: distinfo,v 1.6 2012/09/03 15:51:39 taca Exp $ -SHA1 (rspec-core-2.10.1.gem) = cd110dc09b1fbb289d7f75bf2ceabe16f9127ee8 -RMD160 (rspec-core-2.10.1.gem) = 123da4a1431f3e3a7d9a38a7e88858cd53f7ffe8 -Size (rspec-core-2.10.1.gem) = 138240 bytes +SHA1 (rspec-core-2.11.1.gem) = 3f63fd01ef82463953559285769e0c86c7658eb4 +RMD160 (rspec-core-2.11.1.gem) = 5bdd38345b406c7a1e65944280b82a7e87117c55 +Size (rspec-core-2.11.1.gem) = 142336 bytes |