mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-05-31 15:35:22 -04:00
Bump faraday from ~> 1.5 to ~> 2
Updates the basic-auth middleware call to the Faraday 2 form (`request :authorization, :basic, ...`). Faraday 2.x requires Ruby >= 3.0, so drop Ruby 2.7 from the CI matrix and pin `required_ruby_version = '>= 3.0'` in the gemspec. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
6b6d6f73cd
commit
421ea216d8
4 changed files with 60 additions and 66 deletions
|
|
@ -20,7 +20,8 @@ Gem::Specification.new do |s|
|
|||
s.files = Dir['LICENSE', 'README.md', 'lib/**/*', 'extras/**/*']
|
||||
s.test_files = Dir['spec/**/*']
|
||||
s.require_path = 'lib'
|
||||
s.required_ruby_version = '>= 3.0'
|
||||
|
||||
s.add_dependency 'commander', '>= 4.4.3', '< 4.7.0'
|
||||
s.add_dependency 'faraday', '~> 1.5', '>= 1.5.1'
|
||||
s.add_dependency 'faraday', '~> 2'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue