faraday 1.10.2 → 1.10.4

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: '04749d3979d4a9915c3370ec09dcf6155a2e8d4853d3678258224d77c99604d0'
4
- data.tar.gz: 6a63e7608e50809a9d5fe4b1abefce9a0857a6095829bd5e631b893257899fae
3
+ metadata.gz: 41cebae56fde7ef704543fcb80cc60c1c69694e540489d03d3882d5b3776c056
4
+ data.tar.gz: 70069a1f1e36c058c982987914910fa6563dcbaad08a6278295d5bd754b72fee
5
5
  SHA512:
6
- metadata.gz: 8a71c4649227869ac7f1b5fa6e59bac3587a8080011da3acf6ad5426e890d64be2809b0ad0a2d04bceb8bc08a0c4f2c1b20841429e0d6bde6f69dccf7a707ca5
7
- data.tar.gz: 86f69b8d0c7af7ed0b37f0ce4accaf2a9b286489e70f175ffbdc7161c50126747fa32fb56a243b7cb38b8682164d7e9e14e8c3ee28b27dd8fc86a800054d15a7
6
+ metadata.gz: bbf15956af42768f1df10f6677b455e8c43def534d1510f85a4b5a6e9c32896f37cea2ce6d927f2cd84e4b26967d95705a71f05e6ae85f638f27a3487d44b596
7
+ data.tar.gz: 1eab4e96fe13971b7144121d93963fb49140ef16725987f5f778f64182bdaace0024742b24c6a6965b5d127d613e2992bc949256d0eacecd346275efe4dc4809
@@ -67,13 +67,14 @@ module Faraday
67
67
  class Request
68
68
  extend AutoloadHelper
69
69
  autoload_all 'faraday/request',
70
- UrlEncoded: 'url_encoded',
71
- Multipart: 'multipart',
72
- Retry: 'retry',
73
70
  Authorization: 'authorization',
74
71
  BasicAuthentication: 'basic_authentication',
72
+ Instrumentation: 'instrumentation',
73
+ Json: 'json',
74
+ Multipart: 'multipart',
75
+ Retry: 'retry',
75
76
  TokenAuthentication: 'token_authentication',
76
- Instrumentation: 'instrumentation'
77
+ UrlEncoded: 'url_encoded'
77
78
  end
78
79
 
79
80
  # Response represents the returned value of a sent Faraday request.
@@ -81,7 +82,8 @@ module Faraday
81
82
  class Response
82
83
  extend AutoloadHelper
83
84
  autoload_all 'faraday/response',
84
- RaiseError: 'raise_error',
85
- Logger: 'logger'
85
+ Json: 'json',
86
+ Logger: 'logger',
87
+ RaiseError: 'raise_error'
86
88
  end
87
89
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'ruby2_keywords'
4
+
3
5
  module Faraday
4
6
  # DependencyLoader helps Faraday adapters and middleware load dependencies.
5
7
  module DependencyLoader
@@ -13,7 +15,7 @@ module Faraday
13
15
  self.load_error = e
14
16
  end
15
17
 
16
- def new(*)
18
+ ruby2_keywords def new(*)
17
19
  unless loaded?
18
20
  raise "missing dependency for #{self}: #{load_error.message}"
19
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Faraday
4
- VERSION = '1.10.2'
4
+ VERSION = '1.10.4'
5
5
  end
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.10.2
4
+ version: 1.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@technoweenie"
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-08-23 00:00:00.000000000 Z
13
+ date: 2024-09-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday-em_http
@@ -268,7 +268,7 @@ licenses:
268
268
  - MIT
269
269
  metadata:
270
270
  homepage_uri: https://lostisland.github.io/faraday
271
- changelog_uri: https://github.com/lostisland/faraday/releases/tag/v1.10.2
271
+ changelog_uri: https://github.com/lostisland/faraday/releases/tag/v1.10.4
272
272
  source_code_uri: https://github.com/lostisland/faraday
273
273
  bug_tracker_uri: https://github.com/lostisland/faraday/issues
274
274
  post_install_message:
@@ -287,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
287
287
  - !ruby/object:Gem::Version
288
288
  version: '0'
289
289
  requirements: []
290
- rubygems_version: 3.0.3.1
290
+ rubygems_version: 3.1.6
291
291
  signing_key:
292
292
  specification_version: 4
293
293
  summary: HTTP/REST API client library.