asciidoctor-moodle 1.0.1.dev → 1.0.3.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 +10 -8
- data/asciidoctor-moodle.gemspec +2 -4
- data/lib/asciidoctor-moodle/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f26c60f19008480b616b5d8a8842a431d5851545ef73800702f49ec40dd01262
|
|
4
|
+
data.tar.gz: 3d1202247dfa085e1dc55e4ec286183c18ad764fd804c89f23dac7791771f307
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 733417b709e896b7ff94bb60a83140a9030f2b8c352ae1bed6f2e9b3745c950308af05b5a0391cc4b7197ae4cafd944edadf1d9b7a6eeb4899435e6d2c7f24bc
|
|
7
|
+
data.tar.gz: 60b3255426c8976c4ab48c6adf33cc2386efb5cfea1896a278f665d8db4aed8291eca9a79174728db30f36db9fada8445ef17a7073c8a16cd43d58f76d9f968c
|
data/README.adoc
CHANGED
|
@@ -33,9 +33,18 @@ To update `asciidoctor-moodle` type
|
|
|
33
33
|
$ gem update asciidoctor-moodle
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
== Generating a Question Document from a Terminal
|
|
37
|
+
|
|
38
|
+
You can load Asciidoctor question in a terminal using the -r (require) and -b (backend) flags.
|
|
39
|
+
[source]
|
|
40
|
+
----
|
|
41
|
+
asciidoctor -r asciidoctor-moodle -b moodle sample.adoc
|
|
42
|
+
|
|
43
|
+
----
|
|
44
|
+
|
|
36
45
|
== Creating a Question
|
|
37
46
|
|
|
38
|
-
TIP: The
|
|
47
|
+
TIP: The next documentation is more readable on https://asciidoc.univ-nantes.io/
|
|
39
48
|
|
|
40
49
|
A question is written inside a literal block, which needs at least two attributes.
|
|
41
50
|
|
|
@@ -200,14 +209,7 @@ What city is the capital of France ?
|
|
|
200
209
|
|
|
201
210
|
|===
|
|
202
211
|
|
|
203
|
-
=== Generating a Question Document from a Terminal
|
|
204
212
|
|
|
205
|
-
You can load Asciidoctor question in a terminal using the -r (require) and -b (backend) flags.
|
|
206
|
-
[source]
|
|
207
|
-
----
|
|
208
|
-
asciidoctor -r asciidoctor-moodle -b moodle sample.adoc
|
|
209
|
-
|
|
210
|
-
----
|
|
211
213
|
|
|
212
214
|
|
|
213
215
|
=== Details format
|
data/asciidoctor-moodle.gemspec
CHANGED
|
@@ -15,10 +15,8 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
s.license = 'MIT'
|
|
16
16
|
s.required_ruby_version = '>= 3.0.0'
|
|
17
17
|
s.metadata = {
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'mailing_list_uri' => 'http://discuss.asciidoctor.org',
|
|
21
|
-
'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor-docbook45'
|
|
18
|
+
'source_code_uri' => 'https://gitlab.univ-nantes.fr/asciidoc/Asciidoctor-moodle',
|
|
19
|
+
'documentation_uri' => 'https://asciidoc.univ-nantes.io/'
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
# 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,15 @@
|
|
|
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.3.dev
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gerson Sunyé
|
|
8
8
|
- Robin Gloaguen
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2026-09-06 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: asciidoctor
|
|
@@ -82,10 +83,9 @@ homepage: https://gitlab.univ-nantes.fr/asciidoc/Asciidoctor-moodle
|
|
|
82
83
|
licenses:
|
|
83
84
|
- MIT
|
|
84
85
|
metadata:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
source_code_uri: https://github.com/asciidoctor/asciidoctor-docbook45
|
|
86
|
+
source_code_uri: https://gitlab.univ-nantes.fr/asciidoc/Asciidoctor-moodle
|
|
87
|
+
documentation_uri: https://asciidoc.univ-nantes.io/
|
|
88
|
+
post_install_message:
|
|
89
89
|
rdoc_options: []
|
|
90
90
|
require_paths:
|
|
91
91
|
- lib
|
|
@@ -96,11 +96,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
version: 3.0.0
|
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
|
-
- - "
|
|
99
|
+
- - ">"
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version:
|
|
101
|
+
version: 1.3.1
|
|
102
102
|
requirements: []
|
|
103
|
-
rubygems_version: 3.
|
|
103
|
+
rubygems_version: 3.4.20
|
|
104
|
+
signing_key:
|
|
104
105
|
specification_version: 4
|
|
105
106
|
summary: Converts AsciiDoc documents representing quizzes into Moodle XML.
|
|
106
107
|
test_files: []
|