Sha256: 800fe87278d3e88e09681f8ebe25e2d3bd2728388d89769f3c3c372a67ad55f1

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 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

4 entries across 4 versions & 1 rubygems

Version Path
curation_concerns-models-0.5.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.4.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.3.0 lib/generators/curation_concerns/models/clamav_generator.rb
curation_concerns-models-0.2.0 lib/generators/curation_concerns/models/clamav_generator.rb