api_user_auth 0.1.7 → 0.1.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
  SHA256:
3
- metadata.gz: 2d5967bcf7944e5b46316930ae42cb248ae17d02d9404e19365548c78ad18a08
4
- data.tar.gz: e55c4097fe0c3f361ff5f7c64c42cc3eace47d2da619f28670562f5f91358699
3
+ metadata.gz: 919fe87dc523bd87a139719d455c6b56fdcf683297da6cbef1a5002df04caf02
4
+ data.tar.gz: 549d2a220f4ffdea89fbb4736a0ee7ebc517a835087fb5dab1d0fc5fe97586e5
5
5
  SHA512:
6
- metadata.gz: bebea8b44dbb73d668d48e4e2358626fa8ca12661acaad36bdfb3aacc91de50240eedd213168d10e3dc9f276254ea6dd076150bb215246a370ccdd48d94bc7cb
7
- data.tar.gz: d683b815c74cb6fc23e3c930f4db5459df2011b2eb2e1e63669fef4835c1d44593d18fe64fae1d23036cbe99c9a792d607d4d4d912a107ccbca0ee13f6a9237d
6
+ metadata.gz: 157d379f9b10e3280a3219c8b88c20e5196b02f8083b63f5646ab6fc2c45e1b186599eb7bfdd68380ee92abadc07292707bb91aa23c2cfc7ee4f6c14a413506b
7
+ data.tar.gz: 5381d7f70e4bedf673c45072f3955b196c1a90d7bd56f21e6213accbdf90cbf36dfc72253543c13a8546e661f7a3b07c8a614f6afd6c5a5aee5ff3037593383e
@@ -97,6 +97,7 @@ module ApiUserAuth
97
97
 
98
98
  if provider_token.blank?
99
99
  auth_user = AuthUser.find_or_initialize_by(email: provider_data[:email])
100
+ ProviderToken.create_by_data(provider_data, auth_user)
100
101
  auth_user.encrypted_password = params[:token]
101
102
  auth_user.generate_token
102
103
  auth_user.is_new = auth_user.new_record?
@@ -1,3 +1,3 @@
1
1
  module ApiUserAuth
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_user_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex M