Commit graph

16 commits

Author SHA1 Message Date
Markus Schirp
42b8e89420 Use least powerful equality test 2014-06-16 10:50:32 +00:00
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
9523c66726 Use 1.9 style hash syntax where possible 2013-09-07 20:27:06 +02: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
8a9828762d Fix stlye in Mutant::Matcher::Methods 2013-07-29 00:25:15 +02:00
Markus Schirp
47bca3fa1f Correct mutation of adamantium memoized methods 2013-07-05 01:14:05 +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
6673cec705 Cleanup method matcher 2013-06-15 17:14:33 +02:00
Markus Schirp
8d877456b0 Add missing scope descriptions 2013-06-15 17:13:24 +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
1ea05148f1 Add specs for singleton methods matcher
Also cleanup some dead code
2013-04-27 18:21:38 +02:00
Markus Schirp
99c0cc89bd Refactor methods matcher
closes #38
2013-04-27 15:52: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
Renamed from lib/mutant/matcher/scope_methods.rb (Browse further)