diff --git a/Gemfile b/Gemfile index 119284f..c804688 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/bin/console b/bin/console index 97918c9..a5b112c 100755 --- a/bin/console +++ b/bin/console @@ -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 diff --git a/faraday-httpclient.gemspec b/faraday-httpclient.gemspec index 385fd45..65ee3a5 100644 --- a/faraday-httpclient.gemspec +++ b/faraday-httpclient.gemspec @@ -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 diff --git a/lib/faraday/httpclient.rb b/lib/faraday/httpclient.rb index e02c8eb..ef72ad3 100644 --- a/lib/faraday/httpclient.rb +++ b/lib/faraday/httpclient.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require 'httpclient' -require 'faraday' require_relative 'adapter/httpclient' require_relative 'httpclient/version' diff --git a/lib/faraday/httpclient/version.rb b/lib/faraday/httpclient/version.rb index 83672d7..3d63188 100644 --- a/lib/faraday/httpclient/version.rb +++ b/lib/faraday/httpclient/version.rb @@ -2,6 +2,6 @@ module Faraday module HTTPClient - VERSION = '2.0.0' + VERSION = '2.0.1' end end