algolia 3.0.0.alpha.9 → 3.0.0.alpha.10
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/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/models/ingestion/source_update_commercetools.rb +20 -1
- 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: cab6ed58cd68965730f109afe775bcb51f2f19ea1fccf264cca919e83a83d240
|
|
4
|
+
data.tar.gz: 6b6e2774ed307c347d4ce53bae0e6c2b19b5d52de3523ff08597fd8888a8f579
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f5f1e97198bbcacded629bdd2233c01b212965f12361f5cd4dbaab34178b1266c6105057592dca803b2089d63b2cc624109aee1fad513556d2cf6a7129ec5bd
|
|
7
|
+
data.tar.gz: d33741125aa7294c513c9f653f1fb58f35ea5f4e5e8b5e8cdabcdbcc62cfaa3372085b8bdf9ef67a3a38d43225fb30f61619808f8096df361bff404e41d7a850
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.0.0.alpha.10](https://github.com/algolia/algoliasearch-client-ruby/compare/3.0.0.alpha.9...3.0.0.alpha.10)
|
|
2
|
+
|
|
3
|
+
- [d48e2f624](https://github.com/algolia/api-clients-automation/commit/d48e2f624) fix(specs): add missing attributes for CT Source update ([#2792](https://github.com/algolia/api-clients-automation/pull/2792)) by [@damcou](https://github.com/damcou/)
|
|
4
|
+
- [f3e894002](https://github.com/algolia/api-clients-automation/commit/f3e894002) fix(clients): replace all objects ([#2762](https://github.com/algolia/api-clients-automation/pull/2762)) by [@shortcuts](https://github.com/shortcuts/)
|
|
5
|
+
- [92cd1c793](https://github.com/algolia/api-clients-automation/commit/92cd1c793) fix(clients): browse synonyms page not in response ([#2757](https://github.com/algolia/api-clients-automation/pull/2757)) by [@shortcuts](https://github.com/shortcuts/)
|
|
6
|
+
|
|
1
7
|
## [3.0.0.alpha.9](https://github.com/algolia/algoliasearch-client-ruby/compare/3.0.0.alpha.8...3.0.0.alpha.9)
|
|
2
8
|
|
|
3
9
|
- [4f6e2d0b3](https://github.com/algolia/api-clients-automation/commit/4f6e2d0b3) fix(specs): allow custom fields to be nullable ([#2746](https://github.com/algolia/api-clients-automation/pull/2746)) by [@shortcuts](https://github.com/shortcuts/)
|
data/Gemfile.lock
CHANGED
|
@@ -12,6 +12,11 @@ module Algolia
|
|
|
12
12
|
# Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example [\"fr-FR\", \"en\"].
|
|
13
13
|
attr_accessor :locales
|
|
14
14
|
|
|
15
|
+
attr_accessor :url
|
|
16
|
+
|
|
17
|
+
# Determines the value that will be stored in the Algolia record if there's no inventory information on the product.
|
|
18
|
+
attr_accessor :fallback_is_in_stock_value
|
|
19
|
+
|
|
15
20
|
attr_accessor :custom_fields
|
|
16
21
|
|
|
17
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -19,6 +24,8 @@ module Algolia
|
|
|
19
24
|
{
|
|
20
25
|
:store_keys => :storeKeys,
|
|
21
26
|
:locales => :locales,
|
|
27
|
+
:url => :url,
|
|
28
|
+
:fallback_is_in_stock_value => :fallbackIsInStockValue,
|
|
22
29
|
:custom_fields => :customFields
|
|
23
30
|
}
|
|
24
31
|
end
|
|
@@ -33,6 +40,8 @@ module Algolia
|
|
|
33
40
|
{
|
|
34
41
|
:store_keys => :'Array<String>',
|
|
35
42
|
:locales => :'Array<String>',
|
|
43
|
+
:url => :String,
|
|
44
|
+
:fallback_is_in_stock_value => :Boolean,
|
|
36
45
|
:custom_fields => :CommercetoolsCustomFields
|
|
37
46
|
}
|
|
38
47
|
end
|
|
@@ -71,6 +80,14 @@ module Algolia
|
|
|
71
80
|
end
|
|
72
81
|
end
|
|
73
82
|
|
|
83
|
+
if attributes.key?(:url)
|
|
84
|
+
self.url = attributes[:url]
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:fallback_is_in_stock_value)
|
|
88
|
+
self.fallback_is_in_stock_value = attributes[:fallback_is_in_stock_value]
|
|
89
|
+
end
|
|
90
|
+
|
|
74
91
|
if attributes.key?(:custom_fields)
|
|
75
92
|
self.custom_fields = attributes[:custom_fields]
|
|
76
93
|
end
|
|
@@ -84,6 +101,8 @@ module Algolia
|
|
|
84
101
|
self.class == other.class &&
|
|
85
102
|
store_keys == other.store_keys &&
|
|
86
103
|
locales == other.locales &&
|
|
104
|
+
url == other.url &&
|
|
105
|
+
fallback_is_in_stock_value == other.fallback_is_in_stock_value &&
|
|
87
106
|
custom_fields == other.custom_fields
|
|
88
107
|
end
|
|
89
108
|
|
|
@@ -96,7 +115,7 @@ module Algolia
|
|
|
96
115
|
# Calculates hash code according to all attributes.
|
|
97
116
|
# @return [Integer] Hash code
|
|
98
117
|
def hash
|
|
99
|
-
[store_keys, locales, custom_fields].hash
|
|
118
|
+
[store_keys, locales, url, fallback_is_in_stock_value, custom_fields].hash
|
|
100
119
|
end
|
|
101
120
|
|
|
102
121
|
# Builds the object from hash
|
data/lib/algolia/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
module Algolia
|
|
4
|
-
VERSION = '3.0.0.alpha.
|
|
4
|
+
VERSION = '3.0.0.alpha.10'.freeze
|
|
5
5
|
end
|
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.0.0.alpha.
|
|
4
|
+
version: 3.0.0.alpha.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Algolia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-02-
|
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|