rabbit 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  3. data/doc/_config.yml +2 -2
  4. data/doc/en/news.rd +16 -0
  5. data/doc/images/screenshots/en/blue-circle.png +0 -0
  6. data/doc/images/screenshots/en/clear-blue.png +0 -0
  7. data/doc/images/screenshots/en/cozmixng.png +0 -0
  8. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  9. data/doc/images/screenshots/en/day-white.png +0 -0
  10. data/doc/images/screenshots/en/debian.png +0 -0
  11. data/doc/images/screenshots/en/green-circle.png +0 -0
  12. data/doc/images/screenshots/en/night-black.png +0 -0
  13. data/doc/images/screenshots/en/rabbit.png +0 -0
  14. data/doc/images/screenshots/en/ranguba.png +0 -0
  15. data/doc/images/screenshots/en/red-frame.png +0 -0
  16. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  17. data/doc/images/screenshots/en/rubykaigi2011.png +0 -0
  18. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  19. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  20. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  21. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  22. data/doc/images/screenshots/ja/day-white.png +0 -0
  23. data/doc/images/screenshots/ja/debian.png +0 -0
  24. data/doc/images/screenshots/ja/green-circle.png +0 -0
  25. data/doc/images/screenshots/ja/night-black.png +0 -0
  26. data/doc/images/screenshots/ja/rabbit.png +0 -0
  27. data/doc/images/screenshots/ja/ranguba.png +0 -0
  28. data/doc/images/screenshots/ja/red-frame.png +0 -0
  29. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  30. data/doc/images/screenshots/ja/rubykaigi2011.png +0 -0
  31. data/doc/ja/news.rd +16 -0
  32. data/lib/rabbit/image/mermaid.rb +3 -2
  33. data/lib/rabbit/version.rb +2 -2
  34. data/po/en/rabbit.edit.po +5 -9
  35. data/po/en/rabbit.po +0 -3
  36. data/po/fr/rabbit.edit.po +5 -9
  37. data/po/fr/rabbit.po +0 -3
  38. data/po/ja/rabbit.edit.po +7 -17
  39. data/po/ja/rabbit.po +0 -3
  40. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bc7a134517bbe5f63d57298ef2843ca3acddbe99a995b7f41ba179a94ef1a97
4
- data.tar.gz: 30b19d488840c4db1056eb8108c4b0581ebdcf486da9386d22669cc04730758e
3
+ metadata.gz: cb9e983ee9412207b14cef6be805b3052ea475cb773b60663585cbc721749114
4
+ data.tar.gz: 6b40876e29a4ca2e7034bac14cc7452baa52114d98a774732b39a7a4f278e447
5
5
  SHA512:
6
- metadata.gz: 20e0421868ffce5e36d65b0260999808b898b16152e2d9e7be4db94633922c80d37b89ca4a24494f77aa0f508e2186208c7bd23abebb1ff06ff83a31117291b2
7
- data.tar.gz: 42766ca67a7e70a5b5c31ffeafae3aaab515be534a1a97fe977da864d42781e6700562d643c47ec34af6ad991352c9ff2386ee52967ff7c8a63ce83bb377915f
6
+ metadata.gz: ccf377086608db9d30d520fe83e6c235a7000435ea72bc8d9c6c1f70f429dd2f2076f5a2c78f5c61d36d2c7caf1144abca7a9d72163bf58ee302ac55c73ad98d
7
+ data.tar.gz: fabda81a44c7c844289dd4b8e78c9ef34cf21d1eb3f0c09b9540c30e6d7961b65361fabb97a1058fc3aeb2954547c9b389e28726703666eb743da9a67130492f
Binary file
data/doc/_config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  markdown: kramdown
2
- version: 3.0.2
3
- release_date: 2023-06-25
2
+ version: 3.0.3
3
+ release_date: 2023-07-02
4
4
  rabbiter_version: 2.0.3
5
5
  rabbiter_release_date: 2016-08-21
6
6
  rabbirack_version: 2.0.0
data/doc/en/news.rd CHANGED
@@ -4,6 +4,22 @@ title: News
4
4
  ---
5
5
  {% raw %}
6
6
 
