Rakefile in pickadate-rails-1.3.2 vs Rakefile in pickadate-rails-1.4.0

- old
+ new

@@ -3,11 +3,11 @@ namespace :pickadate do desc "Download latest assets" task :download do require 'fileutils' - system "curl https://github.com/amsul/pickadate.js/archive/gh-pages.zip -f -L -o tmp/pickadate.zip" + system "curl https://github.com/amsul/pickadate.js/archive/gh-pages.zip -f -L --create-dirs -o tmp/pickadate.zip" system "unzip tmp/pickadate.zip -d tmp/" system "rm tmp/pickadate.zip" Dir["tmp/pickadate*/lib/picker*.js"].each do |file| FileUtils.cp file, "vendor/assets/javascripts/pickadate/#{File.basename(file)}", preserve: false @@ -21,6 +21,6 @@ FileUtils.cp file, "vendor/assets/stylesheets/pickadate/#{File.basename(file)}", preserve: false end system "rm -rf tmp/pickadate*" end -end \ No newline at end of file +end