canvas_cc 0.0.31 → 0.0.32

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: 079e73e576b6ed18e62d31968f1969b1b1f19a43
4
- data.tar.gz: 1da3791d0af551b9c7e69e62aeb131f867136d58
3
+ metadata.gz: 6a39bf69cccba239f26d31d200c8ac28ae121520
4
+ data.tar.gz: b660060b4d7c4d71d089cf13aae8f287bbfde51a
5
5
  SHA512:
6
- metadata.gz: 74f94bf5640a8cffc9a477ffe89f63af09a10a83bd63939c596bf3019bfc073deea112826601d1c48ab79864c72e2c174a876f73b4058e87152da1808f20ad58
7
- data.tar.gz: 4463085e474ddaceb4409037d600954d778ea64ecfdcd393eb90071a293932fb55478c0cdf79daa3912f93fc5aeafd7a436172ad9f3d16bbfad7fd6172dbb79f
6
+ metadata.gz: 9217906ea58ce0c19a7fca594949df8b38f43315367ae4a3a9a6c6f96df782137b12a4e218550e59900356d4f3ff7c4483f69dbe07d55fa4652cfbeb5130d6a0
7
+ data.tar.gz: 8c2cb8d88a3365f2e085802cebdf4ed2d752c8d6b32a7783a15aeb8a9b77b333f52f9a625fa152c38eb26d1791be502a70477eb0e050855efc0a7898115a1048
@@ -6,7 +6,7 @@ module CanvasCc::CanvasCC::Models
6
6
  :require_lockdown_browser_monitor, :lockdown_browser_monitor_data,
7
7
  :show_correct_answers, :anonymous_submissions, :could_be_locked,
8
8
  :available, :allowed_attempts, :one_question_at_a_time, :cant_go_back,
9
- :assignment_group_identifierref]
9
+ :assignment_group_identifierref, :one_time_results]
10
10
  DATETIME_ATTRIBUTES = [:lock_at, :unlock_at, :due_at, :show_correct_answers_at]
11
11
 
12
12
  ASSESSMENT_TYPE = 'imsqti_xmlv1p2/imscc_xmlv1p1/assessment'
@@ -1,3 +1,3 @@
1
1
  module CanvasCc
2
- VERSION = "0.0.31"
2
+ VERSION = "0.0.32"
3
3
  end
@@ -30,6 +30,7 @@ module CanvasCc::CanvasCC
30
30
  assessment.ip_filter = '42.42.42.42'
31
31
  assessment.shuffle_answers = "every day i'm shuffling answers"
32
32
  assessment.quiz_type = 'the best kind of quiz'
33
+ assessment.one_time_results = true
33
34
 
34
35
  assessment.items = []
35
36
  subject.write
@@ -54,6 +55,7 @@ module CanvasCc::CanvasCC
54
55
  expect(root.%('ip_filter').text).to eq assessment.ip_filter
55
56
  expect(root.%('shuffle_answers').text).to eq assessment.shuffle_answers
56
57
  expect(root.%('quiz_type').text).to eq assessment.quiz_type
58
+ expect(root.%('one_time_results').text).to eq assessment.one_time_results.to_s
57
59
  end
58
60
 
59
61
  it 'creates assignment meta' do
@@ -28,6 +28,7 @@ describe CanvasCc::CanvasCC::Models::Assessment do
28
28
  it_behaves_like 'it has an attribute for', :one_question_at_a_time
29
29
  it_behaves_like 'it has an attribute for', :cant_go_back
30
30
  it_behaves_like 'it has an attribute for', :assignment_group_identifierref
31
+ it_behaves_like 'it has an attribute for', :one_time_results
31
32
 
32
33
  it_behaves_like 'it has an attribute for', :question_references, []
33
34
  it_behaves_like 'it has an attribute for', :items
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip