spinacz 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spinacz/client.rb +1 -1
- data/lib/spinacz/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a5aa15aa6add0b88158ce0318750cab583e2de
|
4
|
+
data.tar.gz: e9d7a218bbf39dc0f62fb6236870f8b113c054f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e478b16fb650f261eaf4d1582536c5a3879af1300df04473404a8d53ac34ffb58ba4b58dd1448bdae3ab21487a812c713919a53ea24ed7f4b709361ebd6217d
|
7
|
+
data.tar.gz: 433b6db760ce15d6af429c9e3ed9586729f7e8acd1a31a22da318d0cc4509e1b16e582b3ff02f0f5d19eb65c04fef97d093f2fddbf90e09e6d60078919aa7aed
|
data/lib/spinacz/client.rb
CHANGED
@@ -123,7 +123,7 @@ module Spinacz
|
|
123
123
|
end
|
124
124
|
|
125
125
|
unless @token.present?
|
126
|
-
authorization = call_api(:get, 'login', {email: @email, password: @password})
|
126
|
+
authorization = call_api(:get, 'login', {email: @email, password: Digest::SHA256.hexdigest(@password)})
|
127
127
|
if authorization['success'].present?
|
128
128
|
@token = authorization['success']['hash']
|
129
129
|
else
|
data/lib/spinacz/version.rb
CHANGED