Support and test under Rails 3.2, 4.0, 4.1, and 4.2

This commit is contained in:
Chris Beer 2015-03-30 14:04:55 -07:00
parent f008d518f0
commit 855c976976
3 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,11 @@ rvm:
- 1.9.3
- rbx-2
- 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"
before_install:
- sudo apt-get update

View File

@ -3,3 +3,7 @@ source 'https://rubygems.org'
gemspec
gem 'jruby-openssl', :platforms => :jruby
if ENV['RAILS_VERSION']
gem 'rails', ENV['RAILS_VERSION']
end

View File

@ -32,7 +32,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'extlib', '~> 0.9'
s.add_runtime_dependency 'launchy', '~> 2.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 'yard', '~> 0.8'