pirka 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08cd00d5ec27aefa48ea7033b48188d62a4c1725540c7b7fd2a3a1c9d21c53d5'
4
- data.tar.gz: fbd1c2254ecc51b0534b6ed3769f9a3e291280642514fb7b2a83b164e4672506
3
+ metadata.gz: 306766172fcf3c156a3306e50b8535ec81b7b50e12fc58503df42db7d8b54724
4
+ data.tar.gz: 893c53699de17c11cf7a9b0a86208b0ae74baf124c0addc362991b6713bcfeef
5
5
  SHA512:
6
- metadata.gz: e43283ed8dd0573a3124f44625e8c8c4a5a45d8035f379397f747c627b960f858c0a2dcaad4bcaf82e951d73119585197fbfde2da1312421117569f568c81842
7
- data.tar.gz: '09713ef611dd49ea7c1f6149673a6a183cfd53e70094c2c2f5afef68550db3f745e863d86215820599362225c2ef9997eedfbceca475415268787e2ca643cbc9'
6
+ metadata.gz: 0c9efe09201224c389f8ad92930efda8ed55cf70e4718c30a39a6f8d721db150d928d16efb5f7ef47274fe8b2949252679d3df7145a987212c7fb94ca5fb04e2
7
+ data.tar.gz: 5313c37c4ea6b5a20a8ef369080597747da8438b8d3c902a63843d8d3752e2a1e86b78bb3120f11ef17637671e347ebb00fcab89e7f0d61a3e3bc63215ae91a4
data/ChangeLog.adoc CHANGED
@@ -1,3 +1,7 @@
1
+ === Unreleased
2
+
3
+ * Remove zipruby from dependencies
4
+
1
5
  === 0.1.9 / 2020-02-16
2
6
 
3
7
  * Add `--default-language` option to `highlight` command. It fills language properties in library file with specified language.
data/lib/pirka/version.rb CHANGED
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Pirka
19
19
  # pirka version
20
- VERSION = "0.1.9"
20
+ VERSION = "0.2.0"
21
21
  EPUB_PARSER_VERSION = "0.4.3"
22
22
  end
data/pirka.gemspec CHANGED
@@ -47,6 +47,5 @@ Gem::Specification.new do |gem|
47
47
  gem.add_development_dependency 'yard'
48
48
  gem.add_development_dependency 'pry'
49
49
  gem.add_development_dependency 'pry-doc'
50
- gem.add_development_dependency 'zipruby'
51
50
  gem.add_development_dependency 'asciidoctor'
52
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pirka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - KITAITI Makoto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-16 00:00:00.000000000 Z
11
+ date: 2023-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: epub-parser
@@ -234,20 +234,6 @@ dependencies:
234
234
  - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
- - !ruby/object:Gem::Dependency
238
- name: zipruby
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - ">="
242
- - !ruby/object:Gem::Version
243
- version: '0'
244
- type: :development
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - ">="
249
- - !ruby/object:Gem::Version
250
- version: '0'
251
237
  - !ruby/object:Gem::Dependency
252
238
  name: asciidoctor
253
239
  requirement: !ruby/object:Gem::Requirement
@@ -290,12 +276,8 @@ files:
290
276
  - lib/pirka/highlighter.rb
291
277
  - lib/pirka/library.rb
292
278
  - lib/pirka/version.rb
293
- - locale/ja/LC_MESSAGES/pirka.mo
294
279
  - pirka.gemspec
295
- - po/ja/pirka.edit.po
296
280
  - po/ja/pirka.po
297
- - po/ja/pirka.po.time_stamp
298
- - po/pirka.pot
299
281
  - test/fixtures/YWJj.yaml
300
282
  - test/helper.rb
301
283
  - test/test_library.rb
@@ -304,7 +286,7 @@ homepage: https://gitlab.com/KitaitiMakoto/pirka
304
286
  licenses:
305
287
  - GPL
306
288
  metadata: {}
