mastalk 0.5.6 → 0.5.7
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/vimeo_video.html.erb +10 -0
- data/mastalk.gemspec +1 -2
- data/spec/mastalk_spec.rb +8 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dc60d71468da6864062a7e24a9be26f8dd94cf4
|
4
|
+
data.tar.gz: 7ac805a98998490db991a87e6d2c1722174df66d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 493c7c86fe831efe5f5321157664b62c3de010fbade95f65ef48ee4cf9005914b7fc4d7bfa4dbb80b7d59a9ddc0f03ccddefa2bed3de5e3c3048894e78b7fa92
|
7
|
+
data.tar.gz: 8d1e6e8e2bf33bb476ca471380d0b2ca5ad9e9adcd8e0ee85fffe951b717feb43a36e9b5f1a5da8f86ad1fc48e017f10418d1bb3f19d3f11c2e053b4061713d9
|
data/mastalk.gemspec
CHANGED
@@ -3,8 +3,7 @@ $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.5.
|
7
|
-
s.date = '2015-03-02'
|
6
|
+
s.version = '0.5.7'
|
8
7
|
s.summary = 'mastalk'
|
9
8
|
s.description = 'Mastalk markdown extension language'
|
10
9
|
s.authors = ['Douglas Roper', 'Justin Perry']
|
data/spec/mastalk_spec.rb
CHANGED
@@ -166,6 +166,14 @@ describe Mastalk::Document do
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
|
+
context 'vimeo video' do
|
170
|
+
let(:source) { "$~vimeo_video145743834~$" }
|
171
|
+
|
172
|
+
it 'pre-processes correctly' do
|
173
|
+
expect(subject.to_html).to include('https://player.vimeo.com/video/145743834?portrait=0&title=0&byline=0')
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
169
177
|
context 'block with media and content' do
|
170
178
|
let(:source) { '$bl $bl_c Content bl_c$ $bl_m bl_m$ bl$' }
|
171
179
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Douglas Roper
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: kramdown
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- lib/mastalk/snippets/ticks.html.erb
|
125
125
|
- lib/mastalk/snippets/tool.html.erb
|
126
126
|
- lib/mastalk/snippets/video.html.erb
|
127
|
+
- lib/mastalk/snippets/vimeo_video.html.erb
|
127
128
|
- lib/mastalk/snippets/why.html.erb
|
128
129
|
- lib/mastalk/snippets/yes.html.erb
|
129
130
|
- mastalk.gemspec
|