mapbox-gl-rails 0.51.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/mapbox-gl-directions.js +1265 -1075
- data/app/assets/javascripts/mapbox-gl.js +773 -538
- data/app/assets/stylesheets/mapbox-gl.scss +3 -3
- data/lib/mapbox-gl/rails/version.rb +1 -1
- data/lib/mapbox-gl/updater.rb +2 -0
- data/plugins.yaml +1 -1
- metadata +3 -3
@@ -310,12 +310,12 @@ a.mapboxgl-ctrl-logo {
|
|
310
310
|
}
|
311
311
|
|
312
312
|
.mapboxgl-ctrl-attrib.mapboxgl-compact {
|
313
|
-
|
313
|
+
.mapboxgl-ctrl-attrib-inner {
|
314
314
|
display: none;
|
315
315
|
}
|
316
316
|
|
317
|
-
&:hover
|
318
|
-
display:
|
317
|
+
&:hover .mapboxgl-ctrl-attrib-inner {
|
318
|
+
display: block;
|
319
319
|
}
|
320
320
|
|
321
321
|
&::after {
|
data/lib/mapbox-gl/updater.rb
CHANGED
@@ -41,6 +41,8 @@ class Updater < Thor
|
|
41
41
|
remove_file "stylesheets/mapbox-gl-#{plugin_name}.css"
|
42
42
|
rescue KeyError => error
|
43
43
|
raise KeyError, "#{error.message} for #{plugin_name} plugin!"
|
44
|
+
rescue OpenURI::HTTPError => error
|
45
|
+
raise "#{plugin_name} v#{plugin_version} could not be downloaded (#{error.message})!"
|
44
46
|
end
|
45
47
|
end
|
46
48
|
end
|
data/plugins.yaml
CHANGED
@@ -7,7 +7,7 @@ plugins:
|
|
7
7
|
css: 'mapbox-gl-geocoder.css'
|
8
8
|
url: https://github.com/mapbox/mapbox-gl-geocoder
|
9
9
|
directions:
|
10
|
-
version: '
|
10
|
+
version: '4.0.0'
|
11
11
|
js: 'mapbox-gl-directions.js'
|
12
12
|
css: 'mapbox-gl-directions.css'
|
13
13
|
url: https://github.com/mapbox/mapbox-gl-directions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mapbox-gl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Bulai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.7.8
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: an asset gemification of the Mapbox GL JS library
|