Switch to rspec-2
* One of the main reasons behind mutant was to get a rid of rspec-1.3 in my toolchain. * Remove most of mri specific stuff from Gemfile. * Remove of mri specific taks will happen later, will heckle locally with external rspec-1.3 + heckle setup. * Mutant should be self hosting as fast as possible :P
This commit is contained in:
parent
c2e18512fc
commit
9c1d9cfa58
5 changed files with 13 additions and 29 deletions
2
.rspec
Normal file
2
.rspec
Normal file
|
@ -0,0 +1,2 @@
|
|||
--color
|
||||
--backtrace
|
30
Gemfile
30
Gemfile
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gemspec
|
||||
|
@ -9,14 +7,17 @@ gem 'veritas', :git => 'https://github.com/dkubb/veritas'
|
|||
|
||||
group :development do
|
||||
gem 'rake', '~> 0.9.2'
|
||||
gem 'rspec', '~> 1.3.2'
|
||||
gem 'yard', '~> 0.8.1'
|
||||
gem 'rspec', '~> 2'
|
||||
# Remove this once https://github.com/nex3/rb-inotify/pull/20 is solved.
|
||||
# This patch makes rb-inotify a nice player with listen so it does not poll.
|
||||
gem 'rb-inotify', :git => 'https://github.com/mbj/rb-inotify'
|
||||
end
|
||||
|
||||
group :guard do
|
||||
gem 'guard', '~> 1.1.1'
|
||||
gem 'guard-bundler', '~> 0.1.3'
|
||||
gem 'guard-rspec', '~> 0.7.3'
|
||||
gem 'guard', '~> 1.2.3'
|
||||
gem 'guard-bundler', '~> 1.0.0'
|
||||
gem 'guard-rspec', '~> 1.2.0'
|
||||
end
|
||||
|
||||
group :metrics do
|
||||
|
@ -26,20 +27,5 @@ group :metrics do
|
|||
gem 'roodi', '~> 2.1.0'
|
||||
gem 'yardstick', '~> 0.5.0'
|
||||
gem 'yard-spellcheck', '~> 0.1.5'
|
||||
|
||||
platforms :mri_18 do
|
||||
gem 'arrayfields', '~> 4.7.4' # for metric_fu
|
||||
gem 'fattr', '~> 2.2.0' # for metric_fu
|
||||
gem 'heckle', '~> 1.4.3'
|
||||
gem 'json', '~> 1.7.3' # for metric_fu rake task
|
||||
gem 'map', '~> 6.0.1' # for metric_fu
|
||||
gem 'metric_fu', '~> 2.1.1'
|
||||
gem 'mspec', '~> 1.5.17'
|
||||
gem 'rcov', '~> 1.0.0'
|
||||
gem 'ruby2ruby', '= 1.2.2'
|
||||
end
|
||||
|
||||
platforms :rbx do
|
||||
gem 'pelusa', '~> 0.2.1'
|
||||
end
|
||||
gem 'pelusa', '~> 0.2.1'
|
||||
end
|
||||
|
|
|
@ -4,7 +4,7 @@ guard :bundler do
|
|||
watch('Gemfile')
|
||||
end
|
||||
|
||||
guard :rspec do
|
||||
guard :rspec, :version => 2, :all_on_start => false do
|
||||
# run all specs if the spec_helper or supporting files files are modified
|
||||
watch('spec/spec_helper.rb') { 'spec' }
|
||||
watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec' }
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
--color
|
||||
--loadby random
|
||||
--format profile
|
|
@ -1,12 +1,11 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'spec'
|
||||
require 'spec/autorun'
|
||||
require 'rspec'
|
||||
|
||||
# require spec support files and shared behavior
|
||||
Dir[File.expand_path('../{support,shared}/**/*.rb', __FILE__)].each { |f| require f }
|
||||
|
||||
require 'mutant'
|
||||
|
||||
Spec::Runner.configure do |config|
|
||||
RSpec.configure do |config|
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue