canvas_sync 0.19.1 → 0.19.2.beta1
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: ecc3c5f4ca20c48e26dec4efb6e884ba190993e803397e787f1b4bd1aeaa396e
|
4
|
+
data.tar.gz: 96bad6ba987e9d3635f842b6054120b198b0ea13684fef11eb1877e984e2582c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd47f7ab12b496b5c3c39ecce7ec5524659d1687ebb214b02def7d730910aee73dd6cdc0b3fefd9a30c9f9c929b079900abadd09312b508b2f88a58c911cac1b
|
7
|
+
data.tar.gz: d42419cb02d7419552df33de654e1ec1d5736cf403225e802e778866b7d85a52adf3f1935d3c93e790610cd219d5aa3cc7c96bb1d5bdd2bb3ef7b2bbe1afd611
|
@@ -131,7 +131,7 @@ module CanvasSync
|
|
131
131
|
row
|
132
132
|
end
|
133
133
|
# Canvas does not soft delete UserPreferenceValues so there's no point in doing the same
|
134
|
-
CourseNickname.where.not(canvas_user_preference_value_id: exists).delete_all
|
134
|
+
CourseNickname.where.not(canvas_user_preference_value_id: exists).or(CourseNickname.where(canvas_user_preference_value_id: nil)).delete_all
|
135
135
|
end
|
136
136
|
end
|
137
137
|
end
|
data/lib/canvas_sync/version.rb
CHANGED