Sha256: 4a5c267f647ee4665da2c00cda28b292e1b399c4af27c296f8f88c935774034d
Contents?: true
Size: 494 Bytes
Versions: 15
Compression:
Stored size: 494 Bytes
Contents
module PrivatePub module Generators class InstallGenerator < Rails::Generators::Base def self.source_root File.dirname(__FILE__) + "/templates" end def copy_files template "private_pub.yml", "config/private_pub.yml" if ::Rails.version < "3.1" copy_file "../../../../app/assets/javascripts/private_pub.js", "public/javascripts/private_pub.js" end copy_file "private_pub.ru", "private_pub.ru" end end end end
Version data entries
15 entries across 15 versions & 3 rubygems