zuora_connect 2.0.60o → 2.0.60p
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49954ce1a10057c773fa3dbc859cccd19e756297192ee85d276cada97c085446
|
4
|
+
data.tar.gz: bd0ce83a9631479cb2402383c5a53e104742d19fb83b951d24cdf5fe66b48bfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e341cea3b729c967af29ecfaa9bd143ef656a415487654ae59870ef75e3b719d4873975aa12fe6b845b3916d8ef1de2f63faca22c42c89280058d404c8d3b7
|
7
|
+
data.tar.gz: 22804e4a0db2285d91ef7c1da8fab9d67261ff13302b48db31f872c820d3b037425ece070a41aa3a119c1bfc7be039a78a6298ff99066b0a2fb3bbfeb6559a40
|
@@ -442,7 +442,7 @@ module ZuoraConnect
|
|
442
442
|
@zuora_user = ZuoraConnect::ZuoraUser.create!(:zuora_user_id => zuora_user_id, :zuora_identity_response => {zuora_entity_id => session["ZuoraCurrentIdentity"]})
|
443
443
|
end
|
444
444
|
@zuora_user.session = session
|
445
|
-
ZuoraConnect::ZuoraUser.
|
445
|
+
ZuoraConnect::ZuoraUser.current_user_id = zuora_user_id
|
446
446
|
session["#{@appinstance.id}::user::localUserId"] = @zuora_user.id
|
447
447
|
session["#{@appinstance.id}::user::email"] = session['ZuoraCurrentIdentity']["username"]
|
448
448
|
session["#{@appinstance.id}::user::timezone"] = session['ZuoraCurrentIdentity']["timeZone"]
|
@@ -685,7 +685,7 @@ module ZuoraConnect
|
|
685
685
|
key = ZuoraConnect.configuration.dev_mode_pass
|
686
686
|
values = {:user => user , :key => key, :appinstance => session["appInstance"]}
|
687
687
|
@appinstance = ZuoraConnect::AppInstance.find_by(:id => values[:appinstance].to_i)
|
688
|
-
ZuoraConnect::ZuoraUser.
|
688
|
+
ZuoraConnect::ZuoraUser.current_user_id = 0
|
689
689
|
if @appinstance.blank?
|
690
690
|
Apartment::Tenant.switch!("public")
|
691
691
|
begin
|
@@ -9,7 +9,7 @@ module ZuoraConnect
|
|
9
9
|
module ClassMethods
|
10
10
|
def zuora_audit
|
11
11
|
include ZuoraConnect::ZuoraAudit::ZuoraAuditInstanceMethods
|
12
|
-
|
12
|
+
before_create :set_created_by_id
|
13
13
|
before_update :set_updated_by_id
|
14
14
|
end
|
15
15
|
end
|
@@ -24,7 +24,7 @@ module ZuoraConnect
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def current_user_id
|
27
|
-
return ZuoraConnect::ZuoraUser.
|
27
|
+
return ZuoraConnect::ZuoraUser.current_user_id
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.60p
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|