Skip to content

Commit

Permalink
rubocop upgrade and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Aug 27, 2015
1 parent 6806ee0 commit 0a3392a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LineLength:
Max: 160

AbcSize:
Max: 75
Max: 100

FileName:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion bin/check-uchiwa-health.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def run
elsif k.to_s == 'sensu'
json['sensu'].each do |key, val|
# #YELLOW
if val['output'].to_s != 'ok' # rubocop:disable IfUnlessModifier
if val['output'].to_s != 'ok'
critical "Sensu status != ok for Sensu API \"#{key}\". Error is \"#{val['output']}\""
end
end
Expand Down
2 changes: 1 addition & 1 deletion sensu-plugins-uchiwa.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'sensu-plugin', '1.2.0'

s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
s.add_development_dependency 'rubocop', '0.30'
s.add_development_dependency 'rubocop', '0.32.1'
s.add_development_dependency 'rspec', '~> 3.1'
s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'rake', '~> 10.0'
Expand Down

0 comments on commit 0a3392a

Please sign in to comment.