Rakefile in pickadate-rails-3.5.5.0 vs Rakefile in pickadate-rails-3.5.6.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 --create-dirs -o tmp/pickadate.zip"
- system "unzip tmp/pickadate.zip -d tmp/"
+ system "curl https://github.com/amsul/pickadate.js/archive/master.zip -f -L --create-dirs -o tmp/pickadate.zip"
+ system "unzip -o 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
end