Sha256: 5230684b3a268ef54acb84c48408186b756245b76b441afe6331447d186cd4ce
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
require File.join(File.dirname(__FILE__), "base") require "securerandom" module Wellcar module Templates class EnvProductionDatabase < Base def initialize(app_name) super ".env/production/database" with_attributes app_name: app_name, password: SecureRandom.base64(20) with_template "env_production_database.erb" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wellcar-0.0.3 | lib/wellcar/templates/env_production_database.rb |
wellcar-0.0.2 | lib/wellcar/templates/env_production_database.rb |