faraday-excon 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48cc25dbe1f1b2758a18d7b632862a0b925c41dcf60b85017571af0b1ae9e5c8
4
- data.tar.gz: 31f11d707f4d986908b2a0d92203843c563a40c49c0b363f02180747f8b85c4c
3
+ metadata.gz: 7bbcf7b4182d4b9c827a50b635494c89d977fed212f758c21c6b9c741bbea05a
4
+ data.tar.gz: 1abd0666f0e76037e418fd24b8fb123fbe3f15e728c1b5214ddfa46355b3c74e
5
5
  SHA512:
6
- metadata.gz: cd71d9c447b9fa17960250bba74842d173491be820aa1c2713fa28cc78a3558d11d5362549e2a7593132b353a1aca9d40dcc1864ac2bc41acdf0b798e6f86e39
7
- data.tar.gz: 983de5b151300ac67cd7ed09df531353bea392e49c740087e4810444cbe6aa7799ef43c679b25c1db681ca8b7e8d381e6fd232c1af3f9cf15ae9588c07e70e99
6
+ metadata.gz: 740ecb577e4c0034e522d103921975fc7de6fbeeb9091062478101b5b352356e082686bfa479f8fad82f9020f40c0346d180fae00b87eaa38cb0a7e13cebdc2d
7
+ data.tar.gz: '0711564980593e61bf9309cffab664ceb7cbb77a0f32f3006acefc9cf950d3b7e2c4b7941781fa23968a846b459e1bd0c164b94e05469bd6187ed58b1541d439'
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/lostisland/faraday
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/lostisland/faraday-excon
63
- [license]: https://github.com/lostisland/faraday-excon/blob/main/LICENSE.md
64
- [code-of-conduct]: https://github.com/lostisland/faraday-excon/blob/main/CODE_OF_CONDUCT.md
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 if defined? @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],
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module Excon
5
- VERSION = '2.1.0'
5
+ VERSION = '2.3.0'
6
6
  end
7
7
  end
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.1.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - "@iMacTia"
8
- autorequire:
7
+ - "@geemus"
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-11 00:00:00.000000000 Z
11
+ date: 2024-10-24 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.27.4
19
+ version: 1.0.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.27.4
26
+ version: 1.0.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: '2.0'
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: '2.0'
46
+ version: '3'
41
47
  description: Faraday adapter for Excon
42
48
  email:
43
- - giuffrida.mattia@gmail.com
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/lostisland/faraday-excon
59
+ homepage: https://github.com/excon/faraday-excon
54
60
  licenses:
55
61
  - MIT
56
62
  metadata:
57
- homepage_uri: https://github.com/lostisland/faraday-excon
58
- source_code_uri: https://github.com/lostisland/faraday-excon
59
- changelog_uri: https://github.com/lostisland/faraday-excon/releases/tag/v2.1.0
60
- post_install_message:
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.3.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: 2.6.0
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.1.6
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: []