algolia 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/Bug_report.yml +0 -1
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +6 -6
- data/lib/algolia/models/recommend/recommendations_results.rb +11 -0
- data/lib/algolia/models/search/browse_response.rb +11 -0
- data/lib/algolia/models/search/search_response.rb +11 -0
- data/lib/algolia/version.rb +1 -1
- metadata +2 -12
- data/lib/algolia/api/usage_client.rb +0 -349
- data/lib/algolia/models/usage/error_base.rb +0 -212
- data/lib/algolia/models/usage/error_item.rb +0 -240
- data/lib/algolia/models/usage/forbidden_error.rb +0 -231
- data/lib/algolia/models/usage/granularity.rb +0 -32
- data/lib/algolia/models/usage/index_usage.rb +0 -213
- data/lib/algolia/models/usage/invalid_request_error.rb +0 -231
- data/lib/algolia/models/usage/statistic.rb +0 -199
- data/lib/algolia/models/usage/statistic_entry.rb +0 -221
- data/lib/algolia/models/usage/statistic_value.rb +0 -108
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b36588c4bb31b1d6a73871fc414286883eed42ac71642b1c7bd9e032a06e3fbc
|
4
|
+
data.tar.gz: 9b3f07b517c3df8599edd3c84fc1a8d6b302de4940f7c7f5c6f4b379e4725990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f630b0654777fa4cb041c81e7103ad83bdf872b9f383c5a43205bbe044d338ba2c60727a98257d0816e8b2c80347374b584aa891a93218ffc488de09fa4350
|
7
|
+
data.tar.gz: 34fb32e454ac0fe0d498179aef7419664445725456b39014666d565a45ff1c5ab3055de3002b4e0666d25d08346dcfb156361b6bebc9194a3dfdbe3a793e2df7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## [3.3.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.0...3.3.1)
|
2
|
+
|
3
|
+
- [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/)
|
4
|
+
- [46d9d8fd0](https://github.com/algolia/api-clients-automation/commit/46d9d8fd0) feat(specs): add (optional) _automaticInsights to search result ([#3688](https://github.com/algolia/api-clients-automation/pull/3688)) by [@raed667](https://github.com/raed667/)
|
5
|
+
|
1
6
|
## [3.3.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.2.4...3.3.0)
|
2
7
|
|
3
8
|
- [2c65a8d11](https://github.com/algolia/api-clients-automation/commit/2c65a8d11) feat(clients): helper to switch API key in use ([#3616](https://github.com/algolia/api-clients-automation/pull/3616)) by [@Fluf22](https://github.com/Fluf22/)
|
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.1)
|
5
5
|
base64 (>= 0.2.0, < 1)
|
6
6
|
faraday (>= 1.0.1, < 3.0)
|
7
7
|
faraday-net_http_persistent (>= 0.15, < 3)
|
@@ -12,21 +12,21 @@ GEM
|
|
12
12
|
specs:
|
13
13
|
base64 (0.2.0)
|
14
14
|
connection_pool (2.4.1)
|
15
|
-
faraday (2.
|
16
|
-
faraday-net_http (>= 2.0, < 3.
|
15
|
+
faraday (2.11.0)
|
16
|
+
faraday-net_http (>= 2.0, < 3.4)
|
17
17
|
logger
|
18
|
-
faraday-net_http (3.
|
18
|
+
faraday-net_http (3.3.0)
|
19
19
|
net-http
|
20
20
|
faraday-net_http_persistent (2.1.0)
|
21
21
|
faraday (~> 2.5)
|
22
22
|
net-http-persistent (~> 4.0)
|
23
|
-
logger (1.6.
|
23
|
+
logger (1.6.1)
|
24
24
|
net-http (0.4.1)
|
25
25
|
uri
|
26
26
|
net-http-persistent (4.0.2)
|
27
27
|
connection_pool (~> 2.2)
|
28
28
|
rake (13.2.1)
|
29
|
-
uri (0.13.
|
29
|
+
uri (0.13.1)
|
30
30
|
|
31
31
|
PLATFORMS
|
32
32
|
aarch64-linux
|
@@ -75,6 +75,9 @@ module Algolia
|
|
75
75
|
# Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
76
76
|
attr_accessor :query_id
|
77
77
|
|
78
|
+
# Whether automatic events collection is enabled for the application.
|
79
|
+
attr_accessor :_automatic_insights
|
80
|
+
|
78
81
|
# Page of search results to retrieve.
|
79
82
|
attr_accessor :page
|
80
83
|
|
@@ -116,6 +119,7 @@ module Algolia
|
|
116
119
|
:server_used => :serverUsed,
|
117
120
|
:user_data => :userData,
|
118
121
|
:query_id => :queryID,
|
122
|
+
:_automatic_insights => :_automaticInsights,
|
119
123
|
:page => :page,
|
120
124
|
:nb_hits => :nbHits,
|
121
125
|
:nb_pages => :nbPages,
|
@@ -156,6 +160,7 @@ module Algolia
|
|
156
160
|
:server_used => :"String",
|
157
161
|
:user_data => :"Object",
|
158
162
|
:query_id => :"String",
|
163
|
+
:_automatic_insights => :"Boolean",
|
159
164
|
:page => :"Integer",
|
160
165
|
:nb_hits => :"Integer",
|
161
166
|
:nb_pages => :"Integer",
|
@@ -305,6 +310,10 @@ module Algolia
|
|
305
310
|
self.query_id = attributes[:query_id]
|
306
311
|
end
|
307
312
|
|
313
|
+
if attributes.key?(:_automatic_insights)
|
314
|
+
self._automatic_insights = attributes[:_automatic_insights]
|
315
|
+
end
|
316
|
+
|
308
317
|
if attributes.key?(:page)
|
309
318
|
self.page = attributes[:page]
|
310
319
|
else
|
@@ -428,6 +437,7 @@ module Algolia
|
|
428
437
|
server_used == other.server_used &&
|
429
438
|
user_data == other.user_data &&
|
430
439
|
query_id == other.query_id &&
|
440
|
+
_automatic_insights == other._automatic_insights &&
|
431
441
|
page == other.page &&
|
432
442
|
nb_hits == other.nb_hits &&
|
433
443
|
nb_pages == other.nb_pages &&
|
@@ -469,6 +479,7 @@ module Algolia
|
|
469
479
|
server_used,
|
470
480
|
user_data,
|
471
481
|
query_id,
|
482
|
+
_automatic_insights,
|
472
483
|
page,
|
473
484
|
nb_hits,
|
474
485
|
nb_pages,
|
@@ -75,6 +75,9 @@ module Algolia
|
|
75
75
|
# Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
76
76
|
attr_accessor :query_id
|
77
77
|
|
78
|
+
# Whether automatic events collection is enabled for the application.
|
79
|
+
attr_accessor :_automatic_insights
|
80
|
+
|
78
81
|
# Page of search results to retrieve.
|
79
82
|
attr_accessor :page
|
80
83
|
|
@@ -126,6 +129,7 @@ module Algolia
|
|
126
129
|
:server_used => :serverUsed,
|
127
130
|
:user_data => :userData,
|
128
131
|
:query_id => :queryID,
|
132
|
+
:_automatic_insights => :_automaticInsights,
|
129
133
|
:page => :page,
|
130
134
|
:nb_hits => :nbHits,
|
131
135
|
:nb_pages => :nbPages,
|
@@ -169,6 +173,7 @@ module Algolia
|
|
169
173
|
:server_used => :"String",
|
170
174
|
:user_data => :"Object",
|
171
175
|
:query_id => :"String",
|
176
|
+
:_automatic_insights => :"Boolean",
|
172
177
|
:page => :"Integer",
|
173
178
|
:nb_hits => :"Integer",
|
174
179
|
:nb_pages => :"Integer",
|
@@ -322,6 +327,10 @@ module Algolia
|
|
322
327
|
self.query_id = attributes[:query_id]
|
323
328
|
end
|
324
329
|
|
330
|
+
if attributes.key?(:_automatic_insights)
|
331
|
+
self._automatic_insights = attributes[:_automatic_insights]
|
332
|
+
end
|
333
|
+
|
325
334
|
if attributes.key?(:page)
|
326
335
|
self.page = attributes[:page]
|
327
336
|
end
|
@@ -453,6 +462,7 @@ module Algolia
|
|
453
462
|
server_used == other.server_used &&
|
454
463
|
user_data == other.user_data &&
|
455
464
|
query_id == other.query_id &&
|
465
|
+
_automatic_insights == other._automatic_insights &&
|
456
466
|
page == other.page &&
|
457
467
|
nb_hits == other.nb_hits &&
|
458
468
|
nb_pages == other.nb_pages &&
|
@@ -497,6 +507,7 @@ module Algolia
|
|
497
507
|
server_used,
|
498
508
|
user_data,
|
499
509
|
query_id,
|
510
|
+
_automatic_insights,
|
500
511
|
page,
|
501
512
|
nb_hits,
|
502
513
|
nb_pages,
|
@@ -75,6 +75,9 @@ module Algolia
|
|
75
75
|
# Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
76
76
|
attr_accessor :query_id
|
77
77
|
|
78
|
+
# Whether automatic events collection is enabled for the application.
|
79
|
+
attr_accessor :_automatic_insights
|
80
|
+
|
78
81
|
# Page of search results to retrieve.
|
79
82
|
attr_accessor :page
|
80
83
|
|
@@ -125,6 +128,7 @@ module Algolia
|
|
125
128
|
:server_used => :serverUsed,
|
126
129
|
:user_data => :userData,
|
127
130
|
:query_id => :queryID,
|
131
|
+
:_automatic_insights => :_automaticInsights,
|
128
132
|
:page => :page,
|
129
133
|
:nb_hits => :nbHits,
|
130
134
|
:nb_pages => :nbPages,
|
@@ -167,6 +171,7 @@ module Algolia
|
|
167
171
|
:server_used => :"String",
|
168
172
|
:user_data => :"Object",
|
169
173
|
:query_id => :"String",
|
174
|
+
:_automatic_insights => :"Boolean",
|
170
175
|
:page => :"Integer",
|
171
176
|
:nb_hits => :"Integer",
|
172
177
|
:nb_pages => :"Integer",
|
@@ -305,6 +310,10 @@ module Algolia
|
|
305
310
|
self.query_id = attributes[:query_id]
|
306
311
|
end
|
307
312
|
|
313
|
+
if attributes.key?(:_automatic_insights)
|
314
|
+
self._automatic_insights = attributes[:_automatic_insights]
|
315
|
+
end
|
316
|
+
|
308
317
|
if attributes.key?(:page)
|
309
318
|
self.page = attributes[:page]
|
310
319
|
else
|
@@ -444,6 +453,7 @@ module Algolia
|
|
444
453
|
server_used == other.server_used &&
|
445
454
|
user_data == other.user_data &&
|
446
455
|
query_id == other.query_id &&
|
456
|
+
_automatic_insights == other._automatic_insights &&
|
447
457
|
page == other.page &&
|
448
458
|
nb_hits == other.nb_hits &&
|
449
459
|
nb_pages == other.nb_pages &&
|
@@ -487,6 +497,7 @@ module Algolia
|
|
487
497
|
server_used,
|
488
498
|
user_data,
|
489
499
|
query_id,
|
500
|
+
_automatic_insights,
|
490
501
|
page,
|
491
502
|
nb_hits,
|
492
503
|
nb_pages,
|
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.1
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -139,7 +139,6 @@ files:
|
|
139
139
|
- lib/algolia/api/query_suggestions_client.rb
|
140
140
|
- lib/algolia/api/recommend_client.rb
|
141
141
|
- lib/algolia/api/search_client.rb
|
142
|
-
- lib/algolia/api/usage_client.rb
|
143
142
|
- lib/algolia/api_client.rb
|
144
143
|
- lib/algolia/api_error.rb
|
145
144
|
- lib/algolia/configuration.rb
|
@@ -679,15 +678,6 @@ files:
|
|
679
678
|
- lib/algolia/models/search/user_hit.rb
|
680
679
|
- lib/algolia/models/search/user_id.rb
|
681
680
|
- lib/algolia/models/search/value.rb
|
682
|
-
- lib/algolia/models/usage/error_base.rb
|
683
|
-
- lib/algolia/models/usage/error_item.rb
|
684
|
-
- lib/algolia/models/usage/forbidden_error.rb
|
685
|
-
- lib/algolia/models/usage/granularity.rb
|
686
|
-
- lib/algolia/models/usage/index_usage.rb
|
687
|
-
- lib/algolia/models/usage/invalid_request_error.rb
|
688
|
-
- lib/algolia/models/usage/statistic.rb
|
689
|
-
- lib/algolia/models/usage/statistic_entry.rb
|
690
|
-
- lib/algolia/models/usage/statistic_value.rb
|
691
681
|
- lib/algolia/transport/call_type.rb
|
692
682
|
- lib/algolia/transport/echo_requester.rb
|
693
683
|
- lib/algolia/transport/http/http_requester.rb
|