refinerycms-map 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  <div id="googlemap" style="width:<%= width %>px; height:<%= height %>px;"></div>
2
2
 
3
3
  <%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" %>
4
- <%= javascript_include_tag "http://maps.google.com/maps?file=api&v=2&key=ABQIAAAANPKSmZLGixaiXPm4axsrNhRL7aHN84IgYddYDMrnQQV95WOVBRSBz4pFe5Nc4ZzbzY0MAvmogBnSJA" %>
4
+ <%= javascript_include_tag "http://maps.google.com/maps?file=api&v=2&key=#{RefinerySetting.find_or_set(:google_maps_api_key, '')}" %>
5
5
  <%= javascript_include_tag "mapiconmaker.js" %>
6
6
  <%= javascript_include_tag "markermanager.js" %>
7
7
  <%= javascript_include_tag "jquery.metadata.js" %>
data/lib/map.rb CHANGED
@@ -2,7 +2,7 @@ module Refinery
2
2
  module Map
3
3
  class << self
4
4
  def version
5
- %q{0.0.2}
5
+ %q{0.0.3}
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-map
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Envy Labs