Rakefile in multi-select-rails-0.9.5 vs Rakefile in multi-select-rails-0.9.6

- old
+ new

@@ -1,20 +1,20 @@ desc "Update" task :update do system("rm -rf multi-select-src") system("git clone https://github.com/lou/multi-select.git multi-select-src") - system("cp multi-select-src/img/switch.png vendor/assets/images/switch.png") - system("cp multi-select-src/css/multi-select.css vendor/assets/stylesheets/multi-select.scss") - system("cp multi-select-src/js/jquery.multi-select.js vendor/assets/javascripts/multi-select.js") + system("cp multi-select-src/img/switch.png app/assets/images/switch.png") + system("cp multi-select-src/css/multi-select.css app/assets/stylesheets/multi-select.scss") + system("cp multi-select-src/js/jquery.multi-select.js app/assets/javascripts/multi-select.js") fixes system("rm -rf multi-select-src") end def fixes - replace_string_in_file("vendor/assets/stylesheets/multi-select.scss", "url('../img/switch.png')", "image-url('switch.png')") + replace_string_in_file("app/assets/stylesheets/multi-select.scss", "url('../img/switch.png')", "image-url('switch.png')") end def replace_string_in_file(file, find, replace) file_content = File.read(file)