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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c63188b144a3e307635e15a15036ebaa5a3d50e255ba3bb29416df940849973c
4
- data.tar.gz: cc438424a5601c64ed99928cf3a1fc7eb1789f5d9200238ae8db6407cca06859
3
+ metadata.gz: 77a1151944c2469c3816702552c2bc3e060003bd38cfc7196efb3cc179f57891
4
+ data.tar.gz: 12d5045fbd6fcd3e62d20b10bb0b81b7bfeffb2bfe227c21f162ef1e62ad6414
5
5
  SHA512:
6
- metadata.gz: 683773d1692c0bb08b3235ef86df3f2e3d9e68b6680bfb28b6d0dbf42db629a62170e24f4e2fbd13a85fb52c1136b2c4bed5bba85e4d350354bcde86ee96fa17
7
- data.tar.gz: c7ed15861967ea6da4c490a86886831a1d98c531ab580234126d22576caf68161a120f7765a5f1ca59623cd2c822a281ede88c8cd5a6e33330c185340bbcd689
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 '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.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-14 00:00:00.000000000 Z
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.31
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.31
26
+ version: 0.11.33
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement