asciidoctor-moodle 1.0.0.dev → 1.0.2.dev
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 +4 -4
- data/README.adoc +27 -5
- data/asciidoctor-moodle.gemspec +5 -4
- data/lib/asciidoctor-moodle/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43ac91723b8d5e9e04bb157d9d915fdf2da8e411efda134c634cc47afa33af93
|
4
|
+
data.tar.gz: ee75651b4f7d8c2052bb87d85eb7e3c8ff852c23534622ac4852af4a413395de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c48fa5e21cb13643818fe0871c046149289f9f271cdd202eed6a659cd6c771eebbe9d935c7947fae3e367b93a60efdf6590e8deb7c7174c70d69423e1d1cf1
|
7
|
+
data.tar.gz: 16fa97af7bc68a7ea167866d6bc2cfd08f345ede4c76e64bce41994ad19058a48f37eba17061077a5a89f024477888a6dc856ba6023bc885afe8d60ff796e862
|
data/README.adoc
CHANGED
@@ -4,14 +4,39 @@
|
|
4
4
|
ifndef::imagesdir[:imagesdir: images]
|
5
5
|
|
6
6
|
:description: README for the Asciidoctor Moodle-Question extension for Asciidoctor, based on Asciidoctor-Question.
|
7
|
-
:version: 0.0.
|
7
|
+
:version: 1.0.0.dev
|
8
8
|
|
9
9
|
image:https://img.shields.io/badge/license-MIT-blue.svg[MIT License, link=#copyright]
|
10
10
|
|
11
11
|
Asciidoctor Moodle-Question is a set of Asciidoctor extensions that allows you to add questions as multiple choice and gap text and convert them to Moodle XML format. The questions are defined using plain text in your AsciiDoc document.
|
12
12
|
|
13
|
+
== Installation and Update
|
14
|
+
|
15
|
+
There are two options to install Asciidoctor Question. The first is to use `gem install` on the command line:
|
16
|
+
|
17
|
+
$ gem install asciidoctor-moodle --pre
|
18
|
+
|
19
|
+
The second is to add the following entry to your project's [.path]_Gemfile_.
|
20
|
+
|
21
|
+
.Gemfile
|
22
|
+
[source,ruby,subs="verbatim,attributes"]
|
23
|
+
----
|
24
|
+
gem 'asciidoctor-moodle', '~> {version}'
|
25
|
+
----
|
26
|
+
|
27
|
+
and execute `bundle` in the command line.
|
28
|
+
|
29
|
+
$ bundle
|
30
|
+
|
31
|
+
To update `asciidoctor-moodle` type
|
32
|
+
|
33
|
+
$ gem update asciidoctor-moodle
|
34
|
+
|
35
|
+
|
13
36
|
== Creating a Question
|
14
37
|
|
38
|
+
TIP: The next documentation is more readable on https://asciidoc.univ-nantes.io/
|
39
|
+
|
15
40
|
A question is written inside a literal block, which needs at least two attributes.
|
16
41
|
|
17
42
|
.Anatomy of a question
|
@@ -77,10 +102,7 @@ root of all evil." </p>
|
|
77
102
|
|matching
|
78
103
|
|[source]
|
79
104
|
----
|
80
|
-
[question, matching,
|
81
|
-
wrote the first computer programme in the world,
|
82
|
-
decrypted Enigma machine's messages,
|
83
|
-
invented the merge sort algorithm]
|
105
|
+
[question, matching, wrote the first computer programme in the world, decrypted Enigma Machine's messages, invented the merge sort algorithm]
|
84
106
|
....
|
85
107
|
Match each author with his contribution ?
|
86
108
|
|
data/asciidoctor-moodle.gemspec
CHANGED
@@ -7,18 +7,19 @@ end
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = 'asciidoctor-moodle'
|
9
9
|
s.version = Asciidoctor::Moodle::VERSION
|
10
|
-
s.summary = 'Converts AsciiDoc documents
|
11
|
-
s.description = 'An Asciidoctor converter that converts AsciiDoc to Moodle XML documents'
|
10
|
+
s.summary = 'Converts AsciiDoc documents representing quizzes into Moodle XML.'
|
11
|
+
s.description = 'An Asciidoctor converter that converts AsciiDoc documents representing quizzes to Moodle XML documents'
|
12
12
|
s.authors = ['Gerson Sunyé', 'Robin Gloaguen']
|
13
13
|
s.email = ['gerson.sunye@gmail.com','robin.gloaguen@hotmail.fr']
|
14
|
-
s.homepage = 'https://
|
14
|
+
s.homepage = 'https://gitlab.univ-nantes.fr/asciidoc/Asciidoctor-moodle'
|
15
15
|
s.license = 'MIT'
|
16
16
|
s.required_ruby_version = '>= 3.0.0'
|
17
17
|
s.metadata = {
|
18
18
|
'bug_tracker_uri' => 'https://github.com/asciidoctor/asciidoctor-docbook45/issues',
|
19
19
|
'changelog_uri' => 'https://github.com/asciidoctor/asciidoctor-docbook45/blob/master/CHANGELOG.adoc',
|
20
20
|
'mailing_list_uri' => 'http://discuss.asciidoctor.org',
|
21
|
-
'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor-docbook45'
|
21
|
+
'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor-docbook45',
|
22
|
+
'documentation_uri' => 'https://asciidoc.univ-nantes.io/'
|
22
23
|
}
|
23
24
|
|
24
25
|
# NOTE the logic to build the list of files is designed to produce a usable package even when the git command is not available
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-moodle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2.dev
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerson Sunyé
|
8
8
|
- Robin Gloaguen
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -52,7 +52,8 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.8.0
|
55
|
-
description: An Asciidoctor converter that converts AsciiDoc
|
55
|
+
description: An Asciidoctor converter that converts AsciiDoc documents representing
|
56
|
+
quizzes to Moodle XML documents
|
56
57
|
email:
|
57
58
|
- gerson.sunye@gmail.com
|
58
59
|
- robin.gloaguen@hotmail.fr
|
@@ -77,7 +78,7 @@ files:
|
|
77
78
|
- lib/asciidoctor-moodle/short/extension.rb
|
78
79
|
- lib/asciidoctor-moodle/true_false/extension.rb
|
79
80
|
- lib/asciidoctor-moodle/version.rb
|
80
|
-
homepage: https://
|
81
|
+
homepage: https://gitlab.univ-nantes.fr/asciidoc/Asciidoctor-moodle
|
81
82
|
licenses:
|
82
83
|
- MIT
|
83
84
|
metadata:
|
@@ -85,6 +86,7 @@ metadata:
|
|
85
86
|
changelog_uri: https://github.com/asciidoctor/asciidoctor-docbook45/blob/master/CHANGELOG.adoc
|
86
87
|
mailing_list_uri: http://discuss.asciidoctor.org
|
87
88
|
source_code_uri: https://github.com/asciidoctor/asciidoctor-docbook45
|
89
|
+
documentation_uri: https://asciidoc.univ-nantes.io/
|
88
90
|
rdoc_options: []
|
89
91
|
require_paths:
|
90
92
|
- lib
|
@@ -101,5 +103,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
103
|
requirements: []
|
102
104
|
rubygems_version: 3.6.2
|
103
105
|
specification_version: 4
|
104
|
-
summary: Converts AsciiDoc documents
|
106
|
+
summary: Converts AsciiDoc documents representing quizzes into Moodle XML.
|
105
107
|
test_files: []
|