Sha256: d3724db95efd84c338360cf591b4a3045d47d9198e7bb21169afc3780fcc2239

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

require 'cms/module_installation'

class BcmsS3::InstallGenerator < Cms::ModuleInstallation
  add_migrations_directory_to_source_root __FILE__
  
  
  def copy_migrations
    rake 'bcms_s3:install:migrations'
  end

  # Uncomment to add module specific seed data to a project.
  #def add_seed_data_to_project
  #  copy_file "../bcms_s3.seeds.rb", "db/bcms_s3.seeds.rb"
  #  append_to_file "db/seeds.rb", "load File.expand_path('../bcms_s3.seeds.rb', __FILE__)\n"
  #end
  
  def add_routes
    mount_engine(BcmsS3)
  end
    
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bcms_aws_s3-artirix-4.0.1 lib/generators/bcms_s3/install/install_generator.rb
bcms_aws_s3-artirix-4.0.0.rc1.art4 lib/generators/bcms_s3/install/install_generator.rb