Sha256: 9b8f7f3148fbb98d7efd0b3f18d19454b7a455ee687648f8541d15a61e89d628
Contents?: true
Size: 682 Bytes
Versions: 5
Compression:
Stored size: 682 Bytes
Contents
module OnTheSpot module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "This generator installs jEditable and some glue javascript" def download_jeditable # Downloading latest jQuery get "http://www.appelsiini.net/download/jquery.jeditable.mini.js", "public/javascripts/jquery.jeditable.mini.js" end def copy_glue_javascript # !!!!! TO DO: check this -> how do a copy? copy_file "on_the_spot.js", "public/javascripts/on_the_spot.js" copy_file "on_the_spot.en.yml", "config/locales/on_the_spot.en.yml" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems