coalescing_panda 4.0.9 → 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c042c45ff81d5a76f1f08a6f7ff4cce1b76987d3
|
|
4
|
+
data.tar.gz: a19e2eaeb98461eb00a4a229590785916b234e07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45720881c0d98138e722787e5f17da15c1cc281b69ed8c0b8044bb475cc462031d8aef47311a097582ddd57798a9e3c6bdfc8c75ecab12b893f996c63900cfbf
|
|
7
|
+
data.tar.gz: 673b5ca19571cc7ea26fe7c6006ad22528ad9f13d0eafbd50f87ec4d39e5e5f7ebfe09f4c469d2d8a9f686ccab31d88f03d4d38e1cc541bc6d29710e7ad2300b
|
|
@@ -208,8 +208,8 @@ class CoalescingPanda::Workers::CourseMiner
|
|
|
208
208
|
Rails.logger.error "Error syncing assignment: #{values} Error: #{e}"
|
|
209
209
|
end
|
|
210
210
|
end
|
|
211
|
-
course.assignments.where.not(id: assignment_ids).each do |assignment|
|
|
212
|
-
assignment.submissions.
|
|
211
|
+
course.assignments.includes(:submissions).where.not(id: assignment_ids).each do |assignment|
|
|
212
|
+
assignment.submissions.each { |s| s.destroy }
|
|
213
213
|
assignment.destroy
|
|
214
214
|
end
|
|
215
215
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coalescing_panda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Mills
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-05-
|
|
13
|
+
date: 2016-05-17 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|