Commit graph

11 commits

Author SHA1 Message Date
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