Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,13 @@ RSpec/ExampleLength:
RSpec/MultipleExpectations:
Enabled: false

RSpec/Output:
Exclude:
- spec/spec_helper.rb # Boots Typesense via docker-compose; the puts/print calls report startup progress to the operator, not to assertions.

Naming/PredicateMethod:
Exclude:
- spec/spec_helper.rb # ensure_typesense_running returns whether the helper started Typesense, but has heavy side effects, so a `?` suffix would be misleading.

Style/HashSyntax:
Enabled: false # We still want to support older versions of Ruby
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.9'
gem 'rspec_junit_formatter', '~> 0.4'
gem 'rspec-legacy_formatters', '~> 1.0' # For codecov formatter
gem 'rubocop', '1.72.2'
gem 'rubocop-rspec', '~> 3.6', require: false
gem 'rubocop', '~> 1.86'
gem 'rubocop-rspec', '~> 3.9', require: false
gem 'simplecov', '~> 0.18'
gem 'timecop', '~> 0.9'
gem 'webmock', '~> 3.8'
Expand Down
2 changes: 1 addition & 1 deletion spec/typesense/collection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
it 'updates the specified collection' do
update_schema = {
'fields' => [
'name' => 'field', 'drop' => true
{ 'name' => 'field', 'drop' => true }
]
}
stub_request(:patch, Typesense::ApiCall.new(typesense.configuration).send(:uri_for, '/collections/companies', typesense.configuration.nodes[0]))
Expand Down
Loading