faraday-excon 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/faraday/adapter/excon.rb +4 -2
- data/lib/faraday/excon/version.rb +1 -1
- metadata +26 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23faaabde9dd0295b342f883abf13b0ff8ffd8ace6f9e1d288dcb181082aa0b7
|
4
|
+
data.tar.gz: 5ac3b89d1d55411f972f0d10f5c53d5c24fc612010083768aa9d137d2b79fb85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2e4059411905358fc26a4e79688b3ff2d20ccad73b84f0e650172dda17c86582918d4e0ab348386122b25403a30b278cff134ba8863948aaee92903c640fb18
|
7
|
+
data.tar.gz: ee24c87fc472d04bf595c2b12bc4c34d2a14dbc533b416e0174fe884f150359aa6e04a6bd995b594e279f54eb247eebfbb498fa6dc62acceaaec03cd18736af9
|
data/README.md
CHANGED
@@ -55,10 +55,10 @@ The gem is available as open source under the terms of the [license][license].
|
|
55
55
|
|
56
56
|
Everyone interacting in the Faraday Excon adapter project's codebase, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct][code-of-conduct].
|
57
57
|
|
58
|
-
[faraday]: https://github.com/
|
58
|
+
[faraday]: https://github.com/excon/faraday
|
59
59
|
[faraday-website]: https://lostisland.github.io/faraday
|
60
60
|
[excon]: https://github.com/excon/excon
|
61
61
|
[rubygems]: https://rubygems.org
|
62
|
-
[repo]: https://github.com/
|
63
|
-
[license]: https://github.com/
|
64
|
-
[code-of-conduct]: https://github.com/
|
62
|
+
[repo]: https://github.com/excon/faraday-excon
|
63
|
+
[license]: https://github.com/excon/faraday-excon/blob/main/LICENSE.md
|
64
|
+
[code-of-conduct]: https://github.com/excon/faraday-excon/blob/main/CODE_OF_CONDUCT.md
|
@@ -5,9 +5,10 @@ module Faraday
|
|
5
5
|
# Excon adapter.
|
6
6
|
class Excon < Faraday::Adapter
|
7
7
|
def build_connection(env)
|
8
|
-
if @connection_options[:persistent]
|
9
|
-
return @connection
|
8
|
+
if @connection_options[:persistent] && defined?(@connection)
|
9
|
+
return @connection
|
10
10
|
end
|
11
|
+
|
11
12
|
opts = opts_from_env(env)
|
12
13
|
|
13
14
|
# remove path & query when creating connection
|
@@ -81,6 +82,7 @@ module Faraday
|
|
81
82
|
end
|
82
83
|
|
83
84
|
OPTS_KEYS = [
|
85
|
+
%i[ciphers ciphers],
|
84
86
|
%i[client_cert client_cert],
|
85
87
|
%i[client_key client_key],
|
86
88
|
%i[certificate certificate],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-excon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- "@
|
8
|
-
autorequire:
|
7
|
+
- "@geemus"
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -16,31 +16,37 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.109.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.109.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.11.0
|
34
|
+
- - "<"
|
32
35
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
36
|
+
version: '3'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 2.11.0
|
44
|
+
- - "<"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
46
|
+
version: '3'
|
41
47
|
description: Faraday adapter for Excon
|
42
48
|
email:
|
43
|
-
-
|
49
|
+
- geemus@gmail.com
|
44
50
|
executables: []
|
45
51
|
extensions: []
|
46
52
|
extra_rdoc_files: []
|
@@ -50,14 +56,15 @@ files:
|
|
50
56
|
- lib/faraday/adapter/excon.rb
|
51
57
|
- lib/faraday/excon.rb
|
52
58
|
- lib/faraday/excon/version.rb
|
53
|
-
homepage: https://github.com/
|
59
|
+
homepage: https://github.com/excon/faraday-excon
|
54
60
|
licenses:
|
55
61
|
- MIT
|
56
62
|
metadata:
|
57
|
-
homepage_uri: https://github.com/
|
58
|
-
|
59
|
-
|
60
|
-
|
63
|
+
homepage_uri: https://github.com/excon/faraday-excon
|
64
|
+
rubygems_mfa_required: 'true'
|
65
|
+
source_code_uri: https://github.com/excon/faraday-excon
|
66
|
+
changelog_uri: https://github.com/excon/faraday-excon/releases/tag/v2.2.0
|
67
|
+
post_install_message:
|
61
68
|
rdoc_options: []
|
62
69
|
require_paths:
|
63
70
|
- lib
|
@@ -65,15 +72,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
72
|
requirements:
|
66
73
|
- - ">="
|
67
74
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
75
|
+
version: 3.0.0
|
69
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
77
|
requirements:
|
71
78
|
- - ">="
|
72
79
|
- !ruby/object:Gem::Version
|
73
80
|
version: '0'
|
74
81
|
requirements: []
|
75
|
-
rubygems_version: 3.
|
76
|
-
signing_key:
|
82
|
+
rubygems_version: 3.5.18
|
83
|
+
signing_key:
|
77
84
|
specification_version: 4
|
78
85
|
summary: Faraday adapter for Excon
|
79
86
|
test_files: []
|