Sha256: 9041f276c37a9a8a35196b06cd2f7e25a246dfe50e4d447e9f2cb3668e01b1d4

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 Bytes

Contents

require "sidekiq/cron/web_extension"
require "sidekiq/cron/job"

if defined?(Sidekiq::Web)
  Sidekiq::Web.register Sidekiq::Cron::WebExtension

  if Sidekiq::Web.tabs.is_a?(Array)
    # For sidekiq < 2.5
    Sidekiq::Web.tabs << "cron"
  else
    Sidekiq::Web.tabs["Cron"] = "cron"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sidekiq-cron-1.3.0 lib/sidekiq/cron/web.rb
sidekiq-cron-1.2.0 lib/sidekiq/cron/web.rb
sidekiq-cron-1.1.0 lib/sidekiq/cron/web.rb
sidekiq-cron-1.0.4 lib/sidekiq/cron/web.rb
sidekiq-cron-1.0.3 lib/sidekiq/cron/web.rb
sidekiq-cron-1.0.2 lib/sidekiq/cron/web.rb
sidekiq-cron-1.0.1 lib/sidekiq/cron/web.rb
sidekiq-cron-1.0.0 lib/sidekiq/cron/web.rb
sidekiq-cron-0.6.3 lib/sidekiq/cron/web.rb
sidekiq-cron-0.6.2 lib/sidekiq/cron/web.rb