canvas_sync 0.19.0.beta1 → 0.19.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2a5e403bcaaaaf0fcbab739a2b9b6657ed42a5a5692de0b9d6a84e429d2a232
4
- data.tar.gz: acef06fb5cae9aa20d70e308972d9416fd8280ddb3c944718ef937679ac468b5
3
+ metadata.gz: bc839ab64ec8076616ca77afa2d66f727ed48e0a1ee6ffd10b8a843f32444c03
4
+ data.tar.gz: 2f2706695832f1c0ca6a11708695cba06019947109d3a4cb4e2af4dc4748b488
5
5
  SHA512:
6
- metadata.gz: 91ed4f8c3312c398ee9bb19cad4333ddda8f738330470d4582c1c92ff00abeef12e52ff344a94edc50a726616c2533126c99b211da1a348cd18d5062a6939e40
7
- data.tar.gz: a95413c17cc1029fd5c8adb6fbd19add7a0d18fda2c8c790f71bbc57df8b51223c1a554120dd93bbedc61223c60a7f549849d1686358fe9e357af5bf20467eb1
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|
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.19.0.beta1".freeze
2
+ VERSION = "0.19.0.beta2".freeze
3
3
  end
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.beta1
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-16 00:00:00.000000000 Z
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