simple_markdown 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +105 -0
- data/lib/simple_markdown/action_view/helpers.rb +4 -2
- data/lib/simple_markdown/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +3545 -0
- data/test/simple_markdown_test.rb +4 -0
- metadata +4 -3
@@ -121,4 +121,8 @@ class SimpleMarkdownTest < ActiveSupport::TestCase # ActionView::TestCase
|
|
121
121
|
assert_equal "<center>\n<h1>Title</h1>\n</center>", simple_markdown("->\n#Title\n<-")
|
122
122
|
end
|
123
123
|
|
124
|
+
test "center" do
|
125
|
+
assert_equal "<center>\n<p>\nNous fêtons nouvel an en famille !\n</p>\n</center>", simple_markdown("->\nNous fêtons nouvel an en famille !\n<-")
|
126
|
+
end
|
127
|
+
|
124
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noémien Kocher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -61,6 +61,7 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- MIT-LICENSE
|
64
|
+
- README.md
|
64
65
|
- Rakefile
|
65
66
|
- lib/simple_markdown.rb
|
66
67
|
- lib/simple_markdown/action_view/helpers.rb
|
@@ -146,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
147
|
version: '0'
|
147
148
|
requirements: []
|
148
149
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.4.
|
150
|
+
rubygems_version: 2.4.6
|
150
151
|
signing_key:
|
151
152
|
specification_version: 4
|
152
153
|
summary: Add `simple_markdown` method to your rails app. It will parse markdown to
|