Skip to content

Commit

Permalink
Merge pull request #439 from Parallels/fix-older-ruby
Browse files Browse the repository at this point in the history
Fix compatibility with both Ruby 2.7 and Ruby 3.0
  • Loading branch information
legal90 authored Mar 22, 2023
2 parents 93aac8a + 9ee6da3 commit 5faf02d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ group :development do
# We depend on Vagrant for development, but we don't add it as a
# gem dependency because we expect to be installed within the
# Vagrant environment itself using `vagrant plugin`.
gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git', branch: 'main'
gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git', tag: 'v2.3.4'

gem 'vagrant-spec', git: 'https://github.com/hashicorp/vagrant-spec.git', branch: 'main'
# TODO: Switch back to the upstream from `hashicorp` org when this PR is merged:
# https://github.com/hashicorp/vagrant-spec/pull/56
gem 'vagrant-spec', git: 'https://github.com/legal90/vagrant-spec.git', branch: 'fix-ruby-3'
end
2 changes: 1 addition & 1 deletion vagrant-parallels.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/Parallels/vagrant-parallels'
spec.license = 'MIT'

spec.required_ruby_version = '>= 3.0', '< 3.3'
spec.required_rubygems_version = '>= 1.3.6'
spec.rubyforge_project = 'vagrant-parallels'

Expand All @@ -24,6 +23,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.11'
spec.add_development_dependency 'rspec-its', '~> 1.3.0'
spec.add_development_dependency 'webrick', '~> 1.8.0'

spec.files = Dir['lib/**/*', 'locales/**/*', 'README.md', 'CHANGELOG.md', 'LICENSE.txt']
spec.require_path = 'lib'
Expand Down

0 comments on commit 5faf02d

Please # to comment.