Skip to content

Commit

Permalink
Add support for faraday 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 13, 2022
1 parent e31f6f7 commit 0c01c1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lib/puppet_forge/connection.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'puppet_forge/connection/connection_failure'

require 'faraday'
require 'faraday_middleware'

module PuppetForge
# Provide a common mixin for adding a HTTP connection to classes.
Expand Down
3 changes: 1 addition & 2 deletions puppet_forge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.5.0'

spec.add_runtime_dependency "faraday", "~> 1.3"
spec.add_runtime_dependency "faraday_middleware", "~> 1.0"
spec.add_runtime_dependency "faraday", ">= 2.0.0", "< 3.0.0"
spec.add_dependency "semantic_puppet", "~> 1.0"
spec.add_dependency "minitar"

Expand Down

0 comments on commit 0c01c1b

Please sign in to comment.