rspec-core 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +19 -0
- data/lib/rspec/core/example_group.rb +2 -1
- data/lib/rspec/core/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ffb9391f287b05bbc4b0e880a9e3298d654dd62
|
4
|
+
data.tar.gz: 371448563101988388e4b14c0e5ab7425c4523bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c23ef42b3e1dea1f69b392bae0f2d2ad4e9e5ff6d90fa6c9e931766deae1f8a171f200df3e67320d015cd2196989a7d3c293fc68b0288364aa946d574b49541
|
7
|
+
data.tar.gz: 4dd69a42f3893d6fa6cc493a211bd2a346a589efeef033caf40a83dd804e568d0f664370f265e21131bec5596afba712ed2ceafd17c8ccd0eeae7e9add1f3d74
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
### 3.2.3 / 2015-04-06
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.2...v3.2.3)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Fix how the DSL methods are defined so that RSpec is compatible with
|
7
|
+
gems that define methods of the same name on `Kernel` (such as
|
8
|
+
the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, #1907)
|
9
|
+
* Fix `before(:context) { skip }` so that it does not wrongly cause the
|
10
|
+
spec suite to exit with a non-zero status when no examples failed.
|
11
|
+
(Myron Marston, #1926)
|
12
|
+
|
1
13
|
### 3.2.2 / 2015-03-11
|
2
14
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.1...v3.2.2)
|
3
15
|
|
@@ -61,6 +73,13 @@ Enhancements:
|
|
61
73
|
* Make `-I` option support multiple values when separated by
|
62
74
|
`File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
|
63
75
|
the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).
|
76
|
+
* Treat each example as having a singleton example group for the
|
77
|
+
purposes of applying metadata-based features that normally apply
|
78
|
+
to example groups to individually tagged examples. For example,
|
79
|
+
`RSpec.shared_context "Uses redis", :uses_redis` will now apply
|
80
|
+
to individual examples tagged with `:uses_redis`, as will
|
81
|
+
`config.include RedisHelpers, :uses_redis`, and
|
82
|
+
`config.before(:context, :uses_redis) { }`, etc. (Myron Marston, #1749)
|
64
83
|
|
65
84
|
Bug Fixes:
|
66
85
|
|
@@ -35,7 +35,7 @@ module RSpec
|
|
35
35
|
# @private
|
36
36
|
def self.idempotently_define_singleton_method(name, &definition)
|
37
37
|
(class << self; self; end).module_exec do
|
38
|
-
remove_method(name) if method_defined?(name)
|
38
|
+
remove_method(name) if method_defined?(name) && instance_method(name).owner == self
|
39
39
|
define_method(name, &definition)
|
40
40
|
end
|
41
41
|
end
|
@@ -514,6 +514,7 @@ module RSpec
|
|
514
514
|
result_for_this_group && results_for_descendants
|
515
515
|
rescue Pending::SkipDeclaredInExample => ex
|
516
516
|
for_filtered_examples(reporter) { |example| example.skip_with_exception(reporter, ex) }
|
517
|
+
true
|
517
518
|
rescue Exception => ex
|
518
519
|
RSpec.world.wants_to_quit = true if fail_fast?
|
519
520
|
for_filtered_examples(reporter) { |example| example.fail_with_exception(reporter, ex) }
|
data/lib/rspec/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -46,7 +46,7 @@ cert_chain:
|
|
46
46
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
47
47
|
F3MdtaDehhjC
|
48
48
|
-----END CERTIFICATE-----
|
49
|
-
date: 2015-
|
49
|
+
date: 2015-04-06 00:00:00.000000000 Z
|
50
50
|
dependencies:
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: rspec-support
|
@@ -279,6 +279,6 @@ rubyforge_project: rspec
|
|
279
279
|
rubygems_version: 2.2.2
|
280
280
|
signing_key:
|
281
281
|
specification_version: 4
|
282
|
-
summary: rspec-core-3.2.
|
282
|
+
summary: rspec-core-3.2.3
|
283
283
|
test_files: []
|
284
284
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|