Sha256: e0bee48db31d8000561e4751eb0e79cee5ad705d7a81b69ef9331c1e4228eb21
Contents?: true
Size: 707 Bytes
Versions: 4
Compression:
Stored size: 707 Bytes
Contents
# Only executed when installed as plugin. # When installed as a gem must use the generator, unless using Rails >= 3.1, # in which case the asset pipeline takes care of everything require 'fileutils' include FileUtils dir = "#{File.dirname(__FILE__)}/vendor/assets/javascripts" 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" else puts "copying jquery.cookie.js to #{rails_javascripts_dir}" cp "#{dir}/jquery.cookie.js", rails_javascripts_dir end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cacheable_flash-0.2.7 | install.rb |
cacheable_flash-0.2.5 | install.rb |
cacheable_flash-0.2.4 | install.rb |
cacheable_flash-0.2.3 | install.rb |