infinum_id 2.0.0 → 2.0.1

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: 7890955304e9d46d659e4912ed2a0db17215059091d6841f48b182a966a52b7b
4
- data.tar.gz: 8599516a3f14cfa1d9df62572842167884219ce3ac10f514757d271b66fe6b38
3
+ metadata.gz: a04c8154a42dd806fd436f2a96ed394668cd0e86a11587ba082f21059bccf1f9
4
+ data.tar.gz: 710c6ac9d1a18b85f456435c97b0241982dca6a226fbdbaeec5ee34bb196f7de
5
5
  SHA512:
6
- metadata.gz: 99287be6aafcbf0c0e600dbfb7bdd5fed5b37ca9eb1bb5b3f26b0ab60bb0c51dddc079f4366ab30780a1851f3d82837be702325b92ce129981de5a5d775b62c9
7
- data.tar.gz: 6b0def3b8d25f851aa46b89c15a90723e9c334926e41c542489e50f7ddbb6be5dc8fee00dd06feebee18151acd87505ee0cdb6ea1ea1fa2227305b89688ea48e
6
+ metadata.gz: 6ab1b17489362b7172089293b8b1ad1513279579de21dc257fe3a1945ad7f168a2a4a18b4eb6f227f1531f64547cef4a9ec14e682d5d0ca07a44967bfd2b5b30
7
+ data.tar.gz: 21fe760b5972429b0835451f09d3e205d496ddc0aa8859d4445041d021076be3825db0d84937318a9d08e6c41b445a4c6cc10255a20efcb8b959f994e6c1dd14
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- infinum_id (2.0.0)
4
+ infinum_id (2.0.1)
5
5
  blueprinter
6
6
  bundler
7
7
  devise
@@ -12,7 +12,9 @@ module InfinumId
12
12
  private
13
13
 
14
14
  def user_params
15
- params.require(:user).permit(InfinumId.resource_attributes)
15
+ params.require(:user)
16
+ .permit(InfinumId.resource_attributes)
17
+ .merge(provider: params[:provider])
16
18
  end
17
19
 
18
20
  def resource
@@ -26,7 +28,7 @@ module InfinumId
26
28
  resource.update(user_params)
27
29
  [InfinumId::AfterResourceIntent::UPDATE, resource]
28
30
  else
29
- @resource = resource_class.create(user_params.merge(provider: params[:provider]))
31
+ @resource = resource_class.create(user_params)
30
32
 
31
33
  [InfinumId::AfterResourceIntent::CREATE, resource]
32
34
  end
@@ -1,3 +1,3 @@
1
1
  module InfinumId
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infinum_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dajana Jeroncic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-18 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler