Skip to content

Commit

Permalink
Re-add support for Faraday v1
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Jan 6, 2022
1 parent fa509e2 commit 9ddd7a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ source "https://rubygems.org"

gemspec

gem "faraday", ">= 1", "< 2"

gem "multipart-parser", "~> 0.1.1"
gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "simplecov", "~> 0.19.0"
Expand Down
1 change: 1 addition & 0 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# frozen_string_literal: true

require 'bundler/setup'
require 'faraday'
require 'faraday/net_http_persistent'

# You can add fixtures and/or initialization code here to make experimenting
Expand Down
3 changes: 1 addition & 2 deletions faraday-net_http_persistent.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*") + %w[README.md LICENSE.md]
spec.require_paths = ["lib"]

spec.add_dependency "faraday", "~> 2.0"
spec.add_dependency "faraday-net_http", "~> 2.0"
spec.add_dependency "faraday-net_http"
spec.add_dependency "net-http-persistent", "~> 4.0"
end

0 comments on commit 9ddd7a5

Please sign in to comment.