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: a17b41ed5c3d840f767f4b1843b7d3631fc1f42eaf7a332931a55829417f1fa5
4
- data.tar.gz: e2a9d796b8ef5d70ea58edf38779f944bae2b5ab11c9da8884d05fe829fc826c
3
+ metadata.gz: ecc3c5f4ca20c48e26dec4efb6e884ba190993e803397e787f1b4bd1aeaa396e
4
+ data.tar.gz: 96bad6ba987e9d3635f842b6054120b198b0ea13684fef11eb1877e984e2582c
5
5
  SHA512:
6
- metadata.gz: f8e66f0d4d69d74610eb0a35be197fa0a1f12fcd3ca61ad3c14604c0c35e3cc346fecede26859415b478f2a5dc6c61420e2381a611341201a2425c3426f11058
7
- data.tar.gz: e6b3aec475f94927ab7271c0c56648cd8a5b4d22f3cb0234d97d3958cfe859572b14175db71a018e74c9d5b7735b49b066420d5fd1eef84e42dc6ab8c7af0f90
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
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.19.1".freeze
2
+ VERSION = "0.19.2.beta1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.19.2.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev