Sha256: 08e09d614a1ab6ab107a0251ba6513a0dad441ea21fa92dd5b0fa44a08049aa4
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
require 'rails/generators' require 'rails/generators/migration' class ClockworkdGenerator < Rails::Generators::Base include Rails::Generators::Migration def self.source_root @source_root ||= File.join(File.dirname(__FILE__), 'templates') end def create_script_file template 'script', 'script/clockworkd' chmod 'script/clockworkd', 0755 end def create_clockworkd_file template 'clockworkd.yml', 'config/clockworkd.yml' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clockworkd-0.2.5 | lib/generators/clockworkd/clockworkd_generator.rb |