moodle2cc 0.2.19 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Changelog +3 -0
- data/lib/moodle2cc/canvas/question.rb +2 -0
- data/lib/moodle2cc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTJmMGI3MGEyMTZjZDc0OTdlOTc0NjFlNGRlY2JlZjRhY2FhNzRiYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTFkNjkzZDY0YTVkM2U1Y2EwMGYyNmFjNTA4NzZmZjExMjBlMDRkNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWM0MzcxNzhiZGFiMDU5ZjdjYmM1ZjRiZGQ3ZTg5NjFhYzdjNzNlNTQ5Y2Fh
|
10
|
+
N2EzNWRmNmJmNGM4MzZjYzU4YmQzOTdiMTAyODhhY2M2Yzk3MDMzMDM0ZTlm
|
11
|
+
MTc4YmZhYzI0ZjkzNzI0M2ZkYWM0MDdlNTgwMDA0ZGQ2MDk1YmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzdlNTQ5Mjk2YTIzMzk4MmMyOGQxNmJjMjMxNmNmNDA2Y2E3NzI3YTJkNjVh
|
14
|
+
M2ZjYWRiOGI4YmIzY2RiMzQxNzc3MjBlODFmOWM4YTg2Zjk0OTY5OTkyNjk4
|
15
|
+
YmQ1ZmE5YzhlMmQ0YjIyODgxYjJmZTNlMmQ0NjkzOGM4NWZiNmY=
|
data/Changelog
CHANGED
@@ -38,6 +38,7 @@ module Moodle2CC::Canvas
|
|
38
38
|
@length = question.length
|
39
39
|
|
40
40
|
@answers = []
|
41
|
+
@matches = []
|
41
42
|
|
42
43
|
unless question.answers.empty?
|
43
44
|
@answers = question.answers.map do |answer|
|
@@ -119,6 +120,7 @@ module Moodle2CC::Canvas
|
|
119
120
|
material = material + image_html(question.image) unless question.image.nil? || question.image.strip == ''
|
120
121
|
material = RDiscount.new(material).to_html if question.format == 4 # markdown
|
121
122
|
material = convert_file_path_tokens(material)
|
123
|
+
|
122
124
|
if @answers
|
123
125
|
@answers.each do |answer|
|
124
126
|
answer.text = convert_file_path_tokens(answer.text) if answer.text
|
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.20
|
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: 2015-05-
|
13
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubyzip
|