Sha256: b57151c65328ffb13ae9ff7bc9c7a481d8faf2db1242d42561cba8aaab5cbe32
Contents?: true
Size: 390 Bytes
Versions: 2
Compression:
Stored size: 390 Bytes
Contents
require "securerandom" require File.join(File.dirname(__FILE__), "base") module Wellcar module Templates class EnvDevelopmentDatabase < Base def initialize(app_name) super ".env/development/database" with_attributes app_name: app_name, password: SecureRandom.base64(20) with_template "env_development_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_development_database.rb |
wellcar-0.0.2 | lib/wellcar/templates/env_development_database.rb |