moodle2cc 0.2.30 → 0.2.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moodle2cc/canvas/assessment.rb +0 -0
- data/lib/moodle2cc/canvas/assignment.rb +0 -0
- data/lib/moodle2cc/canvas/converter.rb +0 -0
- data/lib/moodle2cc/canvas/course.rb +0 -0
- data/lib/moodle2cc/canvas/discussion_topic.rb +0 -0
- data/lib/moodle2cc/canvas/label.rb +0 -0
- data/lib/moodle2cc/canvas/question_bank.rb +0 -0
- data/lib/moodle2cc/canvas/question_group.rb +0 -0
- data/lib/moodle2cc/canvas/resource.rb +0 -0
- data/lib/moodle2cc/canvas/templates/assignment.html.erb +0 -0
- data/lib/moodle2cc/canvas/templates/syllabus.html.erb +0 -0
- data/lib/moodle2cc/canvas/templates/wiki_content.html.erb +0 -0
- data/lib/moodle2cc/canvas/web_content.rb +0 -0
- data/lib/moodle2cc/canvas/web_link.rb +0 -0
- data/lib/moodle2cc/canvas/wiki.rb +0 -0
- data/lib/moodle2cc/cc/assessment.rb +0 -0
- data/lib/moodle2cc/cc/assignment.rb +0 -0
- data/lib/moodle2cc/cc/course.rb +0 -0
- data/lib/moodle2cc/cc/discussion_topic.rb +0 -0
- data/lib/moodle2cc/cc/label.rb +0 -0
- data/lib/moodle2cc/cc/question.rb +0 -0
- data/lib/moodle2cc/cc/resource.rb +0 -0
- data/lib/moodle2cc/cc/templates/assignment.html.erb +0 -0
- data/lib/moodle2cc/cc/templates/syllabus.html.erb +0 -0
- data/lib/moodle2cc/cc/templates/wiki_content.html.erb +0 -0
- data/lib/moodle2cc/cc/web_link.rb +0 -0
- data/lib/moodle2cc/cc/wiki.rb +0 -0
- data/lib/moodle2cc/error.rb +0 -0
- data/lib/moodle2cc/logger.rb +0 -0
- data/lib/moodle2cc/moodle/course.rb +0 -0
- data/lib/moodle2cc/moodle/grade_item.rb +0 -0
- data/lib/moodle2cc/moodle/info.rb +0 -0
- data/lib/moodle2cc/moodle/question_category.rb +0 -0
- data/lib/moodle2cc/moodle/section.rb +0 -0
- data/lib/moodle2cc/moodle2converter/html_converter.rb +2 -6
- data/lib/moodle2cc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 454c08c2f88ab86fe2036e22d82db441706aaca7
|
4
|
+
data.tar.gz: c9b8432e8e060b7519b76bb4c8493e7820e594f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71ac2bb459b06db08c18b752c2475962b3dc1d7fdcb46aa68f9a49bc0c75ef882d3f4794a4a2c0cc09e5e6465d30b1ab7a076c21a5213ed6dce3281dc97a5b64
|
7
|
+
data.tar.gz: 3ed60f392be83ef7a59d930ff92205e15bdd130c99f9a9e1c8ed3b0f004218a188bbb385bf29aa6db90054e3a974bba53af481ae6f7c98b8c6392f0c505b571b
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/moodle2cc/cc/course.rb
CHANGED
File without changes
|
File without changes
|
data/lib/moodle2cc/cc/label.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/moodle2cc/cc/wiki.rb
CHANGED
File without changes
|
data/lib/moodle2cc/error.rb
CHANGED
File without changes
|
data/lib/moodle2cc/logger.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -38,13 +38,9 @@ module Moodle2CC::Moodle2Converter
|
|
38
38
|
def replace_media_anchor(tag)
|
39
39
|
if tag.name == 'a'
|
40
40
|
href = tag['href']
|
41
|
-
match = href.match(/\.([A-z0-9]+)
|
41
|
+
match = href.match(/\.([A-z0-9]+)$/)
|
42
42
|
if (match && MEDIA_TYPES.key?(match.captures[0]))
|
43
|
-
|
44
|
-
tag.delete('href')
|
45
|
-
tag.name = 'audio'
|
46
|
-
tag['controls'] = 'controls'
|
47
|
-
tag.children = "<source src=\"#{href}\" type=\"#{MEDIA_TYPES[match.captures[0]]}\"></source>#{html.to_s}"
|
43
|
+
tag['class'] = 'instructure_inline_media_comment'
|
48
44
|
end
|
49
45
|
end
|
50
46
|
end
|
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.31
|
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-
|
13
|
+
date: 2016-04-29 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.4.7
|
428
428
|
signing_key:
|
429
429
|
specification_version: 4
|
430
430
|
summary: Migrates Moodle backup ZIP to IMS Common Cartridge package
|