algolia 3.3.1 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/lib/algolia/models/recommend/highlight_result.rb +1 -2
- data/lib/algolia/models/recommend/recommendations_results.rb +0 -8
- data/lib/algolia/models/recommend/snippet_result.rb +1 -2
- data/lib/algolia/models/search/highlight_result.rb +1 -2
- data/lib/algolia/models/search/search_response.rb +0 -8
- data/lib/algolia/models/search/snippet_result.rb +1 -2
- data/lib/algolia/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 905fdb6fe32accdf3bc3acdbe57ea50653773c0478988e670b7f59bd26714a48
|
4
|
+
data.tar.gz: e957f44dab0649486bd2a5970db4b48adac0043c49023a7415c253c2eddd2705
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d76243776293ce3ff17c60a81b61f2cbe5987c612e8dfa4d254d4596c38701c0d133cf287a832acf3e5bf3789b0c1b08018b8d91233e2b4589610bdb2082336
|
7
|
+
data.tar.gz: 1b29b9adbf7c80b23a2c221303215f73c0687bd8c343469893a77a9f888d3072a164c1083155a91df30c54c3d5f9dea90f5bd341d01c8044be19b19724711f26
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## [3.3.2](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.1...3.3.2)
|
2
|
+
|
3
|
+
- [638058eae](https://github.com/algolia/api-clients-automation/commit/638058eae) fix(specs): update search api specs [skip-bc] ([#3760](https://github.com/algolia/api-clients-automation/pull/3760)) by [@Fluf22](https://github.com/Fluf22/)
|
4
|
+
- [08d8ee6de](https://github.com/algolia/api-clients-automation/commit/08d8ee6de) chore(deps): dependencies 2024-09-16 [skip-bc] ([#3704](https://github.com/algolia/api-clients-automation/pull/3704)) by [@algolia-bot](https://github.com/algolia-bot/)
|
5
|
+
|
1
6
|
## [3.3.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.0...3.3.1)
|
2
7
|
|
3
8
|
- [d4df544d6](https://github.com/algolia/api-clients-automation/commit/d4df544d6) fix(specs): remove usage [skip-bc] ([#3691](https://github.com/algolia/api-clients-automation/pull/3691)) by [@kai687](https://github.com/kai687/)
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
algolia (3.3.
|
4
|
+
algolia (3.3.2)
|
5
5
|
base64 (>= 0.2.0, < 1)
|
6
6
|
faraday (>= 1.0.1, < 3.0)
|
7
7
|
faraday-net_http_persistent (>= 0.15, < 3)
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
logger (1.6.1)
|
24
24
|
net-http (0.4.1)
|
25
25
|
uri
|
26
|
-
net-http-persistent (4.0.
|
26
|
+
net-http-persistent (4.0.4)
|
27
27
|
connection_pool (~> 2.2)
|
28
28
|
rake (13.2.1)
|
29
29
|
uri (0.13.1)
|
@@ -10,9 +10,8 @@ module Algolia
|
|
10
10
|
# List of class defined in oneOf (OpenAPI v3)
|
11
11
|
def openapi_one_of
|
12
12
|
[
|
13
|
-
:"Array<
|
13
|
+
:"Array<HighlightResult>",
|
14
14
|
:"Hash<String, HighlightResult>",
|
15
|
-
:"Hash<String, HighlightResultOption>",
|
16
15
|
:"HighlightResultOption"
|
17
16
|
]
|
18
17
|
end
|
@@ -316,26 +316,18 @@ module Algolia
|
|
316
316
|
|
317
317
|
if attributes.key?(:page)
|
318
318
|
self.page = attributes[:page]
|
319
|
-
else
|
320
|
-
self.page = nil
|
321
319
|
end
|
322
320
|
|
323
321
|
if attributes.key?(:nb_hits)
|
324
322
|
self.nb_hits = attributes[:nb_hits]
|
325
|
-
else
|
326
|
-
self.nb_hits = nil
|
327
323
|
end
|
328
324
|
|
329
325
|
if attributes.key?(:nb_pages)
|
330
326
|
self.nb_pages = attributes[:nb_pages]
|
331
|
-
else
|
332
|
-
self.nb_pages = nil
|
333
327
|
end
|
334
328
|
|
335
329
|
if attributes.key?(:hits_per_page)
|
336
330
|
self.hits_per_page = attributes[:hits_per_page]
|
337
|
-
else
|
338
|
-
self.hits_per_page = nil
|
339
331
|
end
|
340
332
|
|
341
333
|
if attributes.key?(:hits)
|
@@ -10,9 +10,8 @@ module Algolia
|
|
10
10
|
# List of class defined in oneOf (OpenAPI v3)
|
11
11
|
def openapi_one_of
|
12
12
|
[
|
13
|
-
:"Array<
|
13
|
+
:"Array<SnippetResult>",
|
14
14
|
:"Hash<String, SnippetResult>",
|
15
|
-
:"Hash<String, SnippetResultOption>",
|
16
15
|
:"SnippetResultOption"
|
17
16
|
]
|
18
17
|
end
|
@@ -10,9 +10,8 @@ module Algolia
|
|
10
10
|
# List of class defined in oneOf (OpenAPI v3)
|
11
11
|
def openapi_one_of
|
12
12
|
[
|
13
|
-
:"Array<
|
13
|
+
:"Array<HighlightResult>",
|
14
14
|
:"Hash<String, HighlightResult>",
|
15
|
-
:"Hash<String, HighlightResultOption>",
|
16
15
|
:"HighlightResultOption"
|
17
16
|
]
|
18
17
|
end
|
@@ -316,26 +316,18 @@ module Algolia
|
|
316
316
|
|
317
317
|
if attributes.key?(:page)
|
318
318
|
self.page = attributes[:page]
|
319
|
-
else
|
320
|
-
self.page = nil
|
321
319
|
end
|
322
320
|
|
323
321
|
if attributes.key?(:nb_hits)
|
324
322
|
self.nb_hits = attributes[:nb_hits]
|
325
|
-
else
|
326
|
-
self.nb_hits = nil
|
327
323
|
end
|
328
324
|
|
329
325
|
if attributes.key?(:nb_pages)
|
330
326
|
self.nb_pages = attributes[:nb_pages]
|
331
|
-
else
|
332
|
-
self.nb_pages = nil
|
333
327
|
end
|
334
328
|
|
335
329
|
if attributes.key?(:hits_per_page)
|
336
330
|
self.hits_per_page = attributes[:hits_per_page]
|
337
|
-
else
|
338
|
-
self.hits_per_page = nil
|
339
331
|
end
|
340
332
|
|
341
333
|
if attributes.key?(:hits)
|
@@ -10,9 +10,8 @@ module Algolia
|
|
10
10
|
# List of class defined in oneOf (OpenAPI v3)
|
11
11
|
def openapi_one_of
|
12
12
|
[
|
13
|
-
:"Array<
|
13
|
+
:"Array<SnippetResult>",
|
14
14
|
:"Hash<String, SnippetResult>",
|
15
|
-
:"Hash<String, SnippetResultOption>",
|
16
15
|
:"SnippetResultOption"
|
17
16
|
]
|
18
17
|
end
|
data/lib/algolia/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: algolia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://alg.li/support
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|