From 1eccfd9d2f18bd544e6cb99abf8be3ac8f4ac10f Mon Sep 17 00:00:00 2001 From: Duc Anh Nguyen Date: Fri, 14 Apr 2017 18:34:55 +0700 Subject: [PATCH] sercure/ excluding credential files --- .gitignore | 3 +++ config/application.yml | 16 ---------------- config/mongoid.yml | 42 ------------------------------------------ 3 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 config/application.yml delete mode 100644 config/mongoid.yml diff --git a/.gitignore b/.gitignore index 48fb168..b1dc8aa 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ # Ignore Byebug command history file. .byebug_history + +application.yml +mongoid.yml diff --git a/config/application.yml b/config/application.yml deleted file mode 100644 index fc900d8..0000000 --- a/config/application.yml +++ /dev/null @@ -1,16 +0,0 @@ -development: - API_AI_CLIENT_ACCESS_TOKEN: '6d8f0f1f46234856a447fe76f46299e2' - TELEGRAM_BOT_TOKEN: '360160374:AAGOCQqpx6LrGBjyB9d2_Gyd1tz3YRrpAKY' - ACCESS_TOKEN: 'EAAZATSh70ZADkBAMrAkbKEkioxuWJc8TpcHCaYaWYT7xUQH5yma5sELhtmQify9VF0l65SBFU6ZC5aNsETea966ZBd20uOl1DGG7wTSg8SWCrZBCdFVtFqt7pxUp2s5aKRBuZA5NnVWjq8DKsKWhtKihCARNUlYNNOLERfwiSSZCgZDZD' - VERIFY_TOKEN: 'duc4nh' - APP_SECRET: 'b6b0c19a7d8809d307f5680fa6b2d0cf' - WEATHER_API_KEYREF: '781CF461BB6606AD814EFA58445F9F5F5B033976558B4904' - -production: - API_AI_CLIENT_ACCESS_TOKEN: '6d8f0f1f46234856a447fe76f46299e2' - TELEGRAM_BOT_TOKEN: '360160374:AAGOCQqpx6LrGBjyB9d2_Gyd1tz3YRrpAKY' - ACCESS_TOKEN: 'EAAZATSh70ZADkBAMrAkbKEkioxuWJc8TpcHCaYaWYT7xUQH5yma5sELhtmQify9VF0l65SBFU6ZC5aNsETea966ZBd20uOl1DGG7wTSg8SWCrZBCdFVtFqt7pxUp2s5aKRBuZA5NnVWjq8DKsKWhtKihCARNUlYNNOLERfwiSSZCgZDZD' - VERIFY_TOKEN: 'duc4nh' - APP_SECRET: 'b6b0c19a7d8809d307f5680fa6b2d0cf' - WEATHER_API_KEYREF: '781CF461BB6606AD814EFA58445F9F5F5B033976558B4904' - SECRET_KEY_BASE: 'eb2c21e636f4a5ab818883a17c8d382110525ad64587e5a42c7480c4e533b5ea42d2b9afb3426b17ec36e1757a1b6f3124d2c0f477a6103e7eea4cddb302da3a' diff --git a/config/mongoid.yml b/config/mongoid.yml deleted file mode 100644 index 101e14b..0000000 --- a/config/mongoid.yml +++ /dev/null @@ -1,42 +0,0 @@ -# production: -# clients: -# default: -# database: heroku_6bf76c3s -# hosts: -# - ds151078.mlab.com:51078 -# options: -# user: rth -# password: 123456 -# roles: -# - 'dbOwner' -# max_pool_size: 20 -# min_pool_size: 2 -production: - clients: - default: - database: wbot_production - hosts: - - localhost:27017 - options: - read: - mode: :primary - max_pool_size: 20 - min_pool_size: 2 -development: - clients: - default: - database: wbot_development - hosts: - - localhost:27017 - options: - options: -test: - clients: - default: - database: wbot_test - hosts: - - localhost:27017 - options: - read: - mode: :primary - max_pool_size: 1