spinacz 0.0.6 → 0.0.7

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: 439afa41a814152f9659815e93aaa929f7e1ecea
4
- data.tar.gz: 0b6a1c82108c98915d15df69ad0adc5f0bdbc31a
3
+ metadata.gz: 2001587e84a34afc25294202801b8e85f2b739fe
4
+ data.tar.gz: 1c09302f12545d8e71771241ca0270ecb2253b4e
5
5
  SHA512:
6
- metadata.gz: 6d740d3acf2d99b58a6d7824ca74fc7b53a57ce84d2b0c4c3ffc830c24c44304f59bd78fd78ccdb9871ba69f1b3e59ec1fbc0ad148d80c3836b90b7ad4fc20bf
7
- data.tar.gz: c2ada1f0ad87c427fe932096b20b7989761c0979b49ff45ccae159876c2d986b51825ed439830cc5cec5b92935339494abead55a0306113974cba3b2a4845559
6
+ metadata.gz: 8a1ac16101a93725ef2a4833c2499be5eab34f05d31f0d6af17a513424d4b3a0aae11ab1ec3c1380b9fcf219ebdb30ea0ab6aea8c20bf1fa01bbfe560b6fe1b3
7
+ data.tar.gz: 04a21f020c829c70b8c584179665038e4e3c386522c8de59bed579d436797669a598cfbecd401ef03aaa58b5f81493fd55ebe6d87ee89bd376019602aef72815
@@ -123,7 +123,7 @@ module Spinacz
123
123
  end
124
124
 
125
125
  unless @token.present?
126
- authorization = login
126
+ authorization = call_api(:get, 'login', {email: @email, password: @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.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spinacz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Jan Adamczyk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-01 00:00:00.000000000 Z
11
+ date: 2015-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails