mastalk 0.5.5 → 0.5.6

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: 964d30d2accb11008b532be6aa6456d5802ca457
4
- data.tar.gz: 2e5444e182947e2dec59dab7d05b1d678fd1ae1f
3
+ metadata.gz: 21514f5efa08f3f1ed0fb4ffe8976bd03a924eca
4
+ data.tar.gz: 78f4a1d37f20e14bba74de7cca7417412d0adcda
5
5
  SHA512:
6
- metadata.gz: 583b75c40d9389b1abb3d7bc7a90b0dd394c7dac0574516d748cc025c0c19711eea976070f78795b5a1d3cff9df1612ae5eff9d3f3b493cf9800ec53d7122a9c
7
- data.tar.gz: 55796b79c83c76a8c89ff4533ba0d4a827de32811e96f0507ed4efc7061c46b88ef1e6975c3e228450e7428865c5e35bfc017bd93cabd38b58d9939aca60e25a
6
+ metadata.gz: 30994732342ae16a43908c53af8d4cd353f447c990b25abe5ed34fb3a26695070339e14e1f986f6a5aa7aaeb93fb48a8f74903192deaf7c42a4556e66736ee65
7
+ data.tar.gz: 245cacf57a8384d2db39cd397d3a383ee7f42a546ad9395aaaa9332a8eb994283a88b3c2cf7f91608ade67ee5d4a661c08391e208e243e7dea82e8f4b452d88b
@@ -1,13 +1,11 @@
1
1
  # $~brightcove_video, ~$
2
2
 
3
3
  <div class="video-wrapper">
4
- <video data-account="3608769895001"
5
- data-player="b15c0e6a-51da-4bb1-b717-bccae778670d"
6
- data-embed="default"
7
- class="video-js"
8
- controls
9
- data-video-id="<%= body.strip %>"
10
- style="width: 100%; height: 100%; position: absolute; top: 0px; bottom: 0px; right: 0px; left: 0px;">
11
- </video>
12
- <script src="//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.min.js"></script>
4
+ <iframe src='//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.html?videoId=<%= body.strip %>'
5
+ frameBorder="0"
6
+ allowfullscreen=""
7
+ webkitallowfullscreen=""
8
+ mozallowfullscreen=""
9
+ style="width: 100%; height: 100%; position: absolute; top: 0px; bottom: 0px; right: 0px; left: 0px;" >
10
+ </iframe>
13
11
  </div>
data/mastalk.gemspec CHANGED
@@ -3,7 +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.5'
6
+ s.version = '0.5.6'
7
7
  s.date = '2015-03-02'
8
8
  s.summary = 'mastalk'
9
9
  s.description = 'Mastalk markdown extension language'
data/spec/mastalk_spec.rb CHANGED
@@ -146,7 +146,7 @@ describe Mastalk::Document do
146
146
  let(:source) { "$~brightcove_video3739688349001~$" }
147
147
 
148
148
  it 'pre-processes correctly' do
149
- expect(subject.to_html).to match(/data-video-id\="3739688349001"/)
149
+ expect(subject.to_html).to include('//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.html?videoId=3739688349001')
150
150
  end
151
151
  end
152
152
 
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.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Roper