canvas_sync 0.17.42 → 0.17.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync/jobs/begin_sync_chain_job.rb +1 -1
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/dummy/log/test.log +2066 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d7516d1ed3059c0c62d1f1ac058841dd289aca1ff8007576be2b0d823def9b7
|
4
|
+
data.tar.gz: 39fc2b3ade4599edaec6282b1db7b45f8cb81817573d7f35e7de1377624b1474
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0978316cfc1c66f2411d1fe00b3c9375a4032b8b6be49d63807fb596bc07f25367fe013e3e5bbba32085e0ebf9a4bfcd977c19c5e20a11c41bf02de0da40bd2a'
|
7
|
+
data.tar.gz: 7496829655356548947c2782a024c76370f9d1f74ac6b96b17d2df2c4afd177f5e43be6d0b60b1cee79955e15ba5a387e002c784bcc0dde2ee48b3bae7f61783
|
@@ -15,7 +15,7 @@ module CanvasSync
|
|
15
15
|
elsif !globals[:updated_after].present? || globals[:updated_after] == true
|
16
16
|
last_batch = SyncBatch.where(status: 'completed', batch_genre: genre).last
|
17
17
|
globals[:full_sync_every] ||= "sunday/2"
|
18
|
-
globals[:updated_after] = last_batch
|
18
|
+
globals[:updated_after] = ((last_batch.started_at - 1.day).iso8601 rescue nil)
|
19
19
|
end
|
20
20
|
|
21
21
|
# Refuse to run syncs of the same genre if there is a running full sync
|
data/lib/canvas_sync/version.rb
CHANGED