identikey 0.8.1 → 0.8.2

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
2
  SHA256:
3
- metadata.gz: d67c43498ddf55203f208418268742df9af7de77fb20e1a1c3a8cc7716e4cd51
4
- data.tar.gz: 151c8fbe4fa12a81b505ec6945d727bf5085849a954608c32c6a11dcbf410138
3
+ metadata.gz: 66d43ba4ae2d3edfe361a94fe99fb85485fd90d804fd252bb03ab6d56541fc42
4
+ data.tar.gz: 723cf154216947148230acd05ba900b9ae4da15e06be73d2f2092a14034d3fbc
5
5
  SHA512:
6
- metadata.gz: 40086c267d7782f4f0e5d603ee2c61545de84af6509e6ae98e6a444cdbf26a5348a3c8d03098b64bfc3e8831c2d937580231dbe4acb2a036596b6d84bbc42b10
7
- data.tar.gz: e3307d65634d80153fbd5c102eaaf60d03adee8336bae8e51d6aa30d3fee0c9633f0fc84782fe210ccfacaf340b70559ef1f7389a383819d7f1c9cbfda436df2
6
+ metadata.gz: e6f2c933ab1c131c879555fb1d34a51159ea4ff022782b9cd65d59fff7f1569b3c7ab7584035d8388ddc9ea153751216aafef622d59731168490aa4a686b9676
7
+ data.tar.gz: ebe4c8dbef838a97f21710350c345280750ba11bb25d070946d823e5d01b1ceb4425a73d3a9ae5a6e22755743288704694f8fca6ad6b73013e9ff68d9c1f49dd
@@ -35,7 +35,7 @@ module Identikey
35
35
  if otp_validated_ok?(status, result)
36
36
  return true
37
37
  else
38
- error_message = result['CREDFLD_STATUS_MESSAGE']
38
+ error_message = result ? result['CREDFLD_STATUS_MESSAGE'] : 'no status returned'
39
39
  raise Identikey::OperationFailed.new("OTP Validation error (#{status}): #{error_message}", error_stack)
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module Identikey
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: identikey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcello Barnaba
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-18 00:00:00.000000000 Z
11
+ date: 2020-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon