Commit graph

10 commits

Author SHA1 Message Date
Markus Schirp
1cba92688b Remove unsignificant parens 2014-08-13 07:57:09 +00:00
Markus Schirp
deff736a04 Simplify hunk minimization 2014-08-11 18:27:25 +00:00
Markus Schirp
1cda3c2d2b Simplify differ guard 2014-08-11 18:26:19 +00:00
Markus Schirp
c976dfb209 Allow diffs to be created from overlapping hunks
[fix #228][fix #225]
2014-08-11 17:40:46 +00:00
Markus Schirp
7f86a53cc4 Add specs for Diff#colorized_diff and fix implementation 2014-08-11 13:58:35 +00:00
Markus Schirp
01f3bf0032 Push static literals into constants 2014-06-29 22:56:08 +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
8d31d52a93 Sync devtools and fix rubocop warnings 2014-06-08 13:01:26 +00:00
Markus Schirp
d0d1bb2464 Normalize ASTs prior to mutation
This avoids situartions where the source contains (begin, other)
nodes that get mutated to (other) where there is no difference in the
source.

Closes #198
2014-06-08 11:53:50 +00:00
Markus Schirp
336b1b61de Rename Mutant::Differ to Mutant::Diff 2014-05-11 15:04:11 +00:00
Renamed from lib/mutant/differ.rb (Browse further)