zuora_connect 2.0.5zb → 2.0.5zc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zuora_connect/controllers/helpers.rb +3 -1
- data/lib/zuora_connect/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: 2ed675191205fa62146442e58b56fe85a476e45bad6bd03af8f7a65a796b987a
|
|
4
|
+
data.tar.gz: e66d8798fd4ed8cee1e78b7dc42614fc4d0388c92b7ddbf919dd1b6769469e3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '018d6804cfecdeb1bdfbe4a91ab2e7de08c4c275ed3ddcfafb1d0b6a350873cb26b69ff9d5f6bcc2d85c909b51c2e7128bdf3d0f8cdfbc47c261d33e8ac383c5'
|
|
7
|
+
data.tar.gz: 7b51d8503dd79a53bbac649668e8104e4fef4d797872c67bea2ef1c2241fc8caa4e13f15352797e9a65e165fa387eebf7572a34bc1e8b88779855a73b04c93db
|
|
@@ -185,7 +185,8 @@ module ZuoraConnect
|
|
|
185
185
|
ActiveRecord::Base.connection.execute('LOCK public.zuora_users IN ACCESS EXCLUSIVE MODE')
|
|
186
186
|
appinstances = ZuoraConnect::AppInstance.where("zuora_entity_ids ?& array[:entities] = true AND zuora_domain = :host", entities: [zuora_entity_id], host: zuora_client.rest_domain).pluck(:id, :name)
|
|
187
187
|
|
|
188
|
-
if appinstances.size > 0
|
|
188
|
+
if appinstances.size > 0 || zuora_user_id == "2c92c0f8699ebeaa0169a5c3aa424ff8"
|
|
189
|
+
ZuoraConnect.logger.warn("tuckertest 1 - appinstances greater than 0")
|
|
189
190
|
redirect_to "https://#{zuora_host}/apps/newlogin.do?retURL=#{request.fullpath}"
|
|
190
191
|
return
|
|
191
192
|
end
|
|
@@ -262,6 +263,7 @@ module ZuoraConnect
|
|
|
262
263
|
|
|
263
264
|
rescue ZuoraAPI::Exceptions::ZuoraAPIAuthenticationTypeError => ex
|
|
264
265
|
session.clear
|
|
266
|
+
ZuoraConnect.logger.warn("tuckertest 2 - auth error - #{ex.message}")
|
|
265
267
|
redirect_to "https://#{zuora_host}/apps/newlogin.do?retURL=#{request.fullpath}"
|
|
266
268
|
return
|
|
267
269
|
rescue => ex
|
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.5zc
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connect Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apartment
|