Skip to content

Commit a89a377

Browse files
committed
Make rubocop happy
1 parent ccd923d commit a89a377

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.rubocop_todo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-01-15 12:21:42 UTC using RuboCop version 1.69.2.
3+
# on 2025-01-22 14:03:07 UTC using RuboCop version 1.69.2.
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

9-
# Offense count: 67
9+
# Offense count: 70
1010
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
1111
# AllowedMethods: refine
1212
Metrics/BlockLength:
@@ -15,9 +15,9 @@ Metrics/BlockLength:
1515
# Offense count: 4
1616
# Configuration parameters: CountComments, CountAsOne.
1717
Metrics/ClassLength:
18-
Max: 492
18+
Max: 537
1919

20-
# Offense count: 1
20+
# Offense count: 3
2121
# Configuration parameters: Max, CountKeywordArgs.
2222
Metrics/ParameterLists:
2323
MaxOptionalParameters: 4

spec/meilisearch/index/documents_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
expect(index.documents['results']).to contain_exactly(*documents_with_string_keys)
7171
end
7272

73-
7473
context 'given a single document' do
7574
it 'adds only one document to index (as an hash of one document)' do
7675
new_doc = { objectId: 30, title: 'Hamlet' }

0 commit comments

Comments
 (0)