excon 0.82.0 → 0.83.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 +4 -4
- data/lib/excon/constants.rb +1 -0
- data/lib/excon/ssl_socket.rb +5 -0
- 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: 350ea8548a5f86fd6eea6d6a8109d2a33563b88b1eed70da27eda446a7df6817
|
|
4
|
+
data.tar.gz: d749e9f18aa0ee2a2932cc6a071203c568ce24351867f2aee6a2f0c2dcf31b93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 192705e34375692f6e8cffbb58b0cd9d7c3a85cab83e9db2565abcc4d6d142f31c95986586332f29cf3a6382c5e83e0d4f1168483926e874f05089646ee38f22
|
|
7
|
+
data.tar.gz: 125d512f516b4ff62df76f6db069f0af3f82385590d73f5241ea4893c2b330220cf0d88e31e80d7e68236ba67ccf1462a6614d979d6f8b648dcda9232fae616d
|
data/lib/excon/constants.rb
CHANGED
data/lib/excon/ssl_socket.rb
CHANGED
|
@@ -12,6 +12,11 @@ module Excon
|
|
|
12
12
|
# create ssl context
|
|
13
13
|
ssl_context = OpenSSL::SSL::SSLContext.new
|
|
14
14
|
|
|
15
|
+
# set the security level before setting other parameters affected by it
|
|
16
|
+
if @data[:ssl_security_level]
|
|
17
|
+
ssl_context.security_level = @data[:ssl_security_level]
|
|
18
|
+
end
|
|
19
|
+
|
|
15
20
|
# disable less secure options, when supported
|
|
16
21
|
ssl_context_options = OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:options]
|
|
17
22
|
if defined?(OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS)
|
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.83.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: 2021-
|
|
13
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|