Sha256: d86ad815fb00f84b8b5558cced7a486ffdf0cd1d3c338dd04fd18c544be90f56

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

module LolitaFileUpload
  module Generators
    class InstallGenerator < Rails::Generators::Base
      include Lolita::Generators::FileHelper
      source_root File.expand_path("../templates", __FILE__)
      desc "Create migrations. "

      def copy_migration
        copy_file "migration.rb", "db/migrate/#{Time.now.strftime("%Y%m%d%H%M%S")}_create_lolita_upload_files.rb"
      end
     
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lolita-file-upload-0.4.9 lib/generators/lolita_file_upload/install_generator.rb
lolita-file-upload-0.4.8 lib/generators/lolita_file_upload/install_generator.rb
lolita-file-upload-0.4.7 lib/generators/lolita_file_upload/install_generator.rb
lolita-file-upload-0.4.2 lib/generators/lolita_file_upload/install_generator.rb
lolita-file-upload-0.4.1 lib/generators/lolita_file_upload/install_generator.rb
lolita-file-upload-0.4.0 lib/generators/lolita_file_upload/install_generator.rb