11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-09-13 15:45:46 UTC using RuboCop version 1.27.0.
3+ # on 2025-03-08 11:51:39 UTC using RuboCop version 1.27.0.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
99# Offense count: 1
1010# This cop supports safe auto-correction (--auto-correct).
11- # Configuration parameters: Include.
12- # Include: **/*.gemspec
13- Gemspec/RequireMFA :
11+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13+ Bundler/OrderedGems :
1414 Exclude :
15- - ' meilisearch-rails.gemspec '
15+ - ' Gemfile '
1616
1717# Offense count: 1
18+ # This cop supports safe auto-correction (--auto-correct).
1819# Configuration parameters: Include.
1920# Include: **/*.gemspec
20- Gemspec/RequiredRubyVersion :
21+ Gemspec/RequireMFA :
2122 Exclude :
2223 - ' meilisearch-rails.gemspec'
2324
@@ -29,6 +30,13 @@ Layout/EmptyLinesAroundModuleBody:
2930 Exclude :
3031 - ' lib/meilisearch-rails.rb'
3132
33+ # Offense count: 2
34+ # This cop supports safe auto-correction (--auto-correct).
35+ # Configuration parameters: IndentationWidth.
36+ # SupportedStyles: special_inside_parentheses, consistent, align_brackets
37+ Layout/FirstArrayElementIndentation :
38+ EnforcedStyle : consistent
39+
3240# Offense count: 1
3341# This cop supports safe auto-correction (--auto-correct).
3442# Configuration parameters: EnforcedStyle.
@@ -65,10 +73,10 @@ Lint/UnusedMethodArgument:
6573 Exclude :
6674 - ' lib/meilisearch-rails.rb'
6775
68- # Offense count: 12
76+ # Offense count: 13
6977# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
7078Metrics/AbcSize :
71- Max : 103
79+ Max : 105
7280
7381# Offense count: 1
7482# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
@@ -84,9 +92,9 @@ Metrics/ClassLength:
8492# Offense count: 9
8593# Configuration parameters: IgnoredMethods.
8694Metrics/CyclomaticComplexity :
87- Max : 27
95+ Max : 28
8896
89- # Offense count: 19
97+ # Offense count: 20
9098# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
9199Metrics/MethodLength :
92100 Max : 102
@@ -99,7 +107,7 @@ Metrics/ModuleLength:
99107# Offense count: 8
100108# Configuration parameters: IgnoredMethods.
101109Metrics/PerceivedComplexity :
102- Max : 34
110+ Max : 35
103111
104112# Offense count: 1
105113Naming/AccessorMethodName :
@@ -138,7 +146,7 @@ RSpec/ContextWording:
138146 - ' spec/options_spec.rb'
139147 - ' spec/system/tech_shop_spec.rb'
140148
141- # Offense count: 55
149+ # Offense count: 57
142150# Configuration parameters: CountAsOne.
143151RSpec/ExampleLength :
144152 Max : 16
@@ -176,6 +184,13 @@ RSpec/VerifiedDoubles:
176184 Exclude :
177185 - ' spec/configuration_spec.rb'
178186
187+ # Offense count: 1
188+ # Configuration parameters: ForbiddenMethods, AllowedMethods.
189+ # ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
190+ Rails/SkipsModelValidations :
191+ Exclude :
192+ - ' spec/settings_spec.rb'
193+
179194# Offense count: 2
180195# This cop supports safe auto-correction (--auto-correct).
181196# Configuration parameters: EnforcedStyle.
0 commit comments