canvas_sync 0.27.15 → 0.27.16

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: 5b9df64b18232b05db0d002ff124845da7e8b5b04e712024047122e5ee3d228d
4
- data.tar.gz: 9537a34a09178f945eca6342159b005491c38fb52848ebd1c095358a57718354
3
+ metadata.gz: 9b2ad7afc8011aa4e9a93379d8cf7bcf44560cecf2493f3e451f91fb99e4a880
4
+ data.tar.gz: cb39f5b28c931f1ae65bf3b40da7b7a37513925c58a905ad687b945758b91131
5
5
  SHA512:
6
- metadata.gz: '0647553723168ca27615daff30aa6a3ed746e68c11d559e51db31e6710a665572668765431ffcfe01f3db7807d2dd938be80f33987c47cd852477435264519a0'
7
- data.tar.gz: 57031d7dd3884bbdf2f8c8af966e9ccdeb257011537aee39ba23ab261c3dee38b2dc32f69957b1d3d4d2b294d1fa0da88ff6736118091917b7b017830c9dfb1d
6
+ metadata.gz: d8187ffcaf88c5f1fa51e2be9a45d00ed4c309d223bf0eca920e034ffc75cc14c2192a641796270820832f33f42b732941074733cced2ff96ac4d1b66cbae4ce
7
+ data.tar.gz: 2960e3651939852aea955ac5c40795cd28814e9da7828b4ef65b2d18e8005fed32dd298ffbfeb01b496deae7a0134a6cae64d95e940d4dc15d86c78659d12442
@@ -9,7 +9,7 @@ module CanvasSync
9
9
  # will be started for each term in that scope. :models should be an array of
10
10
  # models to sync.
11
11
  def perform(options)
12
- CanvasSync.get_canvas_sync_client(batch_context).terms("self", workflow_state: ['all']).all_pages!.each do |term_params|
12
+ CanvasSync.get_canvas_sync_client(batch_context).terms("self", workflow_state: ['all']).all_pages_each(100) do |term_params|
13
13
  if account_id = batch_context[:account_id]
14
14
  # These branches are primarily to support Legacy apps
15
15
  if Term.respond_to?(:create_or_update) && Term.method(:create_or_update).arity.abs == 2
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.27.15".freeze
2
+ VERSION = "0.27.16".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.15
4
+ version: 0.27.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev