maildown 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maildown/markdown_engine.rb +1 -1
- data/lib/maildown/version.rb +1 -1
- data/test/dummy/log/test.log +9 -0
- data/test/test_helper.rb +1 -1
- data/test/unit/markdown_engine_test.rb +7 -0
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15216b9c3c117a02eb4b24b3f5c691054ce4303e2b46a86c19a05f712efc4bb6
|
4
|
+
data.tar.gz: 99bb1b84ac4125e38c96a257f9261270dd2fa35f118df07193c634bdac386823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34ec1dbcab97af0f7aa50603ddc113df11c9f8b4eccf42095193e038ac2b427aac44cfcc023842d18b6070487d007ca4dbe0a34875687a6ac271efdbf5a5832a
|
7
|
+
data.tar.gz: 86c864b03330f577406737517a5bd15afdb4cf496d2d07dafbc897b19047030ff9d1d8641ac176b365f8a9162717246060a3b39192eef2ca687a6cbd1b17f101
|
data/lib/maildown/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -30185,3 +30185,12 @@ Content-Transfer-Encoding: 7bit
|
|
30185
30185
|
|
30186
30186
|
----==_mimepart_5d95153d9e01a_1d8b3ff85f83c01023436--
|
30187
30187
|
|
30188
|
+
--------------------------------------------------
|
30189
|
+
MarkdownEngineTest: test_handles_code_fences_(GFM)
|
30190
|
+
--------------------------------------------------
|
30191
|
+
--------------------------------------------------
|
30192
|
+
MarkdownEngineTest: test_handles_code_fences_(GFM)
|
30193
|
+
--------------------------------------------------
|
30194
|
+
--------------------------------------------------
|
30195
|
+
MarkdownEngineTest: test_handles_code_fences_(GFM)
|
30196
|
+
--------------------------------------------------
|
data/test/test_helper.rb
CHANGED
@@ -34,4 +34,11 @@ class MarkdownEngineTest < ActiveSupport::TestCase
|
|
34
34
|
end
|
35
35
|
thread.join
|
36
36
|
end
|
37
|
+
|
38
|
+
test "handles code fences (GFM)" do
|
39
|
+
markdown = "```\nbar\n```"
|
40
|
+
|
41
|
+
actual = Maildown::MarkdownEngine.to_html(markdown)
|
42
|
+
assert_equal "<pre><code>bar\n</code></pre>\n", actual
|
43
|
+
end
|
37
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maildown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schneems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: kramdown
|
28
|
+
name: kramdown-parser-gfm
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: m
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: sqlite3
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
202
|
- !ruby/object:Gem::Version
|
189
203
|
version: '0'
|
190
204
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
205
|
+
rubygems_version: 3.1.2
|
192
206
|
signing_key:
|
193
207
|
specification_version: 4
|
194
208
|
summary: Markdown in your mailbox
|