ruql 1.0.4 → 1.0.5
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.md +16 -6
- data/lib/ruql/select_multiple.rb +4 -1
- data/lib/ruql/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff79fa8465db54b4e2ce0e9ee62c891649b2066a5093c76747f7a3693cc8321e
|
|
4
|
+
data.tar.gz: 43f22ab810aebe22665a985d25db33a8a8d46cba38ff1f0d4cd6145de4bf0fce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f2ec53ca0098f8c7fe2bf43557935351b73313469ce3610517eb51122bdecb5353509dedd84a05119b7f422c85510b47cc2fb062b17a34a51bd15e077deb4a3
|
|
7
|
+
data.tar.gz: 78913cb4c7913a01748cd9f6966bf0fbfed7886bc5c94e81a95bac7ec893f0e5469c2621a7f00124f18f57fd45e64fe8541f6e8d76a16316a75e7ff52fe88411
|
data/README.md
CHANGED
|
@@ -13,21 +13,25 @@ Some types of questions or question elements that can be expressed in
|
|
|
13
13
|
RuQL cannot be expressed by some LMSs, and some LMS-specific question
|
|
14
14
|
features cannot be expressed in RuQL.
|
|
15
15
|
|
|
16
|
+
[Registered ESaaS instructors](http://www.saasbook.info/instructors) can access
|
|
17
|
+
[this repo](/saasbook/csw169a-quizzes) of questions, grouped by
|
|
18
|
+
chapter of the [ESaaS textbook](http://www.saasbook.info).
|
|
19
|
+
|
|
16
20
|
|
|
17
21
|
Installation
|
|
18
22
|
============
|
|
19
23
|
|
|
20
|
-
`gem install ruql` to install this from RubyGems. It works with Ruby
|
|
21
|
-
>=1.9.2
|
|
24
|
+
`gem install ruql` to install this from RubyGems. It works with Ruby 1.9 or later.
|
|
22
25
|
|
|
23
26
|
You'll also need to install one or more formatters to produce quiz output.
|
|
24
27
|
|
|
25
28
|
Installation: Current Formatters
|
|
26
29
|
================================
|
|
27
30
|
|
|
28
|
-
* [ruql-html](
|
|
31
|
+
* [ruql-html](/saasbook/ruql-html): produces HTML 5 output using a default or user-supplied HTML
|
|
29
32
|
template
|
|
30
|
-
* [ruql-canvas](
|
|
33
|
+
* [ruql-canvas](/saasbook/ruql-canvas): creates a quiz in Canvas LMS using its REST API
|
|
34
|
+
* [ruql-olx](/saasbook/ruql-olx): creates a quiz in edX's Open Learning XML
|
|
31
35
|
|
|
32
36
|
|
|
33
37
|
Running RuQL
|
|
@@ -243,8 +247,14 @@ future tools that can use this information.
|
|
|
243
247
|
3. The optional `comment` clause is followed by a string and allows a
|
|
244
248
|
free-text comment to be added to a question.
|
|
245
249
|
|
|
250
|
+
4. The optional `group` clause, which takes a single string, names
|
|
251
|
+
a "pool" of questions of which this question is a part. Some formatters
|
|
252
|
+
such as the Canvas importer will turn this into a "quiz question group"
|
|
253
|
+
so that one question from the pool will be randomly chosen to show the
|
|
254
|
+
student. See each formatter's documentation for how/whether it uses this property.
|
|
255
|
+
|
|
246
256
|
|
|
247
|
-
Adding your own
|
|
257
|
+
Adding your own formatter
|
|
248
258
|
========================
|
|
249
259
|
|
|
250
260
|
**This documentation is incomplete**
|
|
@@ -287,7 +297,7 @@ minimum:
|
|
|
287
297
|
|
|
288
298
|
```ruby
|
|
289
299
|
module Ruql
|
|
290
|
-
|
|
300
|
+
class Foobar
|
|
291
301
|
def initialize(quiz, options={})
|
|
292
302
|
# initialize yourself, given a Quiz object and command-line
|
|
293
303
|
# options in Getoptlong format
|
data/lib/ruql/select_multiple.rb
CHANGED
data/lib/ruql/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Armando Fox
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -137,7 +137,7 @@ metadata:
|
|
|
137
137
|
allowed_push_host: https://rubygems.org
|
|
138
138
|
homepage_uri: http://github.com/saasbook/ruql
|
|
139
139
|
source_code_uri: http://github.com/saasbook/ruql
|
|
140
|
-
post_install_message:
|
|
140
|
+
post_install_message:
|
|
141
141
|
rdoc_options: []
|
|
142
142
|
require_paths:
|
|
143
143
|
- lib
|
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
version: '0'
|
|
154
154
|
requirements: []
|
|
155
155
|
rubygems_version: 3.0.8
|
|
156
|
-
signing_key:
|
|
156
|
+
signing_key:
|
|
157
157
|
specification_version: 4
|
|
158
158
|
summary: Ruby question language
|
|
159
159
|
test_files: []
|