algolia 3.36.0 → 3.36.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae127d06f4d82e06e99b2697521f170d54e77851e47dc1e3b63014000914eb6e
4
- data.tar.gz: cbaea35422d64b83c629bd92bd7e978fee9da387de753674e56bd10bfb8d428f
3
+ metadata.gz: 1e508e18e233030b8a952305e808430e77ffae2806df0b98d74f1bb1ca5e9206
4
+ data.tar.gz: c774b7ffe0a502df62406e74556375f3200ff5aa79f24ff65b16a708d42eb863
5
5
  SHA512:
6
- metadata.gz: 734675dad4d3917bb2670bf4de13d2f4e7dae27e381987c95128eb5d2a6fb79255bfb866654fe9dd4cc3bc79da00938db29d112620aab1d9c2e0d9720ec67288
7
- data.tar.gz: ac63fcdc27e5162fcd044b0f4936e92c9dea875d4ddb1f7a510c1ca6985336a4d824fab90780ec5d96206176c1814d0feae3b061d141f244c6350e574fdfe760
6
+ metadata.gz: 182001191af6c15e4d4aa88ad175cde7d8e90d16b83209fb86401b33ef362a159437ce5aebb995c7a9cf70b3772469e87893dc773ceb503b0b2497655be6c656
7
+ data.tar.gz: e5bd0ee1d22fcecbd075e2803cc66781664affe17891800588baa4665d15b61b446dc46343ed830eca38dc6f1864a9ec17cccdb4e4c2dc3713f7273e753b4f21
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [3.36.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.36.0...3.36.1)
2
+
3
+ - [505136c9d](https://github.com/algolia/api-clients-automation/commit/505136c9d) fix(specs): add deprecated field `condition` in rule schemas ([#5983](https://github.com/algolia/api-clients-automation/pull/5983)) by [@MarioAlexandruDan](https://github.com/MarioAlexandruDan/)
4
+
1
5
  ## [3.36.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.35.1...3.36.0)
2
6
 
3
7
  - [93c834fee](https://github.com/algolia/api-clients-automation/commit/93c834fee) feat(specs): add optional feedID to composition result set ([#5991](https://github.com/algolia/api-clients-automation/pull/5991)) by [@gavinwade12](https://github.com/gavinwade12/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.36.0)
4
+ algolia (3.36.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)
@@ -30,6 +30,8 @@ module Algolia
30
30
 
31
31
  attr_accessor :scope
32
32
 
33
+ attr_accessor :condition
34
+
33
35
  # Attribute mapping from ruby-style variable name to JSON key.
34
36
  def self.attribute_map
35
37
  {
@@ -40,7 +42,8 @@ module Algolia
40
42
  :enabled => :enabled,
41
43
  :validity => :validity,
42
44
  :tags => :tags,
43
- :scope => :scope
45
+ :scope => :scope,
46
+ :condition => :condition
44
47
  }
45
48
  end
46
49
 
@@ -54,7 +57,8 @@ module Algolia
54
57
  :enabled => :"Boolean",
55
58
  :validity => :"Array<TimeRange>",
56
59
  :tags => :"Array<String>",
57
- :scope => :"String"
60
+ :scope => :"String",
61
+ :condition => :"Condition"
58
62
  }
59
63
  end
60
64
 
@@ -126,6 +130,10 @@ module Algolia
126
130
  if attributes.key?(:scope)
127
131
  self.scope = attributes[:scope]
128
132
  end
133
+
134
+ if attributes.key?(:condition)
135
+ self.condition = attributes[:condition]
136
+ end
129
137
  end
130
138
 
131
139
  # Checks equality by comparing each attribute.
@@ -140,7 +148,8 @@ module Algolia
140
148
  enabled == other.enabled &&
141
149
  validity == other.validity &&
142
150
  tags == other.tags &&
143
- scope == other.scope
151
+ scope == other.scope &&
152
+ condition == other.condition
144
153
  end
145
154
 
146
155
  # @see the `==` method
@@ -152,7 +161,7 @@ module Algolia
152
161
  # Calculates hash code according to all attributes.
153
162
  # @return [Integer] Hash code
154
163
  def hash
155
- [algolia_object_id, conditions, consequence, description, enabled, validity, tags, scope].hash
164
+ [algolia_object_id, conditions, consequence, description, enabled, validity, tags, scope, condition].hash
156
165
  end
157
166
 
158
167
  # Builds the object from hash
@@ -3,5 +3,5 @@
3
3
  # 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.
4
4
 
5
5
  module Algolia
6
- VERSION = "3.36.0"
6
+ VERSION = "3.36.1"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.36.0
4
+ version: 3.36.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support