Sha256: 5fb20feef7e8a188cacecb995025eeb24e622209e7b906e6a20e39204165fe14

Contents?: true

Size: 493 Bytes

Versions: 8

Compression:

Stored size: 493 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'rails/generators'

class CurationConcerns::Models::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

8 entries across 8 versions & 1 rubygems

Version Path
curation_concerns-models-0.12.0.pre1 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.11.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.11.0.rc1 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.10.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.9.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.8.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.7.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.6.0 lib/generators/curation_concerns/models/clamav_generator.rb