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: 31470395214df4c6e37f92fcd56c261111a333bc
4
- data.tar.gz: 7755d54928ede7cefb7ecb1187ea7f56a9c0679d
3
+ metadata.gz: 39e0cb85c8a19f5d793fad1d89ae6764ac8d4938
4
+ data.tar.gz: e003315ee0131b91987ab4ad6fda5c1fb601850b
5
5
  SHA512:
6
- metadata.gz: 4f1c699bda4943beac0fc8a8ec7d5ac4051df7d8514603d4cbf7d61665b41f5d59d1ae34a116b7675a25b4471bb6243639c1d7867aa8a021b3b9a3dee063eb81
7
- data.tar.gz: 444865d9a8a1f0afe2d81324568f061b4f56c9abe50f8c3be92bb1fce26d42986e3cdf504a2a5501adc3861fb3826b1f077c2710ac2ebad750dc8ac4c098da36
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))
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  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: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills