lol_auth 0.1.14 → 0.1.15

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: 45aa54b05630d2dcf79c56561d7833e1485dd812120f57c22f2d580ce2bc99b2
4
- data.tar.gz: ff1dc1715881bbb524ebca3e6ee68e8dd4098041a28e9f3d62da04be813a501c
3
+ metadata.gz: 48dde8ab2d6b0f36f26fb1c6b648e49bae961c2b47ae71f9e27f638f86263bcf
4
+ data.tar.gz: d56f2a8d10bb40d25d0eb6ec08eb867058fc80a390ac0ecaf8146b267f465588
5
5
  SHA512:
6
- metadata.gz: fc4196a1494b308e3507ce5c164252fac8a6d5dfe1230284019997ac6f85980d2d702766ab9da7170cbf849abf6c0dc2b427b5f71f707fcb12a74aa6c5de6498
7
- data.tar.gz: 3c1786f5abc253d6ef28ff8b984f248b113c5fa82932d0b4bc30e82a1f587ae1b09d5a4c18ea5b146d30490485385fdecd0d4ad69b64b4dc2b9df55c38440456
6
+ metadata.gz: 68a848dc30c89b3e8875e44a5204793201232db3b03f692293492cdbd83c978a23247e2953d26a9e128e18fa848dafc89b067a3b844d4748b8a5a28cc2f151b1
7
+ data.tar.gz: f08f020d1d9853ad0133a9ee69cb110f5d67416f9e5b8bffd37c6a971ff9da0e074c96dd1dbe2666f6cec3ea921b6b8ecd5051e38281c51a7703a41434fd4ed9
@@ -9,12 +9,12 @@ module Facebook
9
9
  end
10
10
 
11
11
  def login_with_token(token)
12
- return false if @user_type.constantize.where(email: @info['email']).where.not(provider: :facebook).count > 0
13
-
14
12
  @graph = Koala::Facebook::API.new(token)
15
13
 
16
14
  get_info()
17
15
 
16
+ return false if @user_type.constantize.where(email: @info['email']).where.not(provider: :facebook).count > 0
17
+
18
18
  sign_in(@info['id'])
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module LolAuth
2
- VERSION = '0.1.14'
2
+ VERSION = '0.1.15'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lol_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Zaghi