307
- post_install_message:
289
+ post_install_message:
308
290
  rdoc_options: []
309
291
  require_paths:
310
292
  - lib
@@ -319,8 +301,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
301
  - !ruby/object:Gem::Version
320
302
  version: '0'
321
303
  requirements: []
322
- rubygems_version: 3.1.2
323
- signing_key:
304
+ rubygems_version: 3.4.17
305
+ signing_key:
324
306
  specification_version: 4
325
307
  summary: Syntax highlighting tool for EPUB books
326
308
  test_files:
Binary file
data/po/ja/pirka.edit.po DELETED
@@ -1,162 +0,0 @@
1
- # Japanese translations for pirka package.
2
- # Copyright (C) 2020 THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the pirka package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: pirka 0.1.6\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2020-01-12 21:56+0900\n"
11
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
- "Language-Team: Japanese\n"
13
- "Language: ja\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=1; plural=0;\n"
18
- "\n"
19
-
20
- #: ../app.rb:12
21
- msgid "Pirka highlights source code syntax in EPUB files"
22
- msgstr "Pirka(ピリカ)はEPUBファイル中のソースコードをシンタックスハイライトします"
23
-
24
- #: ../app.rb:49
25
- msgid "Global options:"
26
- msgstr "グローバルオプション:"
27
-
28
- #: ../app.rb:50
29
- msgid "Config file. Defaults to %{config_path}"
30
- msgstr "設定ファイル。デフォルトは %{config_path}"
31
-
32
- #: ../app.rb:53
33
- msgid "Directory to *SAVE* library data"
34
- msgstr "ライブラリーのデータを「保存」するディレクトリー"
35
-
36
- #: ../app.rb:56
37
- msgid "Directory to *SEARCH* library data."
38
- msgstr "ライブラリーのデータを「探」すディレクトリー"
39
-
40
- #: ../app.rb:56
41
- msgid "Specify multiple times to add multiple directories."
42
- msgstr "複数回指定することで複数のディレクトリーを追加できます"
43
-
44
- #: ../app.rb:59
45
- msgid "Set debugging flag"
46
- msgstr "デバッグフラグを設定"
47
-
48
- #: ../app.rb:64
49
- msgid "Commands:"
50
- msgstr "コマンド:"
51
-
52
- #: ../app.rb:70
53
- msgid "If command is ommitted, highlight is used with no option"
54
- msgstr "コマンドを省略した場合はオプションなしのhighlightが使われます"
55
-
56
- #: ../app/detect.rb:18
57
- msgid "Detects source code from EPUB file and generate library file"
58
- msgstr "EPUBファイルからソースコードを検出し、ライブラリーファイルを生成します"
59
-
60
- #: ../app/detect.rb:48
61
- msgid "skip"
62
- msgstr "スキップ"
63
-
64
- #: ../app/detect.rb:49
65
- msgid "quit"
66
- msgstr "終了"
67
-
68
- #: ../app/detect.rb:50
69
- msgid "show code"
70
- msgstr "コードを表示"
71
-
72
- #: ../app/detect.rb:51
73
- msgid "show options"
74
- msgstr "選択肢を表示"
75
-
76
- #: ../app/detect.rb:61 ../app/highlight.rb:66
77
- msgid "Specify EPUB file"
78
- msgstr "EPUBファイルを指定してください"
79
-
80
- #: ../app/detect.rb:70
81
- msgid "Detecting code from \"%{title}\""
82
- msgstr "『%{title}』からコードを検出中"
83
-
84
- #: ../app/detect.rb:123
85
- msgid "Library file was saved to:"
86
- msgstr "ライブラリーファイルを以下の場所に保存しました:"
87
-
88
- #: ../app/detect.rb:136
89
- msgid "File to save library data"
90
- msgstr "ライブラリーデータを保存するファイル"
91
-
92
- #: ../app/detect.rb:139
93
- msgid "CSS selector to detect source code element. Defaults to %{selector}."
94
- msgstr "ソースコードの要素を検出するCSSセレクター。デフォルトは %{selector}"
95
-
96
- #: ../app/detect.rb:142
97
- msgid "Default language. Fills language property with LANG. Enabled only when --interactive option is not set."
98
- msgstr "デフォルト言語。languageプロパティをLANGで埋めます。--interactiveオプションが設定されていない時のみ有効です。"
99
-
100
- #: ../app/detect.rb:169
101
- msgid "Which language? "
102
- msgstr "どの言語ですか? "
103
-
104
- #: ../app/highlight.rb:17
105
- msgid "Highlights source code in EPUB file"
106
- msgstr "EPUBファイル中のソースコードをシンタックスハイライトします"
107
-
108
- #: ../app/highlight.rb:80
109
- msgid ""
110
- "Cannot find code list %{library_file} for %{release_identifier}(%{epub_file}) in any directory of:\n"
111
- "%{search_dirs}"
112
- msgstr ""
113
- "%{release_identifier}(%{epub_file})用のコードリスト %{library_file} が以下のどのディレクトリーにも見付かりませんでした:\n"
114
- "%{search_dirs}"
115
-
116
- #: ../app/highlight.rb:112
117
- msgid "Language for %{cfi} is not detected"
118
- msgstr "%{cfi} の言語が検出されませんでした"
119
-
120
- #: ../app/highlight.rb:181
121
- msgid "Library file"
122
- msgstr "ライブラリーファイル"
123
-
124
- #: ../app/lib.rb:8
125
- msgid "Show library infomation"
126
- msgstr "ライブラリーの情報を表示します"
127
-
128
- #: ../app/update.rb:13
129
- msgid "Update library files by remote files"
130
- msgstr "ライブラリーファイルをリモートファイルによって更新します"
131
-
132
- #: ../app/update.rb:24
133
- msgid "Library was cloned to:"
134
- msgstr "ライブラリーは以下にクローンされました:"
135
-
136
- #: ../app/update.rb:30
137
- msgid "and added to config file %{config_file}"
138
- msgstr "また、設定ファイルが %{config_file} に追加されました"
139
-
140
- #: ../app/update.rb:32
141
- msgid "Couldn't save config file to %{config_file}"
142
- msgstr "設定ファイルを %{config_file} に保存できませんでした"
143
-
144
- #: ../app/update.rb:55
145
- msgid "Executing `%{command}`"
146
- msgstr "`%{command}` を実行中"
147
-
148
- #: ../app/update.rb:57
149
- msgid "Failed to execute `%{command}`"
150
- msgstr "`%{command}` の実行に失敗しました"
151
-
152
- #: ../lib/pirka/highlighter.rb:27
153
- msgid "Cannot find lexer for %{lang}"
154
- msgstr "%{lang} 用のレクサーが見付かりません"
155
-
156
- #: ../lib/pirka/highlighter.rb:57
157
- msgid "selector param not specified"
158
- msgstr "selector パラメーターが指定されていません"
159
-
160
- #: ../lib/pirka/library.rb:112
161
- msgid "Release Identifier is not set"
162
- msgstr "Release Identifierが設定されていません"
File without changes
data/po/pirka.pot DELETED
@@ -1,164 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the pirka package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: pirka 0.1.9\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-02-16 21:40+0900\n"
12
- "PO-Revision-Date: 2020-02-16 21:40+0900\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
-
21
- #: ../app.rb:12
22
- msgid "Pirka highlights source code syntax in EPUB files"
23
- msgstr ""
24
-
25
- #: ../app.rb:49
26
- msgid "Global options:"
27
- msgstr ""
28
-
29
- #: ../app.rb:50
30
- msgid "Config file. Defaults to %{config_path}"
31
- msgstr ""
32
-
33
- #: ../app.rb:53
34
- msgid "Directory to *SAVE* library data"
35
- msgstr ""
36
-
37
- #: ../app.rb:56
38
- msgid "Directory to *SEARCH* library data."
39
- msgstr ""
40
-
41
- #: ../app.rb:56
42
- msgid "Specify multiple times to add multiple directories."
43
- msgstr ""
44
-
45
- #: ../app.rb:59
46
- msgid "Set debugging flag"
47
- msgstr ""
48
-
49
- #: ../app.rb:64
50
- msgid "Commands:"
51
- msgstr ""
52
-
53
- #: ../app.rb:70
54
- msgid "If command is ommitted, highlight is used with no option"
55
- msgstr ""
56
-
57
- #: ../app/detect.rb:18
58
- msgid "Detects source code from EPUB file and generate library file"
59
- msgstr ""
60
-
61
- #: ../app/detect.rb:48
62
- msgid "skip"
63
- msgstr ""
64
-
65
- #: ../app/detect.rb:49
66
- msgid "quit"
67
- msgstr ""
68
-
69
- #: ../app/detect.rb:50
70
- msgid "show code"
71
- msgstr ""
72
-
73
- #: ../app/detect.rb:51
74
- msgid "show options"
75
- msgstr ""
76
-
77
- #: ../app/detect.rb:61 ../app/highlight.rb:66
78
- msgid "Specify EPUB file"
79
- msgstr ""
80
-
81
- #: ../app/detect.rb:70
82
- msgid "Detecting code from \"%{title}\""
83
- msgstr ""
84
-
85
- #: ../app/detect.rb:123
86
- msgid "Library file was saved to:"
87
- msgstr ""
88
-
89
- #: ../app/detect.rb:136
90
- msgid "File to save library data"
91
- msgstr ""
92
-
93
- #: ../app/detect.rb:139
94
- msgid "CSS selector to detect source code element. Defaults to %{selector}."
95
- msgstr ""
96
-
97
- #: ../app/detect.rb:142
98
- msgid ""
99
- "Default language. Fills language property with LANG. Enabled only when --inter"
100
- "active option is not set."
101
- msgstr ""
102
-
103
- #: ../app/detect.rb:169
104
- msgid "Which language? "
105
- msgstr ""
106
-
107
- #: ../app/highlight.rb:17
108
- msgid "Highlights source code in EPUB file"
109
- msgstr ""
110
-
111
- #: ../app/highlight.rb:80
112
- msgid ""
113
- "Cannot find code list %{library_file} for %{release_identifier}(%{epub_file}) "
114
- "in any directory of:\n"
115
- "%{search_dirs}"
116
- msgstr ""
117
-
118
- #: ../app/highlight.rb:112
119
- msgid "Language for %{cfi} is not detected"
120
- msgstr ""
121
-
122
- #: ../app/highlight.rb:181
123
- msgid "Library file"
124
- msgstr ""
125
-
126
- #: ../app/lib.rb:8
127
- msgid "Show library infomation"
128
- msgstr ""
129
-
130
- #: ../app/update.rb:13
131
- msgid "Update library files by remote files"
132
- msgstr ""
133
-
134
- #: ../app/update.rb:24
135
- msgid "Library was cloned to:"
136
- msgstr ""
137
-
138
- #: ../app/update.rb:30
139
- msgid "and added to config file %{config_file}"
140
- msgstr ""
141
-
142
- #: ../app/update.rb:32
143
- msgid "Couldn't save config file to %{config_file}"
144
- msgstr ""
145
-
146
- #: ../app/update.rb:55
147
- msgid "Executing `%{command}`"
148
- msgstr ""
149
-
150
- #: ../app/update.rb:57
151
- msgid "Failed to execute `%{command}`"
152
- msgstr ""
153
-
154
- #: ../lib/pirka/highlighter.rb:27
155
- msgid "Cannot find lexer for %{lang}"
156
- msgstr ""
157
-
158
- #: ../lib/pirka/highlighter.rb:57
159
- msgid "selector param not specified"
160
- msgstr ""
161
-
162
- #: ../lib/pirka/library.rb:112
163
- msgid "Release Identifier is not set"
164
- msgstr ""