Merge pull request #485 from mbj/feature/rspec-3-4
Add support for rspec-3.4
This commit is contained in:
commit
0655c60bee
5 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
# v0.8.8 2015-11-15
|
||||||
|
|
||||||
|
* Add support for rspec-3.3.4
|
||||||
|
* Add mutations/s performance metric to report
|
||||||
|
|
||||||
# v0.8.7 2015-10-30
|
# v0.8.7 2015-10-30
|
||||||
|
|
||||||
* Fix blackliting regexp to correctly match the String `(eval)` absolutely.
|
* Fix blackliting regexp to correctly match the String `(eval)` absolutely.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Mutant
|
module Mutant
|
||||||
# Current mutant version
|
# Current mutant version
|
||||||
VERSION = '0.8.7'.freeze
|
VERSION = '0.8.8'.freeze
|
||||||
end # Mutant
|
end # Mutant
|
||||||
|
|
|
@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
||||||
gem.extra_rdoc_files = %w[TODO LICENSE]
|
gem.extra_rdoc_files = %w[TODO LICENSE]
|
||||||
|
|
||||||
gem.add_runtime_dependency('mutant', "~> #{gem.version}")
|
gem.add_runtime_dependency('mutant', "~> #{gem.version}")
|
||||||
gem.add_runtime_dependency('rspec-core', '>= 3.2.0', '< 3.4.0')
|
gem.add_runtime_dependency('rspec-core', '>= 3.2.0', '< 3.5.0')
|
||||||
|
|
||||||
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
|
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,7 +2,7 @@ RSpec.describe 'rspec integration', mutant: false do
|
||||||
|
|
||||||
let(:base_cmd) { 'bundle exec mutant -I lib --require test_app --use rspec' }
|
let(:base_cmd) { 'bundle exec mutant -I lib --require test_app --use rspec' }
|
||||||
|
|
||||||
%w[3.2 3.3].each do |version|
|
%w[3.2 3.3 3.4].each do |version|
|
||||||
context "RSpec #{version}" do
|
context "RSpec #{version}" do
|
||||||
let(:gemfile) { "Gemfile.rspec#{version}" }
|
let(:gemfile) { "Gemfile.rspec#{version}" }
|
||||||
|
|
||||||
|
|
7
test_app/Gemfile.rspec3.4
Normal file
7
test_app/Gemfile.rspec3.4
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
source 'https://rubygems.org'
|
||||||
|
gem 'rspec', '~> 3.4.0'
|
||||||
|
gem 'rspec-core', '~> 3.4.0'
|
||||||
|
gem 'mutant', path: '../'
|
||||||
|
gem 'mutant-rspec', path: '../'
|
||||||
|
gem 'adamantium'
|
||||||
|
eval_gemfile File.expand_path('../../Gemfile.shared', __FILE__)
|
Loading…
Add table
Reference in a new issue