Dan Kubb
97aefb1876
Change Mutant::CLI::Classifier#matcher to be private
2013-07-29 17:40:18 -07:00
Dan Kubb
df172e704e
Refactor scope and method regexps
2013-07-29 17:40:18 -07:00
Dan Kubb
6236f085fb
Fix code formatting
2013-07-29 17:40:18 -07:00
Dan Kubb
7293386c26
Add magic encoding header to all ruby files
...
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
a9ae9932ec
Fix style issue in Mutant::CLI*
2013-07-29 00:25:14 +02:00
Dan Kubb
ee72d6c042
Fix rubocop warnings
...
* Still a few more to go, but this should be the majority of them
2013-07-28 12:16:45 -07:00
Markus Schirp
1d981afae8
Move more literals to constants
...
As constans the literals get frozen. This improves sharpness of API use.
2013-07-21 22:19:41 +02:00
Markus Schirp
47bca3fa1f
Correct mutation of adamantium memoized methods
2013-07-05 01:14:05 +02:00
Markus Schirp
777a223bf7
Add missing Classifier::Method#identification
2013-07-03 12:16:15 +02:00
Markus Schirp
6b1ed477d1
Freeze constants
2013-06-27 23:28:49 +02:00
Markus Schirp
350e2a8a73
Do not use unneded toplevel constant reference
2013-06-27 23:27:36 +02:00
Markus Schirp
0c00cb19f7
Update CLI method classifiers to match operator methods
2013-06-27 23:20:06 +02:00
Markus Schirp
49133680ee
Add AST caching for subject matcher
...
At least this dramatically speeds up unit tests. And this is a good
thing.
2013-06-27 22:18:07 +02:00
Markus Schirp
1f25ab3ded
Cosmetic end comments
2013-06-14 21:12:10 +02:00
Markus Schirp
c0a329fa53
Use better variable/method nameing
2013-04-27 18:22:28 +02:00
Markus Schirp
1d79063393
Improve classifier error message
2013-04-27 15:54:08 +02:00
Markus Schirp
aca87664db
Collapse namespace and scope classifier similarities into baseclass
2013-04-21 02:36:21 +02:00
Markus Schirp
3965ca4eae
Add scope classifier and matcher
...
This simplifies the namespace matcher a lot, it can use the scope
matcher internally.
2013-04-20 21:16:48 +02:00
Markus Schirp
e90f3c86aa
Use long operator form in non boolean context
2013-04-20 14:52:43 +02:00
Markus Schirp
5a7cc0b965
Remove useless comment
2013-04-20 14:52:08 +02:00
Markus Schirp
2dbf91940c
Correct method name
2013-04-19 22:24:26 +02:00
Dan Kubb
c3c0e06c86
Fix whitespace
2013-04-17 20:31:21 -07:00
Markus Schirp
eeb82ee8c6
Cleanup matcher and classifier interactions
...
* Some smells remain but it becomes cleaner now
2013-01-21 22:56:52 +01:00
Markus Schirp
a3fc233d95
Reorganize classifiers
...
* Classifiers are matcher subclass and delegate to lazy builded matcher
interfaces
* Solves chicken egg problem between target library load and classifier
matcher instantiation
2013-01-21 20:08:30 +01:00