embedrb 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/embedrb.gemspec +3 -3
- data/lib/embedrb/embed_gmap.rb +1 -1
- data/lib/embedrb/image/embed_flickr.rb +1 -1
- data/lib/embedrb/image/embed_instagram.rb +1 -1
- data/lib/embedrb/version.rb +1 -1
- data/lib/embedrb/video/embed_ted.rb +1 -1
- data/lib/embedrb/video/embed_ustream.rb +1 -1
- data/lib/embedrb/video/embed_youtube.rb +1 -1
- 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: bcb6ac62024b9fdfc590e06aebe17009a2deb771
|
4
|
+
data.tar.gz: 93d70acc13045f89afd2b5a051923df09eb37293
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cd3236d9af81be4d3d4ad78463ef1129af3045b1b1f91d5ec70ed5e56714c71e9f18dfb752e0ed07724d55369017a162c5cfa135e8c1625628755524bf096b
|
7
|
+
data.tar.gz: 520acf15235a3fe14ed9209689c04f6107b52652580b9d599aa29847104aa9f745f8a1ada7ea1446fef16d8b0c962bb3021aa6faccd7d1557be6e1d36367c723
|
data/embedrb.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: embedrb 0.
|
5
|
+
# stub: embedrb 0.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "embedrb"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.2.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["liris"]
|
14
|
-
s.date = "2016-02-
|
14
|
+
s.date = "2016-02-17"
|
15
15
|
s.description = "a ruby port of Embed.js"
|
16
16
|
s.email = "liris.pp@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
data/lib/embedrb/embed_gmap.rb
CHANGED
@@ -53,7 +53,7 @@ module EmbedRb
|
|
53
53
|
url = "https://www.google.com/maps/embed/v1/#{mode}?key=#{config[:googleAuthKey]}&#{params}"
|
54
54
|
template = <<EOF
|
55
55
|
<div class="ejs-embed ejs-map">
|
56
|
-
<iframe width="#{dims[:width]}" height="#{dims[:height]}" src="#{url}"
|
56
|
+
<iframe width="#{dims[:width]}" height="#{dims[:height]}" src="#{url}" ></iframe>
|
57
57
|
</div>
|
58
58
|
EOF
|
59
59
|
end
|
@@ -19,7 +19,7 @@ module EmbedRb
|
|
19
19
|
return <<EOF
|
20
20
|
<div class="ejs-embed">
|
21
21
|
<div class="ne-image-wrapper">
|
22
|
-
<iframe src="#{EmbedRb.to_url(url.split('/?')[0])}/player/" width="#{dims[:width]}" height="#{dims[:height]}"
|
22
|
+
<iframe src="#{EmbedRb.to_url(url.split('/?')[0])}/player/" width="#{dims[:width]}" height="#{dims[:height]}" ></iframe>
|
23
23
|
</div>
|
24
24
|
</div>
|
25
25
|
EOF
|
@@ -19,7 +19,7 @@ module EmbedRb
|
|
19
19
|
return <<EOF
|
20
20
|
<div class="ejs-embed ejs-instagram">
|
21
21
|
<div class="ne-image-wrapper">
|
22
|
-
<iframe src="#{EmbedRb.to_url(url.split('/?')[0])}/embed/" width="#{dims[:width]}" height="#{dims[:height]}"
|
22
|
+
<iframe src="#{EmbedRb.to_url(url.split('/?')[0])}/embed/" width="#{dims[:width]}" height="#{dims[:height]}" ></iframe>
|
23
23
|
</div>
|
24
24
|
</div>
|
25
25
|
EOF
|
data/lib/embedrb/version.rb
CHANGED
@@ -23,7 +23,7 @@ module EmbedRb
|
|
23
23
|
dims = EmbedRb.get_dimensions(@options)
|
24
24
|
return <<EOF
|
25
25
|
<div class="ejs-embed ejs-ted">
|
26
|
-
<iframe src="http://embed.ted.com/talks/#{_id}.html" height="#{dims[:height]}" width="#{dims[:width]}"
|
26
|
+
<iframe src="http://embed.ted.com/talks/#{_id}.html" height="#{dims[:height]}" width="#{dims[:width]}" ></iframe>
|
27
27
|
</div>
|
28
28
|
EOF
|
29
29
|
end
|
@@ -18,7 +18,7 @@ module EmbedRb
|
|
18
18
|
dims = EmbedRb.get_dimensions(@options)
|
19
19
|
return <<EOF
|
20
20
|
<div class="ejs-embed ejs-ustream">
|
21
|
-
<iframe src="//www.#{url}" height="#{dims[:height]}" width="#{dims[:width]}
|
21
|
+
<iframe src="//www.#{url}" height="#{dims[:height]}" width="#{dims[:width]} ></iframe>
|
22
22
|
</div>
|
23
23
|
EOF
|
24
24
|
end
|
@@ -23,7 +23,7 @@ module EmbedRb
|
|
23
23
|
dims = EmbedRb.get_dimensions(@options)
|
24
24
|
return <<EOF
|
25
25
|
<div class="ejs-video-player ejs-embed">
|
26
|
-
<iframe src="#{url}" frameBorder="0" width="#{dims[:width]}" height="#{dims[:height]}"
|
26
|
+
<iframe src="#{url}" frameBorder="0" width="#{dims[:width]}" height="#{dims[:height]}" ></iframe>
|
27
27
|
</div>
|
28
28
|
EOF
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embedrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- liris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shoulda
|