coalescing_panda 3.1.0 → 3.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39e0cb85c8a19f5d793fad1d89ae6764ac8d4938
|
4
|
+
data.tar.gz: e003315ee0131b91987ab4ad6fda5c1fb601850b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 847e64d39c39bb2ecc2df193219e92e6db210db1d1f322766b98c5cbfc8e1d4a8011eb92f5c11fc40d517bfddf5e410f03f52a5915cf2326ef4ef802f2d83165
|
7
|
+
data.tar.gz: d26bd73ca9d209609463a47bf26a0a19e94c55a8f255b5111884921567cac30ef593efa9ab737c6aae1a02089c7d517ff4439d679eea60ccf31e1559e23c384d
|
@@ -67,6 +67,7 @@ class CoalescingPanda::Workers::CourseMiner
|
|
67
67
|
collection.each do |values|
|
68
68
|
canvas_id_key = "canvas_#{model_key.to_s.singularize}_id"
|
69
69
|
values[canvas_id_key] = values["id"]
|
70
|
+
values[:workflow_state] = values["enrollment_state"] if values.has_key?('enrollment_state')
|
70
71
|
record = course.send(model_key).where("#{canvas_id_key} = ?", values['id'].to_s).first_or_initialize
|
71
72
|
record.coalescing_panda_lti_account_id = account.id if record.respond_to?(:coalescing_panda_lti_account_id)
|
72
73
|
record.assign_attributes(standard_attributes(record, values))
|