redcarpet_yt 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redcarpet_yt.rb +1 -1
- data/redcarpet_yt.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66709f4e4b815268d49ef205298ff419f0d9df18
|
4
|
+
data.tar.gz: 36cac15bc48a0e3f29863548b3b57c0f5843c5f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47c55a8f52930b94d11fdd0513b6cf4edb9edaab7da8bf134dd0f62895e24eac137b5cbb8f53650517329732b901c811cfc6686b1e06f4d39c5edfebbbc2cc18
|
7
|
+
data.tar.gz: 66357fcebe7ca909fdd44a256896f3c9bda54b8ecb308509247f9e008d83a661d0ccfabc2a33ce89ba9417e3664be94105c5ca2f66ba75a571e8e18409bc21fc
|
data/lib/redcarpet_yt.rb
CHANGED
@@ -17,7 +17,7 @@ module Redcarpet
|
|
17
17
|
id = get_youtube_video_id(link)
|
18
18
|
'</p>
|
19
19
|
<div position="relative" padding-bottom="56.25%" padding-top="25px" height="0">
|
20
|
-
<iframe position="absolute" top="0" bottom="0" width="100%" height="
|
20
|
+
<iframe position="absolute" top="0" bottom="0" width="100%" height="320" src="//www.youtube.com/embed/'+id+'" frameborder="0" allowfullscreen></iframe>
|
21
21
|
</div>
|
22
22
|
<p>'
|
23
23
|
else
|
data/redcarpet_yt.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'redcarpet_yt'
|
4
|
-
s.version = '0.0.
|
4
|
+
s.version = '0.0.10'
|
5
5
|
s.summary = "Markdown that smells nice, now with YouTube embedding"
|
6
6
|
s.description = 'A fast, safe and extensible Markdown to (X)HTML parser, with YouTube embedding, based on Redcarpet'
|
7
7
|
s.date = '2016-03-31'
|