Skip to content

Commit

Permalink
update rubies for travis, add rails 5.1 appraisal
Browse files Browse the repository at this point in the history
  • Loading branch information
lostapathy committed Dec 14, 2017
1 parent 40d2a87 commit edb47a4
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: ruby
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
- 2.1.10
- 2.2.8
- 2.3.5
- 2.4.2
env:
- COVERALLS_SILENT=true
install:
Expand All @@ -14,7 +15,10 @@ gemfile:
- gemfiles/rails4_1.gemfile
- gemfiles/rails4_2.gemfile
- gemfiles/rails5_0.gemfile
- gemfiles/rails5_1.gemfile
matrix:
exclude:
- rvm: 2.1.9
- rvm: 2.1.10
gemfile: gemfiles/rails5_0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5_1.gemfile
3 changes: 1 addition & 2 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
rails_versions = ['~> 4.0.5', '~> 4.1.1', '~> 4.2.0', '~> 5.0.0']
rails_versions = ['~> 4.0.5', '~> 4.1.1', '~> 4.2.0', '~> 5.0.0', '~> 5.1.0']

rails_versions.each do |rails_version|
appraise "rails#{rails_version.slice(/\d+\.\d+/).gsub('.', '_')}" do
gem 'rails', rails_version
gem "sqlite3"
end
end
1 change: 0 additions & 1 deletion gemfiles/rails4_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
source "https://rubygems.org"

gem "rails", "~> 4.0.5"
gem "sqlite3"

gemspec :path => "../"
1 change: 0 additions & 1 deletion gemfiles/rails4_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
source "https://rubygems.org"

gem "rails", "~> 4.1.1"
gem "sqlite3"

gemspec :path => "../"
1 change: 0 additions & 1 deletion gemfiles/rails4_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
source "https://rubygems.org"

gem "rails", "~> 4.2.0"
gem "sqlite3"

gemspec :path => "../"
1 change: 0 additions & 1 deletion gemfiles/rails5_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
source "https://rubygems.org"

gem "rails", "~> 5.0.0"
gem "sqlite3"

gemspec :path => "../"
7 changes: 7 additions & 0 deletions gemfiles/rails5_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 5.1.0"

gemspec :path => "../"

0 comments on commit edb47a4

Please sign in to comment.