Sha256: 2f05c923f0e1b2ddcd2324791da7ff4243d0778e63aa398a658de04388b2ec17

Contents?: true

Size: 374 Bytes

Versions: 8

Compression:

Stored size: 374 Bytes

Contents

class EnjuMessage::SetupGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def copy_setup_files
    directory("db/fixtures", "db/fixtures/enju_message")
    rake("enju_message_engine:install:migrations")
    inject_into_file 'app/models/user.rb',
      "  enju_message_user_model\n", :after => "enju_leaf_user_model\n"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enju_message-0.1.14.pre14 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre13 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre12 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre11 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre10 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre9 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre8 lib/generators/enju_message/setup/setup_generator.rb
enju_message-0.1.14.pre7 lib/generators/enju_message/setup/setup_generator.rb