Sha256: 97a9ce2e3739e998c8ff9283fe78cf9f33af0db18d536ae5debce8de281badc8

Contents?: true

Size: 482 Bytes

Versions: 10

Compression:

Stored size: 482 Bytes

Contents

require 'rails/generators/named_base'

module CsvImportMagic
  module Generators
    class CsvImportMagicGenerator < Rails::Generators::NamedBase
      include Rails::Generators::ResourceHelpers

      namespace 'csv_import_magic'
      source_root File.expand_path('../templates', __FILE__)

      desc 'Generates a model with the given NAME (if one does not exist) with csv_import_magic ' \
           'configuration plus a migration file.'

      hook_for :orm
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csv_import_magic-0.0.11 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.10 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.8 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.7 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.6 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.5 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.4 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.3 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.2 lib/generators/csv_import_magic/csv_import_magic_generator.rb
csv_import_magic-0.0.1 lib/generators/csv_import_magic/csv_import_magic_generator.rb