coalescing_panda 3.1.1 → 3.1.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbdd11d1eac7f4a44883f9b019ad941c1b7554b7
|
4
|
+
data.tar.gz: 2d2eb9c249524556096304ec307e424a838e116b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed5676372383e502905b918e9317dc11b3afe7ac48fc47d58de02610a1a974536cb47471fd6b4cf58fa266431433ee7da0fa89b205d1a4f57f3f1c95320d6cea
|
7
|
+
data.tar.gz: 4562df025005aedc61e9fa092fc43c3e293f051f7b37976c5fd6654ee214162ac2596d3999bfff4bebad686803beee83152dd4d26bef6afc93a5779844131535
|
@@ -67,7 +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[
|
70
|
+
values['workflow_state'] = values["enrollment_state"] if values.has_key?('enrollment_state')
|
71
71
|
record = course.send(model_key).where("#{canvas_id_key} = ?", values['id'].to_s).first_or_initialize
|
72
72
|
record.coalescing_panda_lti_account_id = account.id if record.respond_to?(:coalescing_panda_lti_account_id)
|
73
73
|
record.assign_attributes(standard_attributes(record, values))
|