Sha256: 3ac153c5050bb540bc831465aacf49a9d2284cb32340b2ec39ffdb80168aaac0
Contents?: true
Size: 397 Bytes
Versions: 8
Compression:
Stored size: 397 Bytes
Contents
require 'rails/generators' module Hancock::Cms class UnicornGodGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) argument :app_name, type: :string desc 'Hancock CMS unicorn+god configs generator' def install template 'unicorn.erb', "config/unicorn.rb" template 'unicorn.god.erb', "config/unicorn.god" end end end
Version data entries
8 entries across 8 versions & 1 rubygems