asciidoctor-i18n 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c8c1b53411b4f6646096430f2778272e340cdd8a
4
+ data.tar.gz: d57abb250f2e11bec990de73d067546b3c1ddd79
5
+ SHA512:
6
+ metadata.gz: 8520e2796adbec64f1af30a1020fbe4dbe382b16ccc7c3a069a60f5c44b352c2d73568a2e8e24d4f87665fc77e74bd5082f7b2b1950169aca58601e4044f3600
7
+ data.tar.gz: 0acfd5c15526d03acd9b9b541c0506ba0296e5554ea3cebd655f075c5f136205af2fab2864c1bcec9f03870fba8463a2ed2ab6649bb3aa204b4fe469d74653d4
data/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /vendor/
3
+ /.yardoc
4
+ /Gemfile.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+
12
+ .ruby-version
13
+ .*~
14
+ *~
15
+ *.gem
16
+ .pryrc
data/.rubocop.yml ADDED
@@ -0,0 +1,25 @@
1
+ # AllCops:
2
+ # Exclude:
3
+ # - examples/*.rb
4
+ # - test/**/*.rb
5
+
6
+ Metrics/LineLength:
7
+ Max: 120
8
+
9
+ Style/Encoding:
10
+ Enabled: false
11
+
12
+ Style/Documentation:
13
+ Enabled: false
14
+
15
+ Style/FileName:
16
+ Enabled: false
17
+
18
+ Style/PreferredHashMethods:
19
+ Enabled: false
20
+
21
+ Style/WordArray:
22
+ Enabled: false
23
+
24
+ Style/TrailingCommaInLiteral:
25
+ Enabled: false
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at seikichi@kmc.gr.jp. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # coding: utf-8
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Seiichi KONDO
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,71 @@
1
+ # Asciidoctor::I18n
2
+
3
+ No more [po4a](https://po4a.org/)!
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'asciidoctor-i18n'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```sh
16
+ $ bundle
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```
22
+ $ cat index.adoc
23
+ Hello, world!
24
+ $ bundle exec asciidoctor -r asciidoctor-i18n -a language=ja -a po-directory=locales index.adoc
25
+ ...
26
+
27
+ $ cat locales/ja.po
28
+ msgid ""
29
+ msgstr ""
30
+ "Content-Type: text/plain; charset=UTF-8\n"
31
+
32
+ msgid "Hello, world!"
33
+ msgstr ""
34
+
35
+ $ edit locales/ja.po
36
+
37
+ $ cat locales/ja.po
38
+ msgid ""
39
+ msgstr ""
40
+ "Content-Type: text/plain; charset=UTF-8\n"
41
+
42
+ msgid "Hello, world!"
43
+ msgstr "こんにちは、世界!"
44
+
45
+ $ bundle exec asciidoctor -r asciidoctor-i18n -a language=ja -a po-directory=locales index.adoc
46
+ ...
47
+ $ # and open index.html (translated HTML).
48
+ ```
49
+
50
+ ## Development
51
+
52
+ After checking out the repo, run `bundle install` to install dependencies.
53
+
54
+ To install this gem onto your local machine, run `bundle exec rake install`.
55
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`,
56
+ which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
57
+
58
+ ## Contributing
59
+
60
+ Bug reports and pull requests are welcome on GitHub at https://github.com/seikichi/asciidoctor-i18n.
61
+ This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to
62
+ adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
63
+
64
+ ## License
65
+
66
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
67
+
68
+ ## Code of Conduct
69
+
70
+ Everyone interacting in the Asciidoctor::I18n project’s codebases, issue trackers, chat rooms and mailing lists is
71
+ expected to follow the [code of conduct](https://github.com/seikichi/asciidoctor-i18n/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,16 @@
1
+ # coding: utf-8
2
+
3
+ require 'rake/testtask'
4
+ require 'bundler/gem_tasks'
5
+ require 'rubocop/rake_task'
6
+
7
+ task default: [:test]
8
+
9
+ Rake::TestTask.new do |t|
10
+ t.libs << 'test'
11
+ t.ruby_opts = ['-r./test/helper']
12
+ t.test_files = Dir['test/**/test_*.rb']
13
+ t.verbose = true
14
+ end
15
+
16
+ RuboCop::RakeTask.new
@@ -0,0 +1,35 @@
1
+ # coding: utf-8
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'asciidoctor/i18n/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'asciidoctor-i18n'
9
+ spec.version = Asciidoctor::I18n::VERSION
10
+ spec.authors = ['Seiichi KONDO']
11
+ spec.email = ['seikichi@kmc.gr.jp']
12
+
13
+ spec.summary = ''
14
+ spec.description = ''
15
+ spec.homepage = 'https://github.com/seikichi/asciidoctor-i18n'
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.require_paths = ['lib']
22
+
23
+ spec.add_dependency 'asciidoctor', '~> 1.5.0'
24
+ spec.add_dependency 'gettext', '~> 3.2.6'
25
+ spec.add_development_dependency 'bundler', '~> 1.15'
26
+ spec.add_development_dependency 'coveralls'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rubocop', '0.52.1'
29
+ spec.add_development_dependency 'simplecov', '~> 0.15.0'
30
+ spec.add_development_dependency 'test-unit', '>= 3.0.0'
31
+
32
+ %w[pry pry-byebug pry-coolline pry-doc pry-inline pry-theme].each do |dep|
33
+ spec.add_development_dependency dep
34
+ end
35
+ end
@@ -0,0 +1,56 @@
1
+ # coding: utf-8
2
+
3
+ require 'asciidoctor/extensions'
4
+ require_relative 'translator'
5
+
6
+ module Asciidoctor
7
+ module I18n
8
+ class Processor < Extensions::Treeprocessor
9
+ def process(document)
10
+ translator = Translator.new(document.attributes)
11
+ process_document(document, translator)
12
+ translator.save
13
+ end
14
+
15
+ def process_document(document, translator)
16
+ document.find_by.each do |src|
17
+ process_abstract_block(src, translator) if src.is_a?(Asciidoctor::AbstractBlock)
18
+ process_block(src, translator) if src.is_a?(Asciidoctor::Block)
19
+ process_table(src, translator) if src.is_a?(Asciidoctor::Table)
20
+ process_list_item(src, translator) if src.is_a?(Asciidoctor::ListItem)
21
+ end
22
+ end
23
+
24
+ private
25
+
26
+ def process_abstract_block(src, translator)
27
+ return unless src.title
28
+ src.title = translator.translate(src.title)
29
+ end
30
+
31
+ def process_block(src, translator)
32
+ src.lines = translator.translate(src.lines)
33
+ end
34
+
35
+ def process_table(src, translator)
36
+ src.rows.body.each do |row|
37
+ row.each do |cell|
38
+ process_table_cell(cell, translator)
39
+ end
40
+ end
41
+ end
42
+
43
+ def process_list_item(src, translator)
44
+ src.text = translator.translate(src.instance_variable_get(:@text))
45
+ end
46
+
47
+ def process_table_cell(src, translator)
48
+ if src.style != :asciidoc
49
+ src.text = translator.translate(src.instance_variable_get(:@text))
50
+ else
51
+ process_document(src.inner_document, translator)
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,110 @@
1
+ # coding: utf-8
2
+
3
+ require 'fileutils'
4
+ require 'gettext'
5
+ require 'gettext/po'
6
+ require 'gettext/po_parser'
7
+
8
+ module Asciidoctor
9
+ module I18n
10
+ class Translator
11
+ def initialize(attributes)
12
+ @attributes = attributes
13
+ unless old_po
14
+ raise ArgumentError, 'missing attributes: language' unless language
15
+ raise ArgumentError, 'missing attributes: po-directory' unless po_directory
16
+ end
17
+
18
+ @new_po = create_new_po
19
+ @old_po = load_old_po
20
+ end
21
+
22
+ def translate(source)
23
+ return source if no_translations?
24
+
25
+ if source.is_a?(String)
26
+ translate_string(source)
27
+ elsif source.is_a?(Array)
28
+ translate_lines(source)
29
+ else
30
+ raise ArgumentError, "invalid argument for #translate method: #{source}"
31
+ end
32
+ end
33
+
34
+ def save
35
+ return if no_update?
36
+ FileUtils.mkdir_p(po_directory)
37
+ File.write(po_path, @new_po.to_s(max_line_width: -1))
38
+ end
39
+
40
+ private
41
+
42
+ def translate_string(source)
43
+ return source if skip?(source)
44
+ @new_po[source] = @old_po.has_key?(source) ? @old_po[source].msgstr : ''
45
+ translated = @new_po[source].msgstr || ''
46
+ translated != '' ? translated : source
47
+ end
48
+
49
+ def translate_lines(lines)
50
+ source = lines.join("\n")
51
+ translate_string(source).split("\n")
52
+ end
53
+
54
+ def skip?(source)
55
+ source == '' || !filter.match(source)
56
+ end
57
+
58
+ def no_update?
59
+ @attributes['no-update']
60
+ end
61
+
62
+ def no_translations?
63
+ @attributes['no-translations']
64
+ end
65
+
66
+ def po_directory
67
+ @attributes['po-directory']
68
+ end
69
+
70
+ def language
71
+ @attributes['language']
72
+ end
73
+
74
+ def old_po
75
+ @attributes['old-po']
76
+ end
77
+
78
+ def filter
79
+ @filter ||=
80
+ begin
81
+ if @attributes['msgid-filter']
82
+ Regexp.new(@attributes['msgid-filter'])
83
+ else
84
+ /.*/
85
+ end
86
+ end
87
+ end
88
+
89
+ def po_path
90
+ File.join(po_directory, "#{language}.po")
91
+ end
92
+
93
+ def create_new_po
94
+ po = GetText::PO.new
95
+ po[''] = "Content-Type: text/plain; charset=UTF-8\n"
96
+ po
97
+ end
98
+
99
+ def load_old_po
100
+ if old_po
101
+ old_po
102
+ elsif File.exist?(po_path)
103
+ GetText::POParser.new.parse(File.read(po_path), GetText::PO.new)
104
+ else
105
+ GetText::PO.new
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,7 @@
1
+ # coding: utf-8
2
+
3
+ module Asciidoctor
4
+ module I18n
5
+ VERSION = '0.1.0'.freeze
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ # coding: utf-8
2
+
3
+ require 'asciidoctor/extensions'
4
+
5
+ require 'asciidoctor/i18n/processor'
6
+ require 'asciidoctor/i18n/version'
7
+
8
+ Asciidoctor::Extensions.register do
9
+ treeprocessor Asciidoctor::I18n::Processor
10
+ end
@@ -0,0 +1,3 @@
1
+ # coding: utf-8
2
+
3
+ require 'asciidoctor/i18n'
metadata ADDED
@@ -0,0 +1,253 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asciidoctor-i18n
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Seiichi KONDO
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: asciidoctor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.5.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.5.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: gettext
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 3.2.6
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 3.2.6
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.15'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.15'
55
+ - !ruby/object:Gem::Dependency
56
+ name: coveralls
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.52.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.52.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.15.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.15.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: test-unit
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 3.0.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 3.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-byebug
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: pry-coolline
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: pry-doc
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: pry-inline
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: pry-theme
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ description: ''
210
+ email:
211
+ - seikichi@kmc.gr.jp
212
+ executables: []
213
+ extensions: []
214
+ extra_rdoc_files: []
215
+ files:
216
+ - ".gitignore"
217
+ - ".rubocop.yml"
218
+ - CODE_OF_CONDUCT.md
219
+ - Gemfile
220
+ - LICENSE.txt
221
+ - README.md
222
+ - Rakefile
223
+ - asciidoctor-i18n.gemspec
224
+ - lib/asciidoctor-i18n.rb
225
+ - lib/asciidoctor/i18n.rb
226
+ - lib/asciidoctor/i18n/processor.rb
227
+ - lib/asciidoctor/i18n/translator.rb
228
+ - lib/asciidoctor/i18n/version.rb
229
+ homepage: https://github.com/seikichi/asciidoctor-i18n
230
+ licenses:
231
+ - MIT
232
+ metadata: {}
233
+ post_install_message:
234
+ rdoc_options: []
235
+ require_paths:
236
+ - lib
237
+ required_ruby_version: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
+ requirements:
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ version: '0'
247
+ requirements: []
248
+ rubyforge_project:
249
+ rubygems_version: 2.6.13
250
+ signing_key:
251
+ specification_version: 4
252
+ summary: ''
253
+ test_files: []