Class: RooOnRails::Checks::Sidekiq::Settings
- Inherits:
-
Base
- Object
- Base
- RooOnRails::Checks::Sidekiq::Settings
show all
- Defined in:
- lib/roo_on_rails/checks/sidekiq/settings.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, requires, #run
Methods included from Helpers
#bold, included
Instance Method Details
#call ⇒ Object
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/roo_on_rails/checks/sidekiq/settings.rb', line 14
def call
if File.exist?('config/sidekiq.yml')
message = [
'Custom Sidekiq settings found.',
'Please see the Roo On Rails readme for more information.'
].join("\n")
fail! message
end
end
|
#intro ⇒ Object
10
11
12
|
# File 'lib/roo_on_rails/checks/sidekiq/settings.rb', line 10
def intro
'Checking Sidekiq settings.yml...'
end
|