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

Commit

Permalink
fix rubocop version issue with breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroPointEnergy committed Jun 11, 2019
1 parent f1d2668 commit 5d18169
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-01-30 10:50:33 +0100 using RuboCop version 0.63.1.
# on 2019-06-03 16:27:52 +0200 using RuboCop version 0.67.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -84,7 +84,7 @@ Layout/IndentationConsistency:
Layout/IndentationWidth:
Enabled: false

# Offense count: 15
# Offense count: 16
# Cop supports --auto-correct.
Layout/LeadingCommentSpace:
Exclude:
Expand Down Expand Up @@ -216,6 +216,12 @@ Layout/TrailingWhitespace:
- 'lib/tasks/install.rake'
- 'spec/shared_behaviors/restful_routing_behavior.rb'

# Offense count: 3
Lint/AmbiguousOperator:
Exclude:
- 'lib/tasks/import_reports.rake'
- 'spec/support/describe_reports.rb'

# Offense count: 7
# Cop supports --auto-correct.
Lint/DeprecatedClassMethods:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ group :development, :test do
gem 'listen'
gem 'simplecov'
gem 'simplecov-console'
gem 'rubocop', '~> 0.67.0'
gem 'rubocop-rails_config'
gem 'haml_lint', require: false
end
Expand Down
11 changes: 7 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ GEM
parser (2.6.3.0)
ast (~> 2.4.0)
pg (1.1.4)
psych (3.1.0)
rack (2.0.7)
rack-test (1.1.0)
rack (>= 1.0, < 3)
Expand Down Expand Up @@ -206,13 +207,14 @@ GEM
rspec-mocks (~> 3.8.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
rubocop (0.71.0)
rubocop (0.67.2)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
parser (>= 2.5, != 2.5.1.1)
psych (>= 3.1.0)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
rubocop-rails_config (0.5.1)
railties (>= 3.0)
rubocop (~> 0.60)
Expand Down Expand Up @@ -271,7 +273,7 @@ GEM
thread_safe (~> 0.1)
uglifier (4.1.20)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.6.0)
unicode-display_width (1.5.0)
web-console (3.7.0)
actionview (>= 5.0)
activemodel (>= 5.0)
Expand Down Expand Up @@ -313,6 +315,7 @@ DEPENDENCIES
rspec-collection_matchers
rspec-html-matchers
rspec-rails
rubocop (~> 0.67.0)
rubocop-rails_config
safe_yaml
sass-rails
Expand Down

0 comments on commit 5d18169

Please sign in to comment.