meilisearch 0.27.1 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc7926e5e9f849ba9fb7377e4d1fe416abdba271c6518e511311da9750e209dc
4
- data.tar.gz: 4dbb041794de52a349af301d713958de08fd4ceb4ac2afc0baa176e980d52f1c
3
+ metadata.gz: '068526c1c6c9f47c815ab2ce81bb39b6b5bb12c3802f3902375c46638d9bfe1f'
4
+ data.tar.gz: c67d1ba33bd12157246d23efcca30a70ba35b57c7bad38de6f9b9740773b6ea5
5
5
  SHA512:
6
- metadata.gz: 65b4e041307fa52c979bae5efb07428fbb2db6d67564bf00f151c8d45aa636e83eb1b6c87716a5cab92802f734073f919912ea97f6efc88acfaa9866375a9ea4
7
- data.tar.gz: 054ed5ae299c6cce0e8a183ef828e233b634dfef5fee89c9dc213062171071455120957596b169dd7ce1b23b6027e1829725290d70c303532bb87fb96e6d287b
6
+ metadata.gz: 335d9c9ee96a791d29f4dabeae26145386beba2409a0437ebf93511904953ffaf0c3a6275cf7a730c84e7d9a7a5f07a66ed1979eea5551caada60524ba1fa4ee
7
+ data.tar.gz: 40aa1f1f55dd9fc2334531e8d1e7b660033031dc8969a67723fd1513b81d368f1bd36b95840d5adb6bcbb998e5d529a75b4fdc92b95f9116953ab2a6ee3909ec
data/README.md CHANGED
@@ -53,7 +53,8 @@ Say goodbye to server deployment and manual updates with [Meilisearch Cloud](htt
53
53
 
54
54
  ## 🔧 Installation
55
55
 
56
- This package requires Ruby version 3.0.0 or later.
56
+ We officially support any version of Ruby that is still receiving at least [security maintenance](https://www.ruby-lang.org/en/downloads/branches/). You may, however, be fine with any Ruby version above 3.0.
57
+ However, we cannot guarantee support if your version is no longer being maintained.
57
58
 
58
59
  With `gem` in command line:
59
60
  ```bash
@@ -386,7 +386,7 @@ module MeiliSearch
386
386
  Models::Task.new(response, task_endpoint)
387
387
  end
388
388
 
389
- ### SETTINGS - DINSTINCT ATTRIBUTE
389
+ ### SETTINGS - DISTINCT ATTRIBUTE
390
390
 
391
391
  def distinct_attribute
392
392
  http_get "/indexes/#{@uid}/settings/distinct-attribute"
@@ -591,5 +591,19 @@ module MeiliSearch
591
591
  def reset_proximity_precision
592
592
  http_delete("/indexes/#{@uid}/settings/proximity-precision")
593
593
  end
594
+
595
+ ### SETTINGS - SEARCH CUTOFF MS
596
+
597
+ def search_cutoff_ms
598
+ http_get("/indexes/#{@uid}/settings/search-cutoff-ms")
599
+ end
600
+
601
+ def update_search_cutoff_ms(search_cutoff_ms_attribute)
602
+ http_put("/indexes/#{@uid}/settings/search-cutoff-ms", search_cutoff_ms_attribute)
603
+ end
604
+
605
+ def reset_search_cutoff_ms
606
+ http_delete("/indexes/#{@uid}/settings/search-cutoff-ms")
607
+ end
594
608
  end
595
609
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MeiliSearch
4
- VERSION = '0.27.1'
4
+ VERSION = '0.28.0'
5
5
 
6
6
  def self.qualified_version
7
7
  "Meilisearch Ruby (v#{VERSION})"
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meilisearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meili
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-11 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.17.1
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 0.22.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.17.1
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 0.22.0
33
27
  description: An easy-to-use ruby client for Meilisearch API. See https://github.com/meilisearch/meilisearch
34
28
  email: bonjour@meilisearch.com
35
29
  executables: []