mirror of
https://github.com/lostisland/faraday.git
synced 2025-07-05 00:02:41 -04:00
Compare commits
No commits in common. "f33bd3782c4b110ffea1612dd4263224790cebbf" and "ca01f47f5d467bb7424b6e3c8840b7e66cf3aa28" have entirely different histories.
f33bd3782c
...
ca01f47f5d
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user