mutant-rspec 0.11.31 → 0.11.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mutant/integration/rspec.rb +9 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5bef18e4132e0779f5cf33a85bc4e7fde4cfa4c1710dfe9c14ced644c60ad4a
|
4
|
+
data.tar.gz: 877837e2476f071b1900f8e9eb20d317f0d273498d4614764238b34770cd6d3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad047bc397d2cf2dbe0db8d71edb5ea0cc9921f9fed70cebe3bfd8617b51dcf48b91a5a7adc2c908825da654737f38181897bdf3506c62bad156154167c302be
|
7
|
+
data.tar.gz: 2f9420ba98b2844a29d6b989d50ff3d139de3ea1ea2794d02d2fa57074cec0a1f725bbfdb8dac9b67bd245a43aa032f3255df7b4d20e7a58d1321bc99ea48a98
|
@@ -50,7 +50,7 @@ module Mutant
|
|
50
50
|
def setup
|
51
51
|
@setup_elapsed = timer.elapsed do
|
52
52
|
@runner.setup(world.stderr, world.stdout)
|
53
|
-
fail '
|
53
|
+
fail 'RSpec setup failure' if rspec_setup_failure?
|
54
54
|
example_group_map
|
55
55
|
end
|
56
56
|
@runner.configuration.force(color_mode: :on)
|
@@ -102,6 +102,14 @@ module Mutant
|
|
102
102
|
|
103
103
|
private
|
104
104
|
|
105
|
+
def rspec_setup_failure?
|
106
|
+
@rspec_world.wants_to_quit || rspec_is_quitting?
|
107
|
+
end
|
108
|
+
|
109
|
+
def rspec_is_quitting?
|
110
|
+
@rspec_world.respond_to?(:rspec_is_quitting) && @rspec_world.rspec_is_quitting
|
111
|
+
end
|
112
|
+
|
105
113
|
def effective_arguments
|
106
114
|
arguments.empty? ? DEFAULT_CLI_OPTIONS : arguments
|
107
115
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutant-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mutant
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.11.
|
19
|
+
version: 0.11.32
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.11.
|
26
|
+
version: 0.11.32
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|