mla_active_duty_status 0.1.6 → 0.1.7
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 318d1eebf06af9899e50265cc0fb3ac8ce37c70f
|
|
4
|
+
data.tar.gz: fcabe4b0c28aa22e6d224eab89b991456bcf49a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75eee16ff42e887797741e788fdb4150454631c6cff5d57052ada963b3361c268d2ab20af8aecfa8a1fefbd44f3aa22323c2213015fec3a2b3e845678e906927
|
|
7
|
+
data.tar.gz: 09f729b67bf3fe0dbc9643a0f0b86fa3bc2a449c4291ac63b1807f77dd7a8bbe59fec8e3fbe34d1da9bd84f8b32e2734d1e2636a074bc32c99a0a79cc87579c0
|
data/README.md
CHANGED
|
@@ -100,7 +100,7 @@ but you will most likely need to download the cert file to your production serve
|
|
|
100
100
|
MlaActiveDutyStatus.configuration.ca_path = '/path/to/my/ca_cert.crt'
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
By default, this gem will use
|
|
103
|
+
By default, this gem will use the java keystore on jruby.
|
|
104
104
|
|
|
105
105
|
It is highly recommended that you do NOT disable certificate verification, but if you need to debug a problem
|
|
106
106
|
then set the configuration like this:
|
|
@@ -18,9 +18,10 @@ module MlaActiveDutyStatus
|
|
|
18
18
|
if MlaActiveDutyStatus.configuration.ssl_verify
|
|
19
19
|
browser.agent.http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
20
20
|
cert_store = OpenSSL::X509::Store.new
|
|
21
|
-
ca_path = File.expand_path(MlaActiveDutyStatus.configuration.ca_path)
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
if ca_path = File.expand_path(MlaActiveDutyStatus.configuration.ca_path)
|
|
22
|
+
cert_store.add_file ca_path
|
|
23
|
+
browser.agent.http.cert_store = cert_store
|
|
24
|
+
end
|
|
24
25
|
else
|
|
25
26
|
browser.agent.http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
26
27
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mla_active_duty_status
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jimjames99
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|