remove unused fb_config.yml files. removed oauth_keys.yml from git, updated .example"

This commit is contained in:
danielvincent 2010-10-25 17:26:07 -07:00
parent 287d633c44
commit 6ff94e67b3
5 changed files with 5 additions and 15 deletions

View file

@ -1,4 +0,0 @@
fb_api_key: {dcf4e90df086cf6d3e531b31e043ff32}
fb_secret: {7fe864834726f8a5e65bc93928b99a53}
fb_app_id: {120373411325347}
host: http://localhost:3000/

View file

@ -1,4 +0,0 @@
fb_api_key: {key}
fb_secret: {secret}
fb_app_id: {app_id}
host: http://localhost:3000/

View file

@ -10,6 +10,7 @@ oauth_keys_file = "#{Rails.root}/config/oauth_keys.yml"
if File.exist? oauth_keys_file if File.exist? oauth_keys_file
SERVICES = load_config_yaml(oauth_keys_file) SERVICES = load_config_yaml(oauth_keys_file)
SERVICES ||= load_config_yaml("#{oauth_keys_file}.example")
end end
SERVICES ||= load_config_yaml("#{oauth_keys_file}.example")

View file

@ -1,6 +0,0 @@
twitter:
consumer_key: no69jTnL5SCOnWgk5XWqbQ
consumer_secret: 2DZyu8DA43AIeFsRVdz8OtAHLvCtPjdRKdNO3UZGqWM
facebook:
app_id: 120373411325347
app_secret: 7fe864834726f8a5e65bc93928b99a53

View file

@ -1,3 +1,6 @@
twitter: twitter:
consumer_key: "" consumer_key: ""
consumer_secret: "" consumer_secret: ""
facebook:
app_id: ""
app_secret: ""