Use concord ~> 0.1.1

This commit is contained in:
Markus Schirp 2013-05-22 02:40:33 +02:00
parent bae57c21af
commit e41409cf87
11 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@ module Mutant
class Matcher class Matcher
# Matcher for subjects that are a specific method # Matcher for subjects that are a specific method
class Method < self 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 # Methods within rbx kernel directory are precompiled and their source
# cannot be accessed via reading source location # cannot be accessed via reading source location

View file

@ -2,7 +2,7 @@ module Mutant
class Matcher class Matcher
# Abstract base class for matcher that returns method subjects extracted from scope # Abstract base class for matcher that returns method subjects extracted from scope
class Methods < self class Methods < self
include AbstractType, Concord.new(:scope) include AbstractType, Concord::Public.new(:scope)
# Enumerate subjects # Enumerate subjects
# #

View file

@ -3,7 +3,7 @@ module Mutant
# Matcher for specific namespace # Matcher for specific namespace
class Namespace < self class Namespace < self
include Concord.new(:namespace) include Concord::Public.new(:namespace)
# Enumerate subjects # Enumerate subjects
# #

View file

@ -2,7 +2,7 @@ module Mutant
class Matcher class Matcher
# Matcher for specific namespace # Matcher for specific namespace
class Scope < self class Scope < self
include Concord.new(:scope) include Concord::Public.new(:scope)
MATCHERS = [ MATCHERS = [
Matcher::Methods::Singleton, Matcher::Methods::Singleton,

View file

@ -2,7 +2,7 @@ module Mutant
class Reporter class Reporter
# Reporter that reports in human readable format # Reporter that reports in human readable format
class CLI < self class CLI < self
include Concord.new(:io) include Concord::Public.new(:io)
ACTIONS = { ACTIONS = {
Config => :config, Config => :config,

View file

@ -2,7 +2,7 @@ module Mutant
class Runner class Runner
# Mutation runner # Mutation runner
class Mutation < self class Mutation < self
include Concord.new(:config, :mutation) include Concord::Public.new(:config, :mutation)
# Return killer instance # Return killer instance
# #

View file

@ -2,7 +2,7 @@ module Mutant
class Runner class Runner
# Subject specific runner # Subject specific runner
class Subject < self class Subject < self
include Concord.new(:config, :subject) include Concord::Public.new(:config, :subject)
# Return subject # Return subject
# #

View file

@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency('equalizer', '~> 0.0.5') gem.add_runtime_dependency('equalizer', '~> 0.0.5')
gem.add_runtime_dependency('inflecto', '~> 0.0.2') gem.add_runtime_dependency('inflecto', '~> 0.0.2')
gem.add_runtime_dependency('anima', '~> 0.0.6') 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') gem.add_runtime_dependency('rspec', '~> 2.13.0')
end end

View file

@ -20,7 +20,7 @@ describe Mutant::Runner::Config, '#subjects' do
let(:subject_runner) { mock('Subject runner') } let(:subject_runner) { mock('Subject runner') }
class DummySubjectRunner class DummySubjectRunner
include Concord.new(:config, :mutation) include Concord::Public.new(:config, :mutation)
def self.run(*args); new(*args); end def self.run(*args); new(*args); end
end end

View file

@ -21,7 +21,7 @@ describe Mutant::Runner::Config, '#success?' do
let(:subject_b) { mock('Subject B', :fails? => false) } let(:subject_b) { mock('Subject B', :fails? => false) }
class DummySubjectRunner class DummySubjectRunner
include Concord.new(:config, :subject) include Concord::Public.new(:config, :subject)
def self.run(*args) def self.run(*args)
new(*args) new(*args)

View file

@ -17,7 +17,7 @@ describe Mutant::Runner::Subject, '#success?' do
end end
class DummyMutationRunner class DummyMutationRunner
include Concord.new(:config, :mutation) include Concord::Public.new(:config, :mutation)
def self.run(*args) def self.run(*args)
new(*args) new(*args)