From 4069ce8595abaf97725d55e422ce1b7afcf116cc Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 4 May 2021 21:26:52 +0200 Subject: [PATCH 1/2] fix: gem vagrant* (dependencies) now use branch 'main' instead of 'master' --- Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 19e874a..66ad9f7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' group :development do - gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git' + gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git', branch: 'main' gem 'guard' gem 'guard-rspec' gem 'rb-inotify' @@ -11,7 +11,7 @@ group :development, :test do gem 'rake', '~> 10.4.2' gem 'rspec', '~> 3.5.0' gem 'coveralls', '~> 0.7.2', require: (ENV['COVERAGE'] == 'true') - gem 'vagrant-spec', git: 'https://github.com/mitchellh/vagrant-spec.git' + gem 'vagrant-spec', git: 'https://github.com/mitchellh/vagrant-spec.git', branch: 'main' end group :plugins do From 4777d58e0d031be4a3195d199f8600bfd0871372 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 4 May 2021 23:54:01 +0200 Subject: [PATCH 2/2] chore: update ruby & bundler version for CI * bundler 1.12.5 breaks with current version of dependencies (NoMethodError: undefined method `[]' for nil:NilClass) * vagrant-2.2.17 requires ruby version ~> 2.5, < 2.8 --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2f11d06..12cdcd5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ +--- language: ruby rvm: - - 2.2 - - 2.3 - - 2.4 - 2.5 + - 2.6 + - 2.7 install: - - gem install -v 1.12.5 bundler - - bundle _1.12.5_ install --jobs=3 --retry=3 + - gem install -v 1.16.2 bundler + - bundle _1.16.2_ install --jobs=3 --retry=3 script: "bundle exec rake ci"