Permalink
Browse files

Remove unsupported versions of Rails from testing

Rails is only supporting down to version 4.2 for severe security issues.
This removes versions 4.0 and 4.1 from the testing matrix, helping
simplify things a bit.

http://guides.rubyonrails.org/maintenance_policy.html
  • Loading branch information...
dgalarza committed Apr 6, 2018
1 parent 3410665 commit 5518a5b9a19a122c78daeaf9ebb6a385c83f75b5
Showing with 3 additions and 35 deletions.
  1. +0 −10 .travis.yml
  2. +3 −7 Appraisals
  3. +0 −9 gemfiles/rails4.0.gemfile
  4. +0 −9 gemfiles/rails4.1.gemfile
View
@@ -2,8 +2,6 @@ branches:
only:
- "master"
gemfile:
- - gemfiles/rails4.0.gemfile
- - gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
- gemfiles/rails5.0.gemfile
- gemfiles/rails5.1.gemfile
@@ -28,14 +26,6 @@ matrix:
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5.1.gemfile
- - rvm: 2.4.3
- gemfile: gemfiles/rails4.0.gemfile
- - rvm: 2.4.3
- gemfile: gemfiles/rails4.1.gemfile
- - rvm: 2.5.0
- gemfile: gemfiles/rails4.0.gemfile
- - rvm: 2.5.0
- gemfile: gemfiles/rails4.1.gemfile
script: 'bundle exec rake spec'
notifications:
View
@@ -1,15 +1,11 @@
-rails_versions = ['~> 4.0.0', '~> 4.1.0', '~> 4.2.0']
-
-rails_versions.each do |rails_version|
- appraise "rails#{rails_version.slice(/\d+\.\d+/)}" do
- gem 'rails', rails_version
- end
+appraise 'rails4.2' do
+ gem 'rails', '~> 4.2.0'
end
rails_5x_version = ['~> 5.0.0', '~> 5.1.0']
rails_5x_version.each do |rails_version|
appraise "rails#{rails_version.slice(/\d+\.\d+/)}" do
gem 'rails', rails_version
- gem "rails-controller-testing"
+ gem 'rails-controller-testing'
end
end
@@ -1,9 +0,0 @@
-# This file was generated by Appraisal
-
-source "https://rubygems.org"
-
-gem "appraisal"
-gem "rspec-rails", "~> 3.5"
-gem "rails", "~> 4.0.0"
-
-gemspec :path => "../"
@@ -1,9 +0,0 @@
-# This file was generated by Appraisal
-
-source "https://rubygems.org"
-
-gem "appraisal"
-gem "rspec-rails", "~> 3.5"
-gem "rails", "~> 4.1.0"
-
-gemspec :path => "../"

0 comments on commit 5518a5b

Please sign in to comment.