rspec-core 3.8.1 → 3.8.2
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 +10 -1
- data/lib/rspec/core/example.rb +4 -1
- data/lib/rspec/core/example_group.rb +5 -1
- data/lib/rspec/core/metadata.rb +0 -1
- data/lib/rspec/core/version.rb +1 -1
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f10137b78862f926840a5956452d1def7be1715745bb73edab35b73af27cd801
|
|
4
|
+
data.tar.gz: 7d2c59eea23bd759487efb177c7e9de131a416d832ee6467b4849813d759832c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a4344a9bdf65524dc82da9368cc8d844ed1da304aa139f2a95d5a6f1c177534d95ebbf7ecd3a488c2fa65221706cf0f4afdfbfdc3d0b6846f18ffaff1b9cda17
|
|
7
|
+
data.tar.gz: 063aee16e467179dd13d1f94a98b57fbc135d93ab9b46cf0d860903ca8a5ce130579830e6f561b288a78f642da976ac56be5ccf3ec4753d8754e2d508e650cb0
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
### 3.8.2 / 2019-06-29
|
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.1...v3.8.2)
|
|
3
|
+
|
|
4
|
+
Bug Fixes:
|
|
5
|
+
|
|
6
|
+
* Fix `config.define_derived_metadata` so that cascades are not triggered
|
|
7
|
+
until metadata has been assigned to the example or example group
|
|
8
|
+
(Myron Marston, #2635).
|
|
9
|
+
|
|
1
10
|
### 3.8.1 / 2019-06-13
|
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...3
|
|
11
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...3.8.1)
|
|
3
12
|
|
|
4
13
|
Bug Fixes:
|
|
5
14
|
|
data/lib/rspec/core/example.rb
CHANGED
|
@@ -203,10 +203,13 @@ module RSpec
|
|
|
203
203
|
description, example_block
|
|
204
204
|
)
|
|
205
205
|
|
|
206
|
+
config = RSpec.configuration
|
|
207
|
+
config.apply_derived_metadata_to(@metadata)
|
|
208
|
+
|
|
206
209
|
# This should perhaps be done in `Metadata::ExampleHash.create`,
|
|
207
210
|
# but the logic there has no knowledge of `RSpec.world` and we
|
|
208
211
|
# want to keep it that way. It's easier to just assign it here.
|
|
209
|
-
@metadata[:last_run_status] =
|
|
212
|
+
@metadata[:last_run_status] = config.last_run_statuses[id]
|
|
210
213
|
|
|
211
214
|
@example_group_instance = @exception = nil
|
|
212
215
|
@clock = RSpec::Core::Time
|
|
@@ -424,11 +424,15 @@ module RSpec
|
|
|
424
424
|
superclass.method(:next_runnable_index_for),
|
|
425
425
|
description, *args, &example_group_block
|
|
426
426
|
)
|
|
427
|
+
|
|
428
|
+
config = RSpec.configuration
|
|
429
|
+
config.apply_derived_metadata_to(@metadata)
|
|
430
|
+
|
|
427
431
|
ExampleGroups.assign_const(self)
|
|
428
432
|
|
|
429
433
|
@currently_executing_a_context_hook = false
|
|
430
434
|
|
|
431
|
-
|
|
435
|
+
config.configure_group(self)
|
|
432
436
|
end
|
|
433
437
|
|
|
434
438
|
# @private
|
data/lib/rspec/core/metadata.rb
CHANGED
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.8.
|
|
4
|
+
version: 3.8.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: 2019-06-
|
|
49
|
+
date: 2019-06-29 00:00:00.000000000 Z
|
|
50
50
|
dependencies:
|
|
51
51
|
- !ruby/object:Gem::Dependency
|
|
52
52
|
name: rspec-support
|
|
@@ -265,7 +265,7 @@ licenses:
|
|
|
265
265
|
- MIT
|
|
266
266
|
metadata:
|
|
267
267
|
bug_tracker_uri: https://github.com/rspec/rspec-core/issues
|
|
268
|
-
changelog_uri: https://github.com/rspec/rspec-core/blob/v3.8.
|
|
268
|
+
changelog_uri: https://github.com/rspec/rspec-core/blob/v3.8.2/Changelog.md
|
|
269
269
|
documentation_uri: https://rspec.info/documentation/
|
|
270
270
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
271
271
|
source_code_uri: https://github.com/rspec/rspec-core
|
|
@@ -288,5 +288,5 @@ requirements: []
|
|
|
288
288
|
rubygems_version: 3.0.3
|
|
289
289
|
signing_key:
|
|
290
290
|
specification_version: 4
|
|
291
|
-
summary: rspec-core-3.8.
|
|
291
|
+
summary: rspec-core-3.8.2
|
|
292
292
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|