Sha256: 94c118d04668180c36b21e7516ad6e1f0bfa7a042b43632f67522ca2811b564c
Contents?: true
Size: 597 Bytes
Versions: 5
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
5 entries across 5 versions & 1 rubygems