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.3.2 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.3.1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.3.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.2.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.1.2 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.1.1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.1.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta10 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta9 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta8 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta7 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta6 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta5 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta4 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta3 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta2 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-1.0.0.beta1 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-0.14.0 lib/generators/curation_concerns/clamav_generator.rb
curation_concerns-0.14.0.pre4 lib/generators/curation_concerns/clamav_generator.rb