rspec-core 3.13.2 → 3.13.4

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.
@@ -91,7 +91,7 @@ module RSpec
91
91
  def add_filter(argv, name, hash)
92
92
  hash.each_pair do |k, v|
93
93
  next if CONDITIONAL_FILTERS.include?(k)
94
- tag = name == :inclusion ? k.to_s : "~#{k}".dup
94
+ tag = name == :inclusion ? k.to_s.dup : "~#{k}".dup
95
95
  tag << ":#{v}" if v.is_a?(String)
96
96
  argv << "--tag" << tag
97
97
  end unless hash.empty?
@@ -98,7 +98,7 @@ module RSpec
98
98
  loaded_spec_files = RSpec.configuration.loaded_spec_files
99
99
 
100
100
  Metadata.ascending(metadata) do |meta|
101
- return meta[:location] if loaded_spec_files.include?(meta[:absolute_file_path])
101
+ break meta[:location] if loaded_spec_files.include?(meta[:absolute_file_path])
102
102
  end
103
103
  end
104
104
  end
@@ -204,6 +204,7 @@ module RSpec
204
204
  # @private
205
205
  # @macro [attach] define_example_group_method
206
206
  # @!scope class
207
+ # @method $1
207
208
  # @overload $1
208
209
  # @overload $1(&example_group_definition)
209
210
  # @param example_group_definition [Block] The definition of the example group.
@@ -212,6 +213,7 @@ module RSpec
212
213
  # @param metadata [Array<Symbol>, Hash] Metadata for the group.
213
214
  # Symbols will be transformed into hash entries with `true` values.
214
215
  # @param example_group_definition [Block] The definition of the example group.
216
+ # @return [RSpec::Core::ExampleGroup]
215
217
  #
216
218
  # Generates a subclass of this example group which inherits
217
219
  # everything except the examples themselves.
@@ -312,6 +314,11 @@ module RSpec
312
314
  # @private
313
315
  # @macro [attach] define_nested_shared_group_method
314
316
  # @!scope class
317
+ # @method $1(name, *args, &block)
318
+ # @param name [String, Symbol] The name of the shared group to include.
319
+ # @param args [Array] Pass parameters to a shared example group
320
+ # @param block [Block] Additional context to pass to the shared group.
321
+ # @return [RSpec::Core::ExampleGroup]
315
322
  #
316
323
  # @see SharedExampleGroup
317
324
  def self.define_nested_shared_group_method(new_name, report_label="it should behave like")
@@ -202,8 +202,8 @@ module RSpec
202
202
 
203
203
  def split_file_scoped_rules
204
204
  rules_dup = @rules.dup
205
- locations = rules_dup.delete(:locations) { Hash.new([]) }
206
- ids = rules_dup.delete(:ids) { Hash.new([]) }
205
+ locations = rules_dup.delete(:locations) { Hash.new { [] } }
206
+ ids = rules_dup.delete(:ids) { Hash.new { [] } }
207
207
 
208
208
  return locations, ids, self.class.new(rules_dup)
209
209
  end
@@ -172,10 +172,11 @@ module RSpec::Core
172
172
  # @private
173
173
  def finish
174
174
  close_after do
175
- stop
175
+ examples_notification = Notifications::ExamplesNotification.new(self)
176
+ stop(examples_notification)
176
177
  notify :start_dump, Notifications::NullNotification
177
- notify :dump_pending, Notifications::ExamplesNotification.new(self)
178
- notify :dump_failures, Notifications::ExamplesNotification.new(self)
178
+ notify :dump_pending, examples_notification
179
+ notify :dump_failures, examples_notification
179
180
  notify :deprecation_summary, Notifications::NullNotification
180
181
  unless mute_profile_output?
