Fix overly strict dependency requirement of the logger gem to allow plugin installation

Vagrant version 2.4.2 introduced a patch(512bb74) that sets the logger gem dependency to "~>1.6.1", which is too strict and prevents many Vagrant plugins from being installed.

This patch tones down the dependency specification to mitigate this problem.

Fixes #13527.

Refer-to: Add logger and ostruct to the gemspec by hswong3i · Pull Request #13499 · hashicorp/vagrant <https://github.com/hashicorp/vagrant/pull/13499>
This commit is contained in:
林博仁(Buo-ren Lin) 2024-11-04 21:18:53 +08:00
parent 89e67f3297
commit cdf35c09a4
No known key found for this signature in database
GPG key ID: 07DDE1CBFBEEC3C6

View file

@ -26,7 +26,7 @@ Gem::Specification.new do |s|
s.add_dependency "i18n", "~> 1.12"
s.add_dependency "listen", "~> 3.7"
s.add_dependency "log4r", "~> 1.1.9", "< 1.1.11"
s.add_dependency "logger", "~> 1.6.1"
s.add_dependency "logger", "~> 1.6.0"
s.add_dependency "mime-types", "~> 3.3"
s.add_dependency "net-ftp", "~> 0.2"
s.add_dependency "net-ssh", "~> 7.0"