Commit graph

24 commits

Author SHA1 Message Date
Markus Schirp
777ac825de Fix YARD docs 2014-03-30 15:08:22 +00:00
Dan Kubb
a084837cdb Fix rubocop warnings 2013-10-20 21:56:30 -07:00
Markus Schirp
e9931f6abe Slightly refactor CLI
* Backlists should "work" now.
* CLI (match expression) classifiers are not used as matchers anymore
2013-09-13 22:34:19 +02:00
Markus Schirp
57e74f2daf Use more descriptive method nameing 2013-09-11 22:06:32 +02:00
Markus Schirp
4015519987 Improve and simplify CLI matcher classifier code 2013-09-11 22:04:08 +02:00
Markus Schirp
15b77c5b47 Remove useless subclassing
This code has interesting history :D
2013-09-11 21:02:05 +02:00
Markus Schirp
45f074dbee Make Classifier.build raise exception on invalid matcher notation 2013-09-11 20:49:51 +02:00
Dan Kubb
952cf9fcd5 Refactor code to create less objects 2013-08-05 00:23:42 -07:00
Markus Schirp
0a554277c5 Fix alignment of end 2013-08-05 07:46:49 +02:00
Dan Kubb
94e5322541 Update constant lookup to use stricter approach 2013-07-29 17:40:18 -07:00
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
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
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
aca87664db Collapse namespace and scope classifier similarities into baseclass 2013-04-21 02:36:21 +02:00
Dan Kubb
c3c0e06c86 Fix whitespace 2013-04-17 20:31:21 -07: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