summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-03-17 16:05:42 +0000
committertaca <taca@pkgsrc.org>2013-03-17 16:05:42 +0000
commit9f2eb8b757fe5abb760a34af26291dbf2b5daef2 (patch)
tree568804e38b8c2d14f2502f7ef3174e9c5424fac0
parent9471e4bc1471b2e02c7ef4fe188acb469b5d5b31 (diff)
downloadpkgsrc-9f2eb8b757fe5abb760a34af26291dbf2b5daef2.tar.gz
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).
-rw-r--r--devel/ruby-rspec-core/Makefile4
-rw-r--r--devel/ruby-rspec-core/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/ruby-rspec-core/Makefile b/devel/ruby-rspec-core/Makefile
index e074e563aa4..601db009844 100644
--- a/devel/ruby-rspec-core/Makefile
+++ b/devel/ruby-rspec-core/Makefile
@@ -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
diff --git a/devel/ruby-rspec-core/distinfo b/devel/ruby-rspec-core/distinfo
index 4c48d6ac5cf..3c9b8f53064 100644
--- a/devel/ruby-rspec-core/distinfo
+++ b/devel/ruby-rspec-core/distinfo
@@ -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