mastalk 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastalk/snippets/break.html.erb +3 -0
- data/mastalk.gemspec +2 -2
- data/spec/mastalk_spec.rb +12 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc711ce411ed8189be2537d557277b9664b2148c
|
4
|
+
data.tar.gz: f65300d9c12469b989fb37a89e5c3e7544f132bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc5412ac212c8ff5b1539d2805f1ade251d7126be85b3de7891aae556abba2cbd332700c9987486dec4d489d7d8eef59f0cd09c6865e3148cea83d1f9e28c5c5
|
7
|
+
data.tar.gz: 1db2b1f373bff52f580db589322a79f98983629e43d7e83049c306f21cad19a5f249aa5f54cb3dba16a68a9e1ab12512363a5e48e62818a21e93aa4d0ff7c9dc
|
data/mastalk.gemspec
CHANGED
@@ -3,8 +3,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'mastalk'
|
6
|
-
s.version = '0.3.
|
7
|
-
s.date = '2014-11-
|
6
|
+
s.version = '0.3.1'
|
7
|
+
s.date = '2014-11-26'
|
8
8
|
s.summary = 'mastalk'
|
9
9
|
s.description = 'Mastalk markdown extension language'
|
10
10
|
s.authors = ['Douglas Roper']
|
data/spec/mastalk_spec.rb
CHANGED
@@ -117,4 +117,16 @@ describe Mastalk::Document do
|
|
117
117
|
expect(subject.to_html).to eq(expected)
|
118
118
|
end
|
119
119
|
end
|
120
|
+
|
121
|
+
context 'line breaks' do
|
122
|
+
let(:source) { "@~ @~" }
|
123
|
+
|
124
|
+
let(:expected) do
|
125
|
+
"<p><br /> <br /></p>\n"
|
126
|
+
end
|
127
|
+
|
128
|
+
it 'pre-processes correctly' do
|
129
|
+
expect(subject.to_html).to eq(expected)
|
130
|
+
end
|
131
|
+
end
|
120
132
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Douglas Roper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kramdown
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- lib/mastalk/extensions.rb
|
107
107
|
- lib/mastalk/snippets/action_item.html.erb
|
108
108
|
- lib/mastalk/snippets/add_action.html.erb
|
109
|
+
- lib/mastalk/snippets/break.html.erb
|
109
110
|
- lib/mastalk/snippets/callout.html.erb
|
110
111
|
- lib/mastalk/snippets/collabsible_section.html.erb
|
111
112
|
- lib/mastalk/snippets/collapsable.html.erb
|
@@ -144,3 +145,4 @@ signing_key:
|
|
144
145
|
specification_version: 4
|
145
146
|
summary: mastalk
|
146
147
|
test_files: []
|
148
|
+
has_rdoc:
|