meilisearch 0.27.1 → 0.28.1

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: 6ab1ca4588a18f8b05adf716bd51dc0eab2fb3e701e6d3054dd764575daaa044
4
+ data.tar.gz: bd65d7e3a941b7fdf5282a16287cedd5cd148d1c202ef56b145e1c574f6580b0
5
5
  SHA512:
6
- metadata.gz: 65b4e041307fa52c979bae5efb07428fbb2db6d67564bf00f151c8d45aa636e83eb1b6c87716a5cab92802f734073f919912ea97f6efc88acfaa9866375a9ea4
7
- data.tar.gz: 054ed5ae299c6cce0e8a183ef828e233b634dfef5fee89c9dc213062171071455120957596b169dd7ce1b23b6027e1829725290d70c303532bb87fb96e6d287b
6
+ metadata.gz: e217f70e25f8cd18c040ce373a4f1a853426889a6ac31b2d8fabab176a29cfb42b21be61cfa385c9f1ad7f9a557a3caae818218776f9ab65f3f07c7528d0f719
7
+ data.tar.gz: 7fbea96f89362ec7699f8ef51f95c13b84161754d15366069d933bb61dd9defcf47d385d68f477eb6a72d16b6d392015bcb012451085f63b2b73e28d74fc71d0
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.1'
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.1
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-09 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
- version: 0.17.1
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 0.22.0
19
+ version: '0.17'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 0.17.1
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: 0.22.0
26
+ version: '0.17'
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: []