rspec-core 3.5.1 → 3.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +12 -0
- data/lib/rspec/core/example.rb +6 -4
- data/lib/rspec/core/rake_task.rb +1 -0
- 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: cec44daa280723490f842a4f70fc2155a28379c0
|
4
|
+
data.tar.gz: 3d74dfc5863a12e75a5d5ff591ecdba51f399489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c37f52ef3408f9c4a6813708fb6e5785a87e8d610e25398b0a1ab0264de42afd008f1ff621d55b253b59718cf52a29862458fdc7db55647d6d91704be3d6cf
|
7
|
+
data.tar.gz: d1baf10d2a985bff5b8b9af2ed77be391c0a30ff77ced7b13d4b837b78c4b6c263c7de3b61878282734d3c06ee51ff09643a27549b3f6c81ce5c045e420e9131
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
### 3.5.2 / 2016-07-28
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.1...v3.5.2)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Wait to report `example_finished` until the example's `execution_result`
|
7
|
+
has been completely filled in. (Myron Marston, #2291)
|
8
|
+
* Make sure example block is still available when using `duplicate_with`
|
9
|
+
to clone examples. (bootstraponline, #2298)
|
10
|
+
* Don't include the default `--pattern` in the Rake task when
|
11
|
+
`rspec_opts` specifies its own. (Jon Rowe, #2305)
|
12
|
+
|
1
13
|
### 3.5.1 / 2016-07-06
|
2
14
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0...v3.5.1)
|
3
15
|
|
data/lib/rspec/core/example.rb
CHANGED
@@ -138,8 +138,10 @@ module RSpec
|
|
138
138
|
|
139
139
|
# don't clone the example group because the new example
|
140
140
|
# must belong to the same example group (not a clone).
|
141
|
+
#
|
142
|
+
# block is nil in new_metadata so we have to get it from metadata.
|
141
143
|
Example.new(example_group, description.clone,
|
142
|
-
new_metadata,
|
144
|
+
new_metadata, metadata[:block])
|
143
145
|
end
|
144
146
|
|
145
147
|
# @private
|
@@ -461,15 +463,14 @@ module RSpec
|
|
461
463
|
def finish(reporter)
|
462
464
|
pending_message = execution_result.pending_message
|
463
465
|
|
464
|
-
reporter.example_finished(self)
|
465
466
|
if @exception
|
466
|
-
record_finished :failed
|
467
467
|
execution_result.exception = @exception
|
468
|
+
record_finished :failed
|
468
469
|
reporter.example_failed self
|
469
470
|
false
|
470
471
|
elsif pending_message
|
471
|
-
record_finished :pending
|
472
472
|
execution_result.pending_message = pending_message
|
473
|
+
record_finished :pending
|
473
474
|
reporter.example_pending self
|
474
475
|
true
|
475
476
|
else
|
@@ -481,6 +482,7 @@ module RSpec
|
|
481
482
|
|
482
483
|
def record_finished(status)
|
483
484
|
execution_result.record_finished(status, clock.now)
|
485
|
+
reporter.example_finished(self)
|
484
486
|
end
|
485
487
|
|
486
488
|
def run_before_example
|
data/lib/rspec/core/rake_task.rb
CHANGED
@@ -102,6 +102,7 @@ module RSpec
|
|
102
102
|
if ENV['SPEC']
|
103
103
|
FileList[ENV['SPEC']].sort
|
104
104
|
elsif String === pattern && !File.exist?(pattern)
|
105
|
+
return if rspec_opts =~ /--pattern/
|
105
106
|
"--pattern #{escape pattern}"
|
106
107
|
else
|
107
108
|
# Before RSpec 3.1, we used `FileList` to get the list of matched
|
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.5.
|
4
|
+
version: 3.5.2
|
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: 2016-07-
|
49
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
50
50
|
dependencies:
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: rspec-support
|
@@ -283,6 +283,6 @@ rubyforge_project:
|
|
283
283
|
rubygems_version: 2.2.2
|
284
284
|
signing_key:
|
285
285
|
specification_version: 4
|
286
|
-
summary: rspec-core-3.5.
|
286
|
+
summary: rspec-core-3.5.2
|
287
287
|
test_files: []
|
288
288
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|