From 305065b7bdbcc24e26575dbc3673f45851183366 Mon Sep 17 00:00:00 2001 From: Daniel Rampelt Date: Thu, 9 Jul 2015 21:05:54 -0400 Subject: [PATCH] secrets --- .gitignore | 4 ---- config/secrets.yml | 9 +++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 config/secrets.yml diff --git a/.gitignore b/.gitignore index f786a90..91ca3d6 100644 --- a/.gitignore +++ b/.gitignore @@ -12,10 +12,6 @@ capybara-*.html rerun.txt pickle-email-*.html -# TODO Comment out these rules if you are OK with secrets being uploaded to the repo -config/initializers/secret_token.rb -config/secrets.yml - ## Environment normalisation: /.bundle /vendor/bundle diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 0000000..f3f9293 --- /dev/null +++ b/config/secrets.yml @@ -0,0 +1,9 @@ +# Generated with `rake secret` +development: + secret_key_base: 781b3204fc8669bd67f4a09f9f8af4f820bade2944c2d35794ffc37b6f4d2151f750bedd9be0c3433c854d2881caadbc2a717f204382bfbf2c586bc3693bc651 + +test: + secret_key_base: 781b3204fc8669bd67f4a09f9f8af4f820bade2944c2d35794ffc37b6f4d2151f750bedd9be0c3433c854d2881caadbc2a717f204382bfbf2c586bc3693bc651 + +production: + secret_key_base: <%= ENV['SECRET_KEY_BASE'] %>