excon 0.89.0 → 0.90.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +0 -1
- data/lib/excon/ssl_socket.rb +4 -2
- data/lib/excon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6514f6e331e286e8c6c8f022eee9e79a9483b28ff9e218aa10ea9e0dd63a1f5c
|
4
|
+
data.tar.gz: b58f6111c8f93dd0c5f625e727b065830467d8c61b6880767e878b88642e63bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb9ca062b32869a3c1ea826f3888f310a4dde0bff6a1bfb85a7c12f7b8efe349027961f0d44ca4f1f67e12711ba586a1c866c70bd45dbf6cad8e99c407312a1d
|
7
|
+
data.tar.gz: 0e8897cd518e4e0153681e2e8f05baceb6c4186ce52d8c4bc9128d0622a15506c225505dd4d7cd1252a05d8d000833c44a2a06c5bde7494e30f8a721ac6cf659
|
data/CONTRIBUTING.md
CHANGED
@@ -19,5 +19,4 @@ New contributors are always welcome, when it doubt please ask questions. We stri
|
|
19
19
|
* Write and help edit [documentation](https://github.com/excon/excon.github.com).
|
20
20
|
* Translate [documentation](https://github.com/excon/excon.github.com) in to other languages.
|
21
21
|
* Organize or volunteer at events.
|
22
|
-
* [Donate](https://www.gittip.com/geemus/)!
|
23
22
|
* Discuss other ideas for contribution with [geemus](mailto:geemus+excon@gmail.com).
|
data/lib/excon/ssl_socket.rb
CHANGED
@@ -54,11 +54,13 @@ module Excon
|
|
54
54
|
ssl_context.cert_store = cert_store
|
55
55
|
end
|
56
56
|
|
57
|
-
|
58
|
-
unless ca_file || ca_path || cert_store
|
57
|
+
if cert_store.nil?
|
59
58
|
ssl_context.cert_store = OpenSSL::X509::Store.new
|
60
59
|
ssl_context.cert_store.set_default_paths
|
60
|
+
end
|
61
61
|
|
62
|
+
# no defaults, fallback to bundled
|
63
|
+
unless ca_file || ca_path || cert_store
|
62
64
|
# workaround issue #257 (JRUBY-6970)
|
63
65
|
ca_file = DEFAULT_CA_FILE
|
64
66
|
ca_file = ca_file.gsub(/^jar:/, '') if ca_file =~ /^jar:file:\//
|
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: 0.
|
4
|
+
version: 0.90.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dpiddy (Dan Peterson)
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-01-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|