Sha256: f6c4653483742b27ae1a62985cf955c19c43fdb9ae3d9c7bf90a37b634454754

Contents?: true

Size: 394 Bytes

Versions: 8

Compression:

Stored size: 394 Bytes

Contents

class SocialStream::Documents::InstallGenerator < Rails::Generators::Base
  include Rails::Generators::Migration
  
  source_root File.expand_path('../templates', __FILE__)

  def create_migration_file
    require 'rake'
    Rails.application.load_tasks
    Rake::Task['railties:install:migrations'].reenable
    Rake::Task['social_stream_documents_engine:install:migrations'].invoke
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
social_stream-documents-0.1.8 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.7 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.6 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.5 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.4 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.3 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.2 lib/generators/social_stream/documents/install_generator.rb
social_stream-documents-0.1.1 lib/generators/social_stream/documents/install_generator.rb