mapbox-gl-rails 0.52.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mapbox-gl.js +9165 -5342
- data/lib/mapbox-gl/rails/version.rb +1 -1
- data/lib/mapbox-gl/updater.rb +3 -3
- metadata +3 -4
data/lib/mapbox-gl/updater.rb
CHANGED
@@ -27,10 +27,10 @@ class Updater < Thor
|
|
27
27
|
plugins = YAML.load_file('plugins.yaml').fetch('plugins')
|
28
28
|
|
29
29
|
plugins.each do |plugin_name, options|
|
30
|
-
|
31
|
-
|
32
|
-
plugin_version = options.fetch('version')
|
30
|
+
plugin_base_url = File.join(BASE_URL, "/plugins/mapbox-gl-#{plugin_name}")
|
31
|
+
plugin_version = options.fetch('version')
|
33
32
|
|
33
|
+
begin
|
34
34
|
get File.join(plugin_base_url, "v#{plugin_version}/#{options.fetch('js')}"), "javascripts/mapbox-gl-#{plugin_name}.js"
|
35
35
|
get File.join(plugin_base_url, "v#{plugin_version}/#{options.fetch('css')}"), "stylesheets/mapbox-gl-#{plugin_name}.css"
|
36
36
|
|
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.53.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: 2019-
|
11
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -138,8 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
|
142
|
-
rubygems_version: 2.7.8
|
141
|
+
rubygems_version: 3.0.2
|
143
142
|
signing_key:
|
144
143
|
specification_version: 4
|
145
144
|
summary: an asset gemification of the Mapbox GL JS library
|