gmaps4rails 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,13 +7,13 @@ module Gmaps4railsHelper
7
7
  :map_options => { :auto_adjust => true},
8
8
  :markers => { :data => builder, :options => {:do_clustering => true} }
9
9
  }
10
- render :partial => 'gmaps4rails/gmaps4rails', :locals => { :options => options.with_indifferent_access, :enable_css => enable_css, :enable_js => enable_js }
10
+ render :partial => '/gmaps4rails/gmaps4rails', :locals => { :options => options.with_indifferent_access, :enable_css => enable_css, :enable_js => enable_js }
11
11
  end
12
12
 
13
13
  # complete helper to pass all variables alongside their options
14
14
 
15
15
  def gmaps(options, enable_css = true, enable_js = true )
16
- render :partial => 'gmaps4rails/gmaps4rails', :locals => { :options => options.with_indifferent_access, :enable_css => enable_css, :enable_js => enable_js }
16
+ render :partial => '/gmaps4rails/gmaps4rails', :locals => { :options => options.with_indifferent_access, :enable_css => enable_css, :enable_js => enable_js }
17
17
  end
18
18
 
19
19
  def gmaps4rails_js_libraries(libraries_array)
@@ -35,10 +35,10 @@ module Gmaps4railsHelper
35
35
  end
36
36
 
37
37
  def gmaps4rails_js_files(map_options = nil, scripts = nil, enable_js = true)
38
- render "gmaps4rails/scripts", :map_options => map_options, :scripts => scripts, :enable_js => enable_js
38
+ render "/gmaps4rails/scripts", :map_options => map_options, :scripts => scripts, :enable_js => enable_js
39
39
  end
40
40
 
41
41
  def gmaps4rails_html(map_options = nil)
42
- render "gmaps4rails/html", :map_options => map_options
42
+ render "/gmaps4rails/html", :map_options => map_options
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmaps4rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 4
10
- version: 1.4.4
9
+ - 5
10
+ version: 1.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Roth
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-01-30 00:00:00 Z
19
+ date: 2012-02-02 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: json