Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions lib/mapbox-rails/remote_resource_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ class RemoteResourceLoader < Thor
desc 'fetch source files', 'fetch source files from the MapBox S3 storage'
def fetch
self.destination_root = 'vendor/assets'
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.uncompressed.js", "javascripts/mapbox.js"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/mapbox.css", "stylesheets/mapbox.css"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/layers.png", "images/layers.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/layers-2x.png", "images/layers-2x.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/marker-icon.png", "images/marker-icon.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/marker-icon-2x.png", "images/marker-icon-2x.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/marker-shadow.png", "images/marker-shadow.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/[email protected]", "images/[email protected]"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.5/images/[email protected]", "images/[email protected]"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.uncompressed.js", "javascripts/mapbox.js"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.css", "stylesheets/mapbox.css"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/layers.png", "images/layers.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/layers-2x.png", "images/layers-2x.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/marker-icon.png", "images/marker-icon.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/marker-icon-2x.png", "images/marker-icon-2x.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/marker-shadow.png", "images/marker-shadow.png"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/[email protected]", "images/[email protected]"
get "http://api.tiles.mapbox.com/mapbox.js/v2.1.9/images/[email protected]", "images/[email protected]"
end

desc 'convert css to scss file', 'convert css to scss file by sass-convert'
Expand Down
4 changes: 2 additions & 2 deletions lib/mapbox-rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Mapbox
module Rails
VERSION = '2.1.5'
MAPBOX_VERSION = '2.1.5'
VERSION = '2.1.9'
MAPBOX_VERSION = '2.1.9'
end
end
1 change: 1 addition & 0 deletions mapbox-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "thor"
end
Loading