rabbit 2.1.8 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  4. data/doc/_config.yml +22 -2
  5. data/doc/_layouts/en.html +0 -2
  6. data/doc/_layouts/ja.html +0 -2
  7. data/doc/en/how-to-make/markdown.md +35 -2
  8. data/doc/en/index.rd +3 -2
  9. data/doc/en/install/homebrew.rd +1 -1
  10. data/doc/en/install/windows.rd +18 -34
  11. data/doc/en/news.rd +99 -0
  12. data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
  13. data/doc/images/screenshots/en/blue-circle.png +0 -0
  14. data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
  15. data/doc/images/screenshots/en/clear-blue.png +0 -0
  16. data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
  17. data/doc/images/screenshots/en/cozmixng.png +0 -0
  18. data/doc/images/screenshots/en/dark-gradation-raw.png +0 -0
  19. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  20. data/doc/images/screenshots/en/day-white-raw.png +0 -0
  21. data/doc/images/screenshots/en/day-white.png +0 -0
  22. data/doc/images/screenshots/en/debian-raw.png +0 -0
  23. data/doc/images/screenshots/en/debian.png +0 -0
  24. data/doc/images/screenshots/en/green-circle-raw.png +0 -0
  25. data/doc/images/screenshots/en/green-circle.png +0 -0
  26. data/doc/images/screenshots/en/night-black-raw.png +0 -0
  27. data/doc/images/screenshots/en/night-black.png +0 -0
  28. data/doc/images/screenshots/en/rabbit-raw.png +0 -0
  29. data/doc/images/screenshots/en/rabbit.png +0 -0
  30. data/doc/images/screenshots/en/ranguba-raw.png +0 -0
  31. data/doc/images/screenshots/en/ranguba.png +0 -0
  32. data/doc/images/screenshots/en/red-frame-raw.png +0 -0
  33. data/doc/images/screenshots/en/red-frame.png +0 -0
  34. data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
  35. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  36. data/doc/images/screenshots/en/rubykaigi2011-raw.png +0 -0
  37. data/doc/images/screenshots/en/rubykaigi2011.png +0 -0
  38. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  39. data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
  40. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  41. data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
  42. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  43. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  44. data/doc/images/screenshots/ja/day-white.png +0 -0
  45. data/doc/images/screenshots/ja/debian.png +0 -0
  46. data/doc/images/screenshots/ja/green-circle-raw.png +0 -0
  47. data/doc/images/screenshots/ja/green-circle.png +0 -0
  48. data/doc/images/screenshots/ja/night-black-raw.png +0 -0
  49. data/doc/images/screenshots/ja/night-black.png +0 -0
  50. data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
  51. data/doc/images/screenshots/ja/rabbit.png +0 -0
  52. data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
  53. data/doc/images/screenshots/ja/ranguba.png +0 -0
  54. data/doc/images/screenshots/ja/red-frame-raw.png +0 -0
  55. data/doc/images/screenshots/ja/red-frame.png +0 -0
  56. data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
  57. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  58. data/doc/images/screenshots/ja/rubykaigi2011-raw.png +0 -0
  59. data/doc/images/screenshots/ja/rubykaigi2011.png +0 -0
  60. data/doc/ja/how-to-make/markdown.md +36 -2
  61. data/doc/ja/index.rd +2 -1
  62. data/doc/ja/install/homebrew.rd +1 -1
  63. data/doc/ja/install/windows.rd +22 -38
  64. data/doc/ja/news.rd +99 -0
  65. data/entities/ent2rb.rb +30 -22
  66. data/lib/rabbit/command/rabbit.rb +9 -5
  67. data/lib/rabbit/parser/ext/entity.rb +3664 -3694
  68. data/lib/rabbit/parser/markdown.rb +29 -1
  69. data/lib/rabbit/parser/markdown/converter.rb +12 -0
  70. data/lib/rabbit/parser/rd/ext/block-verbatim.rb +7 -0
  71. data/lib/rabbit/renderer/display/drawing-area-base.rb +5 -1
  72. data/lib/rabbit/renderer/display/key-handler.rb +0 -4
  73. data/lib/rabbit/renderer/display/search.rb +6 -1
  74. data/lib/rabbit/theme/applier.rb +8 -2
  75. data/lib/rabbit/theme/background-image-toolkit/background-image-toolkit.rb +8 -1
  76. data/lib/rabbit/theme/clear-blue/clear-blue.rb +2 -0
  77. data/lib/rabbit/theme/default-title-text/default-title-text.rb +5 -0
  78. data/lib/rabbit/theme/image-viewer/image-viewer.rb +2 -0
  79. data/lib/rabbit/theme/image/image.rb +13 -11
  80. data/lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb +14 -2
  81. data/lib/rabbit/version.rb +1 -1
  82. data/po/en/rabbit.edit.po +109 -101
  83. data/po/en/rabbit.po +6 -0
  84. data/po/fr/rabbit.edit.po +109 -101
  85. data/po/fr/rabbit.po +6 -0
  86. data/po/ja/rabbit.edit.po +110 -113
  87. data/po/ja/rabbit.po +7 -1
  88. data/sample/rabbit.md +1 -1
  89. data/test/parser/test-markdown.rb +47 -0
  90. metadata +60 -19
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Rabbit 0.5.4\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2015-09-05 23:04+0900\n"
9
+ "PO-Revision-Date: 2016-05-27 13:29+0900\n"
10
10
  "Last-Translator: Kouhei Sutou <kou@cozmixng.org>\n"
