diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index bd6fee5e59..10ee6f883e 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.81.7. +# using RuboCop version 1.86.0. # 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 @@ -38,6 +38,18 @@ RSpec/ExampleLength: RSpec/NestedGroups: Max: 5 +Style/EmptyClassDefinition: + Exclude: + - 'spec/money_spec.rb' + +Style/OneClassPerFile: + Exclude: + - 'spec/support/silence_warnings.rb' + +Style/SelectByKind: + Exclude: + - 'spec/support/shared_examples/money_examples.rb' + Style/ClassVars: Exclude: - 'lib/money/currency.rb' diff --git a/Gemfile b/Gemfile index 5ecf555c7f..df7a3df53c 100644 --- a/Gemfile +++ b/Gemfile @@ -19,10 +19,10 @@ gem "simplecov", require: false gem "rake" # Linting -gem "rubocop", require: false -gem "rubocop-performance", require: false -gem "rubocop-rake", require: false -gem "rubocop-rspec", require: false +gem "rubocop", "~> 1.86.0", require: false +gem "rubocop-performance", "~> 1.26.0", require: false +gem "rubocop-rake", "~> 0.7.0", require: false +gem "rubocop-rspec", "~> 3.8.0", require: false # Documentation gem "yard", "~> 0.9.38"