mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Switch to https from git for vagrant-spec (#1492)
Bundle now complains about cloning using the git protocol which is insecure by default. Switching to https urls resolves.
This commit is contained in:
6
Gemfile
6
Gemfile
@@ -26,11 +26,11 @@ group :development do
|
||||
|
||||
vagrant_spec_verison = ENV['VAGRANT_SPEC_VERSION']
|
||||
if !vagrant_spec_verison.nil? && !vagrant_spec_verison.empty?
|
||||
gem 'vagrant-spec', :github => 'hashicorp/vagrant-spec', :ref => vagrant_spec_verison
|
||||
gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec', :ref => vagrant_spec_verison
|
||||
elsif vagrant_gem_version <= Gem::Version.new('2.2.7')
|
||||
gem 'vagrant-spec', :github => 'hashicorp/vagrant-spec', :ref => '161128f2216cee8edb7bcd30da18bd4dea86f98a'
|
||||
gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec', :ref => '161128f2216cee8edb7bcd30da18bd4dea86f98a'
|
||||
else
|
||||
gem 'vagrant-spec', :github => 'hashicorp/vagrant-spec', :branch => "main"
|
||||
gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec', :branch => "main"
|
||||
end
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
|
||||
|
||||
Reference in New Issue
Block a user