mutiny 0.2.6 → 0.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82f8ce8c2e31d5a113f71eb05cae910a1e0942ae
4
- data.tar.gz: 2f39cf42e45814019566e7729fc12cc76c74c812
3
+ metadata.gz: 554e8201c70c0ab7fe048dde7f53406275110ed7
4
+ data.tar.gz: e5c9ea2e62c5f1d00260753c0cff7e5f62ac5f93
5
5
  SHA512:
6
- metadata.gz: 4161257ca1df94e4ff122a14261affb7dcf9637d1e9b6e96de9be70c39b1f7d6563a58acce9e083732d3ac6af9f6f3013e148cf1acbcb27f95467cc043a24899
7
- data.tar.gz: 0029e46e1070c21440256a86e75e3db603e160ff741d910075d405a601d42d7f8e3c374bf8d6cc07407c1002bf0113e80bc0b9662fde45a13b38293a2b73d358
6
+ metadata.gz: 1d5688557c103ff17e9222f9cc438946ceed1d07168ee78c7b02398c8807e9575b36a85aafcae048aa0daa9d119fa6e1c7ab48ed6cc7815bbac4cce81c76b6d6
7
+ data.tar.gz: 48d5ff4b9e8fbbc472a7f9325e4f355c9e6ef3b38488126a2f72e22bcf2746b252bdf6eb38b6f5738d5a161149eb07fc98477ca22a02fe2964623191d67ef233
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mutiny (0.2.6)
4
+ mutiny (0.2.7)
5
5
  gli (~> 2.13.0)
6
6
  metamorpher (~> 0.2.2)
7
7
  parser (~> 2.2.2)
data/RELEASES.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Release History
2
2
 
3
+ ## v0.2.7 (22 February 2016)
4
+ * Fix bug whereby analysis was incorrectly reusing test results for all previous mutants when evaluating current mutant.
5
+
3
6
  ## v0.2.6 (17 February 2016)
4
7
  * A mutant's position now carries information about the affected range in the subject, as well as in the mutated code.
5
8
 
@@ -35,11 +35,12 @@ module Mutiny
35
35
 
36
36
  def analyse(mutant)
37
37
  mutant.apply
38
- mutant.stillborn? ? nil : run_tests(select_tests(mutant))
38
+ mutant.stillborn? ? nil : run_tests(mutant)
39
39
  end
40
40
 
41
- def run_tests(test_set)
41
+ def run_tests(mutant)
42
42
  Isolation.call do
43
+ test_set = select_tests(mutant)
43
44
  integration.run(test_set, fail_fast: true)
44
45
  end
45
46
  end
@@ -1,3 +1,3 @@
1
1
  module Mutiny
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutiny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louis Rose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-17 00:00:00.000000000 Z
11
+ date: 2016-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser