wwwjdic 13.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 +63 -1
- data/Gemfile +9 -1
- data/README.md +499 -225
- data/Rakefile +12 -3
- data/copyright.md +17 -29
- data/examples/basics.rb +55 -45
- data/examples/translate.rb +161 -86
- data/examples/uri.rb +50 -78
- data/html/CHANGELOG.html +80 -21
- data/html/COPYING_md.html +13 -24
- data/html/Gemfile.html +12 -21
- data/html/Object.html +810 -45
- data/html/README_md.html +309 -161
- data/html/Rakefile.html +15 -24
- data/html/WWWJDic.html +41 -81
- data/html/WWWJDic/ParsableDuckType.html +15 -34
- data/html/WWWJDic/Parser.html +25 -64
- data/html/WWWJDic/Parsers.html +8 -13
- data/html/WWWJDic/Parsers/Dict.html +29 -54
- data/html/WWWJDic/Parsers/Display.html +24 -47
- data/html/WWWJDic/Parsers/Key.html +25 -48
- data/html/WWWJDic/Parsers/Search.html +19 -38
- data/html/WWWJDic/Parsers/Server.html +24 -47
- data/html/WWWJDic/Splitter.html +49 -142
- data/html/WWWJDic/Utils.html +9 -14
- data/html/WWWJDic/Utils/Downloader.html +8 -13
- data/html/WWWJDic/Utils/Downloader/Downloader.html +29 -63
- data/html/WWWJDic/Utils/Raisers.html +21 -72
- data/html/WWWJDic/WWWJDic.html +131 -312
- data/html/copyright_md.html +206 -225
- data/html/created.rid +33 -58
- data/html/css/rdoc.css +35 -6
- data/html/index.html +301 -169
- data/html/js/darkfish.js +22 -99
- data/html/js/navigation.js +4 -40
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +32 -31
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +6 -6
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +160 -197
- data/lib/wwwjdic.rb +16 -15
- data/lib/wwwjdic/application.rb +69 -36
- data/lib/wwwjdic/constants.rb +48 -10
- data/lib/wwwjdic/locales/de.yml +9 -4
- data/lib/wwwjdic/locales/en.yml +9 -4
- data/lib/wwwjdic/locales/es.yml +9 -4
- data/lib/wwwjdic/locales/fr.yml +9 -4
- data/lib/wwwjdic/locales/hu.yml +9 -4
- data/lib/wwwjdic/locales/it.yml +9 -4
- data/lib/wwwjdic/locales/ja.yml +11 -5
- data/lib/wwwjdic/locales/nl.yml +9 -4
- data/lib/wwwjdic/locales/ru.yml +9 -4
- data/lib/wwwjdic/locales/sl.yml +9 -4
- data/lib/wwwjdic/locales/sv.yml +9 -4
- data/lib/wwwjdic/parser.rb +15 -8
- data/lib/wwwjdic/parsers/dict.rb +13 -8
- data/lib/wwwjdic/parsers/display.rb +10 -3
- data/lib/wwwjdic/parsers/key.rb +11 -3
- data/lib/wwwjdic/parsers/search.rb +12 -3
- data/lib/wwwjdic/parsers/server.rb +10 -3
- data/lib/wwwjdic/utils/downloader.rb +27 -30
- data/lib/wwwjdic/utils/raisers.rb +14 -15
- data/lib/wwwjdic/utils/splitter.rb +33 -18
- data/lib/wwwjdic/version.rb +28 -20
- data/test/test_helper.rb +12 -1
- data/test/test_wwwjdic.rb +12 -4
- data/test/wwwjdic/locales/de.yml +9 -1
- data/test/wwwjdic/locales/en.yml +9 -1
- data/test/wwwjdic/locales/es.yml +9 -1
- data/test/wwwjdic/locales/fr.yml +9 -1
- data/test/wwwjdic/locales/hu.yml +9 -1
- data/test/wwwjdic/locales/it.yml +10 -1
- data/test/wwwjdic/locales/ja.yml +11 -2
- data/test/wwwjdic/locales/nl.yml +9 -1
- data/test/wwwjdic/locales/ru.yml +9 -1
- data/test/wwwjdic/locales/sl.yml +9 -1
- data/test/wwwjdic/locales/sv.yml +9 -1
- data/test/wwwjdic/locales/test_locales.rb +43 -24
- data/test/wwwjdic/parsers/test_dict.rb +67 -37
- data/test/wwwjdic/parsers/test_display.rb +13 -5
- data/test/wwwjdic/parsers/test_key.rb +12 -4
- data/test/wwwjdic/parsers/test_server.rb +13 -5
- data/test/wwwjdic/test_application.rb +201 -149
- data/test/wwwjdic/test_parsable_duck_type.rb +11 -6
- data/test/wwwjdic/utils/test_downloader.rb +9 -1
- data/test/wwwjdic/utils/test_raisers.rb +48 -29
- data/wwwjdic.gemspec +46 -26
- metadata +55 -43
- data/acknowledgements.md +0 -55
- data/authors.md +0 -67
- data/html/acknowledgements_md.html +0 -149
- data/html/authors_md.html +0 -181
- data/html/js/jquery.js +0 -4
- data/html/wwwjdic_gemspec.html +0 -161
@@ -1,7 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
#--
|
2
4
|
# wwwjdic
|
3
|
-
#
|
4
|
-
#
|
5
|
+
# rubocop:disable Style/AsciiComments
|
6
|
+
# © 2014 Marco Bresciani
|
7
|
+
# rubocop:enable Style/AsciiComments
|
5
8
|
# This file is part of wwwjdic.
|
6
9
|
#
|
7
10
|
# wwwjdic is free software: you can redistribute it and/or modify it
|
@@ -16,22 +19,24 @@
|
|
16
19
|
#
|
17
20
|
# You should have received a copy of the GNU General Public License
|
18
21
|
# along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
|
22
|
+
#
|
23
|
+
# SPDX-FileCopyrightText: 2014 Marco Bresciani
|
24
|
+
#
|
25
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
19
26
|
#++
|
20
27
|
|
21
28
|
module WWWJDic
|
22
|
-
|
23
29
|
# This module represents the parsable duck type element for testing
|
24
30
|
# purposes.
|
25
31
|
#
|
26
32
|
# Author:: {Marco Bresciani}[mailto:marcobresciani_1974@libero.it]
|
27
|
-
# Copyright:: Copyright
|
33
|
+
# Copyright:: Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
|
28
34
|
# License:: GNU General Public License version 3
|
29
35
|
module ParsableDuckType
|
30
|
-
|
31
36
|
# The method that tests the parsable duck type interface and its
|
32
37
|
# +parse+ method.
|
33
38
|
def test_parsable_duck_type
|
34
|
-
subject.must_respond_to :parse unless subject.nil?
|
39
|
+
_(subject).must_respond_to :parse unless subject.nil?
|
35
40
|
end
|
36
41
|
end
|
37
42
|
end
|
@@ -1,6 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
#--
|
2
4
|
# wwwjdic
|
3
|
-
#
|
5
|
+
# rubocop:disable Style/AsciiComments
|
6
|
+
# © 2014 Marco Bresciani
|
7
|
+
# rubocop:enable Style/AsciiComments
|
4
8
|
#
|
5
9
|
# This file is part of wwwjdic.
|
6
10
|
#
|
@@ -16,6 +20,10 @@
|
|
16
20
|
#
|
17
21
|
# You should have received a copy of the GNU General Public License
|
18
22
|
# along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
|
23
|
+
#
|
24
|
+
# SPDX-FileCopyrightText: 2014 Marco Bresciani
|
25
|
+
#
|
26
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
19
27
|
#++
|
20
28
|
|
21
29
|
require_relative '../../test_helper'
|
@@ -1,6 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
#--
|
2
4
|
# wwwjdic
|
3
|
-
#
|
5
|
+
# rubocop:disable Style/AsciiComments
|
6
|
+
# © 2014 Marco Bresciani
|
7
|
+
# rubocop:enable Style/AsciiComments
|
4
8
|
#
|
5
9
|
# This file is part of wwwjdic.
|
6
10
|
#
|
@@ -16,44 +20,59 @@
|
|
16
20
|
#
|
17
21
|
# You should have received a copy of the GNU General Public License
|
18
22
|
# along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
|
23
|
+
#
|
24
|
+
# SPDX-FileCopyrightText: 2014 Marco Bresciani
|
25
|
+
#
|
26
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
19
27
|
#++
|
20
28
|
|
21
29
|
require_relative '../../test_helper'
|
22
30
|
|
31
|
+
def test_no_raise
|
32
|
+
it 'does not raise an ArgumentError when value is nil or in the array' do
|
33
|
+
all_methods = { raiser_downcase: [[nil, nil], ['value', ['value']]],
|
34
|
+
raiser_to_i: [[nil, nil], ['42', [42]]] }
|
23
35
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
I18n.load_path = Dir[File.join(File.dirname(__FILE__), '/../../../lib/wwwjdic/locales/', '*.yml')]
|
29
|
-
I18n.locale = 'it'
|
30
|
-
end
|
31
|
-
|
32
|
-
describe 'when running any raiser method' do
|
33
|
-
it 'does not raise an ArgumentError when value is nil or in the array' do
|
34
|
-
all_methods = Hash.new
|
35
|
-
all_methods[:raiser_downcase] = [[nil, nil], ['value', ['value']]]
|
36
|
-
all_methods[:raiser_to_i] = [[nil, nil], ['42', [42]]]
|
37
|
-
|
38
|
-
all_methods.each_key do |method_name|
|
39
|
-
a_method = self.method method_name
|
40
|
-
all_methods[method_name.to_sym].each do |params|
|
41
|
-
a_method.call 'error.value', params[0], params[1]
|
42
|
-
end
|
36
|
+
all_methods.each_key do |method_name|
|
37
|
+
a_method = method method_name
|
38
|
+
all_methods[method_name.to_sym].each do |params|
|
39
|
+
a_method.call 'error.value', params[0], params[1]
|
43
40
|
end
|
44
41
|
end
|
42
|
+
end
|
43
|
+
end
|
45
44
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
def test_raise
|
46
|
+
it 'raises ArgumentError when value is not nil and not in the array' do
|
47
|
+
all_methods = { raiser_downcase: ['value', ['no value']],
|
48
|
+
raiser_to_i: ['42', [47]] }
|
50
49
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
end
|
50
|
+
all_methods.each_key do |method_name|
|
51
|
+
a_method = method method_name
|
52
|
+
assert_raises ArgumentError do
|
53
|
+
a_method.call 'error.value', all_methods[method_name.to_sym][0], all_methods[method_name.to_sym][1]
|
56
54
|
end
|
57
55
|
end
|
58
56
|
end
|
59
57
|
end
|
58
|
+
|
59
|
+
def test_raiser
|
60
|
+
describe 'when running any raiser method' do
|
61
|
+
test_no_raise
|
62
|
+
|
63
|
+
test_raise
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
describe WWWJDic::Utils::Raisers do
|
68
|
+
include WWWJDic::Utils::Raisers
|
69
|
+
all_methods = nil
|
70
|
+
|
71
|
+
before do
|
72
|
+
I18n.load_path = Dir[File.join(File.dirname(__FILE__), '../locales/', '*.yml')]
|
73
|
+
I18n.locale = 'it'
|
74
|
+
all_methods = {}
|
75
|
+
end
|
76
|
+
|
77
|
+
test_raiser
|
78
|
+
end
|
data/wwwjdic.gemspec
CHANGED
@@ -1,5 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#--
|
1
4
|
# wwwjdic
|
2
|
-
#
|
5
|
+
# rubocop:disable Style/AsciiComments
|
6
|
+
# © 2014 Marco Bresciani
|
7
|
+
# rubocop:enable Style/AsciiComments
|
3
8
|
#
|
4
9
|
# This file is part of wwwjdic.
|
5
10
|
#
|
@@ -15,6 +20,11 @@
|
|
15
20
|
#
|
16
21
|
# You should have received a copy of the GNU General Public License
|
17
22
|
# along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
|
23
|
+
#
|
24
|
+
# SPDX-FileCopyrightText: 2014 Marco Bresciani
|
25
|
+
#
|
26
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
27
|
+
#++
|
18
28
|
|
19
29
|
require_relative 'lib/wwwjdic/version'
|
20
30
|
|
@@ -22,53 +32,63 @@ SUMMARY = 'This gem uses WWWJDic Backdoor Entry/API as described by
|
|
22
32
|
http://www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag to to
|
23
33
|
interact with WWWJDic and translate to and from Japanese language.'
|
24
34
|
|
35
|
+
COMMON_FILES = %w[CHANGELOG COPYING.md copyright.md Gemfile
|
36
|
+
wwwjdic.gemspec Rakefile README.md]
|
37
|
+
|
25
38
|
Gem::Specification.new do |a_gem|
|
26
39
|
a_gem.name = 'wwwjdic'
|
27
40
|
a_gem.version = WWWJDic::VERSION
|
28
41
|
a_gem.license = 'GPL-3.0'
|
29
|
-
a_gem.licenses = %w
|
42
|
+
a_gem.licenses = %w[GPL-3.0 BSD-3-Clause]
|
30
43
|
a_gem.author = 'Marco Bresciani'
|
31
44
|
a_gem.authors = ['Marco Bresciani', '新部裕', 'Jon Maken']
|
32
45
|
a_gem.email = 'marcobresciani_1974@libero.it'
|
33
|
-
a_gem.homepage =
|
46
|
+
a_gem.homepage = "https://savannah.nongnu.org/projects/#{a_gem.name}/"
|
34
47
|
a_gem.summary = SUMMARY
|
35
48
|
a_gem.description = "#{SUMMARY} WWWJDic is an online Japanese
|
36
49
|
translation server made by Jim Breen and available at
|
37
|
-
http://www.edrdg.org/cgi-bin
|
38
|
-
source code available through anonymous checkout: `hg clone
|
39
|
-
http://hg.savannah.nongnu.org/hgweb
|
40
|
-
it. You can even decide to contribute to this little free
|
41
|
-
project by registering to Savannah and ask to be part of the
|
42
|
-
project!"
|
43
|
-
|
44
|
-
|
45
|
-
|
50
|
+
http://www.edrdg.org/cgi-bin/#{a_gem.name}/#{a_gem.name}?1C. GNU GPLv3
|
51
|
+
license; source code available through anonymous checkout: `hg clone
|
52
|
+
http://hg.savannah.nongnu.org/hgweb/#{a_gem.name}/` or write me and
|
53
|
+
I'll send it. You can even decide to contribute to this little free
|
54
|
+
software project by registering to Savannah and ask to be part of the
|
55
|
+
'#{a_gem.name}' project!"
|
56
|
+
a_gem.metadata = {
|
57
|
+
'homepage_uri' => "https://savannah.nongnu.org/projects/#{a_gem.name}",
|
58
|
+
'changelog_uri' => "http://hg.savannah.nongnu.org/hgweb/#{a_gem.name}/file/tip/CHANGELOG",
|
59
|
+
'source_code_uri' => "http://hg.savannah.nongnu.org/hgweb/#{a_gem.name}/file/",
|
60
|
+
'bug_tracker_uri' => "https://savannah.nongnu.org/bugs/?group=#{a_gem.name}",
|
61
|
+
'documentation_uri' => "http://hg.savannah.nongnu.org/hgweb/#{a_gem.name}/tag/#{a_gem.version}/"
|
62
|
+
# 'mailing_list_uri' => 'https://groups.example.com/bestgemever',
|
63
|
+
# 'wiki_uri' => 'https://example.com/user/bestgemever/wiki'
|
64
|
+
}
|
46
65
|
|
47
66
|
a_gem.files = Dir.glob('{examples,html,lib,test}/**/*') + COMMON_FILES
|
48
67
|
a_gem.test_files = Dir.glob('test/**/test_*.rb')
|
49
68
|
a_gem.require_path = 'lib'
|
50
|
-
a_gem.require_paths = %w
|
69
|
+
a_gem.require_paths = %w[lib]
|
51
70
|
a_gem.extra_rdoc_files = COMMON_FILES
|
52
71
|
|
53
|
-
a_gem.required_ruby_version = '~>
|
54
|
-
a_gem.rubygems_version = '~> 3.
|
72
|
+
a_gem.required_ruby_version = '~> 3.0'
|
73
|
+
a_gem.rubygems_version = '~> 3.2'
|
55
74
|
|
56
|
-
a_gem.add_runtime_dependency 'i18n', '~>1.
|
57
|
-
a_gem.add_runtime_dependency 'json', '~>2.
|
75
|
+
a_gem.add_runtime_dependency 'i18n', '~>1.8'
|
76
|
+
a_gem.add_runtime_dependency 'json', '~>2.5'
|
58
77
|
|
59
|
-
a_gem.add_development_dependency 'bundler', '~>2.
|
60
|
-
a_gem.add_development_dependency 'minitest', '~>5.
|
61
|
-
a_gem.add_development_dependency 'rake', '~>
|
62
|
-
a_gem.add_development_dependency 'rdoc', '~>6.
|
63
|
-
a_gem.add_development_dependency '
|
78
|
+
a_gem.add_development_dependency 'bundler', '~>2.2'
|
79
|
+
a_gem.add_development_dependency 'minitest', '~>5.14'
|
80
|
+
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'
|
83
|
+
a_gem.add_development_dependency 'simplecov', '~>0.21'
|
64
84
|
|
65
85
|
a_gem.requirements = a_gem.required_ruby_version.to_s, a_gem.dependencies.to_s
|
66
86
|
|
67
|
-
begin
|
87
|
+
a_gem.post_install_message = begin
|
68
88
|
require 'changelog'
|
69
89
|
rescue LoadError
|
70
|
-
|
71
|
-
|
72
|
-
|
90
|
+
"Thank you for using #{a_gem.name} version #{a_gem.version}."
|
91
|
+
else
|
92
|
+
CHANGELOG.new.version_changes
|
73
93
|
end
|
74
94
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wwwjdic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 16.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Bresciani
|
8
8
|
- 新部裕
|
9
9
|
- Jon Maken
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-07-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: i18n
|
@@ -18,115 +18,127 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
21
|
+
version: '1.8'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '1.
|
28
|
+
version: '1.8'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: json
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '2.
|
35
|
+
version: '2.5'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '2.
|
42
|
+
version: '2.5'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: bundler
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '2.
|
49
|
+
version: '2.2'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '2.
|
56
|
+
version: '2.2'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: minitest
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '5.
|
63
|
+
version: '5.14'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '5.
|
70
|
+
version: '5.14'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: rake
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
77
|
+
version: '13.0'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
84
|
+
version: '13.0'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: rdoc
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: '6.
|
91
|
+
version: '6.2'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '6.2'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: rubocop
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '1.8'
|
92
106
|
type: :development
|
93
107
|
prerelease: false
|
94
108
|
version_requirements: !ruby/object:Gem::Requirement
|
95
109
|
requirements:
|
96
110
|
- - "~>"
|
97
111
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
112
|
+
version: '1.8'
|
99
113
|
- !ruby/object:Gem::Dependency
|
100
114
|
name: simplecov
|
101
115
|
requirement: !ruby/object:Gem::Requirement
|
102
116
|
requirements:
|
103
117
|
- - "~>"
|
104
118
|
- !ruby/object:Gem::Version
|
105
|
-
version: '0.
|
119
|
+
version: '0.21'
|
106
120
|
type: :development
|
107
121
|
prerelease: false
|
108
122
|
version_requirements: !ruby/object:Gem::Requirement
|
109
123
|
requirements:
|
110
124
|
- - "~>"
|
111
125
|
- !ruby/object:Gem::Version
|
112
|
-
version: '0.
|
126
|
+
version: '0.21'
|
113
127
|
description: |-
|
114
128
|
This gem uses WWWJDic Backdoor Entry/API as described by
|
115
129
|
http://www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag to to
|
116
130
|
interact with WWWJDic and translate to and from Japanese language. WWWJDic is an online Japanese
|
117
131
|
translation server made by Jim Breen and available at
|
118
|
-
http://www.edrdg.org/cgi-bin/wwwjdic/wwwjdic?1C. GNU GPLv3
|
119
|
-
source code available through anonymous checkout: `hg clone
|
120
|
-
http://hg.savannah.nongnu.org/hgweb/wwwjdic/` or write me and
|
121
|
-
it. You can even decide to contribute to this little free
|
122
|
-
project by registering to Savannah and ask to be part of the
|
123
|
-
project!
|
132
|
+
http://www.edrdg.org/cgi-bin/wwwjdic/wwwjdic?1C. GNU GPLv3
|
133
|
+
license; source code available through anonymous checkout: `hg clone
|
134
|
+
http://hg.savannah.nongnu.org/hgweb/wwwjdic/` or write me and
|
135
|
+
I'll send it. You can even decide to contribute to this little free
|
136
|
+
software project by registering to Savannah and ask to be part of the
|
137
|
+
'wwwjdic' project!
|
124
138
|
email: marcobresciani_1974@libero.it
|
125
139
|
executables: []
|
126
140
|
extensions: []
|
127
141
|
extra_rdoc_files:
|
128
|
-
- acknowledgements.md
|
129
|
-
- authors.md
|
130
142
|
- CHANGELOG
|
131
143
|
- COPYING.md
|
132
144
|
- copyright.md
|
@@ -140,8 +152,6 @@ files:
|
|
140
152
|
- Gemfile
|
141
153
|
- README.md
|
142
154
|
- Rakefile
|
143
|
-
- acknowledgements.md
|
144
|
-
- authors.md
|
145
155
|
- copyright.md
|
146
156
|
- examples/basics.rb
|
147
157
|
- examples/translate.rb
|
@@ -167,8 +177,6 @@ files:
|
|
167
177
|
- html/WWWJDic/Utils/Downloader/Downloader.html
|
168
178
|
- html/WWWJDic/Utils/Raisers.html
|
169
179
|
- html/WWWJDic/WWWJDic.html
|
170
|
-
- html/acknowledgements_md.html
|
171
|
-
- html/authors_md.html
|
172
180
|
- html/copyright_md.html
|
173
181
|
- html/created.rid
|
174
182
|
- html/css/fonts.css
|
@@ -206,7 +214,6 @@ files:
|
|
206
214
|
- html/images/zoom.png
|
207
215
|
- html/index.html
|
208
216
|
- html/js/darkfish.js
|
209
|
-
- html/js/jquery.js
|
210
217
|
- html/js/navigation.js
|
211
218
|
- html/js/navigation.js.gz
|
212
219
|
- html/js/search.js
|
@@ -215,7 +222,6 @@ files:
|
|
215
222
|
- html/js/searcher.js
|
216
223
|
- html/js/searcher.js.gz
|
217
224
|
- html/table_of_contents.html
|
218
|
-
- html/wwwjdic_gemspec.html
|
219
225
|
- lib/wwwjdic.rb
|
220
226
|
- lib/wwwjdic/application.rb
|
221
227
|
- lib/wwwjdic/constants.rb
|
@@ -267,8 +273,13 @@ homepage: https://savannah.nongnu.org/projects/wwwjdic/
|
|
267
273
|
licenses:
|
268
274
|
- GPL-3.0
|
269
275
|
- BSD-3-Clause
|
270
|
-
metadata:
|
271
|
-
|
276
|
+
metadata:
|
277
|
+
homepage_uri: https://savannah.nongnu.org/projects/wwwjdic
|
278
|
+
changelog_uri: http://hg.savannah.nongnu.org/hgweb/wwwjdic/file/tip/CHANGELOG
|
279
|
+
source_code_uri: http://hg.savannah.nongnu.org/hgweb/wwwjdic/file/
|
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.
|
272
283
|
rdoc_options: []
|
273
284
|
require_paths:
|
274
285
|
- lib
|
@@ -276,22 +287,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
276
287
|
requirements:
|
277
288
|
- - "~>"
|
278
289
|
- !ruby/object:Gem::Version
|
279
|
-
version: '
|
290
|
+
version: '3.0'
|
280
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
281
292
|
requirements:
|
282
293
|
- - ">="
|
283
294
|
- !ruby/object:Gem::Version
|
284
295
|
version: '0'
|
285
296
|
requirements:
|
286
|
-
- "~>
|
287
|
-
- '[<Gem::Dependency type=:runtime name="i18n" requirements="~> 1.
|
288
|
-
type=:runtime name="json" requirements="~> 2.
|
289
|
-
name="bundler" requirements="~> 2.
|
290
|
-
requirements="~> 5.
|
291
|
-
|
292
|
-
type=:development name="
|
293
|
-
|
294
|
-
|
297
|
+
- "~> 3.0"
|
298
|
+
- '[<Gem::Dependency type=:runtime name="i18n" requirements="~> 1.8">, <Gem::Dependency
|
299
|
+
type=:runtime name="json" requirements="~> 2.5">, <Gem::Dependency type=:development
|
300
|
+
name="bundler" requirements="~> 2.2">, <Gem::Dependency type=:development name="minitest"
|
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
|
304
|
+
name="simplecov" requirements="~> 0.21">]'
|
305
|
+
rubygems_version: 3.2.5
|
306
|
+
signing_key:
|
295
307
|
specification_version: 4
|
296
308
|
summary: This gem uses WWWJDic Backdoor Entry/API as described by http://www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag
|
297
309
|
to to interact with WWWJDic and translate to and from Japanese language.
|