11
11
  "Language-Team: Kouhei Sutou <kou@cozmixng.org> and Kobayashi Noritada <nori1@d"
12
12
  "olphin.c.u-tokyo.ac.jp>\n"
@@ -950,9 +950,15 @@ msgstr "実行したmimeTeXコマンド名: %s"
950
950
  msgid "multiple ![alt]{image} in a paragraph isn't supported."
951
951
  msgstr "ひとつの段落中で複数の「![alt]{image}」を使うことはできません。"
952
952
 
953
+ msgid "horizontal rule isn't supported."
954
+ msgstr "水平線はサポートしていません"
955
+
953
956
  msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
954
957
  msgstr "複数の「![]('XXX.png'){:align='right'}」はサポートしていません。"
955
958
 
959
+ msgid "HTML isn't supported."
960
+ msgstr "HTMLはサポートしていません"
961
+
956
962
  msgid "multiple 'align = right' isn't supported."
957
963
  msgstr "複数の'align = right'はサポートしていません。"
958
964
 
@@ -24,7 +24,7 @@ theme
24
24
 
25
25
  # 機能: 表示(1)
26
26
 
27
- * *強調*
27
+ * *強調*・~~削除~~
28
28
  * ソースの色付け
29
29
 
30
30
  # 機能: 表示(2)
@@ -96,6 +96,40 @@ class RabbitParserMarkdownTest < Test::Unit::TestCase
96
96
  end
97
97
  end
98
98
 
99
+ class DeletedTextTest < self
100
+ def test_simple
101
+ assert_equal([
102
+ "Body", [
103
+ "Paragraph",
104
+ ["Text", "Hello "],
105
+ ["DeletedText", ["Text", "deleted"]],
106
+ ["Text", " World"],
107
+ ],
108
+ ],
109
+ parse("Hello ~~deleted~~ World"))
110
+ end
111
+
112
+ def test_start_only
113
+ assert_equal([
114
+ "Body", [
115
+ "Paragraph",
116
+ ["Text", "Hello ~~ World"],
117
+ ],
118
+ ],
119
+ parse("Hello ~~ World"))
120
+ end
121
+
122
+ def test_escaple
123
+ assert_equal([
124
+ "Body", [
125
+ "Paragraph",
126
+ ["Text", "Hello ~~not deleted~~ World"],
127
+ ],
128
+ ],
129
+ parse("Hello \\~\\~not deleted\\~\\~ World"))
130
+ end
131
+ end
132
+
99
133
  class SyntaxHighlightTest < self
100
134
  def test_indent_lang
