aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/command/helpers/editor.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rubocop styleDixit Patel2017-11-241-0/+2
|
* Add CLI to manage encrypted files/configs.Wojciech Wnętrzak2017-11-151-0/+33
To edit/show encrypted file: ``` bin/rails encrypted:edit config/staging_tokens.yml.enc bin/rails encrypted:edit config/staging_tokens.yml.enc --key config/staging.key bin/rails encrypted:show config/staging_tokens.yml.enc ``` Also provides a backing Rails.application.encrypted API for Ruby access: ```ruby Rails.application.encrypted("config/staging_tokens.yml.enc").read Rails.application.encrypted("config/staging_tokens.yml.enc").config Rails.application.encrypted("config/staging_tokens.yml.enc", key: "config/staging.key") ```