fix dependency
This commit is contained in:
parent
242dfda9c1
commit
0db2dd7795
13
Gemfile
13
Gemfile
|
@ -2,16 +2,3 @@ source 'https://rubygems.org'
|
|||
|
||||
# Specify gem's dependencies in docile.gemspec
|
||||
gemspec
|
||||
|
||||
# Explicitly require test gems for Travis CI, since we're excluding dev dependencies
|
||||
group :test do
|
||||
gem 'rake', '~> 0.9.2'
|
||||
gem 'rspec', '~> 2.11.0'
|
||||
gem 'mime-types', '~> 1.25.1'
|
||||
gem 'coveralls', :require => false
|
||||
|
||||
platform :rbx do
|
||||
gem 'rubysl' # Since 2.2.0, Rubinius needs Ruby standard lib as gem
|
||||
gem 'rubinius-coverage' # Coverage tooling for SimpleCov on Rubinius
|
||||
end
|
||||
end
|
||||
|
|
|
@ -20,7 +20,8 @@ Gem::Specification.new do |s|
|
|||
|
||||
# Running rspec tests from rake
|
||||
s.add_development_dependency 'rake', '~> 0.9.2'
|
||||
s.add_development_dependency 'rspec', '~> 2.11.0'
|
||||
s.add_development_dependency 'rspec', '~> 2.14.0'
|
||||
s.add_development_dependency 'mime-types', '~> 1.25.1'
|
||||
|
||||
# Github flavored markdown in YARD documentation
|
||||
# http://blog.nikosd.com/2011/11/github-flavored-markdown-in-yard.html
|
||||
|
@ -30,4 +31,9 @@ Gem::Specification.new do |s|
|
|||
|
||||
# Coveralls test coverage tool
|
||||
s.add_development_dependency 'coveralls'
|
||||
|
||||
if 'rbx' == RUBY_ENGINE then
|
||||
s.add_development_dependency 'rubysl'
|
||||
s.add_development_dependency 'rubinius-coverage'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -20,3 +20,9 @@ lib_dir = File.join(File.dirname(test_dir), 'lib')
|
|||
$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
|
||||
|
||||
require 'docile'
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.expect_with :rspec do |c|
|
||||
c.syntax = :expect
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue