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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e83f32ce194b3903060d4338a0dd48d533c2322a91c2c50cf4a4c6b34b6ca48
4
- data.tar.gz: c63129c5d7bbc1bdfa955772aac6f5a2aff7a1b925bda15ea1099b608cf6aef2
3
+ metadata.gz: f10137b78862f926840a5956452d1def7be1715745bb73edab35b73af27cd801
4
+ data.tar.gz: 7d2c59eea23bd759487efb177c7e9de131a416d832ee6467b4849813d759832c
5
5
  SHA512:
6
- metadata.gz: 5530f82ce2eb36ddd2b0b6c4fb062b1538fdb6615fe18d43ca7b959bda00b5c80331020dfcbe808d3e2c5352ad4cd3bd496792951fb1d600c2fcf7f7b1cf6e9b
7
- data.tar.gz: 526bcd7bf5a7f85afa55559ea99fc4d9ff0811a5b1547a586dacfa584f4ecf74288a691f1968b262ae0fc47c2b89b2d6a90ef1a4a2549ee2c01cc54e40716d74
6
+ metadata.gz: a4344a9bdf65524dc82da9368cc8d844ed1da304aa139f2a95d5a6f1c177534d95ebbf7ecd3a488c2fa65221706cf0f4afdfbfdc3d0b6846f18ffaff1b9cda17
7
+ data.tar.gz: 063aee16e467179dd13d1f94a98b57fbc135d93ab9b46cf0d860903ca8a5ce130579830e6f561b288a78f642da976ac56be5ccf3ec4753d8754e2d508e650cb0
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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-8-maintenance)
11
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...3.8.1)
3
12
 
4
13
  Bug Fixes:
5
14
 
@@ -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] = RSpec.configuration.last_run_statuses[id]
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
- RSpec.configuration.configure_group(self)
435
+ config.configure_group(self)
432
436
  end
433
437
 
434
438
  # @private
@@ -136,7 +136,6 @@ module RSpec
136
136
 
137
137
  populate_location_attributes
138
138
  metadata.update(user_metadata)
139
- RSpec.configuration.apply_derived_metadata_to(metadata)
140
139
  end
141
140
 
142
141
  private
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Core.
4
4
  module Version
5
5
  # Current version of RSpec Core, in semantic versioning format.
6
- STRING = '3.8.1'
6
+ STRING = '3.8.2'
7
7
  end
8
8
  end
9
9
  end
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.1
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-13 00:00:00.000000000 Z
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.1/Changelog.md
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.1
291
+ summary: rspec-core-3.8.2
292
292
  test_files: []
metadata.gz.sig CHANGED
Binary file