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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +13 -0
  3. data/Gemfile +4 -0
  4. data/README.md +6 -7
  5. data/Rakefile +4 -0
  6. data/examples/basics.rb +4 -0
  7. data/examples/translate.rb +26 -0
  8. data/examples/uri.rb +16 -0
  9. data/html/CHANGELOG.html +37 -30
  10. data/html/COPYING_md.html +22 -30
  11. data/html/Gemfile.html +25 -31
  12. data/html/Object.html +825 -63
  13. data/html/README_md.html +27 -33
  14. data/html/Rakefile.html +25 -31
  15. data/html/WWWJDic.html +42 -124
  16. data/html/WWWJDic/ParsableDuckType.html +35 -57
  17. data/html/WWWJDic/Parser.html +48 -90
  18. data/html/WWWJDic/Parsers.html +28 -36
  19. data/html/WWWJDic/Parsers/Dict.html +47 -73
  20. data/html/WWWJDic/Parsers/Display.html +42 -68
  21. data/html/WWWJDic/Parsers/Key.html +42 -68
  22. data/html/WWWJDic/Parsers/Search.html +38 -61
  23. data/html/WWWJDic/Parsers/Server.html +42 -68
  24. data/html/WWWJDic/Splitter.html +76 -173
  25. data/html/WWWJDic/Utils.html +28 -36
  26. data/html/WWWJDic/Utils/Downloader.html +28 -36
  27. data/html/WWWJDic/Utils/Downloader/Downloader.html +41 -80
  28. data/html/WWWJDic/Utils/Raisers.html +42 -96
  29. data/html/WWWJDic/WWWJDic.html +160 -342
  30. data/html/copyright_md.html +22 -30
  31. data/html/created.rid +32 -54
  32. data/html/css/rdoc.css +1 -1
  33. data/html/index.html +26 -51
  34. data/html/js/darkfish.js +84 -84
  35. data/html/js/navigation.js.gz +0 -0
  36. data/html/js/search.js +110 -110
  37. data/html/js/search_index.js +1 -1
  38. data/html/js/search_index.js.gz +0 -0
  39. data/html/js/searcher.js +229 -229
  40. data/html/js/searcher.js.gz +0 -0
  41. data/html/table_of_contents.html +153 -161
  42. data/lib/wwwjdic.rb +7 -4
  43. data/lib/wwwjdic/application.rb +52 -25
  44. data/lib/wwwjdic/constants.rb +33 -3
  45. data/lib/wwwjdic/locales/de.yml +2 -0
  46. data/lib/wwwjdic/locales/en.yml +2 -0
  47. data/lib/wwwjdic/locales/es.yml +2 -0
  48. data/lib/wwwjdic/locales/fr.yml +2 -0
  49. data/lib/wwwjdic/locales/hu.yml +2 -0
  50. data/lib/wwwjdic/locales/it.yml +2 -0
  51. data/lib/wwwjdic/locales/ja.yml +3 -1
  52. data/lib/wwwjdic/locales/nl.yml +2 -0
  53. data/lib/wwwjdic/locales/ru.yml +2 -0
  54. data/lib/wwwjdic/locales/sl.yml +2 -0
  55. data/lib/wwwjdic/locales/sv.yml +2 -0
  56. data/lib/wwwjdic/parser.rb +7 -4
  57. data/lib/wwwjdic/parsers/dict.rb +4 -1
  58. data/lib/wwwjdic/parsers/display.rb +4 -1
  59. data/lib/wwwjdic/parsers/key.rb +4 -1
  60. data/lib/wwwjdic/parsers/search.rb +4 -0
  61. data/lib/wwwjdic/parsers/server.rb +4 -1
  62. data/lib/wwwjdic/utils/downloader.rb +7 -8
  63. data/lib/wwwjdic/utils/raisers.rb +7 -13
  64. data/lib/wwwjdic/utils/splitter.rb +18 -9
  65. data/lib/wwwjdic/version.rb +5 -1
  66. data/test/test_helper.rb +4 -0
  67. data/test/test_wwwjdic.rb +4 -0
  68. data/test/wwwjdic/locales/de.yml +2 -0
  69. data/test/wwwjdic/locales/en.yml +2 -0
  70. data/test/wwwjdic/locales/es.yml +2 -0
  71. data/test/wwwjdic/locales/fr.yml +2 -0
  72. data/test/wwwjdic/locales/hu.yml +2 -0
  73. data/test/wwwjdic/locales/it.yml +2 -0
  74. data/test/wwwjdic/locales/ja.yml +2 -0
  75. data/test/wwwjdic/locales/nl.yml +2 -0
  76. data/test/wwwjdic/locales/ru.yml +2 -0
  77. data/test/wwwjdic/locales/sl.yml +2 -0
  78. data/test/wwwjdic/locales/sv.yml +2 -0
  79. data/test/wwwjdic/locales/test_locales.rb +35 -19
  80. data/test/wwwjdic/parsers/test_dict.rb +62 -36
  81. data/test/wwwjdic/parsers/test_display.rb +4 -0
  82. data/test/wwwjdic/parsers/test_key.rb +4 -0
  83. data/test/wwwjdic/parsers/test_server.rb +4 -0
  84. data/test/wwwjdic/test_application.rb +196 -148
  85. data/test/wwwjdic/test_parsable_duck_type.rb +4 -3
  86. data/test/wwwjdic/utils/test_downloader.rb +4 -0
  87. data/test/wwwjdic/utils/test_raisers.rb +42 -27
  88. data/wwwjdic.gemspec +14 -11
  89. metadata +19 -33
data/html/README_md.html CHANGED
@@ -4,29 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>README - wwwjdic 15.0.0</title>
7
+ <title>README - 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 defer src="./js/navigation.js"></script>
15
- <script defer src="./js/search.js"></script>
16
- <script defer src="./js/search_index.js"></script>
17
- <script defer src="./js/searcher.js"></script>
18
- <script defer src="./js/darkfish.js"></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 class="nav-section" id="home-section" role="region" title="Quick navigation">
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 class="project-section initially-hidden" id="search-section" role="search">
42
- <form accept-charset="utf-8" action="#" method="get">
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 aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
- id="search-field" name="search"
46
- placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
- type="text">
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 aria-atomic="false" aria-busy="false"
51
- aria-expanded="false" aria-label="Search Results"
52
- class="initially-hidden" id="search-results"></ul>
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
 
@@ -76,30 +74,24 @@
76
74
 
77
75
 
78
76
  <div id="project-metadata">
79
- <div class="nav-section" id="fileindex-section">
77
+
78
+ <div id="fileindex-section" class="nav-section">
80
79
  <h3>Pages</h3>
81
80
 
82
81
  <ul class="link-list">
83
-
84
82
  <li><a href="./CHANGELOG.html">CHANGELOG</a>
85
-
86
83
  <li><a href="./COPYING_md.html">COPYING</a>
87
-
88
84
  <li><a href="./Gemfile.html">Gemfile</a>
89
-
90
85
  <li><a href="./README_md.html">README</a>
91
-
92
86
  <li><a href="./Rakefile.html">Rakefile</a>
93
-
94
87
  <li><a href="./copyright_md.html">copyright</a>
95
-
96
88
  </ul>
97
89
  </div>
98
90
 
99
91
  </div>
100
92
  </nav>
101
93
 
102
- <main aria-label="Page README.md" role="main">
94
+ <main role="main" aria-label="Page README.md">
103
95
  <!--
104
96
  wwwjdic
105
97
 
@@ -126,14 +118,16 @@ SPDX-License-Identifier: GFDL-1.3-or-later
126
118
  -->
127
119
  <h1 id="label-WWWJDic"><a href="WWWJDic.html"><code>WWWJDic</code></a><span><a href="#label-WWWJDic">&para;</a> <a href="#top">&uarr;</a></span></h1>
128
120
 
129
- <p><img src="https://badgen.net/rubygems/n/wwwjdic"> <img src="https://badgen.net/rubygems/p/wwwjdic"> <img src="https://badgen.net/rubygems/v/wwwjdic"> <img src="https://badgen.net/rubygems/v/wwwjdic/latest"> <img src="https://badgen.net/rubygems/dt/wwwjdic"> <img src="https://badgen.net/rubygems/dv/wwwjdic"></p>
121
+ <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>
122
+
123
+ <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>
124
+
125
+ <p><img src="https://badgen.net/rubygems/dt/wwwjdic"> <img src="https://badgen.net/rubygems/dv/wwwjdic"></p>
130
126
 
131
127
  <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>
132
128
 
133
129
  <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>
134
130
 
135
- <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>
136
-
137
131
  <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>
138
132
 
139
133
  <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&#39;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>
@@ -491,7 +485,7 @@ here.</pre>
491
485
 
492
486
  <footer id="validator-badges" role="contentinfo">
493
487
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
494
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
488
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
495
489
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
496
490
  </footer>
497
491
 
