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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c63188b144a3e307635e15a15036ebaa5a3d50e255ba3bb29416df940849973c
4
- data.tar.gz: cc438424a5601c64ed99928cf3a1fc7eb1789f5d9200238ae8db6407cca06859
3
+ metadata.gz: b5bef18e4132e0779f5cf33a85bc4e7fde4cfa4c1710dfe9c14ced644c60ad4a
4
+ data.tar.gz: 877837e2476f071b1900f8e9eb20d317f0d273498d4614764238b34770cd6d3c
5
5
  SHA512:
6
- metadata.gz: 683773d1692c0bb08b3235ef86df3f2e3d9e68b6680bfb28b6d0dbf42db629a62170e24f4e2fbd13a85fb52c1136b2c4bed5bba85e4d350354bcde86ee96fa17
7
- data.tar.gz: c7ed15861967ea6da4c490a86886831a1d98c531ab580234126d22576caf68161a120f7765a5f1ca59623cd2c822a281ede88c8cd5a6e33330c185340bbcd689
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.wants_to_quit
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.31
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-14 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.31
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.31
26
+ version: 0.11.32
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement