Markus Schirp
d6a2195744
Upgrade parser dependency
2018-09-12 13:15:43 +00:00
Markus Schirp
99ab9ff171
Change required Ruby version to >=2.3
...
* This commit does every 2.3 change required to get the build pass
* None of the changes can be extracted, without changing the build setup
2018-09-12 14:21:24 +00:00
Daniel Gollahon
325e6b6fe0
Add method body -> super mutation
...
- Mutates method bodies to `super` to catch cases where a method has
been needlessly re-implemented and the parent class provides the
equivalent behavior.
- Closes #154
- Closes #673
2018-06-27 10:10:37 -07:00
John Backus
7d10e64c15
Remove remove_method
mutation
...
Ref #108
2016-10-20 20:52:35 -07:00
Markus Schirp
7bf70d9634
Add support for explicit type in meta examples
...
* This is needed to relate examples to node types for nodes that cannot
stand alone. Example are :where nodes that do not have syntax outside
a :case
2016-03-19 15:13:05 +00:00
John Backus
1ddcac2504
Add restarg arity mutation
...
- Mutates `def foo(*args); end` into `def foo(*args); args = []; end`
- Closes #181
2015-09-08 08:03:48 -07:00
John Backus
557b9a2585
Add mutation def hi; end
-> remove_method :hi
...
closes #108
2015-08-19 15:08:20 -04:00
John Backus
b19a97084c
Add optarg arity mutation
...
- Adds mutation from `def foo(a = true); end`
to `def foo(a = true); a = true; end`
- closes #310
2015-08-19 16:15:52 +00:00
John Backus
44bb90e4a0
Mutate arg into _foo
instead of foo__mutant__
...
- Changes mutation `foo` -> `_foo` instead of `foo` -> `foo__mutant__`
- closes #292
2015-08-13 22:17:22 -04:00
Markus Schirp
c392cb5e4b
Remove redundant encoding comment
...
* Mutant is ruby 2.0+ only where UTF-8 is default encoding
2015-04-27 21:07:30 +00:00
Markus Schirp
1ae2c04193
Add concat-promotion of resbody nodes
...
Idea related to #245 .
2014-08-16 21:14:22 +00:00
Markus Schirp
49517af01c
Add rescue/else-body promotion/concatenation mutation
...
[fix #245 ]
2014-08-16 20:58:08 +00:00
Markus Schirp
d21f4ae5fb
Do not mutate to invalid AST on reqarg promotion
...
Closes #153
2014-06-06 23:05:29 +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