wwwjdic 16.0.0 → 16.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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +10 -1
  3. data/Gemfile +2 -4
  4. data/README.md +5 -4
  5. data/Rakefile +2 -4
  6. data/copyright.md +5 -5
  7. data/examples/basics.rb +2 -4
  8. data/examples/translate.rb +2 -4
  9. data/examples/uri.rb +2 -6
  10. data/html/CHANGELOG.html +34 -24
  11. data/html/COPYING_md.html +22 -23
  12. data/html/Gemfile.html +23 -24
  13. data/html/Object.html +393 -394
  14. data/html/README_md.html +27 -28
  15. data/html/Rakefile.html +23 -24
  16. data/html/WWWJDic.html +42 -43
  17. data/html/WWWJDic/ParsableDuckType.html +35 -36
  18. data/html/WWWJDic/Parser.html +47 -48
  19. data/html/WWWJDic/Parsers.html +28 -29
  20. data/html/WWWJDic/Parsers/Dict.html +47 -48
  21. data/html/WWWJDic/Parsers/Display.html +42 -43
  22. data/html/WWWJDic/Parsers/Key.html +42 -43
  23. data/html/WWWJDic/Parsers/Search.html +38 -39
  24. data/html/WWWJDic/Parsers/Server.html +42 -43
  25. data/html/WWWJDic/Splitter.html +76 -77
  26. data/html/WWWJDic/Utils.html +29 -30
  27. data/html/WWWJDic/Utils/Downloader.html +40 -35
  28. data/html/WWWJDic/Utils/Downloader/Downloader.html +52 -45
  29. data/html/WWWJDic/Utils/Raisers.html +43 -44
  30. data/html/WWWJDic/WWWJDic.html +162 -163
  31. data/html/copyright_md.html +27 -28
  32. data/html/created.rid +33 -33
  33. data/html/css/rdoc.css +638 -619
  34. data/html/index.html +26 -27
  35. data/html/js/darkfish.js +84 -84
  36. data/html/js/navigation.js.gz +0 -0
  37. data/html/js/search.js +109 -110
  38. data/html/js/search_index.js +1 -1
  39. data/html/js/search_index.js.gz +0 -0
  40. data/html/js/searcher.js +228 -229
  41. data/html/js/searcher.js.gz +0 -0
  42. data/html/table_of_contents.html +10 -10
  43. data/lib/wwwjdic.rb +3 -5
  44. data/lib/wwwjdic/application.rb +4 -5
  45. data/lib/wwwjdic/constants.rb +11 -5
  46. data/lib/wwwjdic/locales/de.yml +2 -2
  47. data/lib/wwwjdic/locales/en.yml +2 -2
  48. data/lib/wwwjdic/locales/es.yml +2 -2
  49. data/lib/wwwjdic/locales/fr.yml +2 -2
  50. data/lib/wwwjdic/locales/hu.yml +2 -2
  51. data/lib/wwwjdic/locales/it.yml +2 -2
  52. data/lib/wwwjdic/locales/ja.yml +4 -4
  53. data/lib/wwwjdic/locales/nl.yml +2 -2
  54. data/lib/wwwjdic/locales/ru.yml +2 -2
  55. data/lib/wwwjdic/locales/sl.yml +2 -2
  56. data/lib/wwwjdic/locales/sv.yml +2 -2
  57. data/lib/wwwjdic/parser.rb +3 -5
  58. data/lib/wwwjdic/parsers/dict.rb +3 -5
  59. data/lib/wwwjdic/parsers/display.rb +3 -5
  60. data/lib/wwwjdic/parsers/key.rb +3 -5
  61. data/lib/wwwjdic/parsers/search.rb +3 -5
  62. data/lib/wwwjdic/parsers/server.rb +3 -5
  63. data/lib/wwwjdic/utils/downloader.rb +14 -8
  64. data/lib/wwwjdic/utils/raisers.rb +4 -6
  65. data/lib/wwwjdic/utils/splitter.rb +4 -5
  66. data/lib/wwwjdic/version.rb +10 -4
  67. data/test/test_helper.rb +2 -4
  68. data/test/test_wwwjdic.rb +2 -4
  69. data/test/wwwjdic/locales/de.yml +2 -2
  70. data/test/wwwjdic/locales/en.yml +2 -2
  71. data/test/wwwjdic/locales/es.yml +2 -2
  72. data/test/wwwjdic/locales/fr.yml +2 -2
  73. data/test/wwwjdic/locales/hu.yml +2 -2
  74. data/test/wwwjdic/locales/it.yml +2 -2
  75. data/test/wwwjdic/locales/ja.yml +4 -4
  76. data/test/wwwjdic/locales/nl.yml +2 -2
  77. data/test/wwwjdic/locales/ru.yml +2 -2
  78. data/test/wwwjdic/locales/sl.yml +2 -2
  79. data/test/wwwjdic/locales/sv.yml +2 -2
  80. data/test/wwwjdic/locales/test_locales.rb +2 -4
  81. data/test/wwwjdic/parsers/test_dict.rb +2 -4
  82. data/test/wwwjdic/parsers/test_display.rb +2 -4
  83. data/test/wwwjdic/parsers/test_key.rb +2 -4
  84. data/test/wwwjdic/parsers/test_server.rb +2 -4
  85. data/test/wwwjdic/test_application.rb +3 -5
  86. data/test/wwwjdic/test_parsable_duck_type.rb +4 -5
  87. data/test/wwwjdic/utils/test_downloader.rb +2 -4
  88. data/test/wwwjdic/utils/test_raisers.rb +2 -4
  89. data/wwwjdic.gemspec +2 -4
  90. metadata +11 -11
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # wwwjdic
3
3
  # rubocop:disable Style/AsciiComments
