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 29f1561 commit c7d0dfb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
source 'https://rubygems.org'
gemspec

gem 'faraday', '>= 1.0'

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/httpclient'

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

spec.add_development_dependency 'faraday', '~> 2.0'
spec.add_development_dependency 'httpclient', '>= 2.2'
spec.add_dependency 'httpclient', '>= 2.2'
end
1 change: 0 additions & 1 deletion lib/faraday/httpclient.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require 'httpclient'
require 'faraday'
require_relative 'adapter/httpclient'
require_relative 'httpclient/version'

Expand Down
2 changes: 1 addition & 1 deletion lib/faraday/httpclient/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Faraday
module HTTPClient
VERSION = '2.0.0'
VERSION = '2.0.1'
end
end

0 comments on commit c7d0dfb

Please sign in to comment.