mutant 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,12 +1,20 @@
1
- # v0.2.13 2013-01-05
1
+ # v0.2.14 2013-01-09
2
+
3
+ * [change] Do not emit mutation to { nil => nil } for hash literals
4
+
5
+ [Compare v0.2.13..v0.2.14](https://github.com/mbj/mutant/compare/v0.2.13...v0.2.14)
6
+
7
+ # v0.2.13 2013-01-09
2
8
 
3
9
  * [fixed] Capture failures that occur in the window between mutation insertion and spec run as kills
4
10
 
11
+ [Compare v0.2.12..v0.2.13](https://github.com/mbj/mutant/compare/v0.2.12...v0.2.13)
12
+
5
13
  # v0.2.12 2013-01-03
6
14
 
7
15
  * [fixed] Do not crash when trying to load methods from precompiled ruby under rbx
8
16
 
9
- [Compare v0.2.10..v0.2.12](https://github.com/mbj/mutant/compare/v0.2.11...v0.2.12)
17
+ [Compare v0.2.11..v0.2.12](https://github.com/mbj/mutant/compare/v0.2.11...v0.2.12)
10
18
 
11
19
  # v0.2.11 2013-01-03
12
20
 
@@ -59,8 +59,7 @@ module Mutant
59
59
  # @api private
60
60
  #
61
61
  def values
62
- nil_node = new_nil
63
- [[], [nil_node, nil_node] + dup_array]
62
+ [[]]
64
63
  end
65
64
 
66
65
  # Emit element presence mutations
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.2.13'
5
+ gem.version = '0.2.14'
6
6
  gem.authors = [ 'Markus Schirp' ]
7
7
  gem.email = [ 'mbj@seonic.net' ]
8
8
  gem.description = 'Mutation testing for ruby'
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.extra_rdoc_files = %w[TODO LICENSE]
16
16
  gem.executables = [ 'mutant' ]
17
17
 
18
- gem.add_runtime_dependency('to_source', '~> 0.2.13')
18
+ gem.add_runtime_dependency('to_source', '~> 0.2.14')
19
19
  gem.add_runtime_dependency('ice_nine', '~> 0.6.0')
20
20
  gem.add_runtime_dependency('descendants_tracker', '~> 0.0.1')
21
21
  gem.add_runtime_dependency('backports', '~> 2.6')
@@ -25,9 +25,6 @@ describe Mutant::Mutator::Node::Literal, 'hash' do
25
25
 
26
26
  # Empty hash
27
27
  mutations << '{}'
28
-
29
- # Extra element
30
- mutations << '{nil => nil, true => true, false => false}'
31
28
  end
32
29
 
33
30
  it_should_behave_like 'a mutator'
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.2.13
4
+ version: 0.2.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.13
21
+ version: 0.2.14
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.2.13
29
+ version: 0.2.14
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: ice_nine
32
32
  requirement: !ruby/object:Gem::Requirement