zizq 0.3.3 → 0.3.4

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: 4ab68c867c5342352c99cccc1c244215a12256c8957be422c38c1446fbcc317e
4
- data.tar.gz: 58651399c191747b0e1fab0b0751e53de4eb415dcb0ae5845b76eb35590cb5eb
3
+ metadata.gz: 99a09e939c3261e843c176cd936a29e4e6f6a725ac802d93273a2608692b9616
4
+ data.tar.gz: ef6a5a3af87980b71a68a10a16969c29f572ef55d4b628de89bde210f0949f69
5
5
  SHA512:
6
- metadata.gz: 4b35bd73a1e4c8c66113b7f1b0c4efbb1eef97e0b304730510a76a35498e6fcc38c15016b53b7507206e558535d07b1a0dbd377d7e5472247f9fffd5ac5a79ec
7
- data.tar.gz: 6fbdbe994579189e68bd37e5ce4167a4c074593609cb7938f411e956c073b11d43c0863e8c8038bb2e77cfe0246263e3c7b55e83d3961f5da99e133164da766a
6
+ metadata.gz: 4eae14c105f51ca5d3b8f8fbf51e635bee289d81a2d81603ba47ee85c29493daa67eee2d3fa07246ba91a2d98381f9e2f7db46ad23e13d191228df9c48043fd7
7
+ data.tar.gz: 78382c2d8062b3b51a76fd44760b9116fe71b5f273b5d3ec8d458e6e8609fd6d8a22f5f54717920dc6197393f5ba56e05298ccf51fd5a5beefc1d52ee838a65d
data/README.md CHANGED
@@ -32,13 +32,13 @@ API.
32
32
  Add it to your application's `Gemfile`:
33
33
 
34
34
  ```ruby
35
- gem 'zizq', '~> 0.3.3'
35
+ gem 'zizq', '~> 0.3.4'
36
36
  ```
37
37
 
38
38
  Or install it manually:
39
39
 
40
40
  ```shell
41
- $ gem install zizq -v 0.3.3
41
+ $ gem install zizq -v 0.3.4
42
42
  ```
43
43
 
44
44
  Ruby **3.2.8 or newer** is required. Client and server share version
@@ -157,8 +157,8 @@ module Zizq
157
157
  if backoff
158
158
  params[:backoff] = {
159
159
  exponent: backoff[:exponent].to_f,
160
- base_ms: (backoff[:base].to_f * 1000).to_f,
161
- jitter_ms: (backoff[:jitter].to_f * 1000).to_f
160
+ base_ms: (backoff[:base].to_f * 1000).to_i,
161
+ jitter_ms: (backoff[:jitter].to_f * 1000).to_i
162
162
  }
163
163
  end
164
164
 
data/lib/zizq/version.rb CHANGED
@@ -5,5 +5,5 @@
5
5
  # frozen_string_literal: true
6
6
 
7
7
  module Zizq
8
- VERSION = "0.3.3" #: String
8
+ VERSION = "0.3.4" #: String
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zizq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Corbyn <chris@zizq.io>