jj-middleware 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jj/middleware/onboarding.rb +2 -1
- data/lib/jj/middleware.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13164620c9d5090bb692f4507916f22eb567e849
|
4
|
+
data.tar.gz: e27d83d35b34f1005df07cac0fae48e7579f8240
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ac985c037d8d0aa84418cd04e3e576207aa91f31f07903ba46cb13db7aac9b9f4ecfcab53f379461aa9c33e536e4587a3e3d52ab3ff5083bc38dcbd0b86b88
|
7
|
+
data.tar.gz: c1ec3bbe3ef18df24f7b4cb7bde497478fcc23a339675d262ec46264e8c48bc44b03cc742bbc78560f12d03e6c4d2b0a96d60f18b7e6bb3304ce28859506b536
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require "jj/middleware/base"
|
2
2
|
require "jj/middleware/session"
|
3
3
|
require "wes/data/api/creator_user"
|
4
|
+
require "securerandom"
|
4
5
|
|
5
6
|
module JJ
|
6
7
|
module Middleware
|
@@ -32,7 +33,7 @@ module JJ
|
|
32
33
|
|
33
34
|
def create_user!(user_id)
|
34
35
|
log.info("[JJ::Onboarding] Created user record.")
|
35
|
-
Wes::Data::API::CreatorUser.create(:auth0_id => user_id)
|
36
|
+
Wes::Data::API::CreatorUser.create(:auth0_id => user_id, :guid => SecureRandom.uuid)
|
36
37
|
end
|
37
38
|
|
38
39
|
def user_exist?(user)
|
data/lib/jj/middleware.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jj-middleware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.5.
|
145
|
+
rubygems_version: 2.5.2
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: ''
|