Compare commits

..

No commits in common. "f33bd3782c4b110ffea1612dd4263224790cebbf" and "ca01f47f5d467bb7424b6e3c8840b7e66cf3aa28" have entirely different histories.

2 changed files with 7 additions and 17 deletions

View File

@ -14,7 +14,7 @@ require 'forwardable'
# conn.get '/'
#
module Faraday
VERSION = "0.17.6"
VERSION = "0.17.5"
class << self
# Public: Gets or sets the root path that Faraday is being loaded from.

View File

@ -1,7 +1,3 @@
begin
require 'multipart/post'
require 'stringio'
rescue LoadError
begin
require 'composite_io'
require 'parts'
@ -10,7 +6,6 @@ rescue LoadError
$stderr.puts "Install the multipart-post gem."
raise
end
end
module Faraday
# Similar but not compatible with ::CompositeReadIO provided by multipart-post.
@ -67,11 +62,6 @@ module Faraday
end
end
if defined?(::Multipart::Post::UploadIO)
UploadIO = ::Multipart::Post::UploadIO
Parts = ::Multipart::Post::Parts
else
UploadIO = ::UploadIO
Parts = ::Parts
end
end