Sha256: 5ce6d5e22656832f625189f341381bc5231130c803438f014d134c6efe22c140

Contents?: true

Size: 399 Bytes

Versions: 6

Compression:

Stored size: 399 Bytes

Contents

<%
  @path = "#{RUBBER_ROOT}/config/database.yml"
%>

<%= RUBBER_ENV %>:
  adapter: <%= YAML::load(File.open("#{RUBBER_ROOT}/config/database.yml"))["production"]["adapter"] %>
  encoding: utf8
  database: <%= rubber_env.db_name %>
  username: <%= rubber_env.db_user %>
  password: <%= rubber_env.db_pass %>
  host: <%= rubber_instances.for_role('db', 'primary' => true).first.full_name %>
  pool: 5

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
rubber-1.15.0 generators/vulcanize/templates/mysql/config/rubber/common/database.yml
rubber-1.15.0 lib/generators/vulcanize/templates/mysql/config/rubber/common/database.yml
rubber-1.14.1 generators/vulcanize/templates/mysql/config/rubber/common/database.yml
rubber-1.14.1 lib/generators/vulcanize/templates/mysql/config/rubber/common/database.yml
rubber-1.14.0 generators/vulcanize/templates/mysql/config/rubber/common/database.yml
rubber-1.14.0 lib/generators/vulcanize/templates/mysql/config/rubber/common/database.yml