Update ruby-rspec-core to 2.13.1.

### 2.13.1 / 2013-03-12
[full changelog](http://github.com/rspec/rspec-core/compare/v2.13.0...v2.13.1)

Bug fixes

* Use hook classes as proxies rather than extending hook blocks to support
  lambdas for before/after/around hooks. (David Chelimsky)
* Fix regression in 2.13.0 that caused confusing behavior when overriding
  a named subject with an unnamed subject in an inner group and then
  referencing the outer group subject's name. The fix for this required
  us to disallow using `super` in a named subject (which is confusing,
  anyway -- named subjects create 2 methods, so which method on the
  parent example group are you `super`ing to?) but `super` in an unnamed
  subject continues to work (Myron Marston).
* Do not allow a referenced `let` or `subject` in `before(:all)` to cause
  other `let` declarations to leak across examples (Myron Marston).
* Work around odd ruby 1.9 bug with `String#match` that was triggered
  by passing it a regex from a `let` declaration. For more info, see
  http://bugs.ruby-lang.org/issues/8059 (Aaron Kromer).
* Add missing `require 'set'` to `base_text_formatter.rb` (Tom
  Anderson).

Deprecations

* Deprecate accessing `let` or `subject` declarations in `before(:all)`.
  These were not intended to be called in a `before(:all)` hook, as
  they exist to define state that is reset between each example, while
  `before(:all)` exists to define state that is shared across examples
  in an example group (Myron Marston).
This commit is contained in:
taca 2013-03-17 16:05:42 +00:00
parent 9471e4bc14
commit 9f2eb8b757
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2013/03/11 07:46:45 taca Exp $
# $NetBSD: Makefile,v 1.9 2013/03/17 16:05:42 taca Exp $
DISTNAME= rspec-core-2.13.0
DISTNAME= rspec-core-2.13.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.8 2013/03/11 07:46:45 taca Exp $
$NetBSD: distinfo,v 1.9 2013/03/17 16:05:42 taca Exp $
SHA1 (rspec-core-2.13.0.gem) = 00dab307f946220c2ed81327d392ec708f47b993
RMD160 (rspec-core-2.13.0.gem) = 88b4103a7b630d5e16457d0962c7e1713ea443fd
Size (rspec-core-2.13.0.gem) = 174592 bytes
SHA1 (rspec-core-2.13.1.gem) = 519eb818145995079b6061164b9fbafeee0ecdff
RMD160 (rspec-core-2.13.1.gem) = c71c2821e014f1ceff7197ed869e096dcf4a5c86
Size (rspec-core-2.13.1.gem) = 176640 bytes