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