mutant-rspec 0.11.31 → 0.11.33
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: 77a1151944c2469c3816702552c2bc3e060003bd38cfc7196efb3cc179f57891
|
4
|
+
data.tar.gz: 12d5045fbd6fcd3e62d20b10bb0b81b7bfeffb2bfe227c21f162ef1e62ad6414
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0130287c9adc278658f3c912c22f760501486c888de83042044d7d0b2d11ae093a58b077b6af3e6210c8f60d709e4f2bcf5623572e78730854ed8d6471452835'
|
7
|
+
data.tar.gz: 2c2f75be49539208d8a148d802bb61ce4ff01ccd70915ec749f71b99239bd85fb13c64a2680eb9aa51bc0399b126c8d114de734b51730773c9e32725634ba800
|
@@ -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.33
|
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-24 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.33
|
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.33
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|