unleash 5.1.0 → 5.1.1

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: de31279816b192452208e5e6d84af40a0ccee9fc7a7d99d517e48af20f9da21b
4
- data.tar.gz: 16405b9809031a5684a9ace670bdcb9606fe74eb7a162c89212131dac5064fe2
3
+ metadata.gz: 44064e0f055213d874e3b4497fb818ed2afc2da440b328a8f34018ce4e961fb2
4
+ data.tar.gz: d16679ae82ec9a660e000de12b949763970761be7ad9b87acdc34f774eed55f9
5
5
  SHA512:
6
- metadata.gz: 1e9f734bb3814598f3bfe600f3338c049a974168150cacdb26a90db6a768ff060a89ed647e12e57bb978b74fbc99054f702560b924da57e7322a94365de75a49
7
- data.tar.gz: '0274169ed17a2357e080af55265fbe80632fb3acd041e303cd321f844ce0372102a7e8b88c3ab71ba01efcfccb8dbd9eafab37b001b7b66c038a81fb6748b048'
6
+ metadata.gz: cd655ddf7878c42e48659684d53c88409aa6b05aab1caa63a4ed63a6c10bedbf77c6d62f59a0936e25051a0dd43f8bba92b3a9ab691a265af8ff0f3830c7fd2d
7
+ data.tar.gz: 79ca1c3b5c1ff9b77a9751434a5e99a7d29a138839a818b3093684f18c748633fef76f32b75761da1d62693526d1fed6eb4d5e56e434ce60e20050daac1398b8
data/CHANGELOG.md CHANGED
@@ -13,6 +13,10 @@ Note: These changes are not considered notable:
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ## [5.1.1] - 2024-09-23
17
+ ### Fixed
18
+ - increased accuracy of rollout distribution (#200)
19
+
16
20
  ## [5.1.0] - 2024-09-18
17
21
  ### Added
18
22
  - feature_enabled in variants (#197)
data/README.md CHANGED
@@ -48,7 +48,7 @@ Ruby client for the [Unleash](https://github.com/Unleash/unleash) feature manage
48
48
  Add this line to your application's Gemfile:
49
49
 
50
50
  ```ruby
51
- gem 'unleash', '~> 5.1.0'
51
+ gem 'unleash', '~> 5.1.1'
52
52
  ```
53
53
 
54
54
  And then execute:
@@ -426,7 +426,7 @@ Note: `if_enabled` (and `if_disabled`) only support `default_value`, but not `fa
426
426
 
427
427
  #### Variations
428
428
 
429
- If no variant is found in the server, use the fallback variant.
429
+ If no flag is found in the server, use the fallback variant.
430
430
 
431
431
  ```ruby
432
432
  fallback_variant = Unleash::Variant.new(name: 'default', enabled: true, payload: {"color" => "blue"})
@@ -40,7 +40,7 @@ module Unleash
40
40
  end
41
41
 
42
42
  def random
43
- Random.rand(0..100)
43
+ Random.rand(0..10_000)
44
44
  end
45
45
 
46
46
  def resolve_stickiness(stickiness, context)
@@ -1,3 +1,3 @@
1
1
  module Unleash
2
- VERSION = "5.1.0".freeze
2
+ VERSION = "5.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unleash
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renato Arruda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-18 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: murmurhash3
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.4.10
221
+ rubygems_version: 3.5.16
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Unleash feature toggle client.