Use concord ~> 0.1.1
This commit is contained in:
parent
bae57c21af
commit
e41409cf87
11 changed files with 11 additions and 11 deletions
|
@ -2,7 +2,7 @@ module Mutant
|
|||
class Matcher
|
||||
# Matcher for subjects that are a specific method
|
||||
class Method < self
|
||||
include Adamantium::Flat, Concord.new(:scope, :method)
|
||||
include Adamantium::Flat, Concord::Public.new(:scope, :method)
|
||||
|
||||
# Methods within rbx kernel directory are precompiled and their source
|
||||
# cannot be accessed via reading source location
|
||||
|
|
|
@ -2,7 +2,7 @@ module Mutant
|
|||
class Matcher
|
||||
# Abstract base class for matcher that returns method subjects extracted from scope
|
||||
class Methods < self
|
||||
include AbstractType, Concord.new(:scope)
|
||||
include AbstractType, Concord::Public.new(:scope)
|
||||
|
||||
# Enumerate subjects
|
||||
#
|
||||
|
|
|
@ -3,7 +3,7 @@ module Mutant
|
|||
|
||||
# Matcher for specific namespace
|
||||
class Namespace < self
|
||||
include Concord.new(:namespace)
|
||||
include Concord::Public.new(:namespace)
|
||||
|
||||
# Enumerate subjects
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@ module Mutant
|
|||
class Matcher
|
||||
# Matcher for specific namespace
|
||||
class Scope < self
|
||||
include Concord.new(:scope)
|
||||
include Concord::Public.new(:scope)
|
||||
|
||||
MATCHERS = [
|
||||
Matcher::Methods::Singleton,
|
||||
|
|
|
@ -2,7 +2,7 @@ module Mutant
|
|||
class Reporter
|
||||
# Reporter that reports in human readable format
|
||||
class CLI < self
|
||||
include Concord.new(:io)
|
||||
include Concord::Public.new(:io)
|
||||
|
||||
ACTIONS = {
|
||||
Config => :config,
|
||||
|
|
|
@ -2,7 +2,7 @@ module Mutant
|
|||
class Runner
|
||||
# Mutation runner
|
||||
class Mutation < self
|
||||
include Concord.new(:config, :mutation)
|
||||
include Concord::Public.new(:config, :mutation)
|
||||
|
||||
# Return killer instance
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@ module Mutant
|
|||
class Runner
|
||||
# Subject specific runner
|
||||
class Subject < self
|
||||
include Concord.new(:config, :subject)
|
||||
include Concord::Public.new(:config, :subject)
|
||||
|
||||
# Return subject
|
||||
#
|
||||
|
|
|
@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
|
|||
gem.add_runtime_dependency('equalizer', '~> 0.0.5')
|
||||
gem.add_runtime_dependency('inflecto', '~> 0.0.2')
|
||||
gem.add_runtime_dependency('anima', '~> 0.0.6')
|
||||
gem.add_runtime_dependency('concord', '~> 0.0.2')
|
||||
gem.add_runtime_dependency('concord', '~> 0.1.1')
|
||||
gem.add_runtime_dependency('rspec', '~> 2.13.0')
|
||||
end
|
||||
|
|
|
@ -20,7 +20,7 @@ describe Mutant::Runner::Config, '#subjects' do
|
|||
let(:subject_runner) { mock('Subject runner') }
|
||||
|
||||
class DummySubjectRunner
|
||||
include Concord.new(:config, :mutation)
|
||||
include Concord::Public.new(:config, :mutation)
|
||||
|
||||
def self.run(*args); new(*args); end
|
||||
end
|
||||
|
|
|
@ -21,7 +21,7 @@ describe Mutant::Runner::Config, '#success?' do
|
|||
let(:subject_b) { mock('Subject B', :fails? => false) }
|
||||
|
||||
class DummySubjectRunner
|
||||
include Concord.new(:config, :subject)
|
||||
include Concord::Public.new(:config, :subject)
|
||||
|
||||
def self.run(*args)
|
||||
new(*args)
|
||||
|
|
|
@ -17,7 +17,7 @@ describe Mutant::Runner::Subject, '#success?' do
|
|||
end
|
||||
|
||||
class DummyMutationRunner
|
||||
include Concord.new(:config, :mutation)
|
||||
include Concord::Public.new(:config, :mutation)
|
||||
|
||||
def self.run(*args)
|
||||
new(*args)
|
||||
|
|
Loading…
Add table
Reference in a new issue