Skip to content

Commit

Permalink
Test with latest Rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Nov 12, 2017
1 parent d1037bf commit b4bd892
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ rvm:
- 2.3.5
- 2.4.2
gemfile:
- gemfiles/rails_4.2.8.gemfile
- gemfiles/rails_5.0.3.gemfile
- gemfiles/rails_5.1.1.gemfile
- gemfiles/rails_4.2.10.gemfile
- gemfiles/rails_5.0.6.gemfile
- gemfiles/rails_5.1.4.gemfile
after_success:
- bundle exec codeclimate-test-reporter
script:
Expand Down
8 changes: 4 additions & 4 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
RAILS_VERSIONS = %w(
4.2.8
5.0.3
5.1.1
4.2.10
5.0.6
5.1.4
)

RAILS_VERSIONS.each do |version|
appraise "rails_#{version}" do
gem 'rails', version
gem 'rails-controller-testing' if version != '4.2.8'
gem 'rails-controller-testing' if version != '4.2.10'
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "jquery-rails"
gem "rails", "4.2.8"
gem "rails", "4.2.10"

group :test do
gem "codeclimate-test-reporter", require: nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "jquery-rails"
gem "rails", "5.0.3"
gem "rails", "5.0.6"
gem "rails-controller-testing"

group :test do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "jquery-rails"
gem "rails", "5.1.1"
gem "rails", "5.1.4"
gem "rails-controller-testing"

group :test do
Expand Down

0 comments on commit b4bd892

Please sign in to comment.