timequiz 0.32 → 1.0
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/doc/html/timequiz.html +22 -61
- data/doc/man/timequiz.6.gz +0 -0
- data/doc/pdf/timequiz.pdf +0 -0
- data/doc/rst/timequiz.rst +3 -3
- data/lib/console.rb +1 -1
- data/lib/events.rb +2 -0
- data/lib/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0daed4c2b70d554ac2bc2bb05212e049dc91dad41a25e02fe45cd24e0f0e6a90
|
|
4
|
+
data.tar.gz: f1fcd7c7460e89dc2870c3442895253b5c09dde4ca02b7294c0a37e64da1dbfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 878029819eef267aadb8ba572f02cd65f83d9543d989bf9ccd672b5d7229198205bdec4dfb030616d84bab722961ab5522cf182ee23b3e1604a4ab5e1311ab45
|
|
7
|
+
data.tar.gz: 81b25a5d9b955bb381aeef5e644e03d99ec3b064618c9c5cb3cb4a1e098954f68c82dbe23332ff0dda042eac1c01188cff8efb9ab5dcb6e658710ee8df678b6b
|
data/doc/html/timequiz.html
CHANGED
|
@@ -4,66 +4,27 @@
|
|
|
4
4
|
<meta name="generator" content="vim - Vi Improved, a programmer's editor; HTML Tidy for Linux version 5.8.0
|
|
5
5
|
"/>
|
|
6
6
|
<meta charset="utf-8" />
|
|
7
|
+
<link rel="preload" as="font" crossorigin="" href=
|
|
8
|
+
"https://www.uplawski.eu/fonts/Classica/Classica-Book.ttf" type=
|
|
9
|
+
"font/ttf" />
|
|
10
|
+
<link rel="preload" as="font" crossorigin="" href=
|
|
11
|
+
"https://www.uplawski.eu/fonts/Classica/Classica-Bold.ttf" type=
|
|
12
|
+
"font/ttf" />
|
|
13
|
+
<link rel="preload" as="font" crossorigin="" href=
|
|
14
|
+
"https://www.uplawski.eu/fonts/Classica/Classica-BookOblique.ttf"
|
|
15
|
+
type="font/ttf" />
|
|
16
|
+
<link rel="preload" as="font" crossorigin="" href=
|
|
17
|
+
"https://www.uplawski.eu/fonts/Fertigo_PRO.otf" type=
|
|
18
|
+
"font/otf" />
|
|
19
|
+
<link rel="icon" type="/image/x-icon" href=
|
|
20
|
+
"images/favicon_Schreibfeder.ico" />
|
|
7
21
|
<meta name="viewport" content=
|
|
8
22
|
"width=device-width, initial-scale=1" />
|
|
9
23
|
<title>Timequiz</title>
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
:Author: Michael Uplawski
|
|
15
|
-
:Contact: michael.uplawski@uplawski.eu
|
|
16
|
-
:License: WTFPL 2.0, see http://www.wtfpl.net/about/
|
|
17
|
-
|
|
18
|
-
Stylesheet for use with Docutils.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
body {
|
|
22
|
-
background-color:#200030;
|
|
23
|
-
font-family: Verdana,Helvetica,Univers;
|
|
24
|
-
color:#f0f0f0;
|
|
25
|
-
color:#f0f0f0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
h1 {color:cyan;font-size:1.5em;}
|
|
29
|
-
h1.title {color:#a0a0f0;font-size:2em;}
|
|
30
|
-
h2 {color:#ffffa0;}
|
|
31
|
-
|
|
32
|
-
p, ul.simple, ol.simple, dt {margin-left:2em;}
|
|
33
|
-
p.first {font-weight:bold;}
|
|
34
|
-
dd {margin-left:4em;}
|
|
35
|
-
table {
|
|
36
|
-
border: 0.5pt dotted #ffa050;
|
|
37
|
-
margin-left:2em;
|
|
38
|
-
border-radius:1em;
|
|
39
|
-
}
|
|
40
|
-
td {color:#f0f080;}
|
|
41
|
-
|
|
42
|
-
/* correct left margin of nested block tags*/
|
|
43
|
-
dd p, li p {margin-left:0;}
|
|
44
|
-
dd * ul {margin-left:0 ! important; }
|
|
45
|
-
dd ul {margin-left:0 ! important; }
|
|
46
|
-
dd dl dt, dd dl dd {margin-left:0 ! important;}
|
|
47
|
-
dt {font-weight:bold;}
|
|
48
|
-
dt, dd {color:#f0f0f0}
|
|
49
|
-
|
|
50
|
-
tt.docutils {color:#000080;
|
|
51
|
-
background-color:#a080a0;
|
|
52
|
-
padding-left:3px;
|
|
53
|
-
padding-right:3px;
|
|
54
|
-
white-space:nowrap;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
a.external {color:#ff90ff;}
|
|
58
|
-
|
|
59
|
-
blockquote {background-color:#ffc090;
|
|
60
|
-
padding:0.5em;
|
|
61
|
-
border-radius:0.5em;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
/*]]>*/
|
|
66
|
-
</style>
|
|
24
|
+
<link rel="stylesheet" href="timequiz.css" type="text/css" />
|
|
25
|
+
<link rel="stylesheet" href="fonts.css" type="text/css" />
|
|
26
|
+
<link rel="stylesheet" href="https://www.uplawski.eu/ups.css"
|
|
27
|
+
type="text/css" />
|
|
67
28
|
</head>
|
|
68
29
|
<body>
|
|
69
30
|
<main id="timequiz">
|
|
@@ -259,12 +220,12 @@
|
|
|
259
220
|
|
|
260
221
|
<p>Press a number to view an event’s details,</p>
|
|
261
222
|
|
|
262
|
-
<p>a to add a new random event, or</p>
|
|
223
|
+
<p><strong>a</strong> to add a new random event, or</p>
|
|
263
224
|
|
|
264
|
-
<p>q to quit.</p>
|
|
225
|
+
<p><strong>q</strong> to quit.</p>
|
|
265
226
|
|
|
266
|
-
<p>If you choose a
|
|
267
|
-
appear:</p>
|
|
227
|
+
<p>If you choose <strong>a</strong>, here’s how the next
|
|
228
|
+
prompt may appear:</p>
|
|
268
229
|
|
|
269
230
|
<table>
|
|
270
231
|
<tbody>
|
data/doc/man/timequiz.6.gz
CHANGED
|
Binary file
|
data/doc/pdf/timequiz.pdf
CHANGED
|
Binary file
|
data/doc/rst/timequiz.rst
CHANGED
|
@@ -114,11 +114,11 @@ To continue:
|
|
|
114
114
|
|
|
115
115
|
Press a number to view an event’s details,
|
|
116
116
|
|
|
117
|
-
a to add a new random event, or
|
|
117
|
+
**a** to add a new random event, or
|
|
118
118
|
|
|
119
|
-
q to quit.
|
|
119
|
+
**q** to quit.
|
|
120
120
|
|
|
121
|
-
If you choose a
|
|
121
|
+
If you choose **a**, here’s how the next prompt may appear:
|
|
122
122
|
|
|
123
123
|
+----------------------------------------------------------------------------------------------------------+
|
|
124
124
|
|Indicate the event from the previous list, which precedes the following, or '0' (zero) to put it in front:|
|
data/lib/console.rb
CHANGED
|
@@ -163,7 +163,7 @@ module Console
|
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
def ask_new_event
|
|
166
|
-
puts "\nEnter number for more information about an event
|
|
166
|
+
puts "\nEnter number (and return) for more information about an event,\n\t'a' to play with one new, random event,\n\t'q' to quit."
|
|
167
167
|
UserInput::input()
|
|
168
168
|
end
|
|
169
169
|
|
data/lib/events.rb
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
=end
|
|
16
16
|
|
|
17
17
|
# All events known.
|
|
18
|
+
$events << ['Ibn Battuta visits the sultanate of Mali', 1352, 'Ibn Battuta, the great Morrocan voyager, in his journal described many of the territories under Muslim domination and became, thus, the only eyewitness of West-African societies and their political organization at that time. His writings contrast with that of later authors who – often in a colonial context – deny the existence of developped societies in this part of the world and, thus, imposed that “Africa has had no history”.']
|
|
19
|
+
$events << ['Obligations towards Britain as the colonial Power create a huge famine in Bengal (India)', 1943, 'Following the Japanese occupation of Burma, Britain demanded material support for its war efforts from the Indian colonies and - at the same time – refused its care for an already suffering population. When the extend of the resulting famine began to get known, feeble counter-measures were sufficient to downplay the the catastrophy.']
|
|
18
20
|
$events << ['Howard Hughes founds his own aircraft company', 1932,'Hughes was an American manufacturer, aviator, and motion-picture producer and director who acquired enormous wealth and celebrity from his various ventures but was perhaps better known for his eccentricities, especially his reclusiveness (britannica.com).' ]
|
|
19
21
|
$events << ['Destruction of the German town Dresden', 1945,'The bombing on February 1945 caused a firestorm which left the town ablaze for weeks and killed about 35000 people although the precise number will probably never be established.' ]
|
|
20
22
|
$events << ['The aviator Charles Lindbergh dies', 1974,'Charles Lindbergh was the first aviator to complete a solo transatlantic flight in May 1927.' ]
|
data/lib/version.rb
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
=end
|
|
17
17
|
|
|
18
18
|
APPNAME = 'Timequiz'
|
|
19
|
-
VERSION = '0
|
|
20
|
-
SUMMARY = '
|
|
19
|
+
VERSION = '1.0'
|
|
20
|
+
SUMMARY = 'Added events, version clashes on rubygems.org resolved'
|
|
21
21
|
AUTHOR = 'Michael Uplawski'
|
|
22
22
|
AUTHOR_MAIL = '<michael.uplawski@uplawski.eu>'
|
|
23
23
|
YEARS = 2017 - 2026
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: timequiz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0
|
|
4
|
+
version: '1.0'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Uplawski
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-06-06 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: Play a history game
|
|
13
13
|
email: michael.uplawski@uplawski.eu
|
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
57
57
|
- !ruby/object:Gem::Version
|
|
58
58
|
version: '0'
|
|
59
59
|
requirements: []
|
|
60
|
-
rubygems_version: 4.0.
|
|
60
|
+
rubygems_version: 4.0.13
|
|
61
61
|
specification_version: 4
|
|
62
|
-
summary:
|
|
62
|
+
summary: Added events, version clashes on rubygems.org resolved
|
|
63
63
|
test_files: []
|