esteid 1.0.7 → 1.1.0

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
- SHA256:
3
- metadata.gz: cbf34740552d4827cbfbbeb5a21efe778ce307788f6c0b1514fa17956b438f22
4
- data.tar.gz: ad79df8f09c45dac531180152f9b0c4586d4dbf968f6e1c4cfcb049cf1073b4c
2
+ SHA1:
3
+ metadata.gz: db4eb7f34f61d94e9715d30badb74a4bc3292540
4
+ data.tar.gz: cf935fcda0b330f4322413aafca301b7cb17ee9e
5
5
  SHA512:
6
- metadata.gz: a3ed74ca2261ce08f4c28b049057f4a12bc5d51a1cf36454e8773f406ac99ec1733cd2afe4f60504ec75545b344d61be93770c56ae152934656a2622af8aa76d
7
- data.tar.gz: c34d6dbc9893abc153e2fc2dcc1dee7a3723c2d86d9ea2b7d58452001f9cd3249a3d49958e5f5ced4b65fcfd9153b5e2b5cd67c3dc6ea6174d09af59133064ab
6
+ metadata.gz: dfb1020d0b31cd74ff72af267dc827abff8734e1092606be2710e0bf2d031b294350f119de000d4708c65860b98b0020efb0ef4e1e4733c6c0af81ce40b83ce5
7
+ data.tar.gz: 94d262e4d5cf8d75b6d115c2a6c58d3092de7240ae2b3320ef07f2e3a4080da2c48c3c7677fdc12d855d671cca1af366bc0e9e53f8e54c38b27bf83f4f6087c4
@@ -12,7 +12,7 @@ module EstEID
12
12
 
13
13
  def identity_code
14
14
  return unless valid?
15
- data_hash["serialNumber"]
15
+ data_hash["serialNumber"].gsub('PNOEE-', '')
16
16
  end
17
17
 
18
18
  def first_name
@@ -1,3 +1,3 @@
1
1
  module EstEID
2
- VERSION = "1.0.7"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esteid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Pakk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.7.3
111
+ rubygems_version: 2.6.14.1
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: A Ruby gem that assists in building authentication using Estonian ID card