Skip to content

Commit 855c976

Browse files
committed
Support and test under Rails 3.2, 4.0, 4.1, and 4.2
1 parent f008d51 commit 855c976

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ rvm:
66
- 1.9.3
77
- rbx-2
88
- jruby
9+
env:
10+
- RAILS_VERSION="~>3.2"
11+
- RAILS_VERSION="~>4.0.0"
12+
- RAILS_VERSION="~>4.1.0"
13+
- RAILS_VERSION="~>4.2.0"
914
script: "bundle exec rake spec:all"
1015
before_install:
1116
- sudo apt-get update

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ source 'https://rubygems.org'
33
gemspec
44

55
gem 'jruby-openssl', :platforms => :jruby
6+
7+
if ENV['RAILS_VERSION']
8+
gem 'rails', ENV['RAILS_VERSION']
9+
end

google-api-client.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
3232
s.add_runtime_dependency 'extlib', '~> 0.9'
3333
s.add_runtime_dependency 'launchy', '~> 2.4'
3434
s.add_runtime_dependency 'retriable', '~> 1.4'
35-
s.add_runtime_dependency 'activesupport', '~> 3.2'
35+
s.add_runtime_dependency 'activesupport', '>= 3.2'
3636

3737
s.add_development_dependency 'rake', '~> 10.0'
3838
s.add_development_dependency 'yard', '~> 0.8'

0 commit comments

Comments
 (0)