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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/infinum_id/api/webhooks_controller.rb +4 -2
- data/lib/infinum_id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a04c8154a42dd806fd436f2a96ed394668cd0e86a11587ba082f21059bccf1f9
|
4
|
+
data.tar.gz: 710c6ac9d1a18b85f456435c97b0241982dca6a226fbdbaeec5ee34bb196f7de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ab1b17489362b7172089293b8b1ad1513279579de21dc257fe3a1945ad7f168a2a4a18b4eb6f227f1531f64547cef4a9ec14e682d5d0ca07a44967bfd2b5b30
|
7
|
+
data.tar.gz: 21fe760b5972429b0835451f09d3e205d496ddc0aa8859d4445041d021076be3825db0d84937318a9d08e6c41b445a4c6cc10255a20efcb8b959f994e6c1dd14
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,9 @@ module InfinumId
|
|
12
12
|
private
|
13
13
|
|
14
14
|
def user_params
|
15
|
-
params.require(:user)
|
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
|
31
|
+
@resource = resource_class.create(user_params)
|
30
32
|
|
31
33
|
[InfinumId::AfterResourceIntent::CREATE, resource]
|
32
34
|
end
|
data/lib/infinum_id/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|