4
- # © 2014 Marco Bresciani
4
+ # © 2014-2021 Marco Bresciani
5
5
  # rubocop:enable Style/AsciiComments
6
6
  #
7
7
  # This file is part of wwwjdic.
@@ -19,7 +19,7 @@
19
19
  # You should have received a copy of the GNU General Public License
20
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
21
21
  #
22
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
23
23
  #
24
24
  # SPDX-License-Identifier: GPL-3.0-or-later
25
25
  #++
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # wwwjdic
3
3
  # rubocop:disable Style/AsciiComments
4
- # © 2014 Marco Bresciani
4
+ # © 2014-2021 Marco Bresciani
5
5
  # rubocop:enable Style/AsciiComments
6
6
  #
7
7
  # This file is part of wwwjdic.
@@ -19,7 +19,7 @@
19
19
  # You should have received a copy of the GNU General Public License
20
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
21
21
  #
22
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
23
23
  #
24
24
  # SPDX-License-Identifier: GPL-3.0-or-later
25
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -146,7 +144,7 @@ end
146
144
  def test_override_custom_params(a_word, dict)
147
145
  it 'shall override user-custom display parameter for raw display' do
148
146
  _(subject.raw_uri(a_word, display: :regular,
149
- dict: WWWJDic::AVAIL_LANGS[dict])).must_include WWWJDic::DISPLAY[:raw]
147
+ dict: WWWJDic::AVAIL_LANGS[dict])).must_include WWWJDic::DISPLAY[:raw]
150
148
  end
151
149
  end
152
150
 
@@ -2,9 +2,8 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
6
+ #
8
7
  # This file is part of wwwjdic.
9
8
  #
10
9
  # wwwjdic is free software: you can redistribute it and/or modify it
@@ -20,7 +19,7 @@
20
19
  # You should have received a copy of the GNU General Public License
21
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
22
21
  #
23
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
24
23
  #
25
24
  # SPDX-License-Identifier: GPL-3.0-or-later
26
25
  #++
@@ -30,7 +29,7 @@ module WWWJDic
30
29
  # purposes.
31
30
  #
32
31
  # Author:: {Marco Bresciani}[mailto:marcobresciani_1974@libero.it]
33
- # Copyright:: Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
32
+ # Copyright:: © 2014-2021 Marco Bresciani
34
33
  # License:: GNU General Public License version 3
35
34
  module ParsableDuckType
