excon 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/cacert.pem +31 -1
- data/excon.gemspec +20 -17
- data/lib/excon/connection.rb +1 -1
- data/lib/excon/version.rb +1 -1
- metadata +24 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9471d3e2333a1c6ba7538ff718f835fed10e5eb936e20d9a44630f15859bebf
|
4
|
+
data.tar.gz: 0fb48dec98417ebe8e4fc7711e85ebe9e0025763afe7062a0a5dcdbf9317513d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6869ae02f3045da53b565d33dcf0944cc531daf5c6625ca2a78b4e6c51d89411d69a1e2bb221c9a1435c54ca99aadd418ee904ee928abf67d17dbf7e6af026f6
|
7
|
+
data.tar.gz: 57ca12657eaabc5904f3aa844a77c6aca6b44b0e9829307efec5527c9199477f7ef5a342441788a599482e7a1829ea1ae108565abbdc1fdfcfa7480fdda1d250
|
data/data/cacert.pem
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##
|
2
2
|
## Bundle of CA Root Certificates
|
3
3
|
##
|
4
|
-
## Certificate data from Mozilla as of: Tue
|
4
|
+
## Certificate data from Mozilla as of: Tue Nov 26 13:58:25 2024 GMT
|
5
5
|
##
|
6
6
|
## Find updated versions here: https://curl.se/docs/caextract.html
|
7
7
|
##
|
@@ -2602,6 +2602,36 @@ vLtoURMMA/cVi4RguYv/Uo7njLwcAjA8+RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+
|
|
2602
2602
|
CAezNIm8BZ/3Hobui3A=
|
2603
2603
|
-----END CERTIFICATE-----
|
2604
2604
|
|
2605
|
+
GLOBALTRUST 2020
|
2606
|
+
================
|
2607
|
+
-----BEGIN CERTIFICATE-----
|
2608
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vXkg==
|
2633
|
+
-----END CERTIFICATE-----
|
2634
|
+
|
2605
2635
|
ANF Secure Server Root CA
|
2606
2636
|
=========================
|
2607
2637
|
-----BEGIN CERTIFICATE-----
|
data/excon.gemspec
CHANGED
@@ -1,45 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
|
2
4
|
require 'excon/version'
|
3
5
|
|
4
6
|
Gem::Specification.new do |s|
|
5
7
|
s.name = 'excon'
|
6
8
|
s.version = Excon::VERSION
|
7
|
-
s.summary =
|
8
|
-
s.description =
|
9
|
-
s.authors = [
|
9
|
+
s.summary = 'speed, persistence, http(s)'
|
10
|
+
s.description = 'EXtended http(s) CONnections'
|
11
|
+
s.authors = ['dpiddy (Dan Peterson)', 'geemus (Wesley Beary)', 'nextmat (Matt Sanders)']
|
10
12
|
s.email = 'geemus@gmail.com'
|
11
13
|
s.homepage = 'https://github.com/excon/excon'
|
12
14
|
s.license = 'MIT'
|
13
|
-
s.rdoc_options = [
|
15
|
+
s.rdoc_options = ['--charset=UTF-8']
|
14
16
|
s.extra_rdoc_files = %w[README.md CONTRIBUTORS.md CONTRIBUTING.md]
|
15
17
|
s.files = `git ls-files -- data/* lib/*`.split("\n") + [
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
'CONTRIBUTING.md',
|
19
|
+
'CONTRIBUTORS.md',
|
20
|
+
'LICENSE.md',
|
21
|
+
'README.md',
|
22
|
+
'excon.gemspec'
|
21
23
|
]
|
22
24
|
s.required_ruby_version = '>= 2.7.0'
|
23
25
|
|
24
|
-
s.add_development_dependency('rspec', '>= 3.5.0')
|
25
26
|
s.add_development_dependency('activesupport')
|
26
27
|
s.add_development_dependency('delorean')
|
27
28
|
s.add_development_dependency('eventmachine', '>= 1.0.4')
|
29
|
+
s.add_development_dependency('json', '>= 1.8.5')
|
28
30
|
s.add_development_dependency('open4')
|
31
|
+
s.add_development_dependency('puma')
|
29
32
|
s.add_development_dependency('rake')
|
33
|
+
s.add_development_dependency('rspec', '>= 3.5.0')
|
30
34
|
s.add_development_dependency('shindo')
|
31
35
|
s.add_development_dependency('sinatra')
|
32
36
|
s.add_development_dependency('sinatra-contrib')
|
33
|
-
s.add_development_dependency('json', '>= 1.8.5')
|
34
|
-
s.add_development_dependency('puma')
|
35
37
|
s.add_development_dependency('webrick')
|
36
38
|
|
37
39
|
s.metadata = {
|
38
|
-
'
|
39
|
-
'
|
40
|
-
'changelog_uri' => 'https://github.com/excon/excon/blob/master/changelog.txt',
|
40
|
+
'bug_tracker_uri' => 'https://github.com/excon/excon/issues',
|
41
|
+
'changelog_uri' => 'https://github.com/excon/excon/blob/master/changelog.txt',
|
41
42
|
'documentation_uri' => 'https://github.com/excon/excon/blob/master/README.md',
|
42
|
-
'
|
43
|
-
'
|
43
|
+
'funding_uri' => 'https://github.com/sponsors/geemus',
|
44
|
+
'homepage_uri' => 'https://github.com/excon/excon',
|
45
|
+
'source_code_uri' => 'https://github.com/excon/excon',
|
46
|
+
'wiki_uri' => 'https://github.com/excon/excon/wiki'
|
44
47
|
}
|
45
48
|
end
|
data/lib/excon/connection.rb
CHANGED
@@ -194,7 +194,7 @@ module Excon
|
|
194
194
|
raise(error)
|
195
195
|
when Errno::EPIPE
|
196
196
|
# Read whatever remains in the pipe to aid in debugging
|
197
|
-
response = socket.read
|
197
|
+
response = socket.read rescue ""
|
198
198
|
error = Excon::Error.new(response + error.message)
|
199
199
|
raise_socket_error(error)
|
200
200
|
else
|
data/lib/excon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dpiddy (Dan Peterson)
|
@@ -10,24 +10,24 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-11-
|
13
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: activesupport
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
|
-
name:
|
30
|
+
name: delorean
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - ">="
|
@@ -41,33 +41,33 @@ dependencies:
|
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
|
-
name:
|
44
|
+
name: eventmachine
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 1.0.4
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: 1.0.4
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
58
|
+
name: json
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 1.
|
63
|
+
version: 1.8.5
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 1.
|
70
|
+
version: 1.8.5
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: open4
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ dependencies:
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
86
|
+
name: puma
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
@@ -97,7 +97,7 @@ dependencies:
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
100
|
+
name: rake
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - ">="
|
@@ -111,21 +111,21 @@ dependencies:
|
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0'
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
|
-
name:
|
114
|
+
name: rspec
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
119
|
+
version: 3.5.0
|
120
120
|
type: :development
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
126
|
+
version: 3.5.0
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
|
-
name:
|
128
|
+
name: shindo
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
131
|
- - ">="
|
@@ -139,21 +139,21 @@ dependencies:
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
|
-
name:
|
142
|
+
name: sinatra
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version:
|
147
|
+
version: '0'
|
148
148
|
type: :development
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
152
|
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version:
|
154
|
+
version: '0'
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
|
-
name:
|
156
|
+
name: sinatra-contrib
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
159
|
- - ">="
|
@@ -229,10 +229,11 @@ homepage: https://github.com/excon/excon
|
|
229
229
|
licenses:
|
230
230
|
- MIT
|
231
231
|
metadata:
|
232
|
-
homepage_uri: https://github.com/excon/excon
|
233
232
|
bug_tracker_uri: https://github.com/excon/excon/issues
|
234
233
|
changelog_uri: https://github.com/excon/excon/blob/master/changelog.txt
|
235
234
|
documentation_uri: https://github.com/excon/excon/blob/master/README.md
|
235
|
+
funding_uri: https://github.com/sponsors/geemus
|
236
|
+
homepage_uri: https://github.com/excon/excon
|
236
237
|
source_code_uri: https://github.com/excon/excon
|
237
238
|
wiki_uri: https://github.com/excon/excon/wiki
|
238
239
|
post_install_message:
|