Merge pull request #485 from mbj/feature/rspec-3-4

Add support for rspec-3.4
This commit is contained in:
Markus Schirp 2015-11-15 20:22:32 +00:00
commit 0655c60bee
5 changed files with 15 additions and 3 deletions

View file

@ -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
* Fix blackliting regexp to correctly match the String `(eval)` absolutely.

View file

@ -1,4 +1,4 @@
module Mutant
# Current mutant version
VERSION = '0.8.7'.freeze
VERSION = '0.8.8'.freeze
end # Mutant

View file

@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.extra_rdoc_files = %w[TODO LICENSE]
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')
end

View file

@ -2,7 +2,7 @@ RSpec.describe 'rspec integration', mutant: false do
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
let(:gemfile) { "Gemfile.rspec#{version}" }

View 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__)