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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fda0f07449ce52b5f8f53a578c249733f5f391d44095dc2a5d433db2df0ae5bf
4
- data.tar.gz: ea02fcc0c8fb3ecbd84febf29aa7530046b15d49bea236cef0a8837cf59acf5a
3
+ metadata.gz: 65d8e8c80055732d6028c82af3d645ebbe7105cef6eac392e571dc72ffd65e66
4
+ data.tar.gz: 3c839b359643656292bbd22c9e6d29c821a33be93eb70aa9b35aefbf297ab505
5
5
  SHA512:
6
- metadata.gz: db94e6a6b1f615f0e146d33a13bee540ce6ce3dc17d2ac77add5c469dfd12dbd970a0622c29ee9d12d6a23e4bcef5aef4ea7c54b4729ba8687a682a30b6088d2
7
- data.tar.gz: 3f0f2d90424313e5b8988746219ad74e25db7a4c6ffe36cd02acf44908a3b2006c10db4294d24e6576a2bae4a7d263c5fbc5d41e02f14a46fadf1bbd84c88d25
6
+ metadata.gz: 3e7bb5f0b7a5a6bdb365e6bf89beaa5cf78bb8d252cfbfc0490efb54132fb834449109fb697c38e08edb567050c155ef095897f2da21d9b3e7151459315462e2
7
+ data.tar.gz: 4673411dbe5b27cd6a591735b8df05c8524e9fa7d3a5ce60ee0a6cff4b0a7d25e1b0478123d7795f3f02e1e48798835277e3b4b1d7d48aadeb7f06e6ecb847e1
@@ -98,9 +98,11 @@ module Localhost
98
98
 
99
99
  context.session_id_context = "localhost"
100
100
 
101
- context.set_params(
102
- verify_hostname: false,
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
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Localhost
22
- VERSION = "1.1.0"
22
+ VERSION = "1.1.1"
23
23
  end
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.0
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-05 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler