embedrb 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67c489c7714a4885e42bd84017c902bd8b6a56f6
4
- data.tar.gz: 4c503e490f131707a1d54cfe3392de39e926b66a
3
+ metadata.gz: bcb6ac62024b9fdfc590e06aebe17009a2deb771
4
+ data.tar.gz: 93d70acc13045f89afd2b5a051923df09eb37293
5
5
  SHA512:
6
- metadata.gz: 03a2306d360a2e9a5dda796e56935e7d0fe7cf8bf086ac75cd3139928523735f844c5a23a240396c74729cfb8392b307f226248a58bba04dedaf814b01d12392
7
- data.tar.gz: 1fce75038fb76344934a954c29029352e552371199503b87182706d77482f5c21714da443422c68693a2aba128d1c5aa4e5e5dcc3fdc0f4ca99e20d230e9307e
6
+ metadata.gz: 92cd3236d9af81be4d3d4ad78463ef1129af3045b1b1f91d5ec70ed5e56714c71e9f18dfb752e0ed07724d55369017a162c5cfa135e8c1625628755524bf096b
7
+ data.tar.gz: 520acf15235a3fe14ed9209689c04f6107b52652580b9d599aa29847104aa9f745f8a1ada7ea1446fef16d8b0c962bb3021aa6faccd7d1557be6e1d36367c723
@@ -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.1.0 ruby lib
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.1.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-12"
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 = [
@@ -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
@@ -1,4 +1,4 @@
1
1
 
2
2
  module EmbedRb
3
- VERSION="0.1.0"
3
+ VERSION="0.2.0"
4
4
  end
@@ -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.1.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-12 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shoulda