36
35
  # The method that tests the parsable duck type interface and its
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
- # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
5
+ # © 2014-2021 Marco Bresciani
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -21,7 +19,7 @@
21
19
  # You should have received a copy of the GNU General Public License
22
20
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
- # SPDX-FileCopyrightText: 2014 Marco Bresciani
22
+ # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
25
23
  #
26
24
  # SPDX-License-Identifier: GPL-3.0-or-later
27
25
  #++
data/wwwjdic.gemspec CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  #--
4
4
  # wwwjdic
5
- # rubocop:disable Style/AsciiComments
6
5
  # © 2014 Marco Bresciani
7
- # rubocop:enable Style/AsciiComments
8
6
  #
9
7
  # This file is part of wwwjdic.
10
8
  #
@@ -78,8 +76,8 @@ Gem::Specification.new do |a_gem|
78
76
  a_gem.add_development_dependency 'bundler', '~>2.2'
79
77
  a_gem.add_development_dependency 'minitest', '~>5.14'
80
78
  a_gem.add_development_dependency 'rake', '~>13.0'
81
- a_gem.add_development_dependency 'rdoc', '~>6.2'
82
- a_gem.add_development_dependency 'rubocop', '~>1.8'
79
+ a_gem.add_development_dependency 'rdoc', '~>6.3'
80
+ a_gem.add_development_dependency 'rubocop', '~>1.19'
83
81
  a_gem.add_development_dependency 'simplecov', '~>0.21'
84
82
 
85
83
  a_gem.requirements = a_gem.required_ruby_version.to_s, a_gem.dependencies.to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wwwjdic
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.0.0
4
+ version: 16.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Bresciani
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-07-26 00:00:00.000000000 Z
13
+ date: 2021-08-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: i18n
@@ -88,28 +88,28 @@ dependencies:
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '6.2'
91
+ version: '6.3'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '6.2'
98
+ version: '6.3'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: rubocop
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: '1.8'
105
+ version: '1.19'
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '1.8'
112
+ version: '1.19'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: simplecov
115
115
  requirement: !ruby/object:Gem::Requirement
@@ -278,8 +278,8 @@ metadata:
278
278
  changelog_uri: http://hg.savannah.nongnu.org/hgweb/wwwjdic/file/tip/CHANGELOG
279
279
  source_code_uri: http://hg.savannah.nongnu.org/hgweb/wwwjdic/file/
280
280
  bug_tracker_uri: https://savannah.nongnu.org/bugs/?group=wwwjdic
281
- documentation_uri: http://hg.savannah.nongnu.org/hgweb/wwwjdic/tag/16.0.0/
282
- post_install_message: Thank you for using wwwjdic version 16.0.0.
281
+ documentation_uri: http://hg.savannah.nongnu.org/hgweb/wwwjdic/tag/16.1.0/
282
+ post_install_message: Thank you for using wwwjdic version 16.1.0.
283
283
  rdoc_options: []
284
284
  require_paths:
285
285
  - lib
@@ -299,10 +299,10 @@ requirements:
299
299
  type=:runtime name="json" requirements="~> 2.5">, <Gem::Dependency type=:development
300
300
  name="bundler" requirements="~> 2.2">, <Gem::Dependency type=:development name="minitest"
301
301
  requirements="~> 5.14">, <Gem::Dependency type=:development name="rake" requirements="~>
302
- 13.0">, <Gem::Dependency type=:development name="rdoc" requirements="~> 6.2">, <Gem::Dependency
303
- type=:development name="rubocop" requirements="~> 1.8">, <Gem::Dependency type=:development
302
+ 13.0">, <Gem::Dependency type=:development name="rdoc" requirements="~> 6.3">, <Gem::Dependency
303
+ type=:development name="rubocop" requirements="~> 1.19">, <Gem::Dependency type=:development
304
304
  name="simplecov" requirements="~> 0.21">]'
305
- rubygems_version: 3.2.5
305
+ rubygems_version: 3.2.25
306
306
  signing_key:
307
307
  specification_version: 4
308
308
  summary: This gem uses WWWJDic Backdoor Entry/API as described by http://www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag