jkf 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/po/all.pot ADDED
@@ -0,0 +1,170 @@
1
+ # SOME DESCRIPTIVE TITLE
2
+ # Copyright (C) YEAR Free Software Foundation, Inc.
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "POT-Creation-Date: 2023-06-18 15:22+0900\n"
11
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "Language: ja\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+
19
+ #. type: Title #
20
+ #: README.md:1
21
+ #, markdown-text, no-wrap
22
+ msgid "Jkf"
23
+ msgstr ""
24
+
25
+ #. type: Plain text
26
+ #: README.md:3
27
+ #, markdown-text
28
+ msgid ""
29
+ "[![Gem "
30
+ "Version](https://badge.fury.io/rb/jkf.svg)](https://badge.fury.io/rb/jkf) "
31
+ "[![Build "
32
+ "Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)](https://travis-ci.org/iyuuya/jkf) "
33
+ "[![CI](https://github.com/iyuuya/jkf/actions/workflows/ci.yml/badge.svg)](https://github.com/iyuuya/jkf/actions/workflows/ci.yml) "
34
+ "[![Inline "
35
+ "docs](http://inch-ci.org/github/iyuuya/jkf.svg?branch=develop)](http://inch-ci.org/github/iyuuya/jkf)"
36
+ msgstr ""
37
+
38
+ #. type: Plain text
39
+ #: README.md:6
40
+ #, markdown-text
41
+ msgid ""
42
+ "jkfはJSON棋譜フォーマット( https://github.com/na2hiro/json-kifu-format "
43
+ ")をRubyに移植したものです。 KIF, KI2, CSAをパースしJKFへ変換、JKFからKIF, KI2, CSAへの変換に対応しています。"
44
+ msgstr ""
45
+
46
+ #. type: Title ##
47
+ #: README.md:7
48
+ #, markdown-text, no-wrap
49
+ msgid "Installation"
50
+ msgstr ""
51
+
52
+ #. type: Plain text
53
+ #: README.md:10
54
+ #, markdown-text
55
+ msgid "アプリケーションにインストールする場合(bundlerを使用する場合)、Gemfileに以下のように記述してください。"
56
+ msgstr ""
57
+
58
+ #. type: Fenced code block (ruby)
59
+ #: README.md:11
60
+ #, no-wrap
61
+ msgid "gem 'jkf'\n"
62
+ msgstr ""
63
+
64
+ #. type: Plain text
65
+ #: README.md:16
66
+ #, markdown-text
67
+ msgid "さらにbundleコマンドを実行することでインストールできます。"
68
+ msgstr ""
69
+
70
+ #. type: Plain text
71
+ #: README.md:18
72
+ #, markdown-text, no-wrap
73
+ msgid " $ bundle\n"
74
+ msgstr ""
75
+
76
+ #. type: Plain text
77
+ #: README.md:20
78
+ #, markdown-text
79
+ msgid "または、gem installコマンドを使って直接インストールすることもできます。"
80
+ msgstr ""
81
+
82
+ #. type: Plain text
83
+ #: README.md:22
84
+ #, markdown-text, no-wrap
85
+ msgid " $ gem install jkf\n"
86
+ msgstr ""
87
+
88
+ #. type: Title ##
89
+ #: README.md:23
90
+ #, markdown-text, no-wrap
91
+ msgid "Usage"
92
+ msgstr ""
93
+
94
+ #. type: Plain text
95
+ #: README.md:26
96
+ #, markdown-text
97
+ msgid "KIF, KI2, CSAそれぞれParserとConverterが用意してあります。"
98
+ msgstr ""
99
+
100
+ #. type: Fenced code block (ruby)
101
+ #: README.md:27
102
+ #, no-wrap
103
+ msgid ""
104
+ "kif_parser = Jkf::Parser::Kif.new\n"
105
+ "ki2_parser = Jkf::Parser::Ki2.new\n"
106
+ "csa_parser = Jkf::Parser::Csa.new\n"
107
+ msgstr ""
108
+
109
+ #. type: Fenced code block (ruby)
110
+ #: README.md:33
111
+ #, no-wrap
112
+ msgid ""
113
+ "kif_converter = Jkf::Converter::Kif.new\n"
114
+ "ki2_converter = Jkf::Converter::Ki2.new\n"
115
+ "csa_converter = Jkf::Converter::Csa.new\n"
116
+ msgstr ""
117
+
118
+ #. type: Plain text
119
+ #: README.md:40
120
+ #, markdown-text
121
+ msgid "`parser#parse(str)`でjkfへの変換、`#convert(jkf)`でjkfから各フォーマットへ変換できます。"
122
+ msgstr ""
123
+
124
+ #. type: Fenced code block (ruby)
125
+ #: README.md:41
126
+ #, no-wrap
127
+ msgid ""
128
+ "jkf = kif_parser.parse(kif_str) #=> Hash\n"
129
+ "jkf = ki2_parser.parse(ki2_str) #=> Hash\n"
130
+ "jkf = csa_parser.parse(csa_str) #=> Hash\n"
131
+ msgstr ""
132
+
133
+ #. type: Fenced code block (ruby)
134
+ #: README.md:47
135
+ #, no-wrap
136
+ msgid ""
137
+ "kif = kif_converter.convert(jkf) #=> String\n"
138
+ "ki2 = ki2_converter.convert(jkf) #=> String\n"
139
+ "csa = csa_converter.convert(jkf) #=> String\n"
140
+ msgstr ""
141
+
142
+ #. type: Title ##
143
+ #: README.md:53
144
+ #, markdown-text, no-wrap
145
+ msgid "Contributing"
146
+ msgstr ""
147
+
148
+ #. type: Plain text
149
+ #: README.md:57
150
+ #, markdown-text
151
+ msgid "バグレポートやプルリクエストはGithubでよろしくお願いします。 https://github.com/iyuuya/jkf."
152
+ msgstr ""
153
+
154
+ #. type: Plain text
155
+ #: README.md:59
156
+ #, markdown-text
157
+ msgid "Guixで開発されている場合は`guix shell`で`rake test`によるテスト実行ができます。"
158
+ msgstr ""
159
+
160
+ #. type: Title ##
161
+ #: README.md:60
162
+ #, markdown-text, no-wrap
163
+ msgid "License"
164
+ msgstr ""
165
+
166
+ #. type: Plain text
167
+ #: README.md:64
168
+ #, markdown-text
169
+ msgid "ライセンスはMITです。 [MIT License](http://opensource.org/licenses/MIT)."
170
+ msgstr ""
data/po/en.po ADDED
@@ -0,0 +1,200 @@
1
+ # English translation of jkf gem document
2
+ # Copyright (C) 2023 gemmaro.
3
+ #
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: jkf gem\n"
7
+ "POT-Creation-Date: 2023-06-18 15:22+0900\n"
8
+ "PO-Revision-Date: 2023-06-18 15:23+0900\n"
9
+ "Last-Translator: gemmaro <gemmaro.dev@gmail.com>\n"
10
+ "Language-Team: none\n"
11
+ "Language: en\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+
16
+ #. type: Title #
17
+ #: README.md:1
18
+ #, no-wrap
19
+ msgid "Jkf"
20
+ msgstr "Jkf"
21
+
22
+ #. type: Plain text
23
+ #: README.md:3
24
+ msgid ""
25
+ "[![Gem Version](https://badge.fury.io/rb/jkf.svg)](https://badge.fury.io/rb/"
26
+ "jkf) [![Build Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)]"
27
+ "(https://travis-ci.org/iyuuya/jkf) [![CI](https://github.com/iyuuya/jkf/"
28
+ "actions/workflows/ci.yml/badge.svg)](https://github.com/iyuuya/jkf/actions/"
29
+ "workflows/ci.yml) [![Inline docs](http://inch-ci.org/github/iyuuya/jkf.svg?"
30
+ "branch=develop)](http://inch-ci.org/github/iyuuya/jkf)"
31
+ msgstr ""
32
+ "[![Gem Version](https://badge.fury.io/rb/jkf.svg)](https://badge.fury.io/rb/"
33
+ "jkf)\n"
34
+ "[![Build Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)]"
35
+ "(https://travis-ci.org/iyuuya/jkf)\n"
36
+ "[![CI](https://github.com/iyuuya/jkf/actions/workflows/ci.yml/badge.svg)]"
37
+ "(https://github.com/iyuuya/jkf/actions/workflows/ci.yml)\n"
38
+ "[![Inline docs](http://inch-ci.org/github/iyuuya/jkf.svg?branch=develop)]"
39
+ "(http://inch-ci.org/github/iyuuya/jkf)"
40
+
41
+ #. type: Plain text
42
+ #: README.md:6
43
+ msgid ""
44
+ "jkfはJSON棋譜フォーマット( https://github.com/na2hiro/json-kifu-format )を"
45
+ "Rubyに移植したものです。 KIF, KI2, CSAをパースしJKFへ変換、JKFからKIF, KI2, "
46
+ "CSAへの変換に対応しています。"
47
+ msgstr ""
48
+ "jkf is a Ruby port of [json-kifu-format](https://github.com/na2hiro/json-"
49
+ "kifu-format).\n"
50
+ "It supports both of the conversion from KIF, KI2, or CSA to jkf, and the one "
51
+ "from jkf to KIF, KI2, or CSA."
52
+
53
+ #. type: Title ##
54
+ #: README.md:7
55
+ #, no-wrap
56
+ msgid "Installation"
57
+ msgstr "Installation"
58
+
59
+ #. type: Plain text
60
+ #: README.md:10
61
+ msgid ""
62
+ "アプリケーションにインストールする場合(bundlerを使用する場合)、Gemfileに以下"
63
+ "のように記述してください。"
64
+ msgstr ""
65
+ "If you install this gem to your application (with Bundler), add this to "
66
+ "Gemfile."
67
+
68
+ #. type: Fenced code block (ruby)
69
+ #: README.md:11
70
+ #, no-wrap
71
+ msgid "gem 'jkf'\n"
72
+ msgstr "gem 'jkf'\n"
73
+
74
+ #. type: Plain text
75
+ #: README.md:16
76
+ msgid "さらにbundleコマンドを実行することでインストールできます。"
77
+ msgstr "Then run bundle to install this gem."
78
+
79
+ #. type: Plain text
80
+ #: README.md:18
81
+ #, no-wrap
82
+ msgid " $ bundle\n"
83
+ msgstr " $ bundle\n"
84
+
85
+ #. type: Plain text
86
+ #: README.md:20
87
+ msgid "または、gem installコマンドを使って直接インストールすることもできます。"
88
+ msgstr "Or directly install with gem install command."
89
+
90
+ #. type: Plain text
91
+ #: README.md:22
92
+ #, no-wrap
93
+ msgid " $ gem install jkf\n"
94
+ msgstr " $ gem install jkf\n"
95
+
96
+ #. type: Title ##
97
+ #: README.md:23
98
+ #, no-wrap
99
+ msgid "Usage"
100
+ msgstr "Usage"
101
+
102
+ #. type: Plain text
103
+ #: README.md:26
104
+ msgid "KIF, KI2, CSAそれぞれParserとConverterが用意してあります。"
105
+ msgstr ""
106
+ "This gem has the Parser and the Converter for each formats: KIF, KI2, and "
107
+ "CSA."
108
+
109
+ #. type: Fenced code block (ruby)
110
+ #: README.md:27
111
+ #, no-wrap
112
+ msgid ""
113
+ "kif_parser = Jkf::Parser::Kif.new\n"
114
+ "ki2_parser = Jkf::Parser::Ki2.new\n"
115
+ "csa_parser = Jkf::Parser::Csa.new\n"
116
+ msgstr ""
117
+ "kif_parser = Jkf::Parser::Kif.new\n"
118
+ "ki2_parser = Jkf::Parser::Ki2.new\n"
119
+ "csa_parser = Jkf::Parser::Csa.new\n"
120
+
121
+ #. type: Fenced code block (ruby)
122
+ #: README.md:33
123
+ #, no-wrap
124
+ msgid ""
125
+ "kif_converter = Jkf::Converter::Kif.new\n"
126
+ "ki2_converter = Jkf::Converter::Ki2.new\n"
127
+ "csa_converter = Jkf::Converter::Csa.new\n"
128
+ msgstr ""
129
+ "kif_converter = Jkf::Converter::Kif.new\n"
130
+ "ki2_converter = Jkf::Converter::Ki2.new\n"
131
+ "csa_converter = Jkf::Converter::Csa.new\n"
132
+
133
+ #. type: Plain text
134
+ #: README.md:40
135
+ msgid ""
136
+ "`parser#parse(str)`でjkfへの変換、`#convert(jkf)`でjkfから各フォーマットへ変"
137
+ "換できます。"
138
+ msgstr ""
139
+ "`parser#parse(str)` to convert into jkf.\n"
140
+ "`#convert(jkf)` to convert into each formats from jkf."
141
+
142
+ #. type: Fenced code block (ruby)
143
+ #: README.md:41
144
+ #, no-wrap
145
+ msgid ""
146
+ "jkf = kif_parser.parse(kif_str) #=> Hash\n"
147
+ "jkf = ki2_parser.parse(ki2_str) #=> Hash\n"
148
+ "jkf = csa_parser.parse(csa_str) #=> Hash\n"
149
+ msgstr ""
150
+ "jkf = kif_parser.parse(kif_str) #=> Hash\n"
151
+ "jkf = ki2_parser.parse(ki2_str) #=> Hash\n"
152
+ "jkf = csa_parser.parse(csa_str) #=> Hash\n"
153
+
154
+ #. type: Fenced code block (ruby)
155
+ #: README.md:47
156
+ #, no-wrap
157
+ msgid ""
158
+ "kif = kif_converter.convert(jkf) #=> String\n"
159
+ "ki2 = ki2_converter.convert(jkf) #=> String\n"
160
+ "csa = csa_converter.convert(jkf) #=> String\n"
161
+ msgstr ""
162
+ "kif = kif_converter.convert(jkf) #=> String\n"
163
+ "ki2 = ki2_converter.convert(jkf) #=> String\n"
164
+ "csa = csa_converter.convert(jkf) #=> String\n"
165
+
166
+ #. type: Title ##
167
+ #: README.md:53
168
+ #, no-wrap
169
+ msgid "Contributing"
170
+ msgstr "Contributing"
171
+
172
+ #. type: Plain text
173
+ #: README.md:57
174
+ msgid ""
175
+ "バグレポートやプルリクエストはGithubでよろしくお願いします。 https://github."
176
+ "com/iyuuya/jkf."
177
+ msgstr ""
178
+ "Feel free to report bugs or send pull requests at [GitHub](https://github."
179
+ "com/iyuuya/jkf)."
180
+
181
+ #. type: Plain text
182
+ #: README.md:59
183
+ msgid ""
184
+ "Guixで開発されている場合は`guix shell`で`rake test`によるテスト実行ができま"
185
+ "す。"
186
+ msgstr "If you work on Guix, run tests by `guix shell`."
187
+
188
+ #. type: Title ##
189
+ #: README.md:60
190
+ #, no-wrap
191
+ msgid "License"
192
+ msgstr "License"
193
+
194
+ #. type: Plain text
195
+ #: README.md:64
196
+ msgid ""
197
+ "ライセンスはMITです。 [MIT License](http://opensource.org/licenses/MIT)."
198
+ msgstr ""
199
+ "This gem is licensed under the [MIT License](http://opensource.org/licenses/"
200
+ "MIT)."
data/po4a.cfg ADDED
@@ -0,0 +1,11 @@
1
+ [options] --master-charset UTF-8 \
2
+ --localized-charset UTF-8 \
3
+ --addendum-charset UTF-8 \
4
+ --master-language ja \
5
+ --option markdown \
6
+ --keep 0
7
+
8
+ [po_directory] po
9
+
10
+ [type:text] README.md \
11
+ en:README.en.md
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jkf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - iyuuya
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-25 00:00:00.000000000 Z
11
+ date: 2023-06-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: converter/parser of records of shogi
14
14
  email:
@@ -17,13 +17,13 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - ".codeclimate.yml"
20
+ - ".github/workflows/ci.yml"
21
21
  - ".gitignore"
22
22
  - ".hound.yml"
23
23
  - ".rspec"
24
24
  - ".rubocop.yml"
25
25
  - ".rubocop_todo.yml"
26
- - ".travis.yml"
26
+ - CHANGELOG.md
27
27
  - Gemfile
28
28
  - Guardfile
29
29
  - LICENSE.txt
@@ -47,10 +47,15 @@ files:
47
47
  - lib/jkf/parser/kif.rb
48
48
  - lib/jkf/parser/kifuable.rb
49
49
  - lib/jkf/version.rb
50
+ - manifest.scm
51
+ - po/all.pot
52
+ - po/en.po
53
+ - po4a.cfg
50
54
  homepage: https://github.com/iyuuya/jkf
51
55
  licenses:
52
56
  - MIT
53
- metadata: {}
57
+ metadata:
58
+ rubygems_mfa_required: 'true'
54
59
  post_install_message:
55
60
  rdoc_options: []
56
61
  require_paths:
@@ -59,17 +64,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
64
  requirements:
60
65
  - - ">="
61
66
  - !ruby/object:Gem::Version
62
- version: '0'
67
+ version: '2.7'
63
68
  required_rubygems_version: !ruby/object:Gem::Requirement
