embedrb 0.2.2 → 0.2.3

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: 29a1c1027ae50d6fb90093dc118e01fb4c6a8930
4
- data.tar.gz: d59b3a1453772ac11d5e4dc4efe6e647b03b2ef9
3
+ metadata.gz: c256a78cf26ed5babfab6d258e45a176c2470fda
4
+ data.tar.gz: 37d8582854f41fa5451598f6461b6a7a863e6676
5
5
  SHA512:
6
- metadata.gz: 323db49baac4ffd1bb6dd04f537d5342ec35880014095b7cadfafe1e84596e15990fe5459b14c59051e0bbfefb148d646552c01b575e30cabeccde870f540ae1
7
- data.tar.gz: 2cbe816d5f8777ff7e10fd8ea7bf020fac78999a5b11903dec77c43669d0a5153ca58174fc0b1cd8c682d266552bcc51d70a50db528747d0056212ab3f5388cd
6
+ metadata.gz: 3a8996bb934f3bb5428068811f81fa7c41cb71da76b2d9058644352550ab3feccd559cdb08cf4cd809fc34935e43307944fd6ce2a2bd53cdbca414925382e1b3
7
+ data.tar.gz: e2a672d70e7c211daef9c75893bb953cee93da41aec88158bbd4b0e9a829d01a99e182a052d2b8d8bf0dace303ae0da04dfb7fc03a29ef3698ee5c94c63f6320
@@ -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.2.2 ruby lib
5
+ # stub: embedrb 0.2.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "embedrb"
9
- s.version = "0.2.2"
9
+ s.version = "0.2.3"
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-22"
14
+ s.date = "2016-02-23"
15
15
  s.description = "a ruby port of Embed.js"
16
16
  s.email = "liris.pp@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -52,8 +52,8 @@ module EmbedRb
52
52
  def format(mode, config, dims, params)
53
53
  url = "https://www.google.com/maps/embed/v1/#{mode}?key=#{config[:googleAuthKey]}&#{params}"
54
54
  template = <<EOF
55
- <div class="ejs-embed ejs-map">
56
- <iframe width="#{dims[:width]}" height="#{dims[:height]}" src="#{url}" ></iframe>
55
+ <div class="ejs-embed ejs-map" style="width: #{dims[:width]}px; height: #{dims[:height]}px;">
56
+ <iframe width="#{dims[:width]}px" height="#{dims[:height]}px" src="#{url}" ></iframe>
57
57
  </div>
58
58
  EOF
59
59
  end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module EmbedRb
3
- VERSION="0.2.2"
3
+ VERSION="0.2.3"
4
4
  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.2.2
4
+ version: 0.2.3
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-22 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shoulda