data/html/Rakefile.html CHANGED
@@ -4,29 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>Rakefile - wwwjdic 15.0.0</title>
7
+ <title>Rakefile - 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 defer src="./js/navigation.js"></script>
15
- <script defer src="./js/search.js"></script>
16
- <script defer src="./js/search_index.js"></script>
17
- <script defer src="./js/searcher.js"></script>
18
- <script defer src="./js/darkfish.js"></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 class="nav-section" id="home-section" role="region" title="Quick navigation">
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,52 +36,48 @@
38
36
  </div>
39
37
  </div>
40
38
 
41
- <div class="project-section initially-hidden" id="search-section" role="search">
42
- <form accept-charset="utf-8" action="#" method="get">
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 aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
- id="search-field" name="search"
46
- placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
- type="text">
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 aria-atomic="false" aria-busy="false"
51
- aria-expanded="false" aria-label="Search Results"
52
- class="initially-hidden" id="search-results"></ul>
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
 
60
58
  <div id="project-metadata">
61
- <div class="nav-section" id="fileindex-section">
59
+
60
+ <div id="fileindex-section" class="nav-section">
62
61
  <h3>Pages</h3>
63
62
 
64
63
  <ul class="link-list">
65
-
66
64
  <li><a href="./CHANGELOG.html">CHANGELOG</a>
67
-
68
65
  <li><a href="./COPYING_md.html">COPYING</a>
69
-
70
66
  <li><a href="./Gemfile.html">Gemfile</a>
71
-
72
67
  <li><a href="./README_md.html">README</a>
73
-
74
68
  <li><a href="./Rakefile.html">Rakefile</a>
75
-
76
69
  <li><a href="./copyright_md.html">copyright</a>
77
-
78
70
  </ul>
79
71
  </div>
80
72
 
81
73
  </div>
82
74
  </nav>
83
75
 
84
- <main aria-label="Page Rakefile" role="main">
76
+ <main role="main" aria-label="Page Rakefile">
77
+
78
+ <p># frozen_string_literal: true</p>
85
79
 
86
- <p># wwwjdic # © 2014 Marco Bresciani # # This file is part of wwwjdic. # # wwwjdic is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # wwwjdic is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with wwwjdic. If not, see &lt;<a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/&gt;. # # SPDX-FileCopyrightText: 2014 Marco Bresciani # # SPDX-&lt;span&gt;&lt;/span&gt;License-Identifier: GPL-3.0-or-later #++</p>
80
+ <p># wwwjdic # rubocop:disable Style/AsciiComments # © 2014 Marco Bresciani # rubocop:enable Style/AsciiComments # # This file is part of wwwjdic. # # wwwjdic is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # wwwjdic is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with wwwjdic. If not, see &lt;<a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/&gt;. # # SPDX-FileCopyrightText: 2014 Marco Bresciani # # SPDX-&lt;span&gt;&lt;/span&gt;License-Identifier: GPL-3.0-or-later #++</p>
87
81
 
88
82
  <p>require &#39;rake&#39; require &#39;rake/clean&#39; require &#39;rake/testtask&#39; require &#39;rdoc/task&#39; require &#39;rubygems/package_task&#39;</p>
89
83
 
@@ -128,7 +122,7 @@
128
122
 
129
123
  <footer id="validator-badges" role="contentinfo">
130
124
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
131
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
125
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
132
126
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
133
127
  </footer>
134
128
 
data/html/WWWJDic.html CHANGED
@@ -4,29 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic - wwwjdic 15.0.0</title>
7
+ <title>module WWWJDic - 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 defer src="./js/navigation.js"></script>
15
- <script defer src="./js/search.js"></script>
16
- <script defer src="./js/search_index.js"></script>
17
- <script defer src="./js/searcher.js"></script>
18
- <script defer src="./js/darkfish.js"></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="module" id="top" role="document">
24
+ <body id="top" role="document" class="module">
27
25
  <nav role="navigation">
28
26
  <div id="project-navigation">
29
- <div class="nav-section" id="home-section" role="region" title="Quick navigation">
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,48 +36,46 @@
38
36
  </div>
39
37
  </div>
40
38
 
41
- <div class="project-section initially-hidden" id="search-section" role="search">
42
- <form accept-charset="utf-8" action="#" method="get">
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 aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
- id="search-field" name="search"
46
- placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
- type="text">
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 aria-atomic="false" aria-busy="false"
51
- aria-expanded="false" aria-label="Search Results"
52
- class="initially-hidden" id="search-results"></ul>
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
 
60
58
  <div id="class-metadata">
61
-
62
-
63
-
64
-
65
- <!-- Method Quickref -->
66
- <div class="nav-section" id="method-list-section">
59
+
60
+
61
+
62
+
63
+
64
+ <!-- Method Quickref -->
65
+ <div id="method-list-section" class="nav-section">
67
66
  <h3>Methods</h3>
