Markus Schirp
83f6a22a16
Fix adjacent namespece selections
...
Closes #167
2014-06-06 21:31:17 +00:00
Markus Schirp
c75729ead2
Cleanup remaining use of old cli classifier
2014-06-02 12:45:29 +00:00
Markus Schirp
b86284ce50
Clarify exception message
2014-05-29 20:21:11 +00:00
Markus Schirp
f74889276b
Fix crash on non String {Module,Class}#name
2014-03-26 20:38:44 +00:00
Markus Schirp
f2297e3472
Use a more error tolerant way to access {Module,Class}#name
...
"Many" library authors override Class or Modules #name not to return a
String or nil. They are not aware these are integral APIs for
reflection / tools. This change prints an ugly warning message in case
the API was violated.
Mutant used to crash often because of this LSP violation. This change
should provide a generic workaround.
2014-01-18 23:58:14 +01: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
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
19558c5d7c
Remove bogus specific workaround
2013-07-17 14:59:47 +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
17e184efbb
Add workarounds for 3rd parties not respecting Class#name
2013-06-24 22:30:25 +02:00
Markus Schirp
1f25ab3ded
Cosmetic end comments
2013-06-14 21:12:10 +02:00
Markus Schirp
e41409cf87
Use concord ~> 0.1.1
2013-06-14 21:11:08 +02:00
Markus Schirp
8723d35c2f
Ignore RBX specific rspec vs enumerable bug
2013-04-22 12:45:15 +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
868eba1bce
Fix code style in namespace matcher
2013-04-20 20:45:58 +02:00
Markus Schirp
84bfea0357
Cleanup namespace matcher
2013-04-19 23:36:49 +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