181
182
  notify :dump_profile, Notifications::ProfileNotification.new(@duration, @examples,
@@ -197,9 +198,9 @@ module RSpec::Core
197
198
  end
198
199
 
199
200
  # @private
200
- def stop
201
+ def stop(notification)
201
202
  @duration = (RSpec::Core::Time.now - @start).to_f if @start
202
- notify :stop, Notifications::ExamplesNotification.new(self)
203
+ notify :stop, notification
203
204
  end
204
205
 
205
206
  # @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.13.2'
6
+ STRING = '3.13.4'
7
7
  end
8
8
  end
9
9
  end
data.tar.gz.sig CHANGED
Binary file
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.13.2
4
+ version: 3.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
@@ -12,11 +12,11 @@ bindir: exe
12
12
  cert_chain:
13
13
  - |
14
14
  -----BEGIN CERTIFICATE-----
15
- MIIF1TCCA72gAwIBAgIJAPXjfUbCjdXUMA0GCSqGSIb3DQEBBQUAMIGAMQswCQYD
15
+ MIIFvjCCA6agAwIBAgIJAPXjfUbCjdXVMA0GCSqGSIb3DQEBCwUAMIGAMQswCQYD
16
16
  VQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEO
17
17
  MAwGA1UECgwFUlNwZWMxEzARBgNVBAMMCnJzcGVjLmluZm8xJTAjBgkqhkiG9w0B
18
- CQEWFnJzcGVjQGdvb2dsZWdyb3Vwcy5jb20wHhcNMTQxMjIzMDkzNTIyWhcNMjQx
19
- MjIyMDkzNTIyWjCBgDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24x
18
+ CQEWFnJzcGVjQGdvb2dsZWdyb3Vwcy5jb20wHhcNMjUwMjA2MTE0NjU2WhcNMjYw
19
+ MjA2MTE0NjU2WjCBgDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24x
20
20
  EDAOBgNVBAcMB1NlYXR0bGUxDjAMBgNVBAoMBVJTcGVjMRMwEQYDVQQDDApyc3Bl
21
21
  Yy5pbmZvMSUwIwYJKoZIhvcNAQkBFhZyc3BlY0Bnb29nbGVncm91cHMuY29tMIIC
22
22
  IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsSmjgcHaKlD0jizRJowi2bGI
@@ -30,22 +30,21 @@ cert_chain:
30
30
  Xeh3EVdWY3vMB1pkhPwlsenpcmj5gOzrd54lELOVbCGHCf48iSqeflY2Lhe0pvzK
31
31
  blXCJBDmtrebvus291rM/dHcbEfK1SVd5Wut/n131iouf6dnNCFskFygDcgBbthC
32
32
  gpEMqf80lEmhX59VUsm0Pv6OEo+ZPHBvXPiJA6DShQh9t3YtpwyA8uVDMbT/i32u
33
- 2FUsqZbbJcCmkBrGposCA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Of9VztZJXgKAU5KAQxyOidGktoA5N
36
+ lp+bFKudRkW8jSehqoNaNBdSZ9Bc07EGMXIhUFJZF9rq7Z2SKPwUm6EaSsBK13QR
37
+ U4K6wuaw5ZJSFzklapoGOJRGnFlnNtlhNFY6+tTwCeblwZbcuYGyGY8+Rg7GbyVl
38
+ 3Tr4Gi1aS/qG/MDXKdE8HWm39dmaAMdbw6dg1VBd0JrX2VqH7xvE1dM/D3OlKrNp
39
+ gNFRNJig3Y8qPjocZR0cGkhgZoC9wribWxHSNawZm4CoV3fja2HNx9QyM7BaB+as
40
+ yuqAiBbA7vBcyc8nKATip3mxbyXYXoDD7nmO8JCPP7O/WsgG+U/B2a0kPdvYFoxE
41
+ Q0Js3GtFCuMvL+0rifqdxBOLtu0Pw9q4RvToTJIl2IR6eTgCb82B1hw9qKf7PjuL
42
+ BoEsYjjDhGw6FZvcJG8O6uj7aB+z4aF21YR74UGL7sq/RIPNNez5JI95jTGfqCPy
43
+ 6yo0w3zja3yg28QK3Fj+tbOHeSLv9SDQWi/1jiPprGzbxGvbVvjvX11YZc46vkmY
44
+ AwP+qZPPf97FXXZGEGIYhhHpnj+Ltx9nCetRPiZ4rvYBcXgCWVQSg6eiEofrMwn/
45
+ AKMCABhZ1Y2eATsfMgdkmIZk7JIPZiSi6eUxPiCMP9M/pw==
47
46
  -----END CERTIFICATE-----
48
- date: 2024-10-18 00:00:00.000000000 Z
47
+ date: 1980-01-02 00:00:00.000000000 Z
49
48
  dependencies:
50
49
  - !ruby/object:Gem::Dependency
51
50
  name: rspec-support
@@ -61,118 +60,6 @@ dependencies:
61
60
  - - "~>"
62
61
  - !ruby/object:Gem::Version
63
62
  version: 3.13.0
64
- - !ruby/object:Gem::Dependency
65
- name: cucumber
66
- requirement: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: '1.3'
71
- type: :development
72
- prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: '1.3'
78
- - !ruby/object:Gem::Dependency
79
- name: minitest
80
- requirement: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - "~>"
83
- - !ruby/object:Gem::Version
84
- version: '5.3'
85
- type: :development
86
- prerelease: false
87
- version_requirements: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - "~>"
90
- - !ruby/object:Gem::Version
91
- version: '5.3'
92
- - !ruby/object:Gem::Dependency
93
- name: aruba
94
- requirement: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - "~>"
97
- - !ruby/object:Gem::Version
98
- version: 0.14.9
99
- type: :development
100
- prerelease: false
101
- version_requirements: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - "~>"
104
- - !ruby/object:Gem::Version
105
- version: 0.14.9
106
- - !ruby/object:Gem::Dependency
107
- name: coderay
108
- requirement: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - "~>"
111
- - !ruby/object:Gem::Version
112
- version: 1.1.1
113
- type: :development
114
- prerelease: false
115
- version_requirements: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: 1.1.1
120
- - !ruby/object:Gem::Dependency
121
- name: mocha
122
- requirement: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - "~>"
125
- - !ruby/object:Gem::Version
126
- version: 0.13.0
127
- type: :development
128
- prerelease: false
129
- version_requirements: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - "~>"
132
- - !ruby/object:Gem::Version
133
- version: 0.13.0
134
- - !ruby/object:Gem::Dependency
135
- name: rr
136
- requirement: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - "~>"
139
- - !ruby/object:Gem::Version
140
- version: 1.0.4
141
- type: :development
142
- prerelease: false
143
- version_requirements: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - "~>"
146
- - !ruby/object:Gem::Version
147
- version: 1.0.4
148
- - !ruby/object:Gem::Dependency
149
- name: flexmock
150
- requirement: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - "~>"
153
- - !ruby/object:Gem::Version
154
- version: 0.9.0
155
- type: :development
156
- prerelease: false
157
- version_requirements: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - "~>"
160
- - !ruby/object:Gem::Version
161
- version: 0.9.0
162
- - !ruby/object:Gem::Dependency
163
- name: thread_order
164
- requirement: !ruby/object:Gem::Requirement
165
- requirements:
166
- - - "~>"
167
- - !ruby/object:Gem::Version
168
- version: 1.1.0
169
- type: :development
170
- prerelease: false
171
- version_requirements: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - "~>"
174
- - !ruby/object:Gem::Version
175
- version: 1.1.0
176
63
  description: BDD for Ruby. RSpec runner and example groups.
177
64
  email: rspec@googlegroups.com
178
65
  executables:
@@ -261,15 +148,16 @@ files:
261
148
  - lib/rspec/core/version.rb
262
149
  - lib/rspec/core/warnings.rb
263
150
  - lib/rspec/core/world.rb
264
- homepage: https://github.com/rspec/rspec-core
151
+ homepage: https://rspec.info
265
152
  licenses:
266
153
  - MIT
267
154
  metadata:
268
- bug_tracker_uri: https://github.com/rspec/rspec-core/issues
269
- changelog_uri: https://github.com/rspec/rspec-core/blob/v3.13.2/Changelog.md
155
+ bug_tracker_uri: https://github.com/rspec/rspec/issues
156
+ changelog_uri: https://github.com/rspec/rspec/blob/rspec-core-v3.13.4/rspec-core/Changelog.md
270
157
  documentation_uri: https://rspec.info/documentation/
271
158
  mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
272
- source_code_uri: https://github.com/rspec/rspec-core
159
+ rubygems_mfa_required: 'true'
160
+ source_code_uri: https://github.com/rspec/rspec/blob/rspec-core-v3.13.4/rspec-core
273
161
  rdoc_options:
274
162
  - "--charset=UTF-8"
275
163
  require_paths:
@@ -285,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
173
  - !ruby/object:Gem::Version
286
174
  version: '0'
287
175
  requirements: []
288
- rubygems_version: 3.6.0.dev
176
+ rubygems_version: 3.6.7
289
177
  specification_version: 4
290
- summary: rspec-core-3.13.2
178
+ summary: rspec-core-3.13.4
291
179
  test_files: []
metadata.gz.sig CHANGED
Binary file