Let's have a generator to make using idkfa as simple as:
gem 'idkfa'
bundle
rails generate idkfa:install
add your keys to config/credentials.yml
add your keys to config/credentials.yml.example
We'll have to have something like DEFAULT_CREDENTIALS_PATH declared. Perhaps this should be set to something like config/idkfa_credentials.yml, config/credentials.yml, or config/idkfa.yml
Generator should:
add "#{DEFAULT_CREDENTIALS_PATH}" into .gitignore
drop the default skeleton file contents into DEFAULT_CREDENTIALS_PATH
drop the default skeleton file contents into #{DEFAULT_CREDENTIALS_PATH}.example
write a message to stdout, prompting the user to now add their keys with values to DEFAULT_CREDENTIALS_PATH, and without the values to #{DEFAULT_CREDENTIALS_PATH}.example
Let's have a generator to make using idkfa as simple as:
We'll have to have something like DEFAULT_CREDENTIALS_PATH declared. Perhaps this should be set to something like config/idkfa_credentials.yml, config/credentials.yml, or config/idkfa.yml
Generator should: