lol_auth 0.1.3 → 0.1.4

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: f94661f8476c7b841d984d062c4acd98ba3821d4
4
- data.tar.gz: 864c2b0501d2c758478910849c736b40779986a1
3
+ metadata.gz: 67ccfcb616877a90660e940b32a8f435fad3bf93
4
+ data.tar.gz: fb19035525563a9a941e2e408e14fc3aea443e1d
5
5
  SHA512:
6
- metadata.gz: 3bc1253c584ab4015032f833552fee521acf8380e8a67de6bb40f322fdc826ac32a79f21ded1dfb0524307a48b663072533dd7d5489ccc4afa24da19ad297b5f
7
- data.tar.gz: 197de93870383adf9413a7251a9cea442e531d6d8537d3ed19e1b2e938c83ac00e4d4aabd3b95a1f477e8c6d183d29776248d79478b58d67bc77c08437b9662b
6
+ metadata.gz: 64295ddb39cc9ca1b16632eaf3ca5bf32cebcbb418c99d68548d3590bb68fee6173388329471e9a735e778ec077fcec369653fa62466281c46e66395242d5609
7
+ data.tar.gz: ffa0f77771c766ee36165a9db73fa02fb2ba6c0236a8f9601f9fcb75a1c4d8db7668bf2e368f39fe3299bf00f695979071b3cbf7f79cd9a08e8bae66731c7256
@@ -3,6 +3,6 @@ module LolAuth
3
3
  include DeviseTokenAuth::Concerns::SetUserByToken
4
4
  protect_from_forgery with: :null_session
5
5
 
6
- before_action :authenticate_user!
6
+ before_action :authenticate_api_v1_user!
7
7
  end
8
8
  end
@@ -2,6 +2,8 @@ require_dependency "lol_auth/application_controller"
2
2
 
3
3
  module LolAuth
4
4
  class UsersController < ApplicationController
5
+ skip_before_action :authenticate_api_v1_user!, only: [:facebook_signin]
6
+
5
7
  def facebook_signin
6
8
  @manager = Facebook::Login.new()
7
9
 
@@ -1,3 +1,3 @@
1
1
  module LolAuth
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Zaghi