algolia 3.20.0 → 3.21.0

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: 4bfa2f37069351ff91381e8a201051bf60a7a24a2cfde63be59ada18a776e452
4
- data.tar.gz: 1aee42e21b7b2624c16389be504b81db3c9950cf0c3bc05273f5f92f0639f176
3
+ metadata.gz: 15d67b913fecb6c1c1b60185caf688ada4fbb24b6628afa39db7e42c898c0c58
4
+ data.tar.gz: 62cfbb6829608b127f5ebc99c8038720b87b96cb5a18dbbce7c25a2a9e470651
5
5
  SHA512:
6
- metadata.gz: f5e1d09eb9e986e760f099987b63af8e652110c5b9d8d4ac12ee7b695d4029377b5e4bb8cd785dd046c013cc454ab352c1adf966b0e6c78287c092d0ef6918b0
7
- data.tar.gz: ebec72090065dd7379f5e768e8ccb4e2e9fa1e63a1aafdfaedf73448b28dc3722bf60eee81192b3771ae94a3fc3c77ebd53f4803208a5c97fe6ba6c4b1345329
6
+ metadata.gz: 2ae767d1d41a64c411b1d988ed1c85f2c06184bb2ef09e7fcf6e1370b9b73fd151aa940bb03a0bf72ca71ca4c6cf684698071a451c203f2a58cbb97be4f41b00
7
+ data.tar.gz: ca6403652ef0621746fa9680f33f7843b7b5f7d649cb23707b5a2a36c569f8760d3015672fe2b3010fb7f7063a7027174fa921c16496ce50809ce3dc039625f9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [3.21.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.20.0...3.21.0)
2
+
3
+ - [791a0c045d](https://github.com/algolia/api-clients-automation/commit/791a0c045d) feat(specs): abtesting winsorizedAmount ([#5053](https://github.com/algolia/api-clients-automation/pull/5053)) by [@cdhawke](https://github.com/cdhawke/)
4
+
1
5
  ## [3.20.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.19.0...3.20.0)
2
6
 
3
7
  - [a2ebbf496c](https://github.com/algolia/api-clients-automation/commit/a2ebbf496c) feat(clients): add `replaceAllObjectsWithTransformation` ([#5008](https://github.com/algolia/api-clients-automation/pull/5008)) by [@shortcuts](https://github.com/shortcuts/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.20.0)
4
+ algolia (3.21.0)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -20,13 +20,17 @@ module Algolia
20
20
  # Standard deviation for this currency.
21
21
  attr_accessor :standard_deviation
22
22
 
23
+ # The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.
24
+ attr_accessor :winsorized_amount
25
+
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
26
29
  :currency => :currency,
27
30
  :revenue => :revenue,
28
31
  :mean => :mean,
29
- :standard_deviation => :standardDeviation
32
+ :standard_deviation => :standardDeviation,
33
+ :winsorized_amount => :winsorizedAmount
30
34
  }
31
35
  end
32
36
 
@@ -36,7 +40,8 @@ module Algolia
36
40
  :currency => :"String",
37
41
  :revenue => :"Float",
38
42
  :mean => :"Float",
39
- :standard_deviation => :"Float"
43
+ :standard_deviation => :"Float",
44
+ :winsorized_amount => :"Float"
40
45
  }
41
46
  end
42
47
 
@@ -82,6 +87,10 @@ module Algolia
82
87
  if attributes.key?(:standard_deviation)
83
88
  self.standard_deviation = attributes[:standard_deviation]
84
89
  end
90
+
91
+ if attributes.key?(:winsorized_amount)
92
+ self.winsorized_amount = attributes[:winsorized_amount]
93
+ end
85
94
  end
86
95
 
87
96
  # Checks equality by comparing each attribute.
@@ -92,7 +101,8 @@ module Algolia
92
101
  currency == other.currency &&
93
102
  revenue == other.revenue &&
94
103
  mean == other.mean &&
95
- standard_deviation == other.standard_deviation
104
+ standard_deviation == other.standard_deviation &&
105
+ winsorized_amount == other.winsorized_amount
96
106
  end
97
107
 
98
108
  # @see the `==` method
@@ -104,7 +114,7 @@ module Algolia
104
114
  # Calculates hash code according to all attributes.
105
115
  # @return [Integer] Hash code
106
116
  def hash
107
- [currency, revenue, mean, standard_deviation].hash
117
+ [currency, revenue, mean, standard_deviation, winsorized_amount].hash
108
118
  end
109
119
 
110
120
  # 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.20.0"
6
+ VERSION = "3.21.0"
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.20.0
4
+ version: 3.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support