zuora_connect 2.0.12 → 2.0.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a05037d88871d671bcb1d4093fc2dc729ebd7ffac6e63b3c6479fa40fe98a55
4
- data.tar.gz: 20969c6650994e99025f0dec1180471d4b020b34b808eef2f1ad9d73fead1555
3
+ metadata.gz: 07e73fb957129c6479da05fae7c9ceb1a06139417161a7d0c94fae98ca0fd879
4
+ data.tar.gz: 8c72f13fe929201167cf9d1a00c4cbd1b7c0c43e5b0a08b4227949a0a7b3399e
5
5
  SHA512:
6
- metadata.gz: 92e22feed7b07c712bdf1f0970d8f21f40821fbec85512b0122639143c8ae4d91fe9b12df96871aad33b898dc818f776f0853019f1eedcf61f11810f894a0e00
7
- data.tar.gz: 6d5c431862e70f7e0176c6a945095d2860833edb171e934e6b0404097331863aadff3e2c822d11a445477a8a99476de5b27374db7c79c7b0b362b1f8a4ffafba
6
+ metadata.gz: 7d32ac57e48100fcac10b05f2f0e29c3fe838fd42bc816f80e45957a665a7f91b4dec70db192db1de29ef3f6abaa06983d684e73660866c31ef2df5af61b125c
7
+ data.tar.gz: 20331fef52bd4544169489b6e147229b0be4cb509801ff6198bf170b7a7b2e3fb2e7c535b17eea6f49895ec8d98fb691c4bc81793864a372c9109735f8b9cb94
@@ -215,9 +215,11 @@ module ZuoraConnect
215
215
  :zuora_entity_ids => (self.task_data.dig(LOGIN_TENANT_DESTINATION,'entities') || []).map{|e| e['id']},
216
216
  :zuora_tenant_ids => tenants.map(&:to_s),
217
217
  }
218
- zuora_domain = self.send(LOGIN_TENANT_DESTINATION).client.rest_domain
219
- ZuoraConnect::RequestIdMiddleware.zuora_rest_domain = zuora_domain
220
- params.merge!({:zuora_domain => zuora_domain }) if self.methods.include?(LOGIN_TENANT_DESTINATION.to_sym)
218
+ if self.methods.include?(LOGIN_TENANT_DESTINATION.to_sym)
219
+ zuora_domain = self.send(LOGIN_TENANT_DESTINATION).client.rest_domain
220
+ ZuoraConnect::RequestIdMiddleware.zuora_rest_domain = zuora_domain
221
+ params.merge!({:zuora_domain => zuora_domain })
222
+ end
221
223
  params = params.reject{|k,v| !self.attributes.keys.member?(k.to_s) || self[k] == v}
222
224
  self.update_columns(params) if params.present?
223
225
  end
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "2.0.12"
2
+ VERSION = "2.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team