aspiers / aspiers/github-notifications
make constants configurable
Open
enhancement
help wanted
- Dominant language
- Ruby
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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
Assessment
This issue has not been assessed yet.