Skip to content

Commit 8b4f33a

Browse files
bors[bot]curquiza
andauthored
Merge #106
106: Changes about the MeiliSearch's next release (v0.16.0) r=curquiza a=curquiza Related to this issue: meilisearch/integration-guides#52 - [x] Update README - [x] Remove `update_health` method This PR: - gathers the changes related to the next release of MeiliSearch (v0.16.0) so that this package is ready when the official release is out. - should pass the tests against the [latest prerelease of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases). This should be tested locally. - might eventually fail until the MeiliSearch v0.16.0 is out. ⚠️ This PR should NOT be merged until the MeiliSearch's next release (v0.16.0) is out. Co-authored-by: Clementine Urquizar <[email protected]> Co-authored-by: Clémentine Urquizar <[email protected]>
2 parents 6cacb78 + 97aa5ec commit 8b4f33a

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

.code-samples.meilisearch.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ get_indexes_stats_1: |-
166166
client.stats
167167
get_health_1: |-
168168
client.health
169-
update_health_1: |-
170-
client.update_health(false)
171169
get_version_1: |-
172170
client.version
173171
distinct_attribute_guide_1: |-

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ JSON output:
146146

147147
## 🤖 Compatibility with MeiliSearch
148148

149-
This package only guarantees the compatibility with the [version v0.15.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.15.0).
149+
This package only guarantees the compatibility with the [version v0.16.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.16.0).
150150

151151
## 💡 Learn More
152152

lib/meilisearch/client.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ def health
6363
http_get '/health'
6464
end
6565

66-
def update_health(bool)
67-
http_put '/health', health: bool
68-
end
69-
7066
### STATS
7167

7268
def version

spec/meilisearch/client/health_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,4 @@
1111
it 'is unhealthy when the url is invalid' do
1212
expect(wrong_client.healthy?).to be false
1313
end
14-
15-
it 'sets unhealthy' do
16-
client.update_health(false)
17-
expect(client.healthy?).to be false
18-
client.update_health(true)
19-
end
2014
end

0 commit comments

Comments
 (0)