7
+ == 3.0.3: 2023-07-02
8
+
9
+ Minor bug fix release.
10
+
11
+ === Fixes
12
+
13
+ ==== rabbit
14
+
15
+ * image mermaid: Fixed an error when (({npx mmdc ...})) doesn't work.
16
+ ((<GH-153|URL:https://github.com/rabbit-shocker/rabbit/issues/153>))
17
+ [Patch by Mamoru TASAKA]
18
+
19
+ === Thanks
20
+
21
+ * Mamoru TASAKA
22
+
7
23
  == 3.0.2: 2023-06-25
8
24
 
9
25
  Image drawing support release.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/doc/ja/news.rd CHANGED
@@ -5,6 +5,22 @@ apply_data: false
5
5
  ---
6
6
  {% raw %}
7
7
 
8
+ == 3.0.3: 2023-07-02
9
+
10
+ マイナーバグフィックスリリース。
11
+
12
+ === 修正
13
+
14
+ ==== rabbit
15
+
16
+ * image mermaid: (({npx mmdc ...}))に失敗したときのエラーを修正。
17
+ ((<GH-153|URL:https://github.com/rabbit-shocker/rabbit/issues/153>))
18
+ [Mamoru TASAKAさんがパッチ提供]
19
+
20
+ === 感謝
21
+
22
+ * Mamoru TASAKAさん
23
+
8
24
  == 3.0.2: 2023-06-25
9
25
 
10
26
  画像への描画をサポートしたリリース。
@@ -14,16 +14,17 @@
14
14
  # with this program; if not, write to the Free Software Foundation, Inc.,
15
15
  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
16
 
17
+ require "rabbit/gettext"
17
18
  require "rabbit/image/pdf"
18
19
 
19
20
  module Rabbit
20
21
  module ImageManipulable
21
22
  class Mermaid < Base
23
+ include GetText
24
+ include SystemRunner
22
25
 
23
26
  unshift_loader(self)
24
27
 
25
- include SystemRunner
26
-
27
28
  class << self
28
29
  def match?(filename)
29
30
  File.extname(filename).downcase.end_with?(".mmd")
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2021 Sutou Kouhei <kou@cozmixng.org>
1
+ # Copyright (C) 2012-2023 Sutou Kouhei <kou@cozmixng.org>
2
2
  #
3
3
  # This program is free software; you can redistribute it and/or modify
4
4
  # it under the terms of the GNU General Public License as published by
@@ -15,5 +15,5 @@
15
15
  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
16
 
17
17
  module Rabbit
18
- VERSION = "3.0.2"
18
+ VERSION = "3.0.3"
19
19
  end
data/po/en/rabbit.edit.po CHANGED
@@ -1173,7 +1173,7 @@ msgstr ""
1173
1173
  msgid "PDF"
1174
1174
  msgstr ""
1175
1175
 
1176
- #: ../lib/rabbit/image/mermaid.rb:57
1176
+ #: ../lib/rabbit/image/mermaid.rb:58
1177
1177
  msgid "tried mermaid command: %s"
1178
1178
  msgstr ""
1179
1179
 
@@ -1269,11 +1269,11 @@ msgstr ""
1269
1269
  msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
1270
1270
  msgstr ""
1271
1271
 
1272
- #: ../lib/rabbit/parser/markdown/converter.rb:300 ../test/parser/test-markdown.rb:304
1272
+ #: ../lib/rabbit/parser/markdown/converter.rb:300
1273
1273
  msgid "horizontal rule isn't supported."
1274
1274
  msgstr ""
1275
1275
 
1276
- #: ../lib/rabbit/parser/markdown/converter.rb:418 ../test/parser/test-markdown.rb:317
1276
+ #: ../lib/rabbit/parser/markdown/converter.rb:418
1277
1277
  msgid "tag name is missing."
1278
1278
  msgstr ""
1279
1279
 
@@ -1297,11 +1297,11 @@ msgstr ""
1297
1297
  msgid "unsupported list type: %s"
1298
1298
  msgstr ""
1299
1299
 
1300
- #: ../lib/rabbit/parser/wiki/output.rb:389 ../test/parser/test-wiki.rb:44
1300
+ #: ../lib/rabbit/parser/wiki/output.rb:389
1301
1301
  msgid "inline {{image(...)}} isn't supported."
1302
1302
  msgstr ""
1303
1303
 
1304
- #: ../lib/rabbit/parser/wiki/output.rb:465 ../test/parser/test-wiki.rb:64
1304
+ #: ../lib/rabbit/parser/wiki/output.rb:465
1305
1305
  msgid "multiple {{image(..., :align => :right)}} isn't supported."
1306
1306
  msgstr ""
1307
1307
 
@@ -2678,7 +2678,3 @@ msgstr ""
2678
2678
  #: ../lib/rabbit/theme/title-slide-background-image/property.rb:2
2679
2679
  msgid "TitleSlideBackgroundImage"
2680
2680
  msgstr ""
2681
-
2682
- #: ../test/parser/test-markdown.rb:290
2683
- msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2684
- msgstr ""
data/po/en/rabbit.po CHANGED
@@ -2090,6 +2090,3 @@ msgstr ""
2090
2090
 
2091
2091
  msgid "TitleSlideBackgroundImage"
2092
2092
  msgstr ""
2093
-
2094
- msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2095
- msgstr ""
data/po/fr/rabbit.edit.po CHANGED
@@ -1172,7 +1172,7 @@ msgstr ""
1172
1172
  msgid "PDF"
1173
1173
  msgstr ""
1174
1174
 
1175
- #: ../lib/rabbit/image/mermaid.rb:57
1175
+ #: ../lib/rabbit/image/mermaid.rb:58
1176
1176
  msgid "tried mermaid command: %s"
1177
1177
  msgstr ""
1178
1178
 
@@ -1268,11 +1268,11 @@ msgstr ""
1268
1268
  msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
1269
1269
  msgstr ""
1270
1270
 
1271
- #: ../lib/rabbit/parser/markdown/converter.rb:300 ../test/parser/test-markdown.rb:304
1271
+ #: ../lib/rabbit/parser/markdown/converter.rb:300
1272
1272
  msgid "horizontal rule isn't supported."
1273
1273
  msgstr ""
1274
1274
 
1275
- #: ../lib/rabbit/parser/markdown/converter.rb:418 ../test/parser/test-markdown.rb:317
1275
+ #: ../lib/rabbit/parser/markdown/converter.rb:418
1276
1276
  msgid "tag name is missing."
1277
1277
  msgstr ""
1278
1278
 
@@ -1296,11 +1296,11 @@ msgstr ""
1296
1296
  msgid "unsupported list type: %s"
1297
1297
  msgstr ""
1298
1298
 
1299
- #: ../lib/rabbit/parser/wiki/output.rb:389 ../test/parser/test-wiki.rb:44
1299
+ #: ../lib/rabbit/parser/wiki/output.rb:389
1300
1300
  msgid "inline {{image(...)}} isn't supported."
1301
1301
  msgstr ""
1302
1302
 
1303
- #: ../lib/rabbit/parser/wiki/output.rb:465 ../test/parser/test-wiki.rb:64
1303
+ #: ../lib/rabbit/parser/wiki/output.rb:465
1304
1304
  msgid "multiple {{image(..., :align => :right)}} isn't supported."
1305
1305
  msgstr ""
1306
1306
 
@@ -2677,7 +2677,3 @@ msgstr ""
2677
2677
  #: ../lib/rabbit/theme/title-slide-background-image/property.rb:2
2678
2678
  msgid "TitleSlideBackgroundImage"
2679
2679
  msgstr ""
2680
-
2681
- #: ../test/parser/test-markdown.rb:290
2682
- msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2683
- msgstr ""
data/po/fr/rabbit.po CHANGED
@@ -2089,6 +2089,3 @@ msgstr ""
2089
2089
 
2090
2090
  msgid "TitleSlideBackgroundImage"
2091
2091
  msgstr ""
2092
-
2093
- msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2094
- msgstr ""
data/po/ja/rabbit.edit.po CHANGED
@@ -1198,7 +1198,7 @@ msgstr "スライド"
1198
1198
  msgid "PDF"
1199
1199
  msgstr "PDF"
1200
1200
 
1201
- #: ../lib/rabbit/image/mermaid.rb:57
1201
+ #: ../lib/rabbit/image/mermaid.rb:58
1202
1202
  msgid "tried mermaid command: %s"
1203
1203
  msgstr "実行したmermaidコマンド名: %s"
1204
1204
 
@@ -1294,11 +1294,11 @@ msgstr "ひとつの段落中で複数の「![alt]{image}」を使うことは
1294
1294
  msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
1295
1295
  msgstr "ひとつの段落中で「![alt]{image}」と他の内容を一緒に使うことはできません:%{types}"
1296
1296
 
1297
- #: ../lib/rabbit/parser/markdown/converter.rb:300 ../test/parser/test-markdown.rb:304
1297
+ #: ../lib/rabbit/parser/markdown/converter.rb:300
1298
1298
  msgid "horizontal rule isn't supported."
1299
1299
  msgstr "水平線はサポートしていません"
1300
1300
 
1301
- #: ../lib/rabbit/parser/markdown/converter.rb:418 ../test/parser/test-markdown.rb:317
1301
+ #: ../lib/rabbit/parser/markdown/converter.rb:418
1302
1302
  msgid "tag name is missing."
1303
1303
  msgstr "タグ名がありません。"
1304
1304
 
@@ -1322,11 +1322,11 @@ msgstr "水平線はサポートしていません"
1322
1322
  msgid "unsupported list type: %s"
1323
1323
  msgstr "サポートしていないリストの種類: %s"
1324
1324
 
1325
- #: ../lib/rabbit/parser/wiki/output.rb:389 ../test/parser/test-wiki.rb:44
1325
+ #: ../lib/rabbit/parser/wiki/output.rb:389
1326
1326
  msgid "inline {{image(...)}} isn't supported."
1327
1327
  msgstr "インラインの{{image(...)}}は未サポートです。"
1328
1328
 
1329
- #: ../lib/rabbit/parser/wiki/output.rb:465 ../test/parser/test-wiki.rb:64
1329
+ #: ../lib/rabbit/parser/wiki/output.rb:465
1330
1330
  msgid "multiple {{image(..., :align => :right)}} isn't supported."
1331
1331
  msgstr "複数の{{image(..., :align => :right)}}は未対応です。"
1332
1332
 
@@ -2744,33 +2744,23 @@ msgstr "影の色。"
2744
2744
  msgid "TitleSlideBackgroundImage"
2745
2745
  msgstr "タイトルスライド背景画像"
2746
2746
 
2747
- #: ../test/parser/test-markdown.rb:290
2748
- msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2749
- msgstr "ひとつの段落中で「![alt]{image}」と他の内容を一緒に使うことはできません: [:text, :img]"
2750
-
2747
+ #~ msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2748
+ #~ msgstr "ひとつの段落中で「![alt]{image}」と他の内容を一緒に使うことはできません: [:text, :img]"
2751
2749
  #~ msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
2752
2750
  #~ msgstr "複数の「![]('XXX.png'){:align='right'}」はサポートしていません。"
2753
-
2754
2751
  #~ msgid "multiple 'align = right' isn't supported."
2755
2752
  #~ msgstr "複数の'align = right'はサポートしていません。"
2756
-
2757
2753
  #~ msgid "Feailed to upload: %s"
2758
2754
  #~ msgstr "アップロードに失敗しました: %s"
2759
-
2760
2755
  #~ msgid "Feailed to edit title: %s"
2761
2756
  #~ msgstr "タイトルの編集に失敗しました: %s"
2762
-
2763
2757
  #~ msgid "Feailed to get slide URL: %s"
2764
2758
  #~ msgstr "スライドURLの取得に失敗しました: %s"
2765
-
2766
2759
  #~ msgid "Enter password on SlideShare [%{user}]: "
2767
2760
  #~ msgstr "SlideShareのパスワードを入力してください [%{user}]: "
2768
-
2769
2761
  #~ msgid "Uploaded successfully!"
2770
2762
  #~ msgstr "無事にアップロードできました!"
2771
-
2772
2763
  #~ msgid "See %s"
2773
2764
  #~ msgstr "%sを見てください"
2774
-
2775
2765
  #~ msgid "multiple ![alt]{image} in a paragraph isn't supported."
2776
2766
  #~ msgstr "ひとつの段落中で複数の「![alt]{image}」を使うことはできません。"
data/po/ja/rabbit.po CHANGED
@@ -2177,6 +2177,3 @@ msgstr "影の色。"
2177
2177
 
2178
2178
  msgid "TitleSlideBackgroundImage"
2179
2179
  msgstr "タイトルスライド背景画像"
2180
-
2181
- msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2182
- msgstr "ひとつの段落中で「![alt]{image}」と他の内容を一緒に使うことはできません: [:text, :img]"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gdk_pixbuf2