Sha256: 6a77c0d4a7f9ed1cd0c948238b3a88e060fc16b14e6b816b658ecbd822810c64

Contents?: true

Size: 429 Bytes

Versions: 7

Compression:

Stored size: 429 Bytes

Contents

class JdbcGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      m.directory 'config/initializers'
      m.template 'jdbc.rb', File.join('config', 'initializers', 'jdbc.rb')
      m.directory 'lib/tasks'
      m.template 'jdbc.rake', File.join('lib', 'tasks', 'jdbc.rake')
    end
  end

  protected
  def banner
    "Usage: #{$0} jdbc\nGenerate JDBC bootstrapping files for your Rails application."
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jpzwarte-activerecord-jdbc-adapter-0.9.2.6 rails_generators/jdbc_generator.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.5 rails_generators/jdbc_generator.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.4 rails_generators/jdbc_generator.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.3 rails_generators/jdbc_generator.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.2 rails_generators/jdbc_generator.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.1 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-0.9.2 rails_generators/jdbc_generator.rb