Sha256: 014ebf4621f9a36368f97ef6e4dfc9f2f18c085c8b19d49d9e7cdfd7db3a9c7f

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

require 'roo_on_rails/checks/sidekiq/sidekiq'
require 'roo_on_rails/checks/base'
require 'thor'

module RooOnRails
  module Checks
    module Sidekiq
      class Settings < Base
        requires Sidekiq
        def intro
          'Checking Sidekiq settings.yml...'
        end

        def call
          fail! 'Custom Sidekiq settings found.' if File.exist?('config/sidekiq.yml')
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
roo_on_rails-1.7.0 lib/roo_on_rails/checks/sidekiq/settings.rb
roo_on_rails-1.6.0 lib/roo_on_rails/checks/sidekiq/settings.rb
roo_on_rails-1.5.0 lib/roo_on_rails/checks/sidekiq/settings.rb
roo_on_rails-1.4.0 lib/roo_on_rails/checks/sidekiq/settings.rb
roo_on_rails-1.3.1 lib/roo_on_rails/checks/sidekiq/settings.rb
roo_on_rails-1.3.0 lib/roo_on_rails/checks/sidekiq/settings.rb