mobile_id 0.0.5 → 0.0.6
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/CHANGELOG.md +3 -0
- data/lib/mobile_id/cert.rb +6 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b5200abc2bfce7f9f1e41ecb8e5ac4f7e75767e97b755faf3d5293270e03b29
|
4
|
+
data.tar.gz: bb97dfa048f527f417159dbca7222973d56404f632fcffc2090369ed99002390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f79d3dc6c37f22273b6fe502fe5d6898042455dac704c04f7de0463b69cf8485dfca344898b444d14003f922d7023ff5ce7ea2617e52563b6c917aaeca718f9
|
7
|
+
data.tar.gz: f499e7ebb0a3962038186c511305264d34926a733efac2c21706dc9b113215cfdbc4bfbb54f1a9c21ae5f45540cde23d7aa49097ca50d2c6b9b6f9654247e240
|
data/CHANGELOG.md
CHANGED
data/lib/mobile_id/cert.rb
CHANGED
@@ -4,22 +4,23 @@ module MobileId
|
|
4
4
|
class Cert
|
5
5
|
class << self
|
6
6
|
def root_path
|
7
|
-
@root_path ||=
|
7
|
+
@root_path ||= File.expand_path('certs', __dir__)
|
8
8
|
end
|
9
9
|
|
10
10
|
def live_store
|
11
11
|
@live_store ||=
|
12
12
|
build_store([
|
13
|
-
root_path
|
14
|
-
root_path
|
13
|
+
File.join(root_path, 'EE_Certification_Centre_Root_CA.pem.crt'),
|
14
|
+
File.join(root_path, 'ESTEID-SK_2015.pem.crt')
|
15
15
|
])
|
16
16
|
end
|
17
17
|
|
18
18
|
def test_store
|
19
|
+
binding.pry
|
19
20
|
@test_store ||=
|
20
21
|
build_store([
|
21
|
-
root_path
|
22
|
-
root_path
|
22
|
+
File.join(root_path, 'TEST_of_EE_Certification_Centre_Root_CA.pem.crt'),
|
23
|
+
File.join(root_path, 'TEST_of_ESTEID-SK_2015.pem.crt')
|
23
24
|
])
|
24
25
|
end
|
25
26
|
|