lib/rails/generators/symmetric_encryption/config/config_generator.rb in symmetric-encryption-3.7.2 vs lib/rails/generators/symmetric_encryption/config/config_generator.rb in symmetric-encryption-3.8.0

- old
+ new

@@ -1,21 +1,21 @@ module SymmetricEncryption module Generators class ConfigGenerator < Rails::Generators::Base - desc "Creates a SymmetricEncryption configuration file at config/symmetric-encryption.yml" + desc 'Creates a SymmetricEncryption configuration file at config/symmetric-encryption.yml' argument :key_path, type: :string, optional: false def self.source_root - @_symmetric_encryption_source_root ||= File.expand_path("../templates", __FILE__) + @_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") + template 'symmetric-encryption.yml', File.join('config', 'symmetric-encryption.yml') end end end end