Commit graph

21 commits

Author SHA1 Message Date
Markus Schirp
ad162c2a42 Add dedicated splat mutator
Closes #66
2013-07-15 22:25:09 +02:00
Markus Schirp
4a2d12e7bf Do not emit invalid ast for op-assign mutations
Closes #64
2013-07-14 21:39:23 +02:00
Markus Schirp
2d0c57ba07 Fix generation of invalid ast via parent tracking 2013-06-24 22:10:40 +02:00
Markus Schirp
37588b9bdb Fix mutation expectations for binary operator nodes 2013-06-22 21:44:58 +02:00
Markus Schirp
1c859483b3 Fix invalid ast generation on index sends 2013-06-22 17:53:12 +02:00
Markus Schirp
f79594bb63 Do not propagate splat args in send mutator
Closes #50
2013-06-22 03:25:27 +02:00
Markus Schirp
8b7be8a565 Fix propagation of splat args
Closes #39
2013-06-21 16:18:12 +02:00
Markus Schirp
1f447dc456 Add spec for block pass send mutations 2013-06-21 15:07:40 +02:00
Markus Schirp
b1f864d10f Port regular (non operator) sends to parser 2013-06-14 21:12:10 +02:00
Markus Schirp
d35df6d70c Use KEYWORDS constants from unparser 2013-06-14 21:12:10 +02:00
Dan Kubb
c3c0e06c86 Fix whitespace 2013-04-17 20:31:21 -07:00
Markus Schirp
97a75dd062 Cleanup mutation generation
This is a reaction to the to_source rewrite

* Do not use 1.8 specific nodes anymore
* Do not generate AST nodes that would not be generatable from source
2013-01-09 20:43:06 +01:00
Markus Schirp
5565f5309a Handle binary operator methods correctly 2013-01-03 19:09:43 +01:00
Markus Schirp
c6e60d9178 Bump version to 0.2.10 2013-01-03 16:52:42 +01:00
Markus Schirp
36aedc9a5a Catch more cases to preserve self.class 2012-12-30 01:03:31 +01:00
Markus Schirp
a06030ef06 Take care to not mutate self.class into class 2012-12-29 22:51:42 +01:00
Markus Schirp
22a5cda3f0 Add unary call mutation 2012-12-29 16:12:55 +01:00
Markus Schirp
3dc23c5238 Mutate method call receivers 2012-12-29 16:12:55 +01:00
Markus Schirp
40d5230c68 Introduce noop mutation guards and argument mutators
* Sorry for not splitting up into smaller commit
2012-12-11 00:17:19 +01:00
Markus Schirp
de276327f5 Add support for mutating block arguments 2012-12-10 17:11:08 +01:00
Markus Schirp
5f215e1dc1 Move specs and adjust flay score 2012-12-06 21:51:52 +01:00