diff --git a/.gitignore b/.gitignore index 91ddf1f..3288e00 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1,24 @@ # See https://help.github.com/articles/ignoring-files for more about ignoring files. # # If you find yourself ignoring temporary files generated by your text editor # or operating system, you probably want to add a global ignore instead: # git config --global core.excludesfile '~/.gitignore_global' # Ignore bundler config. /.bundle # Ignore the default SQLite database. /db/*.sqlite3 /db/*.sqlite3-journal /db/*.local /db/database.yml # Ignore all logfiles and tempfiles. /log/*.log /tmp *.swp config/database.yml config/beanstalk.yml +config/secrets.yml + .ruby-version diff --git a/config/secrets.yml b/config/secrets.yml.sample similarity index 77% rename from config/secrets.yml rename to config/secrets.yml.sample index a724d43..a49301d 100644 --- a/config/secrets.yml +++ b/config/secrets.yml.sample @@ -1,22 +1,28 @@ # 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. development: - secret_key_base: 7654161789afe4adb952a4a46e3560c035967ae27262e27dc00b1deae352a36776fce3c934fc9da31f92176475d43180a2e4ce3e15431f3419a4a3a681e9476e + secret_key_base: something + oauth2_vima_client_id: something + oauth2_vima_secret: something + salt: something test: secret_key_base: 2308355d12d4fdb078d943719229f3fb3f07ade7a2bad418cce6f69d7b741aedeb7f84627fcfddc4eca9ae9812d9c6dc915ab50df39d42c2d2dc3eb0be844306 # Do not keep production secrets in the repository, # instead read values from the environment. production: - secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> + secret_key_base: something + oauth2_vima_client_id: something + oauth2_vima_secret: something + salt: something