Skip to content

Commit

Permalink
(FORGE-575) Bump faraday dependency to 1.x range
Browse files Browse the repository at this point in the history
  • Loading branch information
scotje committed Jan 28, 2021
1 parent a155b43 commit 05a4e77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions puppet_forge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.required_ruby_version = '>= 1.9.3'
spec.required_ruby_version = '>= 2.4.0'

spec.add_runtime_dependency "faraday", [">= 0.9.0", "< 0.18.0", "!= 0.13.1"]
spec.add_runtime_dependency "faraday_middleware", [">= 0.9.0", "< 0.15.0"]
spec.add_dependency 'semantic_puppet', '~> 1.0'
spec.add_dependency 'minitar'
spec.add_dependency 'gettext-setup', '~> 0.11'
spec.add_runtime_dependency "faraday", "~> 1.3"
spec.add_runtime_dependency "faraday_middleware", "~> 1.0"
spec.add_dependency "semantic_puppet", "~> 1.0"
spec.add_dependency "minitar"
spec.add_dependency "gettext-setup", "~> 0.11"

spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/forge/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

expect {
subject.get('/error')
}.to raise_error(Faraday::ClientError, "the server responded with status 503")
}.to raise_error(Faraday::ServerError, "the server responded with status 503")
end

context 'when an authorization value is provided' do
Expand Down

0 comments on commit 05a4e77

Please sign in to comment.