Sha256: 1402ef1c75c608126f8aecb9d5976a5b186347e9180c01de84e0d07b33799689
Contents?: true
Size: 572 Bytes
Versions: 2
Compression:
Stored size: 572 Bytes
Contents
# require 'rails/generators/base' module YogiBerra module Generators class InstallGenerator < Rails::Generators::Base desc "Creates a YogiBerra initializer." source_root File.expand_path('../templates', __FILE__) class_option :resque, :type => :boolean, :desc => 'Add support for handling errors in Resque jobs.' class_option :sidekiq, :type => :boolean, :desc => 'Add support for handling errors in Sidekiq jobs.' def copy_initializer template 'yogi_berra.rb', 'config/initializers/yogi_berra.rb' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yogi_berra-0.2.1 | lib/generators/yogi_berra/install_generator.rb |
yogi_berra-0.2.0 | lib/generators/yogi_berra/install_generator.rb |