aspiers/github-notifications

make constants configurable

オープン

#1 opened on 2017/02/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Ruby (1 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

It would be better if these constants were all configurable via a YAML or .ini file:

SLEEP_INTERVAL = 5 * 60 # 5 minutes
ONLINE_CHECK_TARGET_HOST = "8.8.8.8"
PING_COUNT = 10
LOG_DIR = ENV['HOME'] + "/.log"
LOG_FILE = LOG_DIR + "/github-notifications.log"

コントリビューターガイド