Skip to content

Commit

Permalink
Merge pull request #177 from betesh/support-rails5.1
Browse files Browse the repository at this point in the history
Add rails 5.1 and 5.2 to travis
  • Loading branch information
rafaelfranca committed Mar 24, 2017
2 parents 4956c57 + 8816315 commit 153f2c6
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 7 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,24 @@ rvm:
- 2.3.0
gemfile:
- Gemfile
- gemfiles/Gemfile-rails.5.2.x
- gemfiles/Gemfile-rails.5.1.x
- gemfiles/Gemfile-rails.5.0.x
- gemfiles/Gemfile-rails.4.2.x
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/Gemfile-rails.5.2.x
- rvm: 2.0.0
gemfile: gemfiles/Gemfile-rails.5.2.x
- rvm: 2.1.5
gemfile: gemfiles/Gemfile-rails.5.2.x
- rvm: 1.9.3
gemfile: gemfiles/Gemfile-rails.5.1.x
- rvm: 2.0.0
gemfile: gemfiles/Gemfile-rails.5.1.x
- rvm: 2.1.5
gemfile: gemfiles/Gemfile-rails.5.1.x
- rvm: 1.9.3
gemfile: gemfiles/Gemfile-rails.5.0.x
- rvm: 2.0.0
Expand Down
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
railties (>= 4.2.0, < 5.3)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -61,8 +61,8 @@ GEM
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.2.2)
thor (0.19.1)
rake (12.0.0)
thor (0.19.4)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
Expand All @@ -77,4 +77,4 @@ DEPENDENCIES
responders!

BUNDLED WITH
1.12.5
1.13.7
4 changes: 2 additions & 2 deletions gemfiles/Gemfile-rails.5.0.x
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ source 'https://rubygems.org'

gemspec path: '..'

gem 'activemodel', github: 'rails/rails'
gem 'railties', github: 'rails/rails'
gem 'activemodel', github: 'rails/rails', branch: '5-0-stable'
gem 'railties', github: 'rails/rails', branch: '5-0-stable'
gem 'mocha'
gem 'rails-controller-testing'
gem 'rack', github: 'rack/rack'
9 changes: 9 additions & 0 deletions gemfiles/Gemfile-rails.5.1.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'activemodel', github: 'rails/rails', branch: '5-1-stable'
gem 'railties', github: 'rails/rails', branch: '5-1-stable'
gem 'mocha'
gem 'rails-controller-testing'
gem 'rack', github: 'rack/rack'
9 changes: 9 additions & 0 deletions gemfiles/Gemfile-rails.5.2.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'activemodel', github: 'rails/rails'
gem 'railties', github: 'rails/rails'
gem 'mocha'
gem 'rails-controller-testing'
gem 'rack', github: 'rack/rack'
2 changes: 1 addition & 1 deletion responders.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Gem::Specification.new do |s|
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
s.require_paths = ["lib"]

s.add_dependency "railties", ">= 4.2.0", "< 5.1"
s.add_dependency "railties", ">= 4.2.0", "< 5.3"
end

0 comments on commit 153f2c6

Please sign in to comment.