Sha256: 6578ca5b1b9b5d8a55ae6ed3f795085f8530beef4c7a5a2265b9a67ea8b0a940

Contents?: true

Size: 459 Bytes

Versions: 39

Compression:

Stored size: 459 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 application."
  end
end

Version data entries

39 entries across 39 versions & 8 rubygems

Version Path
activerecord-jdbc-adapter-1.2.9.1 rails_generators/jdbc_generator.rb
cmoran92-activerecord-jdbc-adapter-1.2.1.2 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.3.0.beta1 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.9 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.8 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.5 rails_generators/jdbc_generator.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.5 rails_generators/jdbc_generator.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.4 rails_generators/jdbc_generator.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.3 rails_generators/jdbc_generator.rb
tgbyte-activerecord-jdbc-adapter-1.2.2.2 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.2.1 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-onsite-1.2.2 rails_generators/jdbc_generator.rb
cmoran92-activerecord-jdbc-adapter-1.2.1.1 rails_generators/jdbc_generator.rb
intentmedia-activerecord-jdbc-adapter-1.1.1.1 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.2 rails_generators/jdbc_generator.rb
cmoran92-activerecord-jdbc-adapter-1.2.1 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.1 rails_generators/jdbc_generator.rb
c3-activerecord-jdbc-adapter-1.1.3.1 rails_generators/jdbc_generator.rb
activerecord-jdbc-adapter-1.2.0 rails_generators/jdbc_generator.rb
c3-activerecord-jdbc-adapter-1.1.3 rails_generators/jdbc_generator.rb