gmaps4rails 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -22,7 +22,6 @@ module Gmaps4rails
|
|
22
22
|
copy_file '../../../public/javascripts/gmaps4rails/gmaps4rails.mapquest.js', 'public/javascripts/gmaps4rails/gmaps4rails.mapquest.js'
|
23
23
|
copy_file '../../../public/stylesheets/gmaps4rails.css', 'public/stylesheets/gmaps4rails.css'
|
24
24
|
end
|
25
|
-
copy_file '../../../public/images/marker.png', 'public/images/marker.png'
|
26
25
|
end
|
27
26
|
|
28
27
|
def show_readme
|
data/lib/gmaps4rails/version.rb
CHANGED
@@ -51,12 +51,12 @@ module Gmaps4rails
|
|
51
51
|
# I assume they'll be within
|
52
52
|
def get_gem_scripts
|
53
53
|
unless gmaps4rails_pipeline_enabled?
|
54
|
-
@js_array << '/gmaps4rails/gmaps4rails.base.js' unless scripts == :api
|
54
|
+
@js_array << '/javascripts/gmaps4rails/gmaps4rails.base.js' unless scripts == :api
|
55
55
|
@js_array << case map_provider
|
56
|
-
when "openlayers" then '/gmaps4rails/gmaps4rails.openlayers.js'
|
57
|
-
when "mapquest" then '/gmaps4rails/gmaps4rails.mapquest.js'
|
58
|
-
when "bing" then '/gmaps4rails/gmaps4rails.bing.js'
|
59
|
-
else '/gmaps4rails/gmaps4rails.googlemaps.js'
|
56
|
+
when "openlayers" then '/javascripts/gmaps4rails/gmaps4rails.openlayers.js'
|
57
|
+
when "mapquest" then '/javascripts/gmaps4rails/gmaps4rails.mapquest.js'
|
58
|
+
when "bing" then '/javascripts/gmaps4rails/gmaps4rails.bing.js'
|
59
|
+
else '/javascripts/gmaps4rails/gmaps4rails.googlemaps.js'
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/lib/gmaps4rails.rb
CHANGED
@@ -9,7 +9,8 @@ module Gmaps4rails
|
|
9
9
|
end
|
10
10
|
|
11
11
|
initializer "deprecation warning" do |app|
|
12
|
-
warn "[Gmaps4rails DEPRECATION
|
12
|
+
warn "[Gmaps4rails]: DEPRECATION: Javascript Gmaps.map.map is now deprecated and will be removed in later version. Please use Gmaps.map.serviceObject instead."
|
13
|
+
warn "[Gmaps4rails]: Be sure to run 'rails g gmaps4rails:install' to get js and css files in your app they are not added automatically anymore see Readme on Github"
|
13
14
|
end
|
14
15
|
|
15
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gmaps4rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -346,7 +346,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
346
346
|
version: '0'
|
347
347
|
segments:
|
348
348
|
- 0
|
349
|
-
hash:
|
349
|
+
hash: 2348507473355438696
|
350
350
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
351
351
|
none: false
|
352
352
|
requirements:
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
version: '0'
|
356
356
|
segments:
|
357
357
|
- 0
|
358
|
-
hash:
|
358
|
+
hash: 2348507473355438696
|
359
359
|
requirements: []
|
360
360
|
rubyforge_project:
|
361
361
|
rubygems_version: 1.8.21
|