From 94ef8ce79c03abf3d48141d5bdb69f026b7efbef Mon Sep 17 00:00:00 2001 From: Josh Powell Date: Thu, 5 Oct 2023 10:00:26 -0400 Subject: [PATCH] [TASK] Update development dependencies (#167) --- .rubocop_todo.yml | 36 ++++++++++++++++++++++++++++++------ page_title_helper.gemspec | 4 ++-- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e343c8f..5aa849a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,19 +1,36 @@ # This configuration was generated by -# `rubocop --auto-gen-config` -# on 2022-02-18 18:43:24 UTC using RuboCop version 1.25.1. +# `rubocop --auto-gen-config --exclude-limit 10000` +# on 2023-10-05 13:54:27 UTC using RuboCop version 1.56.4. # 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 # versions of RuboCop, may require this file to be generated again. # Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: Severity, Include. +# Include: **/*.gemspec +Gemspec/DeprecatedAttributeAssignment: + Exclude: + - 'page_title_helper.gemspec' + +# Offense count: 5 +# Configuration parameters: EnforcedStyle, AllowedGems, Include. +# SupportedStyles: Gemfile, gems.rb, gemspec +# Include: **/*.gemspec, **/Gemfile, **/gems.rb +Gemspec/DevelopmentDependencies: + Exclude: + - 'page_title_helper.gemspec' + +# Offense count: 1 +# Configuration parameters: AllowedParentClasses. Lint/MissingSuper: Exclude: - 'test/test_helper.rb' # Offense count: 2 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. -# IgnoredMethods: refine +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. +# AllowedMethods: refine Metrics/BlockLength: Max: 103 @@ -23,6 +40,7 @@ Metrics/ClassLength: Max: 105 # Offense count: 1 +# This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: @@ -30,7 +48,13 @@ Naming/MemoizedInstanceVariableName: - 'test/test_helper.rb' # Offense count: 1 -# Cop supports --auto-correct. +# This cop supports unsafe autocorrection (--autocorrect-all). +Rails/RootPathnameMethods: + Exclude: + - 'lib/page_title_helper.rb' + +# Offense count: 1 +# This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: @@ -43,7 +67,7 @@ Style/MixinUsage: - 'Rakefile' # Offense count: 1 -# Cop supports --auto-correct. +# This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, Autocorrect. # SupportedStyles: module_function, extend_self, forbidden Style/ModuleFunction: diff --git a/page_title_helper.gemspec b/page_title_helper.gemspec index 3edbc0d..fbecac2 100644 --- a/page_title_helper.gemspec +++ b/page_title_helper.gemspec @@ -24,8 +24,8 @@ Gem::Specification.new do |s| s.add_dependency 'rails', '>= 6.0.0', '< 7.1' s.add_development_dependency 'rake', '~> 13.0.6' - s.add_development_dependency 'rubocop', '~> 1.26.1' - s.add_development_dependency 'rubocop-rails', '~> 2.14.2' + s.add_development_dependency 'rubocop', '~> 1.56.4' + s.add_development_dependency 'rubocop-rails', '~> 2.21.2' s.add_development_dependency 'rubocop-rake', '~> 0.6.0' s.add_development_dependency 'shoulda', '~> 4.0.0' end