optimizely-sdk 5.0.0.pre.beta → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b1f844a1fb9c83e93efd101ccdb43ce162d11283b45c47e5d2f73a80a663bb4
4
- data.tar.gz: d2b2e1fb6f1f38b523042503dbb547691f8023db8255f192cd0711c8f8498dc7
3
+ metadata.gz: 7249ff9bec6f12c00a9a873df03e6f91c9692bcbe2388e87ea9a6a6f1472fbf5
4
+ data.tar.gz: 902fa025d32f1224833fa25f13158817ff3129244819a170ee3d907812290709
5
5
  SHA512:
6
- metadata.gz: 54b774c53b729b87d8e3e889713bb9cf54954a9b95089806406eccf2f3bfbc85e7c1a75380964ecc5de6a946cdcf96f918d8be38807133dfe0b85c1d9d45380c
7
- data.tar.gz: 756c2a224ad8a4b7946c950599d29ea824ad0c1789ce254e76b86eeac4d502901dc5d5510f25e26207a66c34bad7eea732a950db79199d90ec1dfac4c56c07ab
6
+ metadata.gz: b96a27927fd78a3d789b9edbb2c8488ba499c4f00220f08f9d9463691f38580db04f5dc6f7278873301a6c7217c54a9cf4f38d400b9feba196b7df70ec173e33
7
+ data.tar.gz: 368c9b5f096c8773c4bac487b8d6198ade424dde1ea6295449eaee3ecf5c0b4f7e2ab6b88a8bac4ab5ed2a2dce31f3ca24ef8c8596faae34cdae18aebfcdab79
data/LICENSE CHANGED
@@ -187,7 +187,7 @@
187
187
  same "printed page" as the copyright notice for easier
188
188
  identification within third-party archives.
189
189
 
190
- Copyright 2016, Optimizely and contributors
190
+ © Optimizely 2016
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
193
193
  you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #
4
- # Copyright 2016-2017, 2019-2020, Optimizely and contributors
4
+ # Copyright 2016-2017, 2019-2020, 2023, Optimizely and contributors
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -59,7 +59,7 @@ module Optimizely
59
59
  user_condition_evaluator = UserConditionEvaluator.new(user_context, logger)
60
60
 
61
61
  evaluate_user_conditions = lambda do |condition|
62
- return user_condition_evaluator.evaluate(condition)
62
+ user_condition_evaluator.evaluate(condition)
63
63
  end
64
64
 
65
65
  evaluate_audience = lambda do |audience_id|
@@ -110,8 +110,8 @@ module Optimizely
110
110
  # parent_id - String entity ID to use for bucketing ID
111
111
  # traffic_allocations - Array of traffic allocations
112
112
  #
113
- # Returns and array of two values where first value is the entity ID corresponding to the provided bucket value
114
- # or nil if no match is found. The second value contains the array of reasons stating how the deicision was taken
113
+ # Returns an array of two values where first value is the entity ID corresponding to the provided bucket value
114
+ # or nil if no match is found. The second value contains the array of reasons stating how the decision was taken
115
115
  decide_reasons = []
116
116
  bucketing_key = format(BUCKETING_ID_TEMPLATE, bucketing_id: bucketing_id, entity_id: parent_id)
117
117
  bucket_value = generate_bucket_value(bucketing_key)