canvas_sync 0.17.10.beta1 → 0.17.10.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 947495f899273388056680a57c2a00dfb8afc8442d3ca1745cd6ca273ae336e4
|
4
|
+
data.tar.gz: d7ac201bad5a5191eaa17a85a7b114904b0cba1f2c0e6284d075e15303a1a101
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec8a981909991c72997e8e0137ef85e1d905cf8e714d611a757accafb34534b08f0976ee58aad1a33eaf4fc8327bd307375381eb849230f3e4d2c482617c2cc7
|
7
|
+
data.tar.gz: 3d08e2912b23ade3ea4c84aa39bf8db1a46472b977c77b2266cba956c24d8e725409859fe57a609d0ea1c9a662ea636f8c02e857816b0ac43ff15f600bacc978
|
@@ -14,7 +14,7 @@ Rails.application.config.after_initialize do
|
|
14
14
|
model.sequence_name = seq_name
|
15
15
|
end
|
16
16
|
end
|
17
|
-
rescue PG::ConnectionBad, ActiveRecord::NoDatabaseError
|
17
|
+
rescue PG::ConnectionBad, ActiveRecord::NoDatabaseError, ActiveRecord::ConnectionNotEstablished
|
18
18
|
# no-op if there is no database setup
|
19
19
|
end
|
20
20
|
end
|
@@ -49,7 +49,7 @@ module CanvasSync
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def should_handle_batch?(msg)
|
52
|
-
return false if msg['class'] == 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' && msg['wrapped'].constantize < BatchAwareJob
|
52
|
+
return false if msg['class'] == 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' && (msg['wrapped'].to_s).constantize < BatchAwareJob
|
53
53
|
true
|
54
54
|
end
|
55
55
|
end
|
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.17.10.
|
4
|
+
version: 0.17.10.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Collings
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|