Commit Graph

19 Commits

Author SHA1 Message Date
Markus Schirp cb2ca5132e Remove redundant freeze calls
* Rubocop meanwhile knows the singleton class problem.
2018-12-25 11:42:51 +00:00
Markus Schirp d6a2195744 Upgrade parser dependency 2018-09-12 13:15:43 +00:00
Markus Schirp 99ab9ff171 Change required Ruby version to >=2.3
* This commit does every 2.3 change required to get the build pass
* None of the changes can be extracted, without changing the build setup
2018-09-12 14:21:24 +00:00
Bartek Bułat 0be9fa75d6 Add Ruby 2.4 support for mutant
Several steps were made to achieve mutant working with Ruby 2.4 without
warnings and spec failures:

* Fix Fixnum deprecation warning
* Update RuboCop to 0.47 and fix offenses
* Relax version requirements on parser gem
* Update diff-lcs to 1.3
* Update rake 11.x -> 12.x
* Update reek 4.5 -> 4.6 (to work with parser 2.4)
* Update json 2.0 -> 2.1
* Update parallel 1.10 -> 1.11
* Update simplecov 0.12 -> 0.14
* Run regexp_parser integration against v0.4.3 (as we requiring this
    exact version)
* Update warnings.yml with new whitelist
* Run CircleCI tests on Ruby 2.3 and 2.4 (Bundler.with_clean_env
    was causing troubles on new CircleCI 2.0 setup, so it was removed)
2017-07-06 11:18:41 +02:00
Markus Schirp c49e85238b Fix Mutant::Diff coverage 2016-01-09 23:34:40 +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 67573c2337 Prefer block pass from symbol over literal block 2014-10-08 00:13:05 +00:00
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