Sha256: d4e3f565677e89dc42f8ded3da3be7c5adc5b0ca2bd097d99cb1553bd2a7b70e

Contents?: true

Size: 443 Bytes

Versions: 15

Compression:

Stored size: 443 Bytes

Contents

class Mailboxer::InstallGenerator < Rails::Generators::Base #:nodoc:
  include Rails::Generators::Migration
  
  source_root File.expand_path('../templates', __FILE__)
  
  require 'rails/generators/active_record'
  
  def self.next_migration_number(dirname)
    ActiveRecord::Generators::Base.next_migration_number(dirname)
  end
  
  def create_migration_file
    migration_template 'migration.rb', 'db/migrate/create_mailboxer.rb'
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mailboxer-0.0.16 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.15 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.14 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.13 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.12 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.11 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.10 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.9 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.8 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.7 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.6 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.5 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.4 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.3 lib/generators/mailboxer/install_generator.rb
mailboxer-0.0.2 lib/generators/mailboxer/install_generator.rb