Sha256: f40871d5867094a7b8e7e9d2f67315e4aaf86c9d5abb331717f892a2ebe63d1f
Contents?: true
Size: 597 Bytes
Versions: 6
Compression:
Stored size: 597 Bytes
Contents
module SymmetricEncryption module Generators class HerokuConfigGenerator < Rails::Generators::Base desc 'Creates a SymmetricEncryption configuration file at config/symmetric-encryption.yml for use in heroku' def self.source_root @_symmetric_encryption_source_root ||= File.expand_path('../templates', __FILE__) end def app_name Rails::Application.subclasses.first.parent.to_s.underscore end def create_config_file template 'symmetric-encryption.yml', File.join('config', 'symmetric-encryption.yml') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems