zuora_connect 1.4.21 → 1.4.22
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71a5ce836f828e92873badc338c40a8ef0ac67c2
|
4
|
+
data.tar.gz: dad27add978c3f65e3b10f744995d995bf9fc7f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1248448db1bf71c3d6b02f850ef02a60bfe641eb4f21e3a79af2649ca29e49870c9a26ff92c7db93c7b2447f59a98be81d356a5ac9a39199e62f52fc6ec12736
|
7
|
+
data.tar.gz: 41be800206ac435dc6e39f385679a11bd974f8097e89f1fae66feb7932847fd5a1243c0528dd4182875a104e259a4d96efc9cd0b67c8535d51deb644307f939a
|
@@ -251,9 +251,9 @@ module ZuoraConnect
|
|
251
251
|
|
252
252
|
ActiveRecord::Base.connection.execute('UPDATE "public"."zuora_connect_app_instances" SET "catalog" = jsonb_set("catalog", \'{%s, %s}\', \'%s\') where "id" = %s' % [entity_reference, product["id"], product.to_json.gsub("'", "''"), self.id])
|
253
253
|
end
|
254
|
-
ActiveRecord::Base.logger = old_logger
|
255
254
|
end
|
256
255
|
|
256
|
+
ActiveRecord::Base.logger = old_logger
|
257
257
|
self.update_column(:catalog_updated_at, Time.now.utc)
|
258
258
|
self.touch
|
259
259
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class AddCatalogDataToAppInstance < ActiveRecord::Migration
|
2
2
|
def change
|
3
3
|
add_column :zuora_connect_app_instances, :catalog_updated_at, :datetime unless column_exists? :zuora_connect_app_instances, :catalog_updated_at
|
4
|
-
add_column :zuora_connect_app_instances, :catalog, :jsonb unless column_exists? :zuora_connect_app_instances, :catalog
|
4
|
+
add_column :zuora_connect_app_instances, :catalog, :jsonb, default: {} unless column_exists? :zuora_connect_app_instances, :catalog
|
5
5
|
end
|
6
6
|
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.
|
4
|
+
version: 1.4.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
@@ -233,6 +233,7 @@ files:
|
|
233
233
|
- db/migrate/20110413191512_add_new_api_token.rb
|
234
234
|
- db/migrate/20110503003602_add_catalog_data_to_app_instance.rb
|
235
235
|
- db/migrate/20110503003603_add_catalog_mappings_to_app_instance.rb
|
236
|
+
- db/migrate/20110503003604_catalog_default.rb
|
236
237
|
- lib/tasks/zuora_connect_tasks.rake
|
237
238
|
- lib/zuora_connect.rb
|
238
239
|
- lib/zuora_connect/configuration.rb
|