mastalk 0.3.3 → 0.3.4

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: 1ed0998bf4c869ae5d3671545a60c8fbc69b56c5
4
- data.tar.gz: 01855fec484cbc0edbf016f2d47ecaf28b0427bd
3
+ metadata.gz: 53bd3ebc0b27533aa4bae0ecc7d05b0cf77b3e9d
4
+ data.tar.gz: a0090eef7e49d3a51e25e663f06ad3b52ae78bb0
5
5
  SHA512:
6
- metadata.gz: 44d8bfdf2f87822cb34c6d108d6e05923b5ced8de3769ac27471cee07ba141a340808369b5f02a0571c32f9b8b61510a3a7ea3ba4f3365a3a4612f860f96c787
7
- data.tar.gz: 450d712e06b5b7d3a54908f6e41dfe7bf7cd145bcacd1956aa6e7bb510db463ddf90a921633dd23dc4ce7bf3a900a279ee71f52effb12d0ed1505d7285d7bd9a
6
+ metadata.gz: 9b09169c148db98a2e339e84506db19c5ef72dcbd7a981662374fe05c5175b0e8d619fda45ef98ecea61787bf0180a4c3ef99d7fcdc94474ff871610d4d01a64
7
+ data.tar.gz: e186402c449c09b7d120c4d0a4069a09a1c1b3c8c9dea2fdb5bf0d4ec5df8ff2e32b5c6a13e7b646db2c0f90276d27e46c1d044672d503f01775e7c27a5ad9d4
@@ -1,17 +1,14 @@
1
- # (@, @)
1
+ # [[, ]]
2
2
 
3
- <object id="flashObj" width="560" height="345" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0">
3
+ <object id="flashObj" width="645" height="345" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0">
4
4
  <param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" />
5
5
  <param name="bgcolor" value="#FFFFFF" />
6
- <param
7
- name="flashVars"
8
- value="videoId=<%= body %>&playerID=3608340927001&playerKey=AQ~~,AAADSDtymlk~,HgUAk1SkaoHN7jMCiJiPFOJjIpX50s8e&domain=embed&dynamicStreaming=true"
9
- />
6
+ <param name="flashVars" value="videoId=<%= body.strip %>&playerID=3608340927001&playerKey=AQ~~,AAADSDtymlk~,HgUAk1SkaoHN7jMCiJiPFOJjIpX50s8e&domain=embed&dynamicStreaming=true" />
10
7
  <param name="base" value="http://admin.brightcove.com" />
11
8
  <param name="seamlesstabbing" value="false" />
12
9
  <param name="allowFullScreen" value="true" />
13
10
  <param name="swLiveConnect" value="true" />
14
11
  <param name="allowScriptAccess" value="always" />
15
- <embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" bgcolor="#FFFFFF" flashVars="videoId=<%= body %>&playerID=3608340927001&playerKey=AQ~~,AAADSDtymlk~,HgUAk1SkaoHN7jMCiJiPFOJjIpX50s8e&domain=embed&dynamicStreaming=true" base="http://admin.brightcove.com" name="flashObj" width="560" height="345" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
12
+ <embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" bgcolor="#FFFFFF" flashVars="videoId=<%= body.strip %>&playerID=3608340927001&playerKey=AQ~~,AAADSDtymlk~,HgUAk1SkaoHN7jMCiJiPFOJjIpX50s8e&domain=embed&dynamicStreaming=true" base="http://admin.brightcove.com" name="flashObj" width="645" height="345" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
16
13
  </embed>
17
14
  </object>
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.3'
7
- s.date = '2015-01-22'
6
+ s.version = '0.3.4'
7
+ s.date = '2015-02-24'
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
@@ -143,10 +143,18 @@ describe Mastalk::Document do
143
143
  end
144
144
 
145
145
  context 'bright video' do
146
- let(:source) { "(@123@)" }
146
+ let(:source) { "[[3739688349001]]" }
147
147
 
148
148
  it 'pre-processes correctly' do
149
- expect(subject.to_html).to match(/videoId\=123/)
149
+ expect(subject.to_html).to match(/videoId\=3739688349001/)
150
+ end
151
+ end
152
+
153
+ context 'when youtube video' do
154
+ let(:source) { '({oZ0_U108aZw})' }
155
+
156
+ it 'includes youtube embed video' do
157
+ expect(subject.to_html).to include('https://www.youtube.com/embed/oZ0_U108aZw')
150
158
  end
151
159
  end
152
160
  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.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Roper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.4.3
146
+ rubygems_version: 2.2.2
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: mastalk