faraday 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efe708e6b5d6c717435558a71f0710aa51b2c9288c79a25dff215eb305a03f21
4
- data.tar.gz: 2614e27e8eeb000bd90a97f263778ad758f2b5eaca034606f088eee399af301f
3
+ metadata.gz: c4e484ac8258dd87916d0f5a1330846e8d786531250ccca90267415cca980d2f
4
+ data.tar.gz: 1ee679b83f3eaffd4b4c10f91e21a71e4b6b18f9b15bac8d9d937b52c1955770
5
5
  SHA512:
6
- metadata.gz: c40f0455e00c5bcb108480221182d512ae3b15c55c2cc10004badf2cd5bb8bab4eb8a2ae40fcb65cdb81193a07a97227673bec44d8b96ea38bdaeb15a511892e
7
- data.tar.gz: e8f4df3fe365194c01428e7a9bff4156401704876d0476e7a1fad1dea37c1c2371e945955e8b4132cc74cfc54bcd479e640795da7d563be46881f0c3d6c199f7
6
+ metadata.gz: 4731a060a0a070fe5911447b415c43463cc96efe59e714c2e3e32110826af5ea9e451ab24d95c027c2fa0d0259c6d523f48eaa72eaa5f4c9aa3e9329f29862fb
7
+ data.tar.gz: 1df9244344683f56b583dd2bc0e8225ef36dc727ef8b3247a7b48ded40eae03da828424b7a0cb680fed70d18904c2b246cc7e779114ea716240308590ae36468
@@ -35,8 +35,6 @@ module Faraday
35
35
 
36
36
  register_middleware File.expand_path('request', __dir__),
37
37
  url_encoded: [:UrlEncoded, 'url_encoded'],
38
- multipart: [:Multipart, 'multipart'],
39
- retry: [:Retry, 'retry'],
40
38
  authorization: [:Authorization, 'authorization'],
41
39
  basic_auth: [
42
40
  :BasicAuthentication,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faraday
4
- VERSION = '1.9.1'
4
+ VERSION = '1.9.2'
5
5
  end
data/lib/faraday.rb CHANGED
@@ -26,9 +26,11 @@ require 'faraday/response'
26
26
  require 'faraday/error'
27
27
  require 'faraday/request/url_encoded' # needed by multipart
28
28
 
29
- # External Middleware gems
29
+ # External Middleware gems and their aliases
30
30
  require 'faraday/multipart'
31
31
  require 'faraday/retry'
32
+ Faraday::Request::Multipart = Faraday::Multipart::Middleware
33
+ Faraday::Request::Retry = Faraday::Retry::Middleware
32
34
 
33
35
  # External Adapters gems
34
36
  unless defined?(JRUBY_VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@technoweenie"
@@ -262,7 +262,7 @@ licenses:
262
262
  - MIT
263
263
  metadata:
264
264
  homepage_uri: https://lostisland.github.io/faraday
265
- changelog_uri: https://github.com/lostisland/faraday/releases/tag/v1.9.1
265
+ changelog_uri: https://github.com/lostisland/faraday/releases/tag/v1.9.2
266
266
  source_code_uri: https://github.com/lostisland/faraday
267
267
  bug_tracker_uri: https://github.com/lostisland/faraday/issues
268
268
  post_install_message: