mutant 0.3.0.beta10 → 0.3.0.beta11

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: fc832675fb1166a4b6fe2d230eddabe007c90a5b
4
- data.tar.gz: d8bab5543136ddc23c6ce09b5eb763f8afde66c8
3
+ metadata.gz: 6145d1bb860965161b9e13a38d40dd6c22112c06
4
+ data.tar.gz: 1d081832490c2f5f15857c6b68c2e4bb6dd3d347
5
5
  SHA512:
6
- metadata.gz: 81c5c3604e37bcdf69e56200dc44d21688749f025c09b68dc1bd07ddb3a15cc8cc67a856d7d94e7e0b0228fc86ea7b95915d88046421720950282a5eed497235
7
- data.tar.gz: 304fd7f04b962753bfad76e14d65912b74b50036dcf84b5e6ad0ad4cf397aea9ca8bf9014438bb379dbd4a33ffa1af9369d170e6ef14e2ec6f17608763fb85ab
6
+ metadata.gz: 560ee90dd809790a3df3f2807288c290ad5401dce20ea320a988bc80d19628271b9f7633b5c8c78530e15fcfdf988806bab323cbc060e758d5c40afa50f0153c
7
+ data.tar.gz: 6adcb7f2857cde6bead44261f97ec6738e259d5d4d8f61a18afa3d4618787569d0f87e2015a125522a412eb2e1d809199e6d283dd086e8b6ebf2b32ecda85326
data/config/flay.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  threshold: 16
3
- total_score: 674
3
+ total_score: 671
data/lib/mutant/differ.rb CHANGED
@@ -22,7 +22,8 @@ module Mutant
22
22
  output = Diff::LCS::Hunk.new(old, new, diffs.first, max_length, 0).diff(:unified)
23
23
  output << "\n"
24
24
  else
25
- abort 'Mutation resulted in more than one diff, should not happen! PLS report a bug!'
25
+ $stderr.puts 'Mutation resulted in more than one diff, should not happen! PLS report a bug!'
26
+ nil
26
27
  end
27
28
  end
28
29
  memoize :diff
@@ -20,6 +20,7 @@ module Mutant
20
20
  def dispatch
21
21
  emit_condition_mutations
22
22
  emit_body_mutations
23
+ emit_body(nil)
23
24
  end
24
25
 
25
26
  end # While
data/mutant.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'mutant'
5
- gem.version = '0.3.0.beta10'
5
+ gem.version = '0.3.0.beta11'
6
6
  gem.authors = [ 'Markus Schirp' ]
7
7
  gem.email = [ 'mbj@schirp-dso.com' ]
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta10
4
+ version: 0.3.0.beta11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp