moodle2cc 0.2.1 → 0.2.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: 1590fa1016ed943ed638b7ddf5d2565e6ea366a0
|
4
|
+
data.tar.gz: a80fd9e1a804e707a90a85fbbcbf8938e4fa90ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfef5425ac90b27de48cac4a57dfb3826d904fb591f8266d179e8e02069e5bceea85915125503052f9423f2f463ac44d96bb718b9ada4e2604aafba8c8f67dda
|
7
|
+
data.tar.gz: d6b44d3e935699f4d781f0546f97d868fd8cf6e86c288aeef87cf2f6a08d636bcf8c74e5bd3059da3e8c68139531499128c2d08d2b3ac30a9202f8160cae1665
|
data/Changelog
CHANGED
@@ -12,7 +12,7 @@ module Moodle2CC::Moodle2Converter
|
|
12
12
|
canvas_assessment.lock_at = Time.at(Integer(moodle_quiz.time_close)) if moodle_quiz.time_close
|
13
13
|
canvas_assessment.unlock_at = Time.at(Integer(moodle_quiz.time_open)) if moodle_quiz.time_open
|
14
14
|
|
15
|
-
canvas_assessment.allowed_attempts = Integer(moodle_quiz.attempts_number)
|
15
|
+
canvas_assessment.allowed_attempts = Integer(moodle_quiz.attempts_number) if moodle_quiz.attempts_number
|
16
16
|
canvas_assessment.allowed_attempts = -1 if canvas_assessment.allowed_attempts == 0
|
17
17
|
|
18
18
|
canvas_assessment.scoring_policy = moodle_quiz.grade_method == 4 ? 'keep_latest' : 'keep_highest'
|
data/lib/moodle2cc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moodle2cc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Durtschi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-04-
|
13
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubyzip
|