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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/lib/mobile_id/cert.rb +6 -5
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a39f8c3482b16724603fe8f0d104e9cab10e154be69a30a81cf2cec0b5cfc33
4
- data.tar.gz: 3a96e0f7adae83b23d357bc3ab17dffbf921e66e8f2b422830226f56c67654aa
3
+ metadata.gz: 7b5200abc2bfce7f9f1e41ecb8e5ac4f7e75767e97b755faf3d5293270e03b29
4
+ data.tar.gz: bb97dfa048f527f417159dbca7222973d56404f632fcffc2090369ed99002390
5
5
  SHA512:
6
- metadata.gz: 8bacbcf4ddd115634ced32037fd54f2f0109cf9329a75f1c4525ce337c65bcf197fe942cf9ba7ce0e3fe2a148eb1937c3b262ce365eb44656a88f51fee66df31
7
- data.tar.gz: 65e6235749c5017fc3b263a95d0d6aa18c399a49b511dd35f6bfdbc58ecddb151374e3cac3f23b7a13cfda54856da19197ac5128244923961ba0c9faf76d9473
6
+ metadata.gz: 4f79d3dc6c37f22273b6fe502fe5d6898042455dac704c04f7de0463b69cf8485dfca344898b444d14003f922d7023ff5ce7ea2617e52563b6c917aaeca718f9
7
+ data.tar.gz: f499e7ebb0a3962038186c511305264d34926a733efac2c21706dc9b113215cfdbc4bfbb54f1a9c21ae5f45540cde23d7aa49097ca50d2c6b9b6f9654247e240
@@ -1,3 +1,6 @@
1
+ Release 0.0.6
2
+ * Cert path fix
3
+
1
4
  Release 0.0.5
2
5
  * Added user certificate validation
3
6
 
@@ -4,22 +4,23 @@ module MobileId
4
4
  class Cert
5
5
  class << self
6
6
  def root_path
7
- @root_path ||= (File.expand_path('lib/mobile_id/certs/') + '/')
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 + 'EE_Certification_Centre_Root_CA.pem.crt',
14
- root_path + 'ESTEID-SK_2015.pem.crt'
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 + 'TEST_of_EE_Certification_Centre_Root_CA.pem.crt',
22
- root_path + 'TEST_of_ESTEID-SK_2015.pem.crt'
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobile_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Priit Tark