asciidoctor-moodle 1.0.0.dev → 1.0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cda5ba859d51bb5e75a9e32456dbeb68f0bc692981cd87ceffa38a2e1416592
4
- data.tar.gz: 99805f9c1e42aabf270a9259b0b82956cf90688065980f0b1173c81f7a769db8
3
+ metadata.gz: abb0713d808d5023de439c617af5d08a0dd3c5b3410ea21a2bb3c56416195114
4
+ data.tar.gz: '0845edfec5f3bf0687fd2146c6a5bd577d9cb90f58b70b43c2f3f4da84b4c6b7'
5
5
  SHA512:
6
- metadata.gz: ceb40738246d082023478f9c41a679a71d7443a24e1b0bb9ab298eb3fb2b2657d253b7eae3817dcc73bea1afd66735d7065827793a3f1ae2df202fe934d8a3f9
7
- data.tar.gz: 70a2864be96d9f85f8ea51ee0b03899a7860f3c92e237a9a83b2a6458b5867a975efdbe5e83dacf9d95a6344288162ab74bb73fe6030db9634f9ecbc5f237748
6
+ metadata.gz: 36a963d762085d1edcf2a5b867df1ca47a31a63c80f56b2e2f11a836d29a890d3a4f2b24b1d3c053fef9a4a973faf70e068f43d8b338ee2455551a2ed7f092aa
7
+ data.tar.gz: 280b897bcf044f884a5034a4f639b0dfd46a659dca6db0a75f910c58686c590198165f031286e4b72c16d821930e18a76783e20bf415a6da9a26db653ce2448f
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.1
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 tabular is more readable when using the file Documentation.html
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
 
@@ -7,11 +7,11 @@ 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 to Moodle XML'
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://github.com/'
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 = {
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Asciidoctor
3
3
  module Moodle
4
- VERSION = '1.0.0.dev'
4
+ VERSION = '1.0.1.dev'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-moodle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.dev
4
+ version: 1.0.1.dev
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerson Sunyé
@@ -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 to Moodle XML documents
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://github.com/
81
+ homepage: https://gitlab.univ-nantes.fr/asciidoc/Asciidoctor-moodle
81
82
  licenses:
82
83
  - MIT
83
84
  metadata:
@@ -101,5 +102,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
102
  requirements: []
102
103
  rubygems_version: 3.6.2
103
104
  specification_version: 4
104
- summary: Converts AsciiDoc documents to Moodle XML
105
+ summary: Converts AsciiDoc documents representing quizzes into Moodle XML.
105
106
  test_files: []