Commit graph

6 commits

Author SHA1 Message Date
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
6df5811a87 Use RSpec as receiver for rspec DSL methods
* I dislike the global infection RSpec does. This commit is a first step
  to get a rid of it.
* Also remove the need for `require 'spec_helper` in each spec file with
  adjusting `.rspec`.
2014-08-10 21:04:07 +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
5f6ff99ece Consolidate ruby style 2014-05-27 15:16:37 +00:00
Markus Schirp
336b1b61de Rename Mutant::Differ to Mutant::Diff 2014-05-11 15:04:11 +00:00