This Pull Request adds support for Sidekiq version 4.2 and up, by removing calls to Sinatra's to method and replacing them with the new way to go, as seen on Sidekiq's templates (using root_path).
This allows for using this great gem with the new Sidekiq::Web, which does not depend on Sinatra anymore.
Coverage decreased (-58.4%) to 39.267% when pulling f56cca934ff51c96ad24961cf05163f2f148c8c8 on ncuesta:sidekiq-4.2-support into 486c0baf0b08044f632317de5dc0ec027847c45e on cryo28:master.
Coverage decreased (-58.4%) to 39.267% when pulling f56cca934ff51c96ad24961cf05163f2f148c8c8 on ncuesta:sidekiq-4.2-support into 486c0baf0b08044f632317de5dc0ec027847c45e on cryo28:master.
Coverage decreased (-58.4%) to 39.267% when pulling f56cca934ff51c96ad24961cf05163f2f148c8c8 on ncuesta:sidekiq-4.2-support into 486c0baf0b08044f632317de5dc0ec027847c45e on cryo28:master.
This Pull Request adds support for Sidekiq version 4.2 and up, by removing calls to Sinatra's
to
method and replacing them with the new way to go, as seen on Sidekiq's templates (usingroot_path
).This allows for using this great gem with the new
Sidekiq::Web
, which does not depend on Sinatra anymore.