Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
update rubocop to 0.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll committed Oct 6, 2017
1 parent c9ecf0c commit d28e203
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ inherit_from:

AllCops:
TargetRubyVersion: 2.0
TargetRailsVersion: 4.2

Rails:
Enabled: true
Expand Down
6 changes: 6 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Lint/RescueException:
Exclude:
- 'lib/foreman_xen/vnc_tunnel.rb'

# Offense count: 9
Lint/RescueWithoutErrorClass:
Exclude:
- 'app/models/foreman_xen/xenserver.rb'
- 'lib/foreman_xen/engine.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source 'https://rubygems.org'
gemspec

gem 'nokogiri', '< 1.7', require: false if RUBY_VERSION.start_with? '2.0.'
gem 'rubocop', '~> 0.49.1', require: false
gem 'rubocop', '~> 0.50.0', require: false
2 changes: 0 additions & 2 deletions foreman_xen.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# encoding: utf-8

$LOAD_PATH.push File.expand_path('../lib', __FILE__)

# Maintain your gem's version:
Expand Down

0 comments on commit d28e203

Please sign in to comment.