64
69
  requirements:
65
70
  - - ">="
66
71
  - !ruby/object:Gem::Version
67
72
  version: '0'
68
73
  requirements: []
69
- rubyforge_project:
70
- rubygems_version: 2.5.1
74
+ rubygems_version: 3.1.6
71
75
  signing_key:
72
76
  specification_version: 4
73
77
  summary: jkf/csa/kif/ki2 parser and converter
74
78
  test_files: []
75
- has_rdoc:
data/.codeclimate.yml DELETED
@@ -1,28 +0,0 @@
1
- ---
2
- engines:
3
- duplication:
4
- enabled: true
5
- config:
6
- languages:
7
- - ruby
8
- fixme:
9
- enabled: true
10
- rubocop:
11
- enabled: true
12
- ratings:
13
- paths:
14
- - "**.rb"
15
- exclude_paths:
16
- - spec/
17
- ---
18
- engines:
19
- fixme:
20
- enabled: true
21
- rubocop:
22
- enabled: true
23
- ratings:
24
- paths:
25
- - Gemfile.lock
26
- - "**.rb"
27
- exclude_paths:
28
- - spec/**/*
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.3.0
4
- before_install: gem install bundler -v 1.11.2
5
- bundler_args: --jobs 3 --retry 3
6
- cache: bundler
7
- addons:
8
- code_climate:
9
- repo_token: 196df8880b27b92c2e879846ffb08040eee02248297a0c9fd0a1e071ea031f28