mutant 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ed226d5dffa5ae1f7427abfa3d0906c4795aeb9
4
- data.tar.gz: 683e7fb70196af33a3fa62bd208c1944f59c33c0
3
+ metadata.gz: b3f5f4cd0f498cb559067c145ca64b0c497499c8
4
+ data.tar.gz: b9f6684021373e4dec17112f1ec6bb91828e81ca
5
5
  SHA512:
6
- metadata.gz: 484d060c5dbeeb7287a91d8e85d5146d628fface21960803e77d3a5d36d3eae5dfedcb2abd83dab0c5d926fde2cd1d5637bc3b4a0cbacb61c384d58a034b5095
7
- data.tar.gz: 1aa578d23500f3be6ac4f885c4ef0dfeaa29047df8a869a158de38da36eef9728c3e1fe6b319a5bdffa3e97a71e1f93eb0904815b2c8e6bf6639f1018374f451
6
+ metadata.gz: 2d4f078d7a79185bc8fce654479b54b9410b3ae9342cc4ab8c77e78792851d362dbfae4f5951a1a800cc64ce291f2eebe22e6164f9c268fb5ecaa55b7a7fea22
7
+ data.tar.gz: 8b52fca4d1af67bc6d832d90d8745092ae23c68a4a6737c31a37912f7774f2e093d9083c7ab5f9f07ab7c324010c70d43e5b0a4bc95a1ecd167243c4fb7b84ec
data/.travis.yml CHANGED
@@ -3,12 +3,12 @@ script: "bundle exec rake ci"
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - 2.1.0
6
+ - 2.1.1
7
7
  - rbx
8
8
  matrix:
9
9
  allow_failures:
10
10
  - rvm: rbx
11
- - rvm: 2.1.0
11
+ - rvm: 2.1.1
12
12
  notifications:
13
13
  irc:
14
14
  channels:
data/Changelog.md CHANGED
@@ -1,3 +1,9 @@
1
+ # v0.5.8 2014-03-26
2
+
3
+ Changes:
4
+
5
+ * Fix crash on Module#name and Class#name returning non Strings
6
+
1
7
  # v0.5.7 2014-03-23
2
8
 
3
9
  Changes:
data/README.md CHANGED
@@ -19,7 +19,7 @@ Support for MRI 2.1 is unstable, because this MRI release segfaults on basic met
19
19
  Integrations
20
20
  ------------
21
21
 
22
- Only rspec2 is supported currently.
22
+ Only rspec2 and rspec-3 beta2 is supported currently.
23
23
 
24
24
  Projects using Mutant
25
25
  ---------------------
@@ -50,7 +50,8 @@ Install the gem `mutant` via your preferred method.
50
50
  gem install mutant
51
51
  ```
52
52
 
53
- If you plan to use the rspec integration you'll have to install `mutant-rspec` also.
53
+ If you plan to use the rspec integration you'll have to install `mutant-rspec` also.
54
+ Please add an explicit dependency to `rspec-core` for the rspec version you want to use.
54
55
 
55
56
  ```ruby
56
57
  gem install mutant-rspec
data/circle.yml CHANGED
@@ -1,4 +1,7 @@
1
1
  ---
2
+ machine:
3
+ ruby:
4
+ version: 2.0.0
2
5
  test:
3
6
  override:
4
7
  - bundle exec rake ci
data/config/reek.yml CHANGED
@@ -89,6 +89,7 @@ TooManyStatements:
89
89
  # How mutant does CLI parsing is shit
90
90
  - Mutant::CLI#parse
91
91
  - Mutant::CLI#initialize
92
+ - Mutant::CLI#add_debug_options
92
93
  max_statements: 6
93
94
  UncommunicativeMethodName:
94
95
  enabled: true
@@ -94,6 +94,7 @@ WARNING:
94
94
  #{scope.class}#name did not return a string or nil.
95
95
  Fix your lib!
96
96
  MESSAGE
97
+ return
97
98
  end
98
99
  if pattern =~ name
99
100
  yield scope
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mutant
4
4
  # The current mutant version
5
- VERSION = '0.5.7'.freeze
5
+ VERSION = '0.5.8'.freeze
6
6
  end # Mutant
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rspec', '~> 2.14.1'
3
+ gem 'rspec', '~> 2.14.1'
4
+ gem 'rspec-core', '~> 2.14.1'
4
5
  gem 'mutant', path: '../'
