Support and test under Rails 3.2, 4.0, 4.1, and 4.2
This commit is contained in:
parent
f008d518f0
commit
855c976976
|
@ -6,6 +6,11 @@ rvm:
|
||||||
- 1.9.3
|
- 1.9.3
|
||||||
- rbx-2
|
- rbx-2
|
||||||
- jruby
|
- jruby
|
||||||
|
env:
|
||||||
|
- RAILS_VERSION="~>3.2"
|
||||||
|
- RAILS_VERSION="~>4.0.0"
|
||||||
|
- RAILS_VERSION="~>4.1.0"
|
||||||
|
- RAILS_VERSION="~>4.2.0"
|
||||||
script: "bundle exec rake spec:all"
|
script: "bundle exec rake spec:all"
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
4
Gemfile
4
Gemfile
|
@ -3,3 +3,7 @@ source 'https://rubygems.org'
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
gem 'jruby-openssl', :platforms => :jruby
|
gem 'jruby-openssl', :platforms => :jruby
|
||||||
|
|
||||||
|
if ENV['RAILS_VERSION']
|
||||||
|
gem 'rails', ENV['RAILS_VERSION']
|
||||||
|
end
|
|
@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
||||||
s.add_runtime_dependency 'extlib', '~> 0.9'
|
s.add_runtime_dependency 'extlib', '~> 0.9'
|
||||||
s.add_runtime_dependency 'launchy', '~> 2.4'
|
s.add_runtime_dependency 'launchy', '~> 2.4'
|
||||||
s.add_runtime_dependency 'retriable', '~> 1.4'
|
s.add_runtime_dependency 'retriable', '~> 1.4'
|
||||||
s.add_runtime_dependency 'activesupport', '~> 3.2'
|
s.add_runtime_dependency 'activesupport', '>= 3.2'
|
||||||
|
|
||||||
s.add_development_dependency 'rake', '~> 10.0'
|
s.add_development_dependency 'rake', '~> 10.0'
|
||||||
s.add_development_dependency 'yard', '~> 0.8'
|
s.add_development_dependency 'yard', '~> 0.8'
|
||||||
|
|
Loading…
Reference in New Issue