Bump rubocop from 0.89.1 to 1.6.1 in /dependencies (#1239)

* Bump rubocop from 0.89.1 to 1.6.1 in /dependencies

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.89.1 to 1.6.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.89.1...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix language

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
This commit is contained in:
dependabot[bot] 2021-02-22 12:51:02 -06:00 committed by GitHub
parent 3a8e75b03e
commit 537676a883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -2,6 +2,6 @@ TAP version 13
1..2 1..2
not ok 1 - ruby_bad_1.rb not ok 1 - ruby_bad_1.rb
--- ---
message: Inspecting 1 file\nC\n\nOffenses \n\nruby/ruby_bad_1.rb 1 1 C Style/FrozenStringLiteralComment Missing frozen string literal comment.\nruby/ruby_bad_1.rb 11 11 C Style/StringLiterals Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^^^^^^^^^^^^^^^\nruby/ruby_bad_1.rb 11 32 C Layout/SpaceInsideParens Space inside parentheses detected.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^\nruby/ruby_bad_1.rb 11 39 C Layout/SpaceAroundBlockParameters Space before first block parameter detected.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^\nruby/ruby_bad_1.rb 12 24 C Layout/SpaceAroundBlockParameters Space after last block parameter detected.\n Hook.active.map do |h |\n ^\nruby/ruby_bad_1.rb 13 13 C Layout/SpaceInsideArrayLiteralBrackets Do not use space inside array brackets.\n urls = [ ARRAY_OF_URLS_CALLING_INSTANCE]\n ^\n\n1 file inspected, 6 offenses detected\n message: Inspecting 1 file\nC\n\nOffenses \n\nruby/ruby_bad_1.rb 1 1 C [Correctable] Style/FrozenStringLiteralComment Missing frozen string literal comment.\nruby/ruby_bad_1.rb 11 11 C [Correctable] Style/StringLiterals Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^^^^^^^^^^^^^^^\nruby/ruby_bad_1.rb 11 32 C [Correctable] Layout/SpaceInsideParens Space inside parentheses detected.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^\nruby/ruby_bad_1.rb 11 39 C [Correctable] Layout/SpaceAroundBlockParameters Space before first block parameter detected.\nFile.open('/tmp/urls.txt', " w" ) do | file|\n ^\nruby/ruby_bad_1.rb 12 24 C [Correctable] Layout/SpaceAroundBlockParameters Space after last block parameter detected.\n Hook.active.map do |h |\n ^\nruby/ruby_bad_1.rb 13 13 C [Correctable] Layout/SpaceInsideArrayLiteralBrackets Do not use space inside array brackets.\n urls = [ ARRAY_OF_URLS_CALLING_INSTANCE]\n ^\n\n1 file inspected,6 offenses detected, 6 offenses auto-correctable\n
... ...
ok 2 - ruby_good_1.rb ok 2 - ruby_good_1.rb

View file

@ -4,7 +4,7 @@ source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem "rubocop", "~> 0.89.0" gem "rubocop", "~> 1.6.1"
gem "rubocop-github", "~> 0.16.1" gem "rubocop-github", "~> 0.16.1"
gem "rubocop-performance", "~>1.7.1" gem "rubocop-performance", "~>1.7.1"
gem "rubocop-rails", "~> 2.7" gem "rubocop-rails", "~> 2.7"

View file

@ -19,16 +19,16 @@ GEM
rainbow (3.0.0) rainbow (3.0.0)
regexp_parser (2.0.3) regexp_parser (2.0.3)
rexml (3.2.4) rexml (3.2.4)
rubocop (0.89.1) rubocop (1.6.1)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 2.7.1.1) parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.7) regexp_parser (>= 1.8, < 3.0)
rexml rexml
rubocop-ast (>= 0.3.0, < 1.0) rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0) unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (0.8.0) rubocop-ast (1.4.1)
parser (>= 2.7.1.5) parser (>= 2.7.1.5)
rubocop-github (0.16.1) rubocop-github (0.16.1)
rubocop (<= 1.6.1) rubocop (<= 1.6.1)
@ -52,7 +52,7 @@ PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
rubocop (~> 0.89.0) rubocop (~> 1.6.1)
rubocop-github (~> 0.16.1) rubocop-github (~> 0.16.1)
rubocop-performance (~> 1.7.1) rubocop-performance (~> 1.7.1)
rubocop-rails (~> 2.7) rubocop-rails (~> 2.7)