-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update secrets.yml move ENV from yml to .env
- Loading branch information
Vladimir Mikhailov
committed
Jun 27, 2014
1 parent
8e2d775
commit b8bed71
Showing
3 changed files
with
10 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Add your API tokens here | ||
RACK_ENV=development | ||
SECRET_KEY_BASE=development_secret | ||
# ROLLBAR_KEY=your_key_here | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
Rails.application.config.action_dispatch.cookies_serializer = :marshal | ||
Rails.application.config.action_dispatch.cookies_serializer = :marshal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
# Your secret key is used for verifying the integrity of signed cookies. | ||
# If you change this key, all old signed cookies will become invalid! | ||
|
||
# Make sure the secret is at least 30 characters and all random, | ||
# no regular words or you'll be exposed to dictionary attacks. | ||
# You can use `rake secret` to generate a secure secret key. | ||
|
||
# Make sure the secrets in this file are kept private | ||
# if you're sharing your code publicly. | ||
default: &default | ||
secret_key_base: <%= ENV['SECRET_KEY_BASE'] %> | ||
|
||
development: | ||
secret_key_base: 04235de3ce046facd858d70c9172cdbecd0310a29337ab070f513d14dc38026b3e18bc84f3aaacbb68957c578b2c33406f87faf63f03041d117112493f606e5c | ||
<<: *default | ||
|
||
test: | ||
secret_key_base: 3b821fcf01925f8d891446b78618b8258d77c32af0595b6434746802a74c3aab643b05f731c1e365415eab05b0907e4a699f2f74c378fd4a9747e5f89b38e37d | ||
<<: *default | ||
|
||
staging: | ||
<<: *default | ||
|
||
# Do not keep production secrets in the repository, | ||
# instead read values from the environment. | ||
production: | ||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> | ||
<<: *default |