Commit graph

16 commits

Author SHA1 Message Date
Markus Schirp
4bd15abeb6 Fix positioning of @api YARD tag 2015-07-02 03:35:54 +00:00
Markus Schirp
9623cd27ab Add specs for Mutator::Registry and simplify it 2014-11-17 19:24:20 +00:00
Markus Schirp
f3720a6366 Prefer Kernel#fail over Kernel#raise 2014-11-17 17:00:05 +00:00
Markus Schirp
91b7ffe59a Correct YARD docs 2014-11-03 14:30:13 +00:00
Markus Schirp
c7de9a24fb Prefer Object#is_a? over #kind_of? 2014-10-08 11:49:48 +00:00
Tim Chambers
fe72c94b94 Fix miscellaneous typos
Mostly in comments and documentation, but one method name was corrected to match documentation.
2014-08-07 09:00:31 -07:00
Markus Schirp
13cd04d9be Introduce AST::Meta to externalize semantic analysis
* Add Mutant::AST namespace to hold all AST related data / helpers.
* Mutant::AST will be externalized into an ast-meta gem that can be
  shared with unparser for deduplication.
* Over the time the mutators itself will not need to deal with semantic
  analysis of the AST anymore by themselves.
* Move AST analysis for send nodes to AST::Meta
* Fix #209
2014-06-29 21:26:58 +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
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
f78418bdb5 Fix YARD docs 2013-07-28 15:19:01 -07:00
Dan Kubb
7ff35cc7b2 Fix the mutator registry to be more strict about nodes 2013-07-28 15:14:39 -07:00
Markus Schirp
1105d2c6ce Fix rubocop warnings in Mutant::Mutator namespace 2013-07-27 20:21:27 +02:00
Markus Schirp
288724436a Prevent duplicate registrations 2013-06-21 18:09:46 +02:00
Markus Schirp
1f25ab3ded Cosmetic end comments 2013-06-14 21:12:10 +02:00
Markus Schirp
90aa3589fa Port mutation generator infrastructure to parser 2013-06-14 21:11:54 +02:00
Markus Schirp
b9b95ebe94 Break up mutation spec in class specific files
* Also add mutation class registry to improve readability.
* Calling mutations are still broken.
2012-08-01 13:27:35 +02:00