canvas_sync 0.19.0.beta1 → 0.19.0.beta2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc839ab64ec8076616ca77afa2d66f727ed48e0a1ee6ffd10b8a843f32444c03
|
|
4
|
+
data.tar.gz: 2f2706695832f1c0ca6a11708695cba06019947109d3a4cb4e2af4dc4748b488
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba8d9abc64bd0df6fa2eb59c018ce265f85625fbbe5b83a82b53def9c0e731a6863a425e52bfac0c36dd435d91d1ec067a4a25ed199dd2302261f2a185fb1e14
|
|
7
|
+
data.tar.gz: 16935770f2023e2e6892a5f3fe1fd05473855a9fb45d459d87b382f618500200fdaf9578457904388c0e074a7ab26acd977f0c7f6ea8a518f74b6d78d810aa37
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module CanvasSync::Concerns
|
|
2
|
+
module Account
|
|
3
|
+
module Base
|
|
4
|
+
extend ActiveSupport::Concern
|
|
5
|
+
|
|
6
|
+
CanvasSync::Record.define_feature self, default: true
|
|
7
|
+
|
|
8
|
+
class_methods do
|
|
9
|
+
def root_account
|
|
10
|
+
where(canvas_parent_account_id: nil).last
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -23,7 +23,7 @@ module CanvasSync
|
|
|
23
23
|
r.hset("MNGBID-#{man_batch_id}", "root_bid", root_batch.bid)
|
|
24
24
|
r.hset("MNGBID-#{man_batch_id}", "ordered", ordered ? 1 : 0)
|
|
25
25
|
r.hset("MNGBID-#{man_batch_id}", "concurrency", concurrency)
|
|
26
|
-
r.hset("MNGBID-#{man_batch_id}", "preflight_check", preflight_check)
|
|
26
|
+
r.hset("MNGBID-#{man_batch_id}", "preflight_check", preflight_check) if preflight_check.present?
|
|
27
27
|
r.expire("MNGBID-#{man_batch_id}", Batch::BID_EXPIRE_TTL)
|
|
28
28
|
|
|
29
29
|
mapped_sub_jobs = sub_jobs.each_with_index.map do |j, i|
|
data/lib/canvas_sync/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canvas_sync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.19.0.
|
|
4
|
+
version: 0.19.0.beta2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Instructure CustomDev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-11-
|
|
11
|
+
date: 2023-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -413,6 +413,7 @@ files:
|
|
|
413
413
|
- lib/canvas_sync/class_callback_executor.rb
|
|
414
414
|
- lib/canvas_sync/concerns/ability_helper.rb
|
|
415
415
|
- lib/canvas_sync/concerns/account/ancestry.rb
|
|
416
|
+
- lib/canvas_sync/concerns/account/base.rb
|
|
416
417
|
- lib/canvas_sync/concerns/api_syncable.rb
|
|
417
418
|
- lib/canvas_sync/concerns/auto_relations.rb
|
|
418
419
|
- lib/canvas_sync/concerns/legacy_columns.rb
|