mutant 0.11.29 → 0.11.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mutant/bootstrap.rb +7 -1
- data/lib/mutant/hooks.rb +2 -0
- 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: 6c9ce21c5e092af5e521c5ef2c0e926e60211ddae0c8b552d5b79180dbc8eb6c
|
4
|
+
data.tar.gz: 994dbc55bb97edd121d72aa46a946993e2efcc8642ca0d7dd7d31cdb4cb8fa6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7047e6694559bb810a7b3b7bc1f01e07745a928c166e6964f0b74d8dae3a4900575bbe12bcf98fc0163bef3ee6869fd2b09ec09b46d91920b3de134421811240
|
7
|
+
data.tar.gz: cf40b6c4d5c5a4ea37a090f7a874e3a2abfd64ea31d0d2d1c5ae32cb6e8b43c2d4b5c7c8c92be24a54339be87604f66c59a7d5f11061299518cf93fdb1da2e44
|
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/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.30
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diff-lcs
|