mutant-rspec 0.11.30 → 0.11.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd2f14727ab0b71c1dbc7f1d55bba07742d256ff7c6819a872292ceb6714a8f8
4
- data.tar.gz: 0dce3f71c47e3cb7ec712ac8f833589d029ecd72ba45d56307e611f3db4d83b4
3
+ metadata.gz: b5bef18e4132e0779f5cf33a85bc4e7fde4cfa4c1710dfe9c14ced644c60ad4a
4
+ data.tar.gz: 877837e2476f071b1900f8e9eb20d317f0d273498d4614764238b34770cd6d3c
5
5
  SHA512:
6
- metadata.gz: 1f232c3c34cffd085e08545b825112038f34e88b65bf64dd2a0cc93f51c4d6baba1d97ccd7f27ba93f0dbc498b2bc76f11e1490e23f40491b6ff051eb72894ab
7
- data.tar.gz: 9ba608b571465170fdc62d421b0565b3468d3e9aa3f99f1fb7bd39510086720b85202abc37eaf847ddaaf726f57f02c8ef517f877088498d2bf936402f177923
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 'Rspec setup failure' if RSpec.world.respond_to?(:rspec_is_quitting) && RSpec.world.rspec_is_quitting
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.30
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 00:00:00.000000000 Z
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.30
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.30
26
+ version: 0.11.32
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement