Commit graph

21 commits

Author SHA1 Message Date
Jannosch Müller
82c546fe92 Use regexp_parser 1.2.0 2018-10-13 12:33:44 +02: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
Firas Zaidan
b95aa9c05a Whitelist regexp_parser warning and bump regexp_parser to 0.4.9
* Add regexp_xgrapheme_type
2018-01-23 23:49:13 +01:00
Markus Schirp
d20d9971a1 Fix corpus indeterminsm
* Bump `regexp_parser` dependency
* Simplify `regexp_parser` call side
* Fix corpus checkout indeterminism
* Checkin Gemfile.lock for deterministic builds
* Set circle ruby to 2.3.3
2016-12-12 06:51:30 +00:00
mjago
bc4cf44291
Update integrations.yml to reflect rubySpec update
- Adds support for regexp_bol_escape which was
   uncovered by rubyspec changes

 - Updates integrations.yml to expect a new error that
   wasn't encountered before

 - Fixes #687
2016-10-30 15:22:40 -07:00
John Backus
6ca5ac8060
Add mutation from proc { } to lambda { }
Fixes #607
2016-10-15 19:05:33 -07:00
John Backus
6a7be22493
Fix indeterminism from include_context condition
It looks like this guard clause was causing issues that led to
the build sometimes failing with

    super: no superclass method `expression'

this change fixes this issue.

This change also locks devtools to 0.1.10 and parser to 2.3.1.2.
New reek smells have been released which need to be
addressed in a followup. The newer parser version also requires
an update to the warnings file.
2016-09-24 19:26:38 -07:00
John Backus
d2300f686d
Add regexp support for /\h/ 2016-08-14 13:58:12 -07:00
John Backus
770f34eee5
Reintroduce Regexp mutations
- Reverts commit 8c0c656aec
- Fixes #595
- Adds support for `\h` and `\H`
2016-07-25 12:21:50 -07:00
Markus Schirp
8c0c656aec Revert "Mutate regexp body" 2016-05-29 17:07:35 +00:00
John Backus
eaf1abed0e
Add regular expression mutation
- Adds dependency on regexp_parser
- Introduces a bijective mapper from regexp_parser expression to ast
- Extracts generic TypeRegistry
- Refactors Regexp::Transformer to use TypeRegistry
2016-05-22 20:45:14 -07:00
John Backus
20d65ef161 Fix namespace annotations 2016-04-10 14:33:47 -07:00
Markus Schirp
f0ae1d1990 Fix visiblity of NamedChildren methods 2016-03-21 21:44:07 +00:00
Markus Schirp
68e485e0e3 Fix coverage of Mutant::AST namespace 2016-01-09 21:33:06 +00:00
John Backus
7931a01476 Add mutation Date.parse -> other parse methods
- Adds receiver specific selector mutations
- Closes #432
2015-10-09 10:58:31 -07:00
John Backus
b19a97084c Add optarg arity mutation
- Adds mutation from `def foo(a = true); end`
  to `def foo(a = true); a = true; end`
- closes #310
2015-08-19 16:15:52 +00:00
Markus Schirp
3b2a01046c Fix whitespace 2015-06-15 12:13:56 +00:00
Markus Schirp
04a4a44e18 Fix specification holes in Mutant::AST::Meta
* Reduce implementation
* Fix assumption node specific classes under AST::Meta all have
  #assignable? method. They are intentionalyl not LSP compatible and do
  NOT share the class hierarchy for that reason.
* Inline APIs with one call side
2015-06-14 23:56:08 +00:00
Markus Schirp
f066de6778 Fix specification holes in Mutant::AST::Sexp 2015-06-14 23:55:53 +00:00
Markus Schirp
c6a50e5c28 Fix specification holes in Mutant::AST::NamedChildren 2015-06-14 23:55:53 +00:00