Markus Schirp
2767c8060b
Move manual constant lookup implementation
2014-05-31 00:11:32 +00:00
Markus Schirp
5f6ff99ece
Consolidate ruby style
2014-05-27 15:16:37 +00:00
Markus Schirp
aaef3816e8
Do not assign loader only code to global registred object
...
::Mutant is a global registred object. That symbolset hack does not need
to persist after loading the constants. The lvar used in constant.rb
body will not leak outside lvar scope so is a better choice.
2014-05-11 15:16:17 +00:00
Markus Schirp
b11f6a0da2
Organize helpers methods on ::Mutant
...
* Use the most central location
* Need for file under lib/mutant/ is gone with new zombifier.
2014-04-20 21:01:06 +00:00
Markus Schirp
9134b57ae7
Reduce duplication in mutant/constants.rb via class level helper
2014-01-12 00:16:40 +01:00
Markus Schirp
a7c3dc5339
Improve AST coverage of mutant
...
* Uses a monkeypach extension to parser with a list of valid node types.
* Add nodes, found to be uncovered to generic mutator.
2013-12-29 22:44:32 +01:00
Markus Schirp
c158886aa9
Cleanup constants
2013-12-07 19:01:43 +01:00
Markus Schirp
f1b4dc2c2f
Use 1.9 hash syntax also for specs
2013-09-08 22:12:23 +02:00
Markus Schirp
2c7ef7804c
Prefer constant over literal array
2013-09-08 11:37:53 +02: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
Dan Kubb
7985d19345
Add missing while node to list of possible nodes
2013-07-28 15:14:03 -07:00
Dan Kubb
19b02494ec
Add restarg to the list of non-standalone nodes
2013-07-28 14:52:04 -07:00
Dan Kubb
ee72d6c042
Fix rubocop warnings
...
* Still a few more to go, but this should be the majority of them
2013-07-28 12:16:45 -07:00
Dan Kubb
fc313945a1
Remove :not node
...
* The :not node is not used in Ruby 1.9+
2013-07-23 23:24:26 -07: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
2b901bc5d8
Add kwbegin node as null mutator
2013-06-29 00:32:20 +02:00
Markus Schirp
0c00cb19f7
Update CLI method classifiers to match operator methods
2013-06-27 23:20:06 +02:00
Markus Schirp
2d0c57ba07
Fix generation of invalid ast via parent tracking
2013-06-24 22:10:40 +02:00
Markus Schirp
f2cb1bd292
Handle or_asgn nodes as noop
...
Closes #49
2013-06-22 03:11:16 +02:00
Markus Schirp
2813c081dc
Add spec to ensure all nodes are handled
2013-06-21 18:10:06 +02:00
Markus Schirp
012ce53c34
Add list of all types parser can generate
2013-06-21 18:00:17 +02:00
Markus Schirp
1f25ab3ded
Cosmetic end comments
2013-06-14 21:12:10 +02:00
Markus Schirp
d35df6d70c
Use KEYWORDS constants from unparser
2013-06-14 21:12:10 +02:00
Markus Schirp
4d89c02041
Simplify method expansions
2013-02-22 20:46:22 +01:00
Markus Schirp
034e47e361
Move method expansion constants to constant file
2013-01-13 22:24:14 +01:00
Markus Schirp
aa675825b5
Adjust file layout to be easy for zombie
2013-01-04 00:18:48 +01:00