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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21514f5efa08f3f1ed0fb4ffe8976bd03a924eca
4
- data.tar.gz: 78f4a1d37f20e14bba74de7cca7417412d0adcda
3
+ metadata.gz: 9dc60d71468da6864062a7e24a9be26f8dd94cf4
4
+ data.tar.gz: 7ac805a98998490db991a87e6d2c1722174df66d
5
5
  SHA512:
6
- metadata.gz: 30994732342ae16a43908c53af8d4cd353f447c990b25abe5ed34fb3a26695070339e14e1f986f6a5aa7aaeb93fb48a8f74903192deaf7c42a4556e66736ee65
7
- data.tar.gz: 245cacf57a8384d2db39cd397d3a383ee7f42a546ad9395aaaa9332a8eb994283a88b3c2cf7f91608ade67ee5d4a661c08391e208e243e7dea82e8f4b452d88b
6
+ metadata.gz: 493c7c86fe831efe5f5321157664b62c3de010fbade95f65ef48ee4cf9005914b7fc4d7bfa4dbb80b7d59a9ddc0f03ccddefa2bed3de5e3c3048894e78b7fa92
7
+ data.tar.gz: 8d1e6e8e2bf33bb476ca471380d0b2ca5ad9e9adcd8e0ee85fffe951b717feb43a36e9b5f1a5da8f86ad1fc48e017f10418d1bb3f19d3f11c2e053b4061713d9
@@ -0,0 +1,10 @@
1
+ # $~vimeo_video, ~$
2
+
3
+ <div class="video-wrapper">
4
+ <iframe src="https://player.vimeo.com/video/<%= body.strip %>?portrait=0&title=0&byline=0"
5
+ frameborder="0"
6
+ webkitallowfullscreen
7
+ mozallowfullscreen
8
+ allowfullscreen>
9
+ </iframe>
10
+ </div>
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.6'
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.6
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-03-02 00:00:00.000000000 Z
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