Class: HandsomeFencer::CircleCI::ObfuscatedEnvFilesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- HandsomeFencer::CircleCI::ObfuscatedEnvFilesGenerator
- Defined in:
- lib/generators/handsome_fencer/circle_c_i/obfuscated_env_files_generator.rb
Instance Method Summary collapse
Instance Method Details
#obfuscate_env_files ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/generators/handsome_fencer/circle_c_i/obfuscated_env_files_generator.rb', line 12 def obfuscate_env_files environment = [:environment] @cipher = HandsomeFencer::CircleCI::Crypto.new(dkfile: environment) @cipher.obfuscate('.circleci', "#{environment}.env") end |