From 1336d5da6b0b689b8b161586654ff1157efb8106 Mon Sep 17 00:00:00 2001 From: Gaddict Date: Sat, 12 Sep 2015 20:44:22 +0900 Subject: [PATCH] =?UTF-8?q?#4=20=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/settings.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/settings.yml b/config/settings.yml index 29668e1..67e76c0 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -3,8 +3,8 @@ defaults: &defaults development: <<: *defaults twitter: - consumer_key: 8EfQXso340wS9oUuCc3PW012W - consumer_secret: JtmJsM9evVHgiSI4p8K4nmfewH9YDV1qz3rnln83Hy3wtAkCCn + consumer_key: <%= ENV['TWITTER_ACCESS_BOT'] %> + consumer_secret: <%= ENV['TWITTER_SECRET_BOT'] %> callback_url: http://localhost:3000/bots/auth/twitter/callback retweet_potential_number: 100 follow_potential_number: 10 @@ -12,8 +12,8 @@ development: test: <<: *defaults twitter: - consumer_key: 8EfQXso340wS9oUuCc3PW012W - consumer_secret: JtmJsM9evVHgiSI4p8K4nmfewH9YDV1qz3rnln83Hy3wtAkCCn + consumer_key: <%= ENV['TWITTER_ACCESS_BOT'] %> + consumer_secret: <%= ENV['TWITTER_SECRET_BOT'] %> callback_url: http://localhost:3000/bots/auth/twitter/callback retweet_potential_number: 100 follow_potential_number: 10 @@ -21,8 +21,8 @@ test: production: <<: *defaults twitter: - consumer_key: 8EfQXso340wS9oUuCc3PW012W - consumer_secret: JtmJsM9evVHgiSI4p8K4nmfewH9YDV1qz3rnln83Hy3wtAkCCn - callback_url: http://harmox.link/bots/auth/twitter/callback + consumer_key: <%= ENV['TWITTER_ACCESS_BOT'] %> + consumer_secret: <%= ENV['TWITTER_SECRET_BOT'] %> + callback_url: http://www.harmox.link/bots/auth/twitter/callback retweet_potential_number: 100 follow_potential_number: 10