glogin 0.5.0 → 0.5.1

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: 93a88ed241cce1fdcf74a5859047c843099d10bb1b7b3c07e8e9600d44669ac4
4
- data.tar.gz: 462667452da75d4b13f29d11090bb2983f40291d0c804490152204e5d881a777
3
+ metadata.gz: a5cea77d58ede219ba077e49630a46bb098be2ddc118ee877d6f4546abdf34e8
4
+ data.tar.gz: 655bd2fc1ef553c2ade646ab881faa8b681fe9c3357bf28bf015cb61d936201f
5
5
  SHA512:
6
- metadata.gz: 9ebdfe1dcab9305b49a9d91629dd9b1e92eb632bf6996f28f42ffd2125768183528f4b32c6114def32af57d59df6193f3daaaa652cc27ae8cf027e0105f44de3
7
- data.tar.gz: 58b69076f5871372da3dd91ff9b6225283152746a2d66b283542dbcd7384e879b153bb38e95f1a1491aec5aafbef502e59c8501dffe5fd93c2e4a406165cbd2b
6
+ metadata.gz: eeb4672fe51e49f717fdfae2b4f7edec1fd5fb3a95a3db53e06a57a8fa6650aa25a4f0f4772168c0a76703a52c5ec5e5ae7f078ccbc185b54755daa4ee997dca
7
+ data.tar.gz: 3c81ba17842a04dd9f8c45e46fb795c6dac8b6e3375ef797f77d7c8db4b7eb76eb777a0fc46af73c3cd0a07f4ea10259d1a5fe4c62ae9309d534ee71dfd9f261
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.2
3
+ - 2.6.0
4
4
  cache: bundler
5
5
  branches:
6
6
  only:
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![Managed by Zerocracy](https://www.0crat.com/badge/C3RFVLU72.svg)](https://www.0crat.com/p/C3RFVLU72)
2
2
  [![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/glogin)](http://www.rultor.com/p/yegor256/glogin)
3
- [![We recommend RubyMine](http://img.teamed.io/rubymine-recommend.svg)](https://www.jetbrains.com/ruby/)
3
+ [![We recommend RubyMine](http://www.elegantobjects.org/rubymine.svg)](https://www.jetbrains.com/ruby/)
4
4
 
5
5
  [![Build Status](https://travis-ci.org/yegor256/glogin.svg)](https://travis-ci.org/yegor256/glogin)
6
6
  [![PDD status](http://www.0pdd.com/svg?name=yegor256/glogin)](http://www.0pdd.com/p?name=yegor256/glogin)
@@ -53,9 +53,9 @@ module GLogin
53
53
  decrypted = cpr.update(plain)
54
54
  decrypted << cpr.final
55
55
  salt, body = decrypted.to_s.split(' ', 2)
56
- body.force_encoding('UTF-8')
57
56
  raise OpenSSL::Cipher::CipherError if salt.empty?
58
57
  raise OpenSSL::Cipher::CipherError if body.nil?
58
+ body.force_encoding('UTF-8')
59
59
  body
60
60
  end
61
61
  end
@@ -26,5 +26,5 @@
26
26
  # Copyright:: Copyright (c) 2017-2019 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  module GLogin
29
- VERSION = '0.5.0'
29
+ VERSION = '0.5.1'
30
30
  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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-04 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov