Sha256: f99acabb265a2c5807151289fc3e71bed8afbe3ecc544d1fdabb6391fb69a4d1
Contents?: true
Size: 477 Bytes
Versions: 29
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' class Hyrax::ClamavGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc ' This generator makes the following changes to your application: 1. Generates clamav initializer ' def banner say_status('info', 'Generating clamav initializers', :blue) end def create_initializer_file copy_file 'config/clamav.rb', 'config/initializers/clamav.rb' end end
Version data entries
29 entries across 29 versions & 1 rubygems