5
6
  gem 'mutant-rspec', path: '../'
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
- gem 'rspec', '~> 3.0.0.beta2'
2
+ gem 'rspec', '~> 3.0.0.beta2'
3
+ gem 'rspec-core', '~> 3.0.0.beta2'
3
4
  gem 'mutant', path: '../'
4
5
  gem 'mutant-rspec', path: '../'
metadata CHANGED
@@ -1,215 +1,215 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-23 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: morpher
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: procto
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.0.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.0.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: abstract_type
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.0.7
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.0.7
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: unparser
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.1.8
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.1.8
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: ice_nine
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.11.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.11.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: descendants_tracker
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.0.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.0.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: adamantium
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ~>
116
116
  - !ruby/object:Gem::Version
117
117
  version: 0.2.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ~>
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.2.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: equalizer
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ~>
130
130
  - !ruby/object:Gem::Version
131
131
  version: 0.0.7
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ~>
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.0.7
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: inflecto
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ~>
144
144
  - !ruby/object:Gem::Version
145
145
  version: 0.0.2
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ~>
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.0.2
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: anima
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ~>
158
158
  - !ruby/object:Gem::Version
159
159
  version: 0.2.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ~>
165
165
  - !ruby/object:Gem::Version
166
166
  version: 0.2.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: concord
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - "~>"
171
+ - - ~>
172
172
  - !ruby/object:Gem::Version
173
173
  version: 0.1.4
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - "~>"
178
+ - - ~>
179
179
  - !ruby/object:Gem::Version
180
180
  version: 0.1.4
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: diff-lcs
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - "~>"
185
+ - - ~>
186
186
  - !ruby/object:Gem::Version
187
187
  version: '1.2'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - "~>"
192
+ - - ~>
193
193
  - !ruby/object:Gem::Version
194
194
  version: '1.2'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: bundler
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - "~>"
199
+ - - ~>
200
200
  - !ruby/object:Gem::Version
201
201
  version: '1.3'
202
- - - ">="
202
+ - - '>='
203
203
  - !ruby/object:Gem::Version
204
204
  version: 1.3.5
205
205
  type: :development
206
206
  prerelease: false
207
207
  version_requirements: !ruby/object:Gem::Requirement
208
208
  requirements:
209
- - - "~>"
209
+ - - ~>
210
210
  - !ruby/object:Gem::Version
211
211
  version: '1.3'
212
- - - ">="
212
+ - - '>='
213
213
  - !ruby/object:Gem::Version
214
214
  version: 1.3.5
215
215
  description: Mutation testing for ruby
@@ -222,11 +222,11 @@ extra_rdoc_files:
222
222
  - TODO
223
223
  - LICENSE
224
224
  files:
225
- - ".gitignore"
226
- - ".rspec"
227
- - ".rubocop.yml"
228
- - ".ruby-gemset"
229
- - ".travis.yml"
225
+ - .gitignore
226
+ - .rspec
227
+ - .rubocop.yml
228
+ - .ruby-gemset
229
+ - .travis.yml
230
230
  - Changelog.md
231
231
  - Gemfile
232
232
  - Gemfile.devtools
@@ -467,17 +467,17 @@ require_paths:
467
467
  - lib
468
468
  required_ruby_version: !ruby/object:Gem::Requirement
469
469
  requirements:
470
- - - ">="
470
+ - - '>='
471
471
  - !ruby/object:Gem::Version
472
472
  version: 1.9.3
473
473
  required_rubygems_version: !ruby/object:Gem::Requirement
474
474
  requirements:
475
- - - ">="
475
+ - - '>='
476
476
  - !ruby/object:Gem::Version
477
477
  version: '0'
478
478
  requirements: []
479
479
  rubyforge_project:
480
- rubygems_version: 2.2.2
480
+ rubygems_version: 2.0.14
481
481
  signing_key:
482
482
  specification_version: 4
483
483
  summary: Mutation testing tool for ruby under MRI and Rubinius
@@ -561,3 +561,4 @@ test_files:
561
561
  - spec/unit/mutant/subject/node_spec.rb
562
562
  - spec/unit/mutant/subject_spec.rb
563
563
  - spec/unit/mutant_spec.rb
564
+ has_rdoc: