install.rb in cacheable_flash-0.3.4 vs install.rb in cacheable_flash-1.0.0

- old
+ new

@@ -8,11 +8,11 @@ rails_javascripts_dir = "#{Rails.root}/public/javascripts" puts "copying flash.js to #{rails_javascripts_dir}" cp "#{dir}/flash.js", rails_javascripts_dir -if File.exists?("#{rails_javascripts_dir}/jquery.cookie.js") - puts "#{rails_javascripts_dir}/jquery.cookie.js already exists" +if File.exists?("#{rails_javascripts_dir}/js.cookie.js") + puts "#{rails_javascripts_dir}/js.cookie.js already exists" else - puts "copying jquery.cookie.js to #{rails_javascripts_dir}" - cp "#{dir}/jquery.cookie.js", rails_javascripts_dir + puts "copying js.cookie.js to #{rails_javascripts_dir}" + cp "#{dir}/js.cookie.js", rails_javascripts_dir end