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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e3f1d3cc512e49d9dd6abdbfdb82d0452b755c8
4
- data.tar.gz: c5bf26561f2ddb587ad71e27179be141344e2c9c
3
+ metadata.gz: 13164620c9d5090bb692f4507916f22eb567e849
4
+ data.tar.gz: e27d83d35b34f1005df07cac0fae48e7579f8240
5
5
  SHA512:
6
- metadata.gz: c7742c8d698cba5a1fc65a65328c262c6a92aa8af96c14ef6b6b259036d8c6167c036919c15c5b5cc115013122a4ecf7482a878cf7cb719da3d13586c793ba72
7
- data.tar.gz: 35ceb3540f33f49992672ada7858f4a24898658880eebc5e28dacf1f55f363a1b103afc05af6518870f8d786780e886d54674238c76e3c243dd5d417e2a9c503
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
@@ -1,5 +1,5 @@
1
1
  module JJ
2
2
  module Middleware
3
- VERSION = '4.2.0'.freeze
3
+ VERSION = '4.3.0'.freeze
4
4
  end
5
5
  end
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.2.0
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: 2017-03-24 00:00:00.000000000 Z
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.1
145
+ rubygems_version: 2.5.2
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: ''