rspec-core 3.13.0 → 3.13.1
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/Changelog.md +8 -1
- data/lib/rspec/core/bisect/example_minimizer.rb +1 -1
- data/lib/rspec/core/configuration.rb +2 -1
- data/lib/rspec/core/hooks.rb +1 -1
- data/lib/rspec/core/pending.rb +1 -1
- data/lib/rspec/core/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -8
- 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: 2a6e69a31520af7fc44f9215cc15c68579ff0c4e0068069cd214f6a1f6e347c4
|
4
|
+
data.tar.gz: 12bec6fc73dd01cf153b4385fe2fa9b6e5b627281cd0ce7bd3a5d3010a6ad701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73cf249da659f2e7d7f9ff2480c3c602990449364bfe1d976f122538da6c06321cc3f458a0153bcb70c7bd22aef485e52a81fef7d5f85dc9d5221484cfca5697
|
7
|
+
data.tar.gz: febfcb38337060e428a5d8c0acd5d2a087896b88815c49d4b6bb0f005330358f6000e1f4688e644117341f5e80ab2134d343c7d7fbb8ee3271f4ddb6f667fb0f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.1...3-13-maintenance)
|
3
|
+
|
4
|
+
### 3.13.1 / 2024-09-02
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.0...v3.13.1)
|
6
|
+
|
7
|
+
Bug fixes:
|
8
|
+
|
9
|
+
* Sort ids to run as the original order to fix `--bisect`. (Maki Kawahara, #3093)
|
3
10
|
|
4
11
|
### 3.13.0 / 2024-02-04
|
5
12
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.3...v3.13.0)
|
@@ -136,7 +136,7 @@ module RSpec
|
|
136
136
|
end
|
137
137
|
|
138
138
|
def get_expected_failures_for?(ids)
|
139
|
-
ids_to_run = ids + failed_example_ids
|
139
|
+
ids_to_run = all_example_ids & (ids + failed_example_ids)
|
140
140
|
notify(
|
141
141
|
:bisect_individual_run_start,
|
142
142
|
:command => shell_command.repro_command_from(ids_to_run),
|
@@ -1764,8 +1764,9 @@ module RSpec
|
|
1764
1764
|
# @private
|
1765
1765
|
RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message }
|
1766
1766
|
|
1767
|
-
# Turns warnings into errors. This can be useful when
|
1767
|
+
# Turns RSpec warnings into errors. This can be useful when
|
1768
1768
|
# you want RSpec to run in a 'strict' no warning situation.
|
1769
|
+
# (Note this does not capture or raise on Ruby warnings).
|
1769
1770
|
#
|
1770
1771
|
# @example
|
1771
1772
|
#
|
data/lib/rspec/core/hooks.rb
CHANGED
@@ -461,7 +461,7 @@ module RSpec
|
|
461
461
|
# TODO: consider making this an error in RSpec 4. For SemVer reasons,
|
462
462
|
# we are only warning in RSpec 3.
|
463
463
|
RSpec.warn_with "WARNING: `around(:context)` hooks are not supported and " \
|
464
|
-
"behave like `around(:example)
|
464
|
+
"behave like `around(:example)`."
|
465
465
|
end
|
466
466
|
|
467
467
|
hook = HOOK_TYPES[position][scope].new(block, options)
|
data/lib/rspec/core/pending.rb
CHANGED
@@ -59,7 +59,7 @@ module RSpec
|
|
59
59
|
# executed. If you need to consider hooks as pending as well you can use
|
60
60
|
# the pending metadata as an alternative, e.g.
|
61
61
|
# `it "does something", pending: "message"`.
|
62
|
-
def pending(message=nil)
|
62
|
+
def pending(message=nil, &_block)
|
63
63
|
current_example = RSpec.current_example
|
64
64
|
|
65
65
|
if block_given?
|
data/lib/rspec/core/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.13.
|
4
|
+
version: 3.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
8
8
|
- David Chelimsky
|
9
9
|
- Chad Humphries
|
10
10
|
- Myron Marston
|
11
|
-
autorequire:
|
12
11
|
bindir: exe
|
13
12
|
cert_chain:
|
14
13
|
- |
|
@@ -46,7 +45,7 @@ cert_chain:
|
|
46
45
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
47
46
|
F3MdtaDehhjC
|
48
47
|
-----END CERTIFICATE-----
|
49
|
-
date: 2024-
|
48
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
50
49
|
dependencies:
|
51
50
|
- !ruby/object:Gem::Dependency
|
52
51
|
name: rspec-support
|
@@ -267,11 +266,10 @@ licenses:
|
|
267
266
|
- MIT
|
268
267
|
metadata:
|
269
268
|
bug_tracker_uri: https://github.com/rspec/rspec-core/issues
|
270
|
-
changelog_uri: https://github.com/rspec/rspec-core/blob/v3.13.
|
269
|
+
changelog_uri: https://github.com/rspec/rspec-core/blob/v3.13.1/Changelog.md
|
271
270
|
documentation_uri: https://rspec.info/documentation/
|
272
271
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
273
272
|
source_code_uri: https://github.com/rspec/rspec-core
|
274
|
-
post_install_message:
|
275
273
|
rdoc_options:
|
276
274
|
- "--charset=UTF-8"
|
277
275
|
require_paths:
|
@@ -287,8 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
285
|
- !ruby/object:Gem::Version
|
288
286
|
version: '0'
|
289
287
|
requirements: []
|
290
|
-
rubygems_version: 3.
|
291
|
-
signing_key:
|
288
|
+
rubygems_version: 3.6.0.dev
|
292
289
|
specification_version: 4
|
293
|
-
summary: rspec-core-3.13.
|
290
|
+
summary: rspec-core-3.13.1
|
294
291
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|