diff --git a/Gemfile b/Gemfile index 5998ba2..2211519 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/bin/console b/bin/console index 92d956e..c17aa1b 100755 --- a/bin/console +++ b/bin/console @@ -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 diff --git a/faraday-net_http_persistent.gemspec b/faraday-net_http_persistent.gemspec index d14adae..95a3974 100644 --- a/faraday-net_http_persistent.gemspec +++ b/faraday-net_http_persistent.gemspec @@ -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