Commit graph

15 commits

Author SHA1 Message Date
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
8d31d52a93 Sync devtools and fix rubocop warnings 2014-06-08 13:01:26 +00:00
Markus Schirp
017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00
Markus Schirp
9bafb2c395 Fix mutations on case without conditional 2014-04-06 21:59:35 +00:00
Dan Kubb
475512146f Change emit_nil to not emit on the left node of an assignment
* Add emit_nil to other nodes so that they can be replaced
  with nil, effectively removing them from the code.
2013-09-07 23:57:47 -07:00
Dan Kubb
7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
636e189b06 Fix remaniung rubocop issues in Mutator::Node 2013-07-27 21:14:41 +02:00
Markus Schirp
06cc61612c Use Enumerabe#one? predicate 2013-06-23 22:41:55 +02:00
Markus Schirp
c8ddda1275 Correct lvar usage 2013-06-23 21:59:09 +02:00
Markus Schirp
77fe909b6e Prettify case mutator 2013-06-23 21:56:46 +02:00
Dan Kubb
d3470d08cb Fix mutation with one when clause in a case statement
* When there was only one when clause, one mutation would remove
  it which would cause the case statement to become invalid.
2013-06-22 23:00:40 -07:00
Markus Schirp
9e96831cc1 Improve usage of child nameing in case mutator 2013-06-21 15:53:33 +02:00
Markus Schirp
1bd99b2f33 Use childe nameing in case mutator 2013-06-21 15:30:06 +02:00
Markus Schirp
c4f8f8e25f Break up some complex methods 2013-06-15 17:16:34 +02:00
Markus Schirp
56fb2c7285 Port case mutations to parser 2013-06-14 21:12:09 +02:00