wwwjdic 15.0.0 → 16.0.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/CHANGELOG +13 -0
- data/Gemfile +4 -0
- data/README.md +6 -7
- data/Rakefile +4 -0
- data/examples/basics.rb +4 -0
- data/examples/translate.rb +26 -0
- data/examples/uri.rb +16 -0
- data/html/CHANGELOG.html +37 -30
- data/html/COPYING_md.html +22 -30
- data/html/Gemfile.html +25 -31
- data/html/Object.html +825 -63
- data/html/README_md.html +27 -33
- data/html/Rakefile.html +25 -31
- data/html/WWWJDic.html +42 -124
- data/html/WWWJDic/ParsableDuckType.html +35 -57
- data/html/WWWJDic/Parser.html +48 -90
- data/html/WWWJDic/Parsers.html +28 -36
- data/html/WWWJDic/Parsers/Dict.html +47 -73
- data/html/WWWJDic/Parsers/Display.html +42 -68
- data/html/WWWJDic/Parsers/Key.html +42 -68
- data/html/WWWJDic/Parsers/Search.html +38 -61
- data/html/WWWJDic/Parsers/Server.html +42 -68
- data/html/WWWJDic/Splitter.html +76 -173
- data/html/WWWJDic/Utils.html +28 -36
- data/html/WWWJDic/Utils/Downloader.html +28 -36
- data/html/WWWJDic/Utils/Downloader/Downloader.html +41 -80
- data/html/WWWJDic/Utils/Raisers.html +42 -96
- data/html/WWWJDic/WWWJDic.html +160 -342
- data/html/copyright_md.html +22 -30
- data/html/created.rid +32 -54
- data/html/css/rdoc.css +1 -1
- data/html/index.html +26 -51
- data/html/js/darkfish.js +84 -84
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +110 -110
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +229 -229
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +153 -161
- data/lib/wwwjdic.rb +7 -4
- data/lib/wwwjdic/application.rb +52 -25
- data/lib/wwwjdic/constants.rb +33 -3
- data/lib/wwwjdic/locales/de.yml +2 -0
- data/lib/wwwjdic/locales/en.yml +2 -0
- data/lib/wwwjdic/locales/es.yml +2 -0
- data/lib/wwwjdic/locales/fr.yml +2 -0
- data/lib/wwwjdic/locales/hu.yml +2 -0
- data/lib/wwwjdic/locales/it.yml +2 -0
- data/lib/wwwjdic/locales/ja.yml +3 -1
- data/lib/wwwjdic/locales/nl.yml +2 -0
- data/lib/wwwjdic/locales/ru.yml +2 -0
- data/lib/wwwjdic/locales/sl.yml +2 -0
- data/lib/wwwjdic/locales/sv.yml +2 -0
- data/lib/wwwjdic/parser.rb +7 -4
- data/lib/wwwjdic/parsers/dict.rb +4 -1
- data/lib/wwwjdic/parsers/display.rb +4 -1
- data/lib/wwwjdic/parsers/key.rb +4 -1
- data/lib/wwwjdic/parsers/search.rb +4 -0
- data/lib/wwwjdic/parsers/server.rb +4 -1
- data/lib/wwwjdic/utils/downloader.rb +7 -8
- data/lib/wwwjdic/utils/raisers.rb +7 -13
- data/lib/wwwjdic/utils/splitter.rb +18 -9
- data/lib/wwwjdic/version.rb +5 -1
- data/test/test_helper.rb +4 -0
- data/test/test_wwwjdic.rb +4 -0
- data/test/wwwjdic/locales/de.yml +2 -0
- data/test/wwwjdic/locales/en.yml +2 -0
- data/test/wwwjdic/locales/es.yml +2 -0
- data/test/wwwjdic/locales/fr.yml +2 -0
- data/test/wwwjdic/locales/hu.yml +2 -0
- data/test/wwwjdic/locales/it.yml +2 -0
- data/test/wwwjdic/locales/ja.yml +2 -0
- data/test/wwwjdic/locales/nl.yml +2 -0
- data/test/wwwjdic/locales/ru.yml +2 -0
- data/test/wwwjdic/locales/sl.yml +2 -0
- data/test/wwwjdic/locales/sv.yml +2 -0
- data/test/wwwjdic/locales/test_locales.rb +35 -19
- data/test/wwwjdic/parsers/test_dict.rb +62 -36
- data/test/wwwjdic/parsers/test_display.rb +4 -0
- data/test/wwwjdic/parsers/test_key.rb +4 -0
- data/test/wwwjdic/parsers/test_server.rb +4 -0
- data/test/wwwjdic/test_application.rb +196 -148
- data/test/wwwjdic/test_parsable_duck_type.rb +4 -3
- data/test/wwwjdic/utils/test_downloader.rb +4 -0
- data/test/wwwjdic/utils/test_raisers.rb +42 -27
- data/wwwjdic.gemspec +14 -11
- metadata +19 -33
data/html/copyright_md.html
CHANGED
@@ -4,29 +4,27 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>copyright - wwwjdic
|
7
|
+
<title>copyright - wwwjdic 16.0.0</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "./";
|
11
11
|
var index_rel_prefix = "./";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script
|
15
|
-
<script
|
16
|
-
<script
|
17
|
-
<script
|
18
|
-
<script
|
14
|
+
<script src="./js/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
19
|
|
20
20
|
<link href="./css/fonts.css" rel="stylesheet">
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
<body class="file" id="top" role="document">
|
24
|
+
<body id="top" role="document" class="file">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
29
|
-
<div
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
28
|
<h2>
|
31
29
|
<a href="./index.html" rel="home">Home</a>
|
32
30
|
</h2>
|
@@ -38,24 +36,24 @@
|
|
38
36
|
</div>
|
39
37
|
</div>
|
40
38
|
|
41
|
-
<div
|
42
|
-
<form
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
43
41
|
<div id="search-field-wrapper">
|
44
|
-
<input
|
45
|
-
|
46
|
-
|
47
|
-
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
48
46
|
</div>
|
49
47
|
|
50
|
-
<ul
|
51
|
-
aria-
|
52
|
-
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
53
51
|
</form>
|
54
52
|
</div>
|
55
53
|
|
56
54
|
</div>
|
57
55
|
|
58
|
-
|
56
|
+
|
59
57
|
<div class="nav-section">
|
60
58
|
<h3>Table of Contents</h3>
|
61
59
|
|
@@ -72,30 +70,24 @@
|
|
72
70
|
|
73
71
|
|
74
72
|
<div id="project-metadata">
|
75
|
-
|
73
|
+
|
74
|
+
<div id="fileindex-section" class="nav-section">
|
76
75
|
<h3>Pages</h3>
|
77
76
|
|
78
77
|
<ul class="link-list">
|
79
|
-
|
80
78
|
<li><a href="./CHANGELOG.html">CHANGELOG</a>
|
81
|
-
|
82
79
|
<li><a href="./COPYING_md.html">COPYING</a>
|
83
|
-
|
84
80
|
<li><a href="./Gemfile.html">Gemfile</a>
|
85
|
-
|
86
81
|
<li><a href="./README_md.html">README</a>
|
87
|
-
|
88
82
|
<li><a href="./Rakefile.html">Rakefile</a>
|
89
|
-
|
90
83
|
<li><a href="./copyright_md.html">copyright</a>
|
91
|
-
|
92
84
|
</ul>
|
93
85
|
</div>
|
94
86
|
|
95
87
|
</div>
|
96
88
|
</nav>
|
97
89
|
|
98
|
-
<main aria-label="Page copyright.md"
|
90
|
+
<main role="main" aria-label="Page copyright.md">
|
99
91
|
<!--
|
100
92
|
wwwjdic
|
101
93
|
|
@@ -405,7 +397,7 @@ SPDX-License-Identifier: FSFAP
|
|
405
397
|
|
406
398
|
<footer id="validator-badges" role="contentinfo">
|
407
399
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
408
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
400
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
409
401
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
410
402
|
</footer>
|
411
403
|
|
data/html/created.rid
CHANGED
@@ -1,56 +1,34 @@
|
|
1
|
-
|
2
|
-
CHANGELOG
|
1
|
+
Mon, 26 Jul 2021 10:48:17 +0200
|
2
|
+
CHANGELOG Tue, 05 Jan 2021 13:40:13 +0100
|
3
3
|
COPYING.md Mon, 25 Feb 2019 15:42:16 +0100
|
4
|
-
Gemfile
|
5
|
-
README.md
|
6
|
-
Rakefile
|
4
|
+
Gemfile Thu, 07 Jan 2021 17:39:16 +0100
|
5
|
+
README.md Fri, 08 Jan 2021 09:28:43 +0100
|
6
|
+
Rakefile Thu, 07 Jan 2021 17:39:16 +0100
|
7
7
|
copyright.md Tue, 17 Nov 2020 12:20:01 +0100
|
8
|
-
examples/basics.rb
|
9
|
-
examples/translate.rb
|
10
|
-
examples/uri.rb
|
11
|
-
lib/wwwjdic/application.rb
|
12
|
-
lib/wwwjdic/constants.rb
|
13
|
-
lib/wwwjdic/
|
14
|
-
lib/wwwjdic/
|
15
|
-
lib/wwwjdic/
|
16
|
-
lib/wwwjdic/
|
17
|
-
lib/wwwjdic/
|
18
|
-
lib/wwwjdic/
|
19
|
-
lib/wwwjdic/
|
20
|
-
lib/wwwjdic/
|
21
|
-
lib/wwwjdic/
|
22
|
-
lib/wwwjdic/
|
23
|
-
lib/wwwjdic
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
test/test_helper.rb Tue, 17 Nov 2020 09:51:43 +0100
|
36
|
-
test/test_wwwjdic.rb Tue, 17 Nov 2020 09:51:43 +0100
|
37
|
-
test/wwwjdic/locales/de.yml Tue, 17 Nov 2020 09:51:42 +0100
|
38
|
-
test/wwwjdic/locales/en.yml Tue, 17 Nov 2020 09:51:42 +0100
|
39
|
-
test/wwwjdic/locales/es.yml Tue, 17 Nov 2020 09:51:43 +0100
|
40
|
-
test/wwwjdic/locales/fr.yml Tue, 17 Nov 2020 09:52:23 +0100
|
41
|
-
test/wwwjdic/locales/hu.yml Tue, 17 Nov 2020 09:52:23 +0100
|
42
|
-
test/wwwjdic/locales/it.yml Mon, 23 Nov 2020 10:57:30 +0100
|
43
|
-
test/wwwjdic/locales/ja.yml Tue, 17 Nov 2020 11:55:37 +0100
|
44
|
-
test/wwwjdic/locales/nl.yml Tue, 17 Nov 2020 09:52:23 +0100
|
45
|
-
test/wwwjdic/locales/ru.yml Tue, 17 Nov 2020 11:55:45 +0100
|
46
|
-
test/wwwjdic/locales/sl.yml Tue, 17 Nov 2020 09:52:23 +0100
|
47
|
-
test/wwwjdic/locales/sv.yml Tue, 17 Nov 2020 09:51:46 +0100
|
48
|
-
test/wwwjdic/locales/test_locales.rb Mon, 23 Nov 2020 10:59:11 +0100
|
49
|
-
test/wwwjdic/parsers/test_dict.rb Tue, 24 Nov 2020 09:02:03 +0100
|
50
|
-
test/wwwjdic/parsers/test_display.rb Tue, 24 Nov 2020 09:02:29 +0100
|
51
|
-
test/wwwjdic/parsers/test_key.rb Tue, 24 Nov 2020 09:03:05 +0100
|
52
|
-
test/wwwjdic/parsers/test_server.rb Tue, 24 Nov 2020 09:03:41 +0100
|
53
|
-
test/wwwjdic/test_application.rb Mon, 23 Nov 2020 11:25:44 +0100
|
54
|
-
test/wwwjdic/test_parsable_duck_type.rb Tue, 17 Nov 2020 09:51:42 +0100
|
55
|
-
test/wwwjdic/utils/test_downloader.rb Tue, 17 Nov 2020 09:51:42 +0100
|
56
|
-
test/wwwjdic/utils/test_raisers.rb Tue, 24 Nov 2020 09:19:27 +0100
|
8
|
+
examples/basics.rb Thu, 07 Jan 2021 17:39:32 +0100
|
9
|
+
examples/translate.rb Fri, 08 Jan 2021 08:48:15 +0100
|
10
|
+
examples/uri.rb Fri, 08 Jan 2021 08:48:48 +0100
|
11
|
+
lib/wwwjdic/application.rb Fri, 08 Jan 2021 09:13:31 +0100
|
12
|
+
lib/wwwjdic/constants.rb Thu, 07 Jan 2021 17:39:32 +0100
|
13
|
+
lib/wwwjdic/parser.rb Mon, 11 Jan 2021 10:27:43 +0100
|
14
|
+
lib/wwwjdic/parsers/dict.rb Thu, 07 Jan 2021 17:39:31 +0100
|
15
|
+
lib/wwwjdic/parsers/display.rb Thu, 07 Jan 2021 17:39:31 +0100
|
16
|
+
lib/wwwjdic/parsers/key.rb Mon, 01 Feb 2021 12:25:50 +0100
|
17
|
+
lib/wwwjdic/parsers/search.rb Thu, 07 Jan 2021 17:39:32 +0100
|
18
|
+
lib/wwwjdic/parsers/server.rb Thu, 07 Jan 2021 17:39:31 +0100
|
19
|
+
lib/wwwjdic/utils/downloader.rb Mon, 01 Feb 2021 11:01:58 +0100
|
20
|
+
lib/wwwjdic/utils/raisers.rb Thu, 07 Jan 2021 17:39:32 +0100
|
21
|
+
lib/wwwjdic/utils/splitter.rb Mon, 01 Feb 2021 12:27:49 +0100
|
22
|
+
lib/wwwjdic/version.rb Thu, 07 Jan 2021 17:39:31 +0100
|
23
|
+
lib/wwwjdic.rb Thu, 07 Jan 2021 17:39:31 +0100
|
24
|
+
test/test_helper.rb Thu, 07 Jan 2021 17:39:32 +0100
|
25
|
+
test/test_wwwjdic.rb Thu, 07 Jan 2021 17:39:31 +0100
|
26
|
+
test/wwwjdic/locales/test_locales.rb Tue, 19 Jan 2021 09:04:50 +0100
|
27
|
+
test/wwwjdic/parsers/test_dict.rb Tue, 19 Jan 2021 09:37:33 +0100
|
28
|
+
test/wwwjdic/parsers/test_display.rb Thu, 07 Jan 2021 17:39:31 +0100
|
29
|
+
test/wwwjdic/parsers/test_key.rb Thu, 07 Jan 2021 17:39:31 +0100
|
30
|
+
test/wwwjdic/parsers/test_server.rb Thu, 07 Jan 2021 17:39:31 +0100
|
31
|
+
test/wwwjdic/test_application.rb Mon, 01 Feb 2021 12:35:00 +0100
|
32
|
+
test/wwwjdic/test_parsable_duck_type.rb Thu, 07 Jan 2021 17:41:14 +0100
|
33
|
+
test/wwwjdic/utils/test_downloader.rb Thu, 07 Jan 2021 17:39:32 +0100
|
34
|
+
test/wwwjdic/utils/test_raisers.rb Tue, 19 Jan 2021 17:05:08 +0100
|
data/html/css/rdoc.css
CHANGED
data/html/index.html
CHANGED
@@ -4,29 +4,27 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>wwwjdic
|
7
|
+
<title>wwwjdic 16.0.0</title>
|
8
8
|
|
9
9
|
<script type="text/javascript">
|
10
10
|
var rdoc_rel_prefix = "./";
|
11
11
|
var index_rel_prefix = "./";
|
12
12
|
</script>
|
13
13
|
|
14
|
-
<script
|
15
|
-
<script
|
16
|
-
<script
|
17
|
-
<script
|
18
|
-
<script
|
14
|
+
<script src="./js/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
19
|
|
20
20
|
<link href="./css/fonts.css" rel="stylesheet">
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
<body class="file" id="top" role="document">
|
24
|
+
<body id="top" role="document" class="file">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
29
|
-
<div
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
28
|
<h2>
|
31
29
|
<a href="./index.html" rel="home">Home</a>
|
32
30
|
</h2>
|
@@ -39,81 +37,58 @@
|
|
39
37
|
</div>
|
40
38
|
|
41
39
|
|
42
|
-
<div
|
43
|
-
<form
|
40
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
41
|
+
<form action="#" method="get" accept-charset="utf-8">
|
44
42
|
<div id="search-field-wrapper">
|
45
|
-
<input
|
46
|
-
|
47
|
-
|
48
|
-
|
43
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
44
|
+
aria-autocomplete="list" aria-controls="search-results"
|
45
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
46
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
49
47
|
</div>
|
50
48
|
|
51
|
-
<ul
|
52
|
-
aria-
|
53
|
-
|
49
|
+
<ul id="search-results" aria-label="Search Results"
|
50
|
+
aria-busy="false" aria-expanded="false"
|
51
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
54
52
|
</form>
|
55
53
|
</div>
|
56
54
|
|
57
55
|
</div>
|
58
56
|
|
59
57
|
<div id="project-metadata">
|
60
|
-
|
58
|
+
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
61
60
|
<h3>Pages</h3>
|
62
61
|
|
63
62
|
<ul class="link-list">
|
64
|
-
|
65
63
|
<li><a href="./CHANGELOG.html">CHANGELOG</a>
|
66
|
-
|
67
64
|
<li><a href="./COPYING_md.html">COPYING</a>
|
68
|
-
|
69
65
|
<li><a href="./Gemfile.html">Gemfile</a>
|
70
|
-
|
71
66
|
<li><a href="./README_md.html">README</a>
|
72
|
-
|
73
67
|
<li><a href="./Rakefile.html">Rakefile</a>
|
74
|
-
|
75
68
|
<li><a href="./copyright_md.html">copyright</a>
|
76
|
-
|
77
69
|
</ul>
|
78
70
|
</div>
|
79
71
|
|
80
|
-
<div
|
72
|
+
<div id="classindex-section" class="nav-section">
|
81
73
|
<h3>Class and Module Index</h3>
|
82
74
|
|
83
75
|
<ul class="link-list">
|
84
|
-
|
85
76
|
<li><a href="./Object.html">Object</a>
|
86
|
-
|
87
77
|
<li><a href="./WWWJDic.html">WWWJDic</a>
|
88
|
-
|
89
78
|
<li><a href="./WWWJDic/ParsableDuckType.html">WWWJDic::ParsableDuckType</a>
|
90
|
-
|
91
79
|
<li><a href="./WWWJDic/Parser.html">WWWJDic::Parser</a>
|
92
|
-
|
93
80
|
<li><a href="./WWWJDic/Parsers.html">WWWJDic::Parsers</a>
|
94
|
-
|
95
81
|
<li><a href="./WWWJDic/Parsers/Dict.html">WWWJDic::Parsers::Dict</a>
|
96
|
-
|
97
82
|
<li><a href="./WWWJDic/Parsers/Display.html">WWWJDic::Parsers::Display</a>
|
98
|
-
|
99
83
|
<li><a href="./WWWJDic/Parsers/Key.html">WWWJDic::Parsers::Key</a>
|
100
|
-
|
101
84
|
<li><a href="./WWWJDic/Parsers/Search.html">WWWJDic::Parsers::Search</a>
|
102
|
-
|
103
85
|
<li><a href="./WWWJDic/Parsers/Server.html">WWWJDic::Parsers::Server</a>
|
104
|
-
|
105
86
|
<li><a href="./WWWJDic/Splitter.html">WWWJDic::Splitter</a>
|
106
|
-
|
107
87
|
<li><a href="./WWWJDic/Utils.html">WWWJDic::Utils</a>
|
108
|
-
|
109
88
|
<li><a href="./WWWJDic/Utils/Downloader.html">WWWJDic::Utils::Downloader</a>
|
110
|
-
|
111
89
|
<li><a href="./WWWJDic/Utils/Downloader/Downloader.html">WWWJDic::Utils::Downloader::Downloader</a>
|
112
|
-
|
113
90
|
<li><a href="./WWWJDic/Utils/Raisers.html">WWWJDic::Utils::Raisers</a>
|
114
|
-
|
115
91
|
<li><a href="./WWWJDic/WWWJDic.html">WWWJDic::WWWJDic</a>
|
116
|
-
|
117
92
|
</ul>
|
118
93
|
</div>
|
119
94
|
|
@@ -148,14 +123,16 @@ SPDX-License-Identifier: GFDL-1.3-or-later
|
|
148
123
|
-->
|
149
124
|
<h1 id="label-WWWJDic"><a href="WWWJDic.html"><code>WWWJDic</code></a><span><a href="#label-WWWJDic">¶</a> <a href="#top">↑</a></span></h1>
|
150
125
|
|
151
|
-
<p><img src="https://badgen.net/rubygems/n/wwwjdic"> <img src="https://badgen.net/rubygems/
|
126
|
+
<p><img src="https://badgen.net/rubygems/n/wwwjdic"> <img src="https://badgen.net/rubygems/v/wwwjdic/latest"> <img src="https://badgen.net/rubygems/p/wwwjdic"></p>
|
127
|
+
|
128
|
+
<p><a href="https://github.com/RichardLitt/standard-readme"><img src="https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=plastic"></a> <a href="https://github.com/rubocop-hq/rubocop"><img src="https://img.shields.io/badge/code_style-rubocop-brightgreen.svg"></a> <a href="https://api.reuse.software/info/git.fsfe.org/reuse/api"><img src="https://api.reuse.software/badge/git.fsfe.org/reuse/api"></a></p>
|
129
|
+
|
130
|
+
<p><img src="https://badgen.net/rubygems/dt/wwwjdic"> <img src="https://badgen.net/rubygems/dv/wwwjdic"></p>
|
152
131
|
|
153
132
|
<p><img src="https://img.shields.io/gem/rt/wwwjdic.svg?style=plastic"> <img src="https://img.shields.io/gem/rd/wwwjdic.svg?style=plastic"> <img src="https://img.shields.io/librariesio/dependent-repos/rubygems/wwwjdic.svg?style=plastic"> <img src="https://img.shields.io/gem/u/MarcoBresciani?style=plastic"></p>
|
154
133
|
|
155
134
|
<p><img src="https://img.shields.io/security-headers?style=plastic&url=https%3A%2F%2Fsavannah.nongnu.org%2Fprojects%2Faamfp"> <img src="https://img.shields.io/hsts/preload/savannah.nongnu.org?style=plastic"> <img src="https://img.shields.io/mozilla-observatory/grade/savannah.nongnu.org?publish&style=plastic"> <img src="https://img.shields.io/website?style=plastic&url=https%3A%2F%2Fsavannah.nongnu.org%2Fprojects%2Faamfp"></p>
|
156
135
|
|
157
|
-
<p><a href="https://github.com/RichardLitt/standard-readme"><img src="https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=plastic"></a> <a href="https://github.com/rubocop-hq/rubocop"><img src="https://img.shields.io/badge/code_style-rubocop-brightgreen.svg"></a> <a href="https://rubystyle.guide"><img src="https://img.shields.io/badge/code_style-community-brightgreen.svg"></a> <a href="https://api.reuse.software/info/git.fsfe.org/reuse/api"><img src="https://api.reuse.software/badge/git.fsfe.org/reuse/api"></a></p>
|
158
|
-
|
159
136
|
<p>This gem uses <a href="WWWJDic.html"><code>WWWJDic</code></a> Backdoor Entry/API to interact with <a href="WWWJDic.html"><code>WWWJDic</code></a> and translate to and from Japanese language.</p>
|
160
137
|
|
161
138
|
<p>This gem uses <a href="WWWJDic.html"><code>WWWJDic</code></a> Backdoor Entry/API as described by <a href="http://www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag">www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag</a> to interact with <a href="WWWJDic.html"><code>WWWJDic</code></a> and translate to and from Japanese language. <a href="WWWJDic.html"><code>WWWJDic</code></a> is an online Japanese translation server made by Jim Breen and available at <a href="http://www.edrdg.org/cgi-bin/wwwjdic/wwwjdic?1C">www.edrdg.org/cgi-bin/wwwjdic/wwwjdic?1C</a>. GNU GPLv3 license; source code available through anonymous checkout: <code>hg clone http://hg.savannah.nongnu.org/hgweb/wwwjdic/</code> or write me, and I'll send it. You can even decide to contribute to this little free software project by registering to Savannah and ask to be part of the <code>wwwjdic</code> project!</p>
|
@@ -507,14 +484,12 @@ here.</pre>
|
|
507
484
|
|
508
485
|
<p>You should have received a copy of the GNU General Public License along with wwwjdic. If not, see <a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
509
486
|
|
510
|
-
|
511
487
|
</main>
|
512
488
|
|
513
489
|
|
514
|
-
|
515
490
|
<footer id="validator-badges" role="contentinfo">
|
516
491
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
517
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
492
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
518
493
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
519
494
|
</footer>
|
520
495
|
|
data/html/js/darkfish.js
CHANGED
@@ -1,84 +1,84 @@
|
|
1
|
-
/**
|
2
|
-
*
|
3
|
-
* Darkfish Page Functions
|
4
|
-
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
5
|
-
*
|
6
|
-
* Author: Michael Granger <mgranger@laika.com>
|
7
|
-
*
|
8
|
-
*/
|
9
|
-
|
10
|
-
/* Provide console simulation for firebug-less environments */
|
11
|
-
/*
|
12
|
-
if (!("console" in window) || !("firebug" in console)) {
|
13
|
-
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
14
|
-
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
15
|
-
|
16
|
-
window.console = {};
|
17
|
-
for (var i = 0; i < names.length; ++i)
|
18
|
-
window.console[names[i]] = function() {};
|
19
|
-
};
|
20
|
-
*/
|
21
|
-
|
22
|
-
|
23
|
-
function showSource( e ) {
|
24
|
-
var target = e.target;
|
25
|
-
while (!target.classList.contains('method-detail')) {
|
26
|
-
target = target.parentNode;
|
27
|
-
}
|
28
|
-
if (typeof target !== "undefined" && target !== null) {
|
29
|
-
target = target.querySelector('.method-source-code');
|
30
|
-
}
|
31
|
-
if (typeof target !== "undefined" && target !== null) {
|
32
|
-
target.classList.toggle('active-menu')
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
function hookSourceViews() {
|
37
|
-
document.querySelectorAll('.method-heading').forEach(function (codeObject) {
|
38
|
-
codeObject.addEventListener('click', showSource);
|
39
|
-
});
|
40
|
-
}
|
41
|
-
|
42
|
-
function hookSearch() {
|
43
|
-
var input = document.querySelector('#search-field');
|
44
|
-
var result = document.querySelector('#search-results');
|
45
|
-
result.classList.remove("initially-hidden");
|
46
|
-
|
47
|
-
var search_section = document.querySelector('#search-section');
|
48
|
-
search_section.classList.remove("initially-hidden");
|
49
|
-
|
50
|
-
var search = new Search(search_data, input, result);
|
51
|
-
|
52
|
-
search.renderItem = function(result) {
|
53
|
-
var li = document.createElement('li');
|
54
|
-
var html = '';
|
55
|
-
|
56
|
-
// TODO add relative path to <script> per-page
|
57
|
-
html += '<p class="search-match"><a href="' + index_rel_prefix + result.path + '">' + this.hlt(result.title);
|
58
|
-
if (result.params)
|
59
|
-
html += '<span class="params">' + result.params + '</span>';
|
60
|
-
html += '</a>';
|
61
|
-
|
62
|
-
|
63
|
-
if (result.namespace)
|
64
|
-
html += '<p class="search-namespace">' + this.hlt(result.namespace);
|
65
|
-
|
66
|
-
if (result.snippet)
|
67
|
-
html += '<div class="search-snippet">' + result.snippet + '</div>';
|
68
|
-
|
69
|
-
li.innerHTML = html;
|
70
|
-
|
71
|
-
return li;
|
72
|
-
}
|
73
|
-
|
74
|
-
search.select = function(result) {
|
75
|
-
window.location.href = result.firstChild.firstChild.href;
|
76
|
-
}
|
77
|
-
|
78
|
-
search.scrollIntoView = search.scrollInWindow;
|
79
|
-
}
|
80
|
-
|
81
|
-
document.addEventListener('DOMContentLoaded', function() {
|
82
|
-
hookSourceViews();
|
83
|
-
hookSearch();
|
84
|
-
});
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* Darkfish Page Functions
|
4
|
+
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
5
|
+
*
|
6
|
+
* Author: Michael Granger <mgranger@laika.com>
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Provide console simulation for firebug-less environments */
|
11
|
+
/*
|
12
|
+
if (!("console" in window) || !("firebug" in console)) {
|
13
|
+
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
14
|
+
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
15
|
+
|
16
|
+
window.console = {};
|
17
|
+
for (var i = 0; i < names.length; ++i)
|
18
|
+
window.console[names[i]] = function() {};
|
19
|
+
};
|
20
|
+
*/
|
21
|
+
|
22
|
+
|
23
|
+
function showSource( e ) {
|
24
|
+
var target = e.target;
|
25
|
+
while (!target.classList.contains('method-detail')) {
|
26
|
+
target = target.parentNode;
|
27
|
+
}
|
28
|
+
if (typeof target !== "undefined" && target !== null) {
|
29
|
+
target = target.querySelector('.method-source-code');
|
30
|
+
}
|
31
|
+
if (typeof target !== "undefined" && target !== null) {
|
32
|
+
target.classList.toggle('active-menu')
|
33
|
+
}
|
34
|
+
};
|
35
|
+
|
36
|
+
function hookSourceViews() {
|
37
|
+
document.querySelectorAll('.method-heading').forEach(function (codeObject) {
|
38
|
+
codeObject.addEventListener('click', showSource);
|
39
|
+
});
|
40
|
+
};
|
41
|
+
|
42
|
+
function hookSearch() {
|
43
|
+
var input = document.querySelector('#search-field');
|
44
|
+
var result = document.querySelector('#search-results');
|
45
|
+
result.classList.remove("initially-hidden");
|
46
|
+
|
47
|
+
var search_section = document.querySelector('#search-section');
|
48
|
+
search_section.classList.remove("initially-hidden");
|
49
|
+
|
50
|
+
var search = new Search(search_data, input, result);
|
51
|
+
|
52
|
+
search.renderItem = function(result) {
|
53
|
+
var li = document.createElement('li');
|
54
|
+
var html = '';
|
55
|
+
|
56
|
+
// TODO add relative path to <script> per-page
|
57
|
+
html += '<p class="search-match"><a href="' + index_rel_prefix + result.path + '">' + this.hlt(result.title);
|
58
|
+
if (result.params)
|
59
|
+
html += '<span class="params">' + result.params + '</span>';
|
60
|
+
html += '</a>';
|
61
|
+
|
62
|
+
|
63
|
+
if (result.namespace)
|
64
|
+
html += '<p class="search-namespace">' + this.hlt(result.namespace);
|
65
|
+
|
66
|
+
if (result.snippet)
|
67
|
+
html += '<div class="search-snippet">' + result.snippet + '</div>';
|
68
|
+
|
69
|
+
li.innerHTML = html;
|
70
|
+
|
71
|
+
return li;
|
72
|
+
}
|
73
|
+
|
74
|
+
search.select = function(result) {
|
75
|
+
window.location.href = result.firstChild.firstChild.href;
|
76
|
+
}
|
77
|
+
|
78
|
+
search.scrollIntoView = search.scrollInWindow;
|
79
|
+
};
|
80
|
+
|
81
|
+
document.addEventListener('DOMContentLoaded', function() {
|
82
|
+
hookSourceViews();
|
83
|
+
hookSearch();
|
84
|
+
});
|