1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

2 commits

Author SHA1 Message Date
Andrew Babichev
ddb0c8b3a8 Cleanup CLI (#4026)
* Refactor CLI test

Extracted 3 main parts:
- parse
- run
- signal handling

* Move demonization and pid write from parse to run phase

* Move queues default from validate to setup options phase

* Add pry-byebug gem

* Drop Sidekiq::Test

* Require launcher in CLI

* Remove TODOs
2018-12-03 13:24:37 -08:00
Darryl Pogue
280c7f7782 Symbolize all config.yml keys when loading
This ensures that keys in the Yaml file can be specified as either
symbols or strings, but will always be treated as symbols after loading.

It tries to use ActiveSupport's `deep_symbolize_keys!` method if
ActiveSupport is loaded, otherwise falling back to an inline version.

Closes #3672.
2017-12-02 13:37:32 -08:00