glogin 0.4.1 → 0.4.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
  SHA1:
3
- metadata.gz: 3b6d42a8a87bd2c5542bf6e7e3fb5e0e536fe600
4
- data.tar.gz: 6fc0c7f81e4fe8775bf74801a4da4c39ecdd0432
3
+ metadata.gz: 2e9d7f80d2a96e538b563d09971e5fbbde9636e8
4
+ data.tar.gz: f02a763b225abe8d36241b35f737b50c3eab5318
5
5
  SHA512:
6
- metadata.gz: ffba5fb8d96cfaf2bbf18a761d171a1036a4ad93e8ab30b480b5b6b85aafe16232f8bd333e94c2537d877be52a444a238d0003127f42e6d34f14616edda13fd2
7
- data.tar.gz: 8f1ad4b624062362a95de0ebd6bd0debfa129720b6a6a3307ed9638ac9e438656dbead9b344485ec8f7cdc77a0ef37462ae03fd07513fb954ba30670114e2e40
6
+ metadata.gz: 8d0eccb1be19df6c9cf623667c02c124d002b2e504a63afc28d36244c74d5799b906697da83246990f9ad1e7efdf8820b931a99ca37c890abd135b288754ef60
7
+ data.tar.gz: 4e9a863ed1aa6703f9b03d77c2e1ae57921aaab745aca357bbe7bef41101359b22b72f5097d2d759104cb33feb7db5d5f3216990cd9b89ba7b41c5cd30ac6619
@@ -52,6 +52,7 @@ module GLogin
52
52
  decrypted << cpr.final
53
53
  salt, body = decrypted.to_s.force_encoding('UTF-8').split(' ', 2)
54
54
  raise OpenSSL::Cipher::CipherError if salt.empty?
55
+ raise OpenSSL::Cipher::CipherError if body.nil?
55
56
  body
56
57
  end
57
58
  end
@@ -24,5 +24,5 @@
24
24
  # Copyright:: Copyright (c) 2017-2018 Yegor Bugayenko
25
25
  # License:: MIT
26
26
  module GLogin
27
- VERSION = '0.4.1'.freeze
27
+ VERSION = '0.4.2'.freeze
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glogin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-18 00:00:00.000000000 Z
11
+ date: 2018-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov