Commit graph

31 commits

Author SHA1 Message Date
Markus Schirp
9ab35de2c4 Reduce direct reference of globals 2015-11-21 22:02:51 +00:00
Markus Schirp
b7fdf846bc Remove redundant @api private YARD docs 2015-11-15 23:13:43 +00:00
Markus Schirp
8335cccafb Fix YARD summary line
* Reduce redunrant 'Return' prefix on summaries
* Improve summary line to reflect the semantics of operation better
2015-07-03 15:21:39 +00:00
Markus Schirp
4bd15abeb6 Fix positioning of @api YARD tag 2015-07-02 03:35:54 +00:00
Markus Schirp
2ce02af8aa Fix style 2014-12-22 01:32:51 +00:00
Markus Schirp
375059519a Add specs for Mutation#insert 2014-11-17 20:35:05 +00:00
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
df9207cad4 Undefine methods before loading mutants
* Closes #163
2014-03-14 21:34:51 +00:00
Markus Schirp
fd5fd42125 Use Concord to kill boilerplate 2014-03-14 20:56:04 +00:00
Markus Schirp
1b28438d43 Remove Mutant::Support::Metho object in favor of procto 2013-12-29 22:50:24 +01: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
506b9f81d6 Fix style issues in Mutant::Loader 2013-07-29 00:25:15 +02:00
Markus Schirp
fa3e77f981 Add Mutant::Zombifier
That stuff acutally works!
2013-06-28 23:23:05 +02:00
Markus Schirp
ddff94c174 Fix style issue
Closes #30
2013-06-21 16:21:29 +02:00
Markus Schirp
fca5b8a168 Port method extraction to parser based ast 2013-06-14 21:11:54 +02:00
Markus Schirp
6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Markus Schirp
eb6ea9a74f Metric driven code refactoring
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00
Markus Schirp
cca235d6e2 Remove rubinius specific loader 2013-01-04 20:07:41 +01:00
Markus Schirp
306d4e3225 Correctly set file and line of injected mutants 2012-12-14 19:53:37 +01:00
Markus Schirp
98d5b6562c Use abstract_type gem from rubygems 2012-11-26 11:30:00 +01:00
Markus Schirp
f3cb1bda68 Remove debug statement 2012-11-22 00:12:42 +01:00
Markus Schirp
dffe2a26e6 Add strategy objects 2012-11-22 00:10:50 +01:00
Markus Schirp
001f3c7d99 Make mutant run under MRI 1.9.
* Add a Mutant::Loader::Eval that loads code via Kernel#eval
* Move Mutnat::Loader to Mutant::Loader::Rubinius (currently not used)
2012-11-21 20:31:01 +01:00
Markus Schirp
14b7efadc9 Prepare for older rbx on travis 2012-08-20 05:01:26 +02:00
Markus Schirp
e7ea0bbde7 Fix Mutant::Loader to use correct constant scope
* Do not load the compiled code before CompiledCode#create_script
  was called.
* Add a test case that illustrates the issue.
2012-08-19 21:27:25 +02:00
Markus Schirp
28bbf9af00 Remove use of root level namespace within the lib
This allows the easy creation of Zombie to mutate Mutant.
2012-08-16 22:59:25 +02:00
Markus Schirp
42e6fe84e5 Add runner with reporter
* Use MethodObject mixin
* Rename Context::Constant to Context::Scope
* Use Mutation class instead of passing around raw nodes
2012-08-16 04:10:54 +02:00
Markus Schirp
d50ecc483d Cleanup missing whitespace after comma
* There must be a code metric tool helping me in converting my style.
2012-07-31 04:10:37 +02:00
Markus Schirp
a8e635d77a Simplify code loading steps and set default file 2012-07-27 13:32:57 +02:00
Markus Schirp
69cda2fb14 Add first code loading integration spec
* The exact procedure of loading needs more
  care to be better understod.
* Fix problems found while loading.
2012-07-27 00:24:11 +02:00
Markus Schirp
10c3dfc390 Finalize method matching
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00