diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 11da4cc..ded0796 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.35.1. +# using RuboCop version 1.75.6. # 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 @@ -11,7 +11,7 @@ Lint/EmptyBlock: Exclude: - 'config/routes.rb' -# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes. +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 157 @@ -19,7 +19,7 @@ Metrics/AbcSize: Metrics/ClassLength: Max: 177 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 38 @@ -32,15 +32,11 @@ Performance/CollectionLiteralInLoop: RSpec/ExampleLength: Max: 22 -# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. -# Include: **/*_spec*rb*, **/spec/**/* -RSpec/FilePath: - Exclude: - - 'spec/lib/publify_app/textfilter_code_spec.rb' - +# Configuration parameters: AllowedGroups. RSpec/NestedGroups: Max: 5 +# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals. Style/GuardClause: Exclude: diff --git a/publify_textfilter_code.gemspec b/publify_textfilter_code.gemspec index f84f773..bfc1eba 100644 --- a/publify_textfilter_code.gemspec +++ b/publify_textfilter_code.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |s| s.add_dependency "publify_core", "~> 10.0.0" s.add_development_dependency "rspec-rails", "~> 6.0" - s.add_development_dependency "rubocop", "~> 1.65.1" + s.add_development_dependency "rubocop", "~> 1.75.6" s.add_development_dependency "rubocop-performance", "~> 1.23.1" s.add_development_dependency "rubocop-rails", "~> 2.25.0" s.add_development_dependency "rubocop-rspec", "~> 3.4.0"