localhost 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/localhost/authority.rb +9 -4
- data/lib/localhost/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: 65d8e8c80055732d6028c82af3d645ebbe7105cef6eac392e571dc72ffd65e66
|
4
|
+
data.tar.gz: 3c839b359643656292bbd22c9e6d29c821a33be93eb70aa9b35aefbf297ab505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7bb5f0b7a5a6bdb365e6bf89beaa5cf78bb8d252cfbfc0490efb54132fb834449109fb697c38e08edb567050c155ef095897f2da21d9b3e7151459315462e2
|
7
|
+
data.tar.gz: 4673411dbe5b27cd6a591735b8df05c8524e9fa7d3a5ce60ee0a6cff4b0a7d25e1b0478123d7795f3f02e1e48798835277e3b4b1d7d48aadeb7f06e6ecb847e1
|
data/lib/localhost/authority.rb
CHANGED
@@ -98,9 +98,11 @@ module Localhost
|
|
98
98
|
|
99
99
|
context.session_id_context = "localhost"
|
100
100
|
|
101
|
-
context.set_params
|
102
|
-
|
103
|
-
|
101
|
+
context.set_params
|
102
|
+
|
103
|
+
if context.respond_to? :verify_hostname=
|
104
|
+
context.verify_hostname = false
|
105
|
+
end
|
104
106
|
end
|
105
107
|
end
|
106
108
|
|
@@ -110,8 +112,11 @@ module Localhost
|
|
110
112
|
|
111
113
|
context.set_params(
|
112
114
|
verify_mode: OpenSSL::SSL::VERIFY_PEER,
|
113
|
-
verify_hostname: false,
|
114
115
|
)
|
116
|
+
|
117
|
+
if context.respond_to? :verify_hostname=
|
118
|
+
context.verify_hostname = false
|
119
|
+
end
|
115
120
|
end
|
116
121
|
end
|
117
122
|
|
data/lib/localhost/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: localhost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|