esteid 1.0.4 → 1.0.5

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
- SHA1:
3
- metadata.gz: 5b11bc5f34404ba59f40071a6eeae0964d658c42
4
- data.tar.gz: 0ee911e62c4ae6250b7de86dcf262d9366e491d4
2
+ SHA256:
3
+ metadata.gz: 686182671f15fb73418764447325188aa78417b3a35ec04a9cec412014f64e46
4
+ data.tar.gz: a2b8014a2e992ba2302acaa3cbeb5a0ad3e0d94fadd478034ab99d244c539693
5
5
  SHA512:
6
- metadata.gz: 46a2fea1f0ce5e7c024f3a64752e0b89cb82b3a8f9236b7fb3c57df5f0ad10c80d8132cc7fbaac8e2c35f3560bfd5662439a05df5f528d1464d2f08e1a187921
7
- data.tar.gz: b217fae6301d02d465dbf2257864ce0318c2b0702f6098a98f3984f1a1e94773a3a9214c572b872e3d87cba0dfa26a649df7e5eba047a84d64c50c4a7e9a9e7b
6
+ metadata.gz: a6248c4f86c54648952824a7c120263dece6ea7c508082b50e80cd1005c088599b48f1923d0a04915df9169509ea872df53ea4bbe9ab918b1a726ca8ae456f2f
7
+ data.tar.gz: ab3ac4504bd381741f39f9a34b734a6b2af8e7524c225bef5fd0710157a1613fc1ab7d1998a6c881e951cdb40206892606c3db004aaa206a60434b4cd7ff9d48
@@ -4,7 +4,7 @@ module EstEID
4
4
  class Validation
5
5
  attr_reader :eid_public_key
6
6
 
7
- STATUSES = {
7
+ ERROR_STATUSES = {
8
8
  'REVOKED' => 'cert_revoked',
9
9
  'UNKNOWN' => 'cert_unknown',
10
10
  'EXPIRED' => 'cert_expired',
@@ -53,8 +53,7 @@ module EstEID
53
53
  namespace: "http://www.sk.ee/DigiDocService/DigiDocService_2_3.wsdl",
54
54
  raise_errors: false,
55
55
  open_timeout: 10,
56
- ssl_version: :TLSv1,
57
- ssl_verify_mode: :none
56
+ ssl_version: :TLSv1
58
57
  )
59
58
  end
60
59
 
@@ -75,8 +74,8 @@ module EstEID
75
74
  def error_status(status)
76
75
  return if valid?
77
76
 
78
- if STATUSES.include?(status)
79
- STATUSES[status]
77
+ if ERROR_STATUSES.include?(status)
78
+ ERROR_STATUSES[status]
80
79
  else
81
80
  status
82
81
  end
@@ -1,3 +1,3 @@
1
1
  module EstEID
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Pakk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-17 00:00:00.000000000 Z
11
+ date: 2018-02-19 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.5.1
111
+ rubygems_version: 2.7.3
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: A Ruby gem that assists in building authentication using Estonian ID card