md2review 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/md2review/version.rb +1 -1
- data/lib/redcarpet/render/review.rb +1 -1
- data/test/review_test.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c33fd9405522deed97226f68c102915fc82a265
|
4
|
+
data.tar.gz: 16c2bf470421be818b4880b60b6f90f1f4620018
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be1a2406bb5dd4e9602839c80c3fc2c16f11bfd785565f1dc2e4045138fe86756399a167be20e8d6fad7863dc26c5d0a452b72154e409c2140b4b887806ed025
|
7
|
+
data.tar.gz: f429bbc5a6020373cb03035175f20a8fa4097e24b9f475ec2c58dd50d8ce0001dc05e24833c78690176b2340afd8e437b3d49a8fe401886d3f376b792564e190
|
data/README.md
CHANGED
@@ -27,6 +27,9 @@ You can use the commmand md2review as:
|
|
27
27
|
|
28
28
|
## History
|
29
29
|
|
30
|
+
* 1.6.0
|
31
|
+
* special attribute in header need a separator(U+0020) to distinguish from Re:VIEW inline markup
|
32
|
+
(reported by @himajin315 and @yasulab)
|
30
33
|
* 1.5.0
|
31
34
|
* support language on code block
|
32
35
|
* add option --render-enable-cmd
|
data/lib/md2review/version.rb
CHANGED
data/test/review_test.rb
CHANGED
@@ -57,6 +57,12 @@ class ReVIEWTest < Test::Unit::TestCase
|
|
57
57
|
assert_equal "\n\#@# header_attribute: {-}\n= AAA\n\n\#@# header_attribute: {\#foo .bar title=hoge}\n= BBB\n", @markdown.render("\#AAA {-}\n\n\#BBB {\#foo .bar title=hoge}\n\n")
|
58
58
|
end
|
59
59
|
|
60
|
+
def test_header_attributes_without_space
|
61
|
+
assert_respond_to @markdown, :render
|
62
|
+
assert_equal "\n\#@# header_attribute: {-}\n= AAA\n\n\= BBB@<tt>{test}\n",
|
63
|
+
@markdown.render("\#AAA {-}\n\n\#BBB@<tt>{test}\n\n")
|
64
|
+
end
|
65
|
+
|
60
66
|
def test_image
|
61
67
|
assert_equal "\n\n//image[image][test]{\n//}\n\n\n", @markdown.render("![test](path/to/image.jpg)\n")
|
62
68
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md2review
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takahashim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|