68
67
 
69
68
  <ul class="link-list" role="directory">
70
-
71
69
  <li ><a href="#method-c-breener">::breener</a>
72
-
73
70
  <li ><a href="#method-c-parser">::parser</a>
74
-
75
71
  </ul>
76
72
  </div>
77
73
 
78
74
  </div>
79
75
  </nav>
80
76
 
81
- <main aria-labelledby="module-WWWJDic" role="main">
82
- <h1 class="module" id="module-WWWJDic">
77
+ <main role="main" aria-labelledby="module-WWWJDic">
78
+ <h1 id="module-WWWJDic" class="module">
83
79
  module WWWJDic
84
80
  </h1>
85
81
 
@@ -97,11 +93,7 @@
97
93
 
98
94
  </section>
99
95
 
100
-
101
- <section class="documentation-section" id="5Buntitled-5D">
102
-
103
-
104
-
96
+ <section id="5Buntitled-5D" class="documentation-section">
105
97
 
106
98
 
107
99
  <section class="constants-list">
@@ -109,49 +101,23 @@
109
101
  <h3>Constants</h3>
110
102
  </header>
111
103
  <dl>
112
-
113
104
  <dt id="ALLOWED_PARAMS">ALLOWED_PARAMS
114
-
115
105
  <dd><p>Allowed parameters for configuration</p>
116
-
117
-
118
106
  <dt id="ALL_PARAMS">ALL_PARAMS
119
-
120
107
  <dd><p>All parameters for configuration</p>
121
-
122
-
123
108
  <dt id="AVAIL_LANGS">AVAIL_LANGS
124
-
125
109
  <dd><p>Numeric codes for language-specific dictionaries</p>
126
-
127
-
128
110
  <dt id="DICTIONARY_CODES">DICTIONARY_CODES
129
-
130
111
  <dd><p>Numeric codes for dictionaries usage</p>
131
-
132
-
133
112
  <dt id="DICTIONARY_NAMES">DICTIONARY_NAMES
134
-
135
113
  <dd><p>Naming for all supported dictionaries</p>
136
-
137
-
138
114
  <dt id="DICTS_BY_CODES">DICTS_BY_CODES
139
-
140
115
  <dd><p>Mapping between dictionaries names with codes</p>
141
-
142
-
143
116
  <dt id="DICTS_BY_NAMES">DICTS_BY_NAMES
144
-
145
117
  <dd><p>Mapping between dictionaries codes with names</p>
146
-
147
-
148
118
  <dt id="DISPLAY">DISPLAY
149
-
150
119
  <dd><p>Display modes</p>
151
-
152
-
153
120
  <dt id="KANJIDIC_CODES">KANJIDIC_CODES
154
-
155
121
  <dd><p>KANJIDIC letter codes (see <a href="http://www.edrdg.org/kanjidic/kanjidic.html">www.edrdg.org/kanjidic/kanjidic.html</a>)</p>
156
122
  <dl class="rdoc-list label-list"><dt>U
157
123
  <dd>
@@ -223,10 +189,7 @@
223
189
  <dd>
224
190
  <p>the PinYin (Chinese) pronunciation(s) of the kanji;</p>
225
191
  </dd></dl>
226
-
227
-
228
192
  <dt id="KEYS">KEYS
229
-
230
193
  <dd><p>k is the key type:</p>
231
194
 
232
195
  <pre>for dictionary lookups
@@ -257,59 +220,34 @@
257
220
  <pre>for example sentence lookups using a regular expression, use E</pre>
258
221
 
259
222
  <p>for EUC, ISO-2022-JP or UCS, S for Shift_JIS and U for UTF-8, followed by the search string. Up to 99 example sentences may be displayed.</p>
260
-
261
-
262
223
  <dt id="TEST_REFERENCE_URI">TEST_REFERENCE_URI
263
-
264
224
  <dd><p>Example basic URI (profile part) for testing purposes.</p>
265
-
266
-
267
225
  <dt id="URIS">URIS
268
-
269
226
  <dd><p>URIs for Backdoor Entry/API</p>
270
-
271
-
272
227
  <dt id="URI_DEFAULT">URI_DEFAULT
273
-
274
228
  <dd><p>Reference URI for Backdoor Entry/API</p>
275
-
276
-
277
229
  <dt id="URI_OLD">URI_OLD
278
-
279
230
  <dd><p>Monash URI for Backdoor Entry/API</p>
280
-
281
-
282
231
  <dt id="VERSION">VERSION
283
-
284
232
  <dd><p>Current version number for <a href="WWWJDic/WWWJDic.html"><code>WWWJDic</code></a> gem.</p>
285
-
286
-
287
233
  </dl>
288
234
  </section>
289
235
 
290
236
 
291
237
 
292
-
293
-
294
- <section class="method-section" id="public-class-5Buntitled-5D-method-details">
238
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
295
239
  <header>
296
240
  <h3>Public Class Methods</h3>
297
241
  </header>
298
242
 
299
-
300
- <div class="method-detail " id="method-c-breener">
301
-
243
+ <div id="method-c-breener" class="method-detail ">
302
244
  <div class="method-heading">
303
245
  <span class="method-name">breener</span><span
304
246
  class="method-args">()</span>
305
-
306
247
  <span class="method-click-advice">click to toggle source</span>
307
-
308
248
  </div>
309
249
 
310
-
311
250
  <div class="method-description">
312
-
313
251
  <p>Creates a new <a href="WWWJDic/WWWJDic.html"><code>WWWJDic</code></a> object (from the verb &#39;to Breen&#39;… :) ).</p>
314
252
  <dl class="rdoc-list note-list"><dt>Usage
315
253
  <dd><ul><li>
@@ -320,71 +258,51 @@
320
258
  <p>a <code>WWWJDic</code> object.</p>
321
259
  </dd></dl>
322
260
 
323
-
324
-
325
-
326
261
  <div class="method-source-code" id="breener-source">
327
262
  <pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
328
- <span class="line-num">43</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">breener</span>
329
- <span class="line-num">44</span> <span class="ruby-constant">WWWJDic</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">parser</span>)
330
- <span class="line-num">45</span> <span class="ruby-keyword">end</span></pre>
263
+ <span class="line-num">46</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">breener</span>
264
+ <span class="line-num">47</span> <span class="ruby-constant">WWWJDic</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">parser</span>)
265
+ <span class="line-num">48</span> <span class="ruby-keyword">end</span></pre>
331
266
  </div>
332
-
333
267
  </div>
334
268
 
335
269
 
336
-
337
-
338
270
  </div>
339
271
 
340
-
341
- <div class="method-detail " id="method-c-parser">
342
-
272
+ <div id="method-c-parser" class="method-detail ">
343
273
  <div class="method-heading">
344
274
  <span class="method-name">parser</span><span
345
275
  class="method-args">()</span>
346
-
347
276
  <span class="method-click-advice">click to toggle source</span>
348
-
349
277
  </div>
350
278
 
351
-
352
279
  <div class="method-description">
353
-
354
280
  <p>Provides the parameters&#39; parsers object.</p>
355
281
 
356
-
357
-
358
-
359
282
  <div class="method-source-code" id="parser-source">
360
283
  <pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
361
- <span class="line-num">48</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">parser</span>
362
- <span class="line-num">49</span> <span class="ruby-identifier">parsers</span> = {<span class="ruby-value">dict:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Dict</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">display:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Display</span>.<span class="ruby-identifier">new</span>,
363
- <span class="line-num">50</span> <span class="ruby-value">key:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Key</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">search:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Search</span>.<span class="ruby-identifier">new</span>,
364
- <span class="line-num">51</span> <span class="ruby-value">server:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Server</span>.<span class="ruby-identifier">new</span>}
365
- <span class="line-num">52</span>
366
- <span class="line-num">53</span> <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">parsers</span>
367
- <span class="line-num">54</span> <span class="ruby-keyword">end</span></pre>
284
+ <span class="line-num">51</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">parser</span>
285
+ <span class="line-num">52</span> <span class="ruby-identifier">parsers</span> = { <span class="ruby-value">dict:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Dict</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">display:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Display</span>.<span class="ruby-identifier">new</span>,
286
+ <span class="line-num">53</span> <span class="ruby-value">key:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Key</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">search:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Search</span>.<span class="ruby-identifier">new</span>,
287
+ <span class="line-num">54</span> <span class="ruby-value">server:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Server</span>.<span class="ruby-identifier">new</span> }
288
+ <span class="line-num">55</span>
289
+ <span class="line-num">56</span> <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">parsers</span>
290
+ <span class="line-num">57</span> <span class="ruby-keyword">end</span></pre>
368
291
  </div>
369
-
370
292
  </div>
371
293
 
372
294
 
373
-
374
-
375
295
  </div>
376
296
 
377
-
378
297
  </section>
379
298
 
380
299
  </section>
381
-
382
300
  </main>
383
301
 
384
302
 
385
303
  <footer id="validator-badges" role="contentinfo">
386
304
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
387
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
305
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
388
306
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
389
307
  </footer>
390
308