zuora_connect 1.4.9 → 1.4.10

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
  SHA1:
3
- metadata.gz: d7678bfcc2f33c91cfbab0a0fc7d5166556951b6
4
- data.tar.gz: 274570d12af9e5060ecd113f7c3653ffb986f0b7
3
+ metadata.gz: 9ca4fb6f7069ee5f2e8f50f1533d82ec34dfaebb
4
+ data.tar.gz: e28cee704c14817e36098c3de7dc0263577fa442
5
5
  SHA512:
6
- metadata.gz: 0b1240b7bf2f30b3160de9323a7c19e7d0a7dff6bfc207d6338ad52ea965783140135cc7e61743be7606fa8d01268da3901c4030d366cded48c652306f09feb1
7
- data.tar.gz: 6892a573c4e855c29871d2113e911d6529d153ca9fe11055279126a32bcbca5222cf607c25d9201d4929a2efdf63e733d52f4b20476711db11e0964fb4f48c23
6
+ metadata.gz: 003c4ed3b50922af062dffb118c8bab2d0ddc4c8123e85b651a042be739445d42c33461e7bd014ac55b198d1ac7d659a205f8a8b1f8f976ef0dc46f3db35ed8b
7
+ data.tar.gz: 3f0d45d18c3523c1a49ce27c57ad4aeee7bf0c3f952a08ed544ca339a449cab1a54de9ff60616dc7bfe47cf18db1df6088cf7f843018ba3eb736f2b62ba6a213
@@ -65,7 +65,7 @@ module ZuoraConnect
65
65
  end
66
66
  when :rateplan
67
67
  if object_id.blank?
68
- stub_catalog = JSON.parse(ActiveRecord::Base.connection.execute('SELECT json_object_agg(rateplan_id, rateplan) as "charges" FROM "public"."zuora_connect_app_instances", jsonb_each(("public"."zuora_connect_app_instances"."catalog" #> \'{%s}\' )) AS e(product_id, product), jsonb_each(product #> \'{productRatePlans}\') AS ee(rateplan_id, rateplan) WHERE "id" = %s' % [entity_reference, self.id]).first["item"] || "{}")
68
+ stub_catalog = JSON.parse(ActiveRecord::Base.connection.execute('SELECT json_object_agg(rateplan_id, rateplan) AS item FROM "public"."zuora_connect_app_instances", jsonb_each(("public"."zuora_connect_app_instances"."catalog" #> \'{%s}\' )) AS e(product_id, product), jsonb_each(product #> \'{productRatePlans}\') AS ee(rateplan_id, rateplan) WHERE "id" = %s' % [entity_reference, self.id]).first["item"] || "{}")
69
69
  else
70
70
  stub_catalog = JSON.parse(ActiveRecord::Base.connection.execute('SELECT catalog #> \'{%s, %s, productRatePlans, %s}\' AS item FROM "public"."zuora_connect_app_instances" WHERE "id" = %s' % [entity_reference, object_hierarchy['productId'], object_id, self.id]).first["item"] || "{}")
71
71
  end
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.4.9"
2
+ VERSION = "1.4.10"
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: 1.4.9
4
+ version: 1.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team