Remove anima

This commit is contained in:
Markus Schirp 2012-11-21 20:49:23 +01:00
parent 229e6d186e
commit 79e55a9aab
2 changed files with 4 additions and 10 deletions

View file

@ -5,7 +5,6 @@ gemspec
gem 'descendants_tracker', :git => 'https://github.com/dkubb/descendants_tracker.git'
gem 'abstract_class', :git => 'https://github.com/dkubb/abstract_class.git'
gem 'equalizer', :git => 'https://github.com/dkubb/equalizer.git'
gem 'anima', :git => 'https://github.com/mbj/anima.git'
gem 'to_source', :git => 'https://github.com/mbj/to_source.git'
gem 'melbourne', :git => 'https://github.com/mbj/melbourne.git'

View file

@ -1,7 +1,7 @@
module Mutant
# Runner that allows to mutate an entire project
class Runner
include Adamantium::Flat, Anima
include Adamantium::Flat
extend MethodObject
# Return killers with errors
@ -30,19 +30,14 @@ module Mutant
# Initialize object
#
# @param [Hash] attributes
# @param [Config] config
#
# @return [undefined]
#
# @api private
#
def initialize(attributes)
attributes[:reporter] ||= Reporter::Null
attributes[:mutation_filter] ||= Mutation::Filter::ALL
super(attributes)
@errors = []
def initialize(config)
@config, @errors = config, []
run
end