Skip to content

Conversation

DemetrisChr
Copy link
Contributor

Fix warnings:

rubocop-[...] extension supports plugin, specify `plugins: rubocop-[...]` instead of `require: rubocop-[...]` in /[...]/couchbase-ruby-client/.rubocop.yml.
For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.
Warning: The `Naming/PredicateName` cop has been renamed to `Naming/PredicatePrefix`.
(obsolete configuration found in .rubocop_todo.yml, please update it)

and error:

lib/couchbase/protostellar/response_converter/search.rb:41:47: C: [Correctable] Style/RedundantParentheses: Don't use parentheses around a method call.
            r.instance_variable_set(:@fields, (proto_row.fields.to_h.transform_values { |v| JSON.parse(v) }).to_json)
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@DemetrisChr DemetrisChr requested a review from avsej August 6, 2025 20:08
@DemetrisChr DemetrisChr merged commit 8574a1a into couchbase:main Aug 7, 2025
169 of 175 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants