rmake-notation 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rmake-notation/version.rb +1 -1
- data/lib/rmake-notation.rb +0 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bdf73f980a2e3c797610230de6eae62ced1adc3
|
4
|
+
data.tar.gz: d323f5e2a6fbe8eb7898cb313f6e5108cd8c7784
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b3ca7c3b9503c1acbb85fd5a94569bd7ebc95bb43acb2e3c6b05e9c1a702d25e8bd89f24f248f0502a26c33fa5a92f0ec299863190e61a65205f6e31bc7118
|
7
|
+
data.tar.gz: 391971f1d5a6e974a65b128867a000eb6c5cf01ffea73ff4d94ffc4610623e6fbb391d5d8998dd9824f2dd7e084273b6e37b8340d1c04f71991d18908e7bd2bc
|
data/lib/rmake-notation.rb
CHANGED
@@ -299,20 +299,6 @@ module Rmake::Notation
|
|
299
299
|
text = !text_data.blank? ? text_data : nil
|
300
300
|
result = "<span style=\"#{style}\">#{text}</span>"
|
301
301
|
|
302
|
-
when "nicovideo"
|
303
|
-
id = parsed_block[1]
|
304
|
-
result = <<-EOS
|
305
|
-
<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/#{id}?w=490&h=307"></script>
|
306
|
-
<noscript>JavaScriptが動いていないため、動画埋め込みが動作していません。</noscript>
|
307
|
-
EOS
|
308
|
-
|
309
|
-
when "youtube"
|
310
|
-
id = parsed_block[1]
|
311
|
-
result = <<-EOS
|
312
|
-
<iframe width="425" height="349" src="http://www.youtube.com/embed/#{id}"
|
313
|
-
frameborder="0" allowfullscreen></iframe>
|
314
|
-
EOS
|
315
|
-
|
316
302
|
else
|
317
303
|
|
318
304
|
result = execute_plugins(command, parsed_block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmake-notation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rmake Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|