mutant 0.11.29 → 0.11.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mutant/bootstrap.rb +7 -1
- data/lib/mutant/hooks.rb +2 -0
- data/lib/mutant/parallel.rb +2 -2
- data/lib/mutant/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13cb8348526f16921dc46f4fac79bcac3b1ea0f2384980cf6b640d157426c054
|
|
4
|
+
data.tar.gz: 5b9bee01fb11a0afe8c95b824ed3d0b78c63601c90ff5dda096014c1cff206a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bc15eb9ea3db3e7062786ea5dda052248f5df7a10c12715d13a183dc9ac6377ba3dc3a96cf35a6603b09e4f4846040f77e6dab70074b07dd228f63d21392687
|
|
7
|
+
data.tar.gz: 5b14e7748c65bd648ccc7e815210dc348deab288e1dbe6f35ba8746fef8c52aa75aa99c6712c58d76bf03b390f4d2d999669779b4142a8c44267bfa1e58953fd
|
data/lib/mutant/bootstrap.rb
CHANGED
|
@@ -71,8 +71,12 @@ module Mutant
|
|
|
71
71
|
end
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
+
# rubocop:disable Metrics/MethodLength
|
|
75
|
+
# rubocop:disable Style/MultilineBlockChain
|
|
74
76
|
def self.setup_integration(env:, mutations:, selected_subjects:)
|
|
75
77
|
env.record(__method__) do
|
|
78
|
+
hooks = env.hooks
|
|
79
|
+
hooks.run(:setup_integration_pre)
|
|
76
80
|
Integration.setup(env).fmap do |integration|
|
|
77
81
|
env.with(
|
|
78
82
|
integration: integration,
|
|
@@ -80,10 +84,12 @@ module Mutant
|
|
|
80
84
|
selector: Selector::Expression.new(integration: integration),
|
|
81
85
|
subjects: selected_subjects
|
|
82
86
|
)
|
|
83
|
-
end
|
|
87
|
+
end.tap { hooks.run(:setup_integration_post) }
|
|
84
88
|
end
|
|
85
89
|
end
|
|
86
90
|
private_class_method :setup_integration
|
|
91
|
+
# rubocop:enable Metrics/MethodLength
|
|
92
|
+
# rubocop:enable Style/MultilineBlockChain
|
|
87
93
|
|
|
88
94
|
def self.load_hooks(env)
|
|
89
95
|
env.record(__method__) do
|
data/lib/mutant/hooks.rb
CHANGED
data/lib/mutant/parallel.rb
CHANGED
|
@@ -23,7 +23,7 @@ module Mutant
|
|
|
23
23
|
)
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
# rubocop:disable
|
|
26
|
+
# rubocop:disable Metrics/MethodLength
|
|
27
27
|
def self.workers(world, config, shared)
|
|
28
28
|
Array.new(config.jobs) do |index|
|
|
29
29
|
Worker.start(
|
|
@@ -38,7 +38,7 @@ module Mutant
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
private_class_method :workers
|
|
41
|
-
# rubocop:enable
|
|
41
|
+
# rubocop:enable Metrics/MethodLength
|
|
42
42
|
|
|
43
43
|
def self.shared_state(world, config)
|
|
44
44
|
{
|
data/lib/mutant/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mutant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.31
|
|
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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: diff-lcs
|