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 +4 -4
- data/.travis.yml +1 -1
- data/README.md +1 -1
- data/lib/glogin/codec.rb +1 -1
- data/lib/glogin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5cea77d58ede219ba077e49630a46bb098be2ddc118ee877d6f4546abdf34e8
|
4
|
+
data.tar.gz: 655bd2fc1ef553c2ade646ab881faa8b681fe9c3357bf28bf015cb61d936201f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb4672fe51e49f717fdfae2b4f7edec1fd5fb3a95a3db53e06a57a8fa6650aa25a4f0f4772168c0a76703a52c5ec5e5ae7f078ccbc185b54755daa4ee997dca
|
7
|
+
data.tar.gz: 3c81ba17842a04dd9f8c45e46fb795c6dac8b6e3375ef797f77d7c8db4b7eb76eb777a0fc46af73c3cd0a07f4ea10259d1a5fe4c62ae9309d534ee71dfd9f261
|
data/.travis.yml
CHANGED
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://
|
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)
|
data/lib/glogin/codec.rb
CHANGED
@@ -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
|
data/lib/glogin/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|