moodle2cc 0.2.34 → 0.2.35
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6deb93f985307e6ecc8e93ff19940ec9b53e45b6
|
|
4
|
+
data.tar.gz: 93dade76220dc4af4bb462a4fdbba7e02a4cd004
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12f659aa570bcac66727ba9e2e954d175e8d2a6df592f80261abdc13e3bf7ede7ad713ed3d53b976b0ccbc657c6d7509098d2272f918f31ecc3126a88746641d
|
|
7
|
+
data.tar.gz: fd4dddc21e033f936963f160f6ff4ad2cb421c1372492f38008ab50a48ebd2c3d82a29a21d47b0a1670eda7f4985540dfcc9b1e6509bc49fcf4876f5ed7c1067
|
|
@@ -13,7 +13,7 @@ module Moodle2CC::Moodle2Converter
|
|
|
13
13
|
canvas_assignment.unlock_at = Time.at(Integer(moodle_assignment.allow_submissions_from_date)) if moodle_assignment.allow_submissions_from_date
|
|
14
14
|
canvas_assignment.workflow_state = workflow_state(moodle_assignment.visible)
|
|
15
15
|
canvas_assignment.external_tool_url = moodle_assignment.external_tool_url
|
|
16
|
-
points =
|
|
16
|
+
points = Float(moodle_assignment.grade).to_i
|
|
17
17
|
if points > 0 || scale = moodle_grading_scales[-1 * points] # moodle uses negative numbers for grading scale ids
|
|
18
18
|
if scale && scale.count == 2
|
|
19
19
|
# I'm asssuming that if there's only two choices, that the best way to convert it will probably be pass/fail
|
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.35
|
|
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: 2016-07-
|
|
13
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rubyzip
|
|
@@ -424,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
424
424
|
version: '0'
|
|
425
425
|
requirements: []
|
|
426
426
|
rubyforge_project:
|
|
427
|
-
rubygems_version: 2.
|
|
427
|
+
rubygems_version: 2.6.6
|
|
428
428
|
signing_key:
|
|
429
429
|
specification_version: 4
|
|
430
430
|
summary: Migrates Moodle backup ZIP to IMS Common Cartridge package
|