aspiers/github-notifications

make constants configurable

Offen

#1 geöffnet am 27.02.2017

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (1 Fork)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (2 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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"

Contributor Guide