Rakefile in angular-leaflet-rails-0.1.0.1 vs Rakefile in angular-leaflet-rails-0.1.0.2
- old
+ new
@@ -1,6 +1,8 @@
require "bundler/gem_tasks"
desc "Fetch new version from https://github.com/tombatossals/angular-leaflet-directive"
task :fetch do
- `curl https://raw.github.com/tombatossals/angular-leaflet-directive/master/src/angular-leaflet-directive.js > vendor/assets/javascripts/angular-leaflet.js`
+ source = "https://raw.github.com/tombatossals/angular-leaflet-directive/master/src/angular-leaflet-directive.js"
+ target = "vendor/assets/javascripts/angular-leaflet-directive.js"
+ sh "curl #{source} > #{target}"
end