Sha256: e4b53a6c54b3274e8e9785b435a89ecda1d2f2c875f1a9ab8ca2aba5b1a51483

Contents?: true

Size: 465 Bytes

Versions: 109

Compression:

Stored size: 465 Bytes

Contents

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

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

Version data entries

109 entries across 109 versions & 4 rubygems

Version Path
activerecord-jdbc-alt-adapter-61.3.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-71.0.0.alpha2-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-71.0.0.alpha1-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-70.2.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-70.2-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-61.3-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-70.1.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-70.0.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-70.1-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-70.0.0.rc2-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-60.3.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-61.2.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-70.0.0.rc1-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-70.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-70.0.pre-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-61.2-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-60.2.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-alt-adapter-61.1.0-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-61.1-java rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-60.4-java rails_generators/jdbc_generator.rb