Commit graph

20 commits

Author SHA1 Message Date
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
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
d647563055 Refactor expression parsing and representation
* Avoids boot time mutation of REGISTER constant
* Allows to define project specific expression parsing
* Avoids custom (slow) serialization of Expression objects speeding up
  reporter / killer IPC
* Improve specification
* Improve integration API as it now finally references an object the config
* Allow reproduction of syntax from Expression#syntax
* Allow instantiation of Expresssion objects without generating the
  syntax, much nicer for most specs & internal code, avoids generating
  a string to parse it into an expression
* Fix LSP violation in Mutant::Matcher namespace
2015-06-21 14:44:33 +00:00
Markus Schirp
207c159c23 Always build valid result objects
* Before Mutant::Expression was not marshallable resulting in the need
  to build "partial" result objects from killforks.
* Fixes an adjacent bug in spec selection
2014-12-22 17:54:20 +00:00
Markus Schirp
a57137d051 Avoid deep freezing in Expression instances 2014-08-11 15:48:49 +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
e8f09b988d Fix Mutant::Expression#inspect to be more usable 2014-07-12 16:18:01 +00:00
Markus Schirp
dbafc31462 Reduce and specify behavior of matcher compiler 2014-07-06 14:31:12 +00:00
Markus Schirp
829e48a7b5 Use dedicated exceptions for expression parsing failure scenarios 2014-07-06 02:34:01 +00:00
Markus Schirp
3390d59954 Fix naming of Expression.{try_,}_parse
* try_parse is now the one that does not raise
* parse is now the one that does rase
2014-06-29 23:16:36 +00: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
0bfe69bdaa Perform test matching on Mutant::Expression instances 2014-06-28 20:47:46 +00:00
Markus Schirp
e9061dc23a Improve YARD documentation 2014-06-10 02:13:15 +00:00
Markus Schirp
586ca63e4f Remove matcher support for :: prefixed constants
Why provide such an option? I hate options. Options are bad.
References #203.
2014-06-08 18:12:18 +00:00
Markus Schirp
8d31d52a93 Sync devtools and fix rubocop warnings 2014-06-08 13:01:26 +00:00
Markus Schirp
2317d3cf74 Replace CLI::Classifier with Mutant::Expression 2014-05-31 01:09:27 +00:00