101
135
  assert_equal([
@@ -312,5 +346,18 @@ a ![](#{image_path})
312
346
  end
313
347
  end
314
348
  end
349
+
350
+ class HorizontalRuleTest < self
351
+ include Rabbit::GetText
352
+
353
+ def test_unsupported
354
+ message = _("horizontal rule isn't supported.")
355
+ assert_raise(Rabbit::ParseError.new(message)) do
356
+ parse(<<-MARKDOWN)
357
+ ---
358
+ MARKDOWN
359
+ end
360
+ end
361
+ end
315
362
  end
316
363
  end
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: 2.1.8
4
+ version: 2.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-06 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gio2
@@ -281,10 +281,10 @@ email:
281
281
  - kou@cozmixng.org
282
282
  executables:
283
283
  - rabbirc
284
+ - rabbit-theme
285
+ - rabbit-slide
284
286
  - rabbit-command
285
287
  - rabbit
286
- - rabbit-slide
287
- - rabbit-theme
288
288
  extensions: []
289
289
  extra_rdoc_files: []
290
290
  files:
@@ -437,6 +437,32 @@ files:
437
437
  - doc/images/lavie.png
438
438
  - doc/images/rabbit-slide-show-logo.png
439
439
  - doc/images/rabbit-slide-show-logo.svg
440
+ - doc/images/screenshots/en/blue-circle-raw.png
441
+ - doc/images/screenshots/en/blue-circle.png
442
+ - doc/images/screenshots/en/clear-blue-raw.png
443
+ - doc/images/screenshots/en/clear-blue.png
444
+ - doc/images/screenshots/en/cozmixng-raw.png
445
+ - doc/images/screenshots/en/cozmixng.png
446
+ - doc/images/screenshots/en/dark-gradation-raw.png
447
+ - doc/images/screenshots/en/dark-gradation.png
448
+ - doc/images/screenshots/en/day-white-raw.png
449
+ - doc/images/screenshots/en/day-white.png
450
+ - doc/images/screenshots/en/debian-raw.png
451
+ - doc/images/screenshots/en/debian.png
452
+ - doc/images/screenshots/en/green-circle-raw.png
453
+ - doc/images/screenshots/en/green-circle.png
454
+ - doc/images/screenshots/en/night-black-raw.png
455
+ - doc/images/screenshots/en/night-black.png
456
+ - doc/images/screenshots/en/rabbit-raw.png
457
+ - doc/images/screenshots/en/rabbit.png
458
+ - doc/images/screenshots/en/ranguba-raw.png
459
+ - doc/images/screenshots/en/ranguba.png
460
+ - doc/images/screenshots/en/red-frame-raw.png
461
+ - doc/images/screenshots/en/red-frame.png
462
+ - doc/images/screenshots/en/ruby-gnome2-raw.png
463
+ - doc/images/screenshots/en/ruby-gnome2.png
464
+ - doc/images/screenshots/en/rubykaigi2011-raw.png
465
+ - doc/images/screenshots/en/rubykaigi2011.png
440
466
  - doc/images/screenshots/ja/blue-circle-raw.png
441
467
  - doc/images/screenshots/ja/blue-circle.png
442
468
  - doc/images/screenshots/ja/clear-blue-raw.png
@@ -448,6 +474,21 @@ files:
448
474
  - doc/images/screenshots/ja/day-white-raw.png
449
475
  - doc/images/screenshots/ja/day-white.png
450
476
  - doc/images/screenshots/ja/debian-raw.png
477
+ - doc/images/screenshots/ja/debian.png
478
+ - doc/images/screenshots/ja/green-circle-raw.png
479
+ - doc/images/screenshots/ja/green-circle.png
480
+ - doc/images/screenshots/ja/night-black-raw.png
481
+ - doc/images/screenshots/ja/night-black.png
482
+ - doc/images/screenshots/ja/rabbit-raw.png
483
+ - doc/images/screenshots/ja/rabbit.png
484
+ - doc/images/screenshots/ja/ranguba-raw.png
485
+ - doc/images/screenshots/ja/ranguba.png
486
+ - doc/images/screenshots/ja/red-frame-raw.png
487
+ - doc/images/screenshots/ja/red-frame.png
488
+ - doc/images/screenshots/ja/ruby-gnome2-raw.png
489
+ - doc/images/screenshots/ja/ruby-gnome2.png
490
+ - doc/images/screenshots/ja/rubykaigi2011-raw.png
491
+ - doc/images/screenshots/ja/rubykaigi2011.png
451
492
  - doc/index.html.en
452
493
  - doc/index.html.ja
453
494
  - doc/ja/about.rd
@@ -1049,32 +1090,32 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1049
1090
  version: '0'
1050
1091
  requirements: []
1051
1092
  rubyforge_project: rabbit
1052
- rubygems_version: 2.2.2
1093
+ rubygems_version: 2.5.1
1053
1094
  signing_key:
1054
1095
  specification_version: 4
1055
1096
  summary: Rabbit is an RD-document-based presentation application.
1056
1097
  test_files:
1057
- - test/test-color.rb
1058
- - test/test-utils.rb
1059
- - test/test-slideshare.rb
1060
- - test/image/test-dia.rb
1061
- - test/image/test-eps.rb
1062
1098
  - test/rabbit-test-utils.rb
1099
+ - test/test-applier.rb
1100
+ - test/test-color.rb
1063
1101
  - test/test-readme-parser.rb
1064
1102
  - test/test-author-configuration.rb
1103
+ - test/test-element.rb
1104
+ - test/test-slide-configuration.rb
1065
1105
  - test/rabbit-test-utils/parser.rb
1066
1106
  - test/rabbit-test-utils/fixture.rb
1067
- - test/source-generator/test-rd.rb
1068
- - test/source-generator/test-markdown.rb
1069
- - test/source-generator/test-hiki.rb
1070
1107
  - test/test-theme-configuration.rb
1108
+ - test/test-slideshare.rb
1071
1109
  - test/run-test.rb
1072
- - test/test-size.rb
1073
- - test/test-element.rb
1074
- - test/test-applier.rb
1075
- - test/parser/test-wiki.rb
1076
- - test/parser/test-rd.rb
1077
1110
  - test/parser/test-markdown.rb
1111
+ - test/parser/test-rd.rb
1112
+ - test/parser/test-wiki.rb
1113
+ - test/test-utils.rb
1114
+ - test/source-generator/test-hiki.rb
1115
+ - test/source-generator/test-markdown.rb
1116
+ - test/source-generator/test-rd.rb
1078
1117
  - test/test-source.rb
1079
- - test/test-slide-configuration.rb
1118
+ - test/image/test-dia.rb
1119
+ - test/image/test-eps.rb
1120
+ - test/test-size.rb
1080
1121
  has_rdoc: