panda_pal 5.3.11 → 5.3.12

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: 13d3460a12f31ce93e9fba60f806871ba8e5507b43c8b761b06e34244b528215
4
- data.tar.gz: c8a288d52fa8927835c8cf59561d9ff15a156631c09d9e556d561da0e55073f3
3
+ metadata.gz: 776a9f59c8500e45d110c3e672e8ec97a891e186687473f33d4561ea74f31902
4
+ data.tar.gz: b308adfeea7b3b5c15b2a023edd9a0e5eec8a0a768e1fc58c0ecc2c40891cbd0
5
5
  SHA512:
6
- metadata.gz: 440a454305b5d1b1ed3c6b34e7ea2c9875be68eaf0bced9e59eef8734cb5590a8643e385d2e00cf11450397ec4e7aa10df08f9e0e57a8fff22fdb352354437a8
7
- data.tar.gz: 5b89736e51f2cbe46fe6d2ebc088b95ddb24f30e7f2aef4f3b90356f8a13de4b8b728695cdfee9f393a4ff539461462a1944e2592db66038b9be5e86a7b9698f
6
+ metadata.gz: 81b794f8cb355eb4c1f2b3497062cf513e240349212a5b607edfcbe7e47074010cb3ef2fdb9da3025e492ed9c8f75b306270adefb59cc73919469f08a21ad664
7
+ data.tar.gz: a840a2ad126d6b06f54ec8786b964de3e1095f6f9243d0dcf8b3a18d694f1fa05994127969756678639aacf16849ed7c8528744fd01c7bcf89660c05c891aada
@@ -56,6 +56,4 @@ module PandaPal
56
56
  Apartment::Tenant.drop name
57
57
  end
58
58
  end
59
-
60
- Organization.sync_schedules if Organization.respond_to?(:sync_schedules)
61
59
  end
@@ -24,6 +24,14 @@ module PandaPal
24
24
  end
25
25
  end
26
26
 
27
+ initializer 'Sidekiq Scheduler Hooks' do
28
+ ActiveSupport.on_load(:active_record) do
29
+ if Sidekiq.server? && PandaPal::Organization.respond_to?(:sync_schedules)
30
+ PandaPal::Organization.sync_schedules
31
+ end
32
+ end
33
+ end
34
+
27
35
  initializer 'panda_pal.app_controller' do |app|
28
36
  OAUTH_10_SUPPORT = true
29
37
  ActiveSupport.on_load(:action_controller) do
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.3.11"
2
+ VERSION = "5.3.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.11
4
+ version: 5.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure ProServe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-18 00:00:00.000000000 Z
11
+ date: 2021-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails