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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2001587e84a34afc25294202801b8e85f2b739fe
4
- data.tar.gz: 1c09302f12545d8e71771241ca0270ecb2253b4e
3
+ metadata.gz: b4a5aa15aa6add0b88158ce0318750cab583e2de
4
+ data.tar.gz: e9d7a218bbf39dc0f62fb6236870f8b113c054f5
5
5
  SHA512:
6
- metadata.gz: 8a1ac16101a93725ef2a4833c2499be5eab34f05d31f0d6af17a513424d4b3a0aae11ab1ec3c1380b9fcf219ebdb30ea0ab6aea8c20bf1fa01bbfe560b6fe1b3
7
- data.tar.gz: 04a21f020c829c70b8c584179665038e4e3c386522c8de59bed579d436797669a598cfbecd401ef03aaa58b5f81493fd55ebe6d87ee89bd376019602aef72815
6
+ metadata.gz: 5e478b16fb650f261eaf4d1582536c5a3879af1300df04473404a8d53ac34ffb58ba4b58dd1448bdae3ab21487a812c713919a53ea24ed7f4b709361ebd6217d
7
+ data.tar.gz: 433b6db760ce15d6af429c9e3ed9586729f7e8acd1a31a22da318d0cc4509e1b16e582b3ff02f0f5d19eb65c04fef97d093f2fddbf90e09e6d60078919aa7aed
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Spinacz
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spinacz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Jan Adamczyk