zuora_connect 2.0.57d → 2.0.57e

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: 6cf26dfae5bc317bcd202e4e84ff79fd3bc7a456d3117b28eaa755b6487505d1
4
- data.tar.gz: 6d742a3a9acf27efdd86804245ee9e192dd6d464ef8e6fbec7c283cf16bfd139
3
+ metadata.gz: 9b2e138a9e6f9b4a52f7137f75f1e5b42ea0ec86d3b171200c8c1f72f420e354
4
+ data.tar.gz: 1a3623a3c7642fd58874073a40df968ca2cf873d57e37ce1b6cc73b4578a7a92
5
5
  SHA512:
6
- metadata.gz: 8204fd396497aebd6e8cadf6b514aa98b8a5244fa1a86765c4dd10f11a3bb5da7288da0e8f00e10ace9a2340059dbc11fe7dcc8804db535ba838cb86c633a6fd
7
- data.tar.gz: b36c29286335269cf716de4b22a739c64b742b03548ace20258c0fdae576a1e72f0090c53481de93ade551d7dcfc5b2679736452b51292c8e8579e01628fe2f5
6
+ metadata.gz: 24c23ef88ab8eedae5a9f2f3a6dfd5f7e7156f9bbac0e1d8c17e6194ad88b28c0bdbb3ac6e7d6d4ff8a5000b8a0296bd122190c6e6e300b85597e4be9f0283c9
7
+ data.tar.gz: 13dfee8116281ea45195120f9ede4e7317eb80b6fe138e912207c5ab6106f931516e251c95dc470efcc1d30dc46863216c5bb8d4124d03ad74b145ce09f67884
@@ -48,7 +48,7 @@ module ZuoraConnect
48
48
  render json: {"status": 401, "message": "Missing mapping or no deployment for '#{zuora_host}-#{zuora_entity_id}' ."}, status: :unauthorized
49
49
  return
50
50
  elsif appinstances.size > 1
51
- render json: {"status": 401, "message": "More than one app instance binded to host and entity ids. Please indicate correct instance via 'zuora-instance-id' header"}, status: :unauthorized
51
+ render json: {"status": 401, "message": "More than one app instance binded to host and entity ids. Please indicate correct instance via 'zuora-instance-id' header", "instances": appinstances.map {|instance| instance.id } }, status: :unauthorized
52
52
  return
53
53
  else
54
54
  @appinstance = appinstances.first
@@ -472,6 +472,8 @@ module ZuoraConnect
472
472
  ZuoraConnect.logger.warn("UI Authorization Error", ex, zuora: zuora_details.merge({:error => response.body}))
473
473
  elsif final_error != "INVALID_SESSION"
474
474
  ZuoraConnect.logger.warn("UI Authorization Error", ex, zuora: zuora_details.merge({:error => final_error}))
475
+ else
476
+ ZuoraConnect.logger.info("UI Authorization Error", ex, zuora: zuora_details.merge({:error => final_error}))
475
477
  end
476
478
  redirect_to "https://#{zuora_host}/apps/newlogin.do?retURL=#{request.fullpath}"
477
479
  return
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "2.0.57d"
2
+ VERSION = "2.0.57e"
3
3
  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.57d
4
+ version: 2.0.57e
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-04-21 00:00:00.000000000 Z
11
+ date: 2020-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apartment