Sha256: 98a8da5fcd48e4f8dd578b4cfe0069657707695b32ef555c72f4936a19b691e4

Contents?: true

Size: 485 Bytes

Versions: 54

Compression:

Stored size: 485 Bytes

Contents

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

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

54 entries across 54 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.7 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-2.0.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-2.0.0.rc2 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.6 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.5 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.4 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.3 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.2 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-2.0.0.rc1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.7.0.beta1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.6.3 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.6.2 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.6.1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.6.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.5.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.4.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.3.3 lib/generators/curation_concerns/clamav_generator.rb