Skip to content

Commit 16a35de

Browse files
committed
Merge branch 'master' into cleanup-unused-dev-deps
2 parents 3e330b9 + d582306 commit 16a35de

8 files changed

Lines changed: 22 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
ruby-version: ['3.0', '3.2', '3.3', '3.4']
13+
ruby-version: ['3.0', '3.2', '3.3', '3.4', '4.0']
1414
services:
1515
typesense:
16-
image: typesense/typesense:30.0.alpha1
16+
image: typesense/typesense:30.2
1717
ports:
1818
- 8108:8108
1919
volumes:

.rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,13 @@ RSpec/ExampleLength:
4747
RSpec/MultipleExpectations:
4848
Enabled: false
4949

50+
RSpec/Output:
51+
Exclude:
52+
- spec/spec_helper.rb
53+
54+
Naming/PredicateMethod:
55+
Exclude:
56+
- spec/spec_helper.rb
57+
5058
Style/HashSyntax:
5159
Enabled: false # We still want to support older versions of Ruby

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

77
# Dev dependencies
88
gem 'awesome_print', '~> 1.8'
9-
gem 'bundler', '~> 2.0'
9+
gem 'bundler', '>= 2.0'
1010
gem 'guard', '~> 2.16'
1111
gem 'guard-rubocop', '~> 1.3'
1212
gem 'rake', '~> 13.0'
1313
gem 'rspec', '~> 3.9'
14-
gem 'rubocop', '1.72.2'
15-
gem 'rubocop-rspec', '~> 3.6', require: false
14+
gem 'rubocop', '~> 1.86'
15+
gem 'rubocop-rspec', '~> 3.9', require: false
1616
gem 'simplecov', '~> 0.18'
1717
gem 'timecop', '~> 0.9'
1818
gem 'webmock', '~> 3.8'

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
typesense:
3-
image: typesense/typesense:29.0
3+
image: typesense/typesense:30.2
44
ports:
55
- "127.0.0.1:8108:8108"
66
volumes:

spec/typesense/collection_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
it 'updates the specified collection' do
5353
update_schema = {
5454
'fields' => [
55-
'name' => 'field', 'drop' => true
55+
{ 'name' => 'field', 'drop' => true }
5656
]
5757
}
5858
stub_request(:patch, Typesense::ApiCall.new(typesense.configuration).send(:uri_for, '/collections/companies', typesense.configuration.nodes[0]))

spec/typesense/curation_set_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
'id' => 'rule-1',
2828
'rule' => {
2929
'query' => 'test',
30-
'match' => 'exact'
30+
'match' => 'exact',
31+
'stem' => false,
32+
'synonyms' => false
3133
},
3234
'includes' => [{ 'id' => '123', 'position' => 1 }],
3335
'excludes' => [],

spec/typesense/curation_sets_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
'id' => 'rule-1',
2828
'rule' => {
2929
'query' => 'test',
30-
'match' => 'exact'
30+
'match' => 'exact',
31+
'stem' => false,
32+
'synonyms' => false
3133
},
3234
'includes' => [{ 'id' => '123', 'position' => 1 }],
3335
'excludes' => [],

typesense.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
2626
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2727
spec.require_paths = ['lib']
2828

29-
spec.add_dependency 'base64', '~> 0.2.0'
29+
spec.add_dependency 'base64', '~> 0.2'
3030
spec.add_dependency 'faraday', '~> 2.8'
3131
spec.add_dependency 'json', '~> 2.9'
3232
spec.metadata['rubygems_mfa_required'] = 'true'

0 commit comments

Comments
 (0)