From b974b52bf8db43718bd3f8fb7f85f0db9759406d Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Wed, 15 May 2019 14:01:24 -0400 Subject: [PATCH 1/3] Drop support for Ruby 2.2 and 2.3 (EOL), add 2.6 Also allow Travis to pick the most recent patch version. --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e448640f..726bca29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,9 @@ branches: - master rvm: - - 2.2.10 - - 2.3.8 - - 2.4.5 - - 2.5.3 + - "2.4" + - "2.5" + - "2.6" before_script: - bundle exec rake app:db:create From 39bbdc6b8d48a6d0dbbe3b71cc34214771ca8033 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Fri, 7 Jun 2019 10:01:00 -0400 Subject: [PATCH 2/3] Remove Rails 4.1 from Appraisals --- Appraisals | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Appraisals b/Appraisals index 40267be3..6b02f1a9 100644 --- a/Appraisals +++ b/Appraisals @@ -1,7 +1,3 @@ -appraise "rails-4.1" do - gem "rails", "~> 4.1.0" -end if RUBY_VERSION.to_f < 2.4 - appraise "rails-4.2" do gem "rails", "~> 4.2.0" end From 383c17e387b833a7a1d1db15a3c738505fb996b2 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Fri, 7 Jun 2019 10:49:02 -0400 Subject: [PATCH 3/3] Use Bundler 1.X on Travis --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 726bca29..f4a35441 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,9 @@ env: - VAULT_VERSION=0.3.1 before_install: + # Downgrade Bundler to 1.x + - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true + - gem install bundler -v '< 2' - wget -O vault.zip -q https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip - unzip vault.zip - mkdir -p ~/bin