From 537676a883fd3d12e2db091e8c925e7a19bcdc73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Feb 2021 12:51:02 -0600 Subject: [PATCH] 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] * fix language Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Admiral Awkbar --- .automation/test/ruby/reports/expected-RUBY.tap | 2 +- dependencies/Gemfile | 2 +- dependencies/Gemfile.lock | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.automation/test/ruby/reports/expected-RUBY.tap b/.automation/test/ruby/reports/expected-RUBY.tap index 1fcc4a3c..8cd57525 100644 --- a/.automation/test/ruby/reports/expected-RUBY.tap +++ b/.automation/test/ruby/reports/expected-RUBY.tap @@ -2,6 +2,6 @@ TAP version 13 1..2 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 diff --git a/dependencies/Gemfile b/dependencies/Gemfile index 0d3550c0..31da366a 100644 --- a/dependencies/Gemfile +++ b/dependencies/Gemfile @@ -4,7 +4,7 @@ source "https://rubygems.org" 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-performance", "~>1.7.1" gem "rubocop-rails", "~> 2.7" diff --git a/dependencies/Gemfile.lock b/dependencies/Gemfile.lock index df5c796b..aee287fb 100644 --- a/dependencies/Gemfile.lock +++ b/dependencies/Gemfile.lock @@ -19,16 +19,16 @@ GEM rainbow (3.0.0) regexp_parser (2.0.3) rexml (3.2.4) - rubocop (0.89.1) + rubocop (1.6.1) parallel (~> 1.10) - parser (>= 2.7.1.1) + parser (>= 2.7.1.5) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.7) + regexp_parser (>= 1.8, < 3.0) rexml - rubocop-ast (>= 0.3.0, < 1.0) + rubocop-ast (>= 1.2.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 2.0) - rubocop-ast (0.8.0) + rubocop-ast (1.4.1) parser (>= 2.7.1.5) rubocop-github (0.16.1) rubocop (<= 1.6.1) @@ -52,7 +52,7 @@ PLATFORMS ruby DEPENDENCIES - rubocop (~> 0.89.0) + rubocop (~> 1.6.1) rubocop-github (~> 0.16.1) rubocop-performance (~> 1.7.1) rubocop-rails (~> 2.7)