canvas_sync 0.19.1 → 0.19.2

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: e59715757e9cf413cdef16b5a9eea3ac036e3c056297b220c6873a876c34b8e0
4
+ data.tar.gz: 22b8fa27e51f8f7e47cc3fcab76a435f047642bd800efb497646203c60fff47b
5
5
  SHA512:
6
- metadata.gz: f8e66f0d4d69d74610eb0a35be197fa0a1f12fcd3ca61ad3c14604c0c35e3cc346fecede26859415b478f2a5dc6c61420e2381a611341201a2425c3426f11058
7
- data.tar.gz: e6b3aec475f94927ab7271c0c56648cd8a5b4d22f3cb0234d97d3958cfe859572b14175db71a018e74c9d5b7735b49b066420d5fd1eef84e42dc6ab8c7af0f90
6
+ metadata.gz: ee5b127167a45d8c13afaa3ad179478b30b61bf088144ec905d0e42adca5291c5fef91fe7f970c6f7c80ebdd37c1004c5cf6d833f929a09c54fb12f760e2cfad
7
+ data.tar.gz: 2b32dc91e6f5326623b5eba4913eb1eb9722aa47b1064e6431238cbe68d4e83d8e9533609d7e65863d15f066d45568b21740dd61143809d14259de68e21f350f
@@ -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".freeze
3
3
  end
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.19.1
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-07 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails