Skip to content

Commit

Permalink
Support and test under Rails 3.2, 4.0, 4.1, and 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Mar 30, 2015
1 parent f008d51 commit 855c976
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ source 'https://rubygems.org'
gemspec

gem 'jruby-openssl', :platforms => :jruby

if ENV['RAILS_VERSION']
gem 'rails', ENV['RAILS_VERSION']
end
2 changes: 1 addition & 1 deletion google-api-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 855c976

Please sign in to comment.