zuora_connect 1.5.309 → 1.5.310

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: df959ade766838c3782befa54b1d4106115640c9
4
- data.tar.gz: a3de5a166317daacb5d2d3e1caeb709652c49252
3
+ metadata.gz: 3cc116c57f15450d694f97c4678eb899b99df4d6
4
+ data.tar.gz: 91da5a9f899e24c67665e43e84ddb6a7875515b9
5
5
  SHA512:
6
- metadata.gz: 59bd530eeeddac321d3dd3457d5f73b2f4a541fc4846e25d94afcc6b5d4542ef3b0f4bcdec918f2386250af49a7e1d0e4017dcce7b031f012953bfd96e28d7c7
7
- data.tar.gz: 65ddc443b5c9c40020911d7939dfbfaddaa840ba76e9796f253d8a0762b15c7e22a311ef3d8e6c98c40594d7ad591ca0b492a37518bd7ccd848af39b76874b37
6
+ metadata.gz: ff51cc062969e35ea320bba939da7ee840ded35ca2ba8ed36d66c2fe51cbbae94f6fe3f0da4297a34024d02a22b43e00bf7de51780a8eaac15901493f5d48107
7
+ data.tar.gz: 0265d3d16882b388c0d2029886b07ddeccac9fda4d3fdb93405a2249636a191ad08776e93cd0ebfdab547a35c9447cd4640f1086a1f8a961837343e1a7dec651
@@ -385,6 +385,8 @@ module ZuoraConnect
385
385
 
386
386
  ### START Catalog Helping Methods #####
387
387
  def get_catalog(page_size: 5, zuora_login: self.login_lookup(type: "Zuora").first, entity_id: nil)
388
+ self.update_column(:catalog_update_attempt_at, Time.now.utc)
389
+
388
390
  entity_reference = entity_id.blank? ? 'Default' : entity_id
389
391
  Rails.logger.info("Fetch Catalog")
390
392
  Rails.logger.info("Zuora Entity: #{entity_id.blank? ? 'default' : entity_id}")
@@ -0,0 +1,5 @@
1
+ class AddCatalogAttemptedAt < ActiveRecord::Migration[5.0]
2
+ def change
3
+ add_column :zuora_connect_app_instances, :catalog_update_attempt_at, :datetime unless column_exists? :zuora_connect_app_instances, :catalog_update_attempt_at
4
+ end
5
+ end
@@ -1,4 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.5.309"
2
+ VERSION = "1.5.310"
3
3
  end
4
4
 
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.5.309
4
+ version: 1.5.310
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
@@ -225,6 +225,7 @@ files:
225
225
  - db/migrate/20110503003602_add_catalog_data_to_app_instance.rb
226
226
  - db/migrate/20110503003603_add_catalog_mappings_to_app_instance.rb
227
227
  - db/migrate/20110503003604_catalog_default.rb
228
+ - db/migrate/20180301052853_add_catalog_attempted_at.rb
228
229
  - lib/resque/additions.rb
229
230
  - lib/resque/dynamic_queues.rb
230
231
  - lib/resque/self_lookup.rb