work_shaper 0.1.3.1rc3 → 0.1.3.1rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/work_shaper/manager.rb +1 -1
- data/lib/work_shaper/offset_holder.rb +3 -3
- data/lib/work_shaper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee42adfc0a4002f31b442eec3ea46dd3b878dc8fabadccb010cfb27070142223
|
4
|
+
data.tar.gz: b8e268a9c867df76e210b279b3c8c2b62446b347c7ab02db1a381c3b5a80f7c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b8e9d89e51fce2f374eabef54d89a43703b48dba1dd9979598342a26182e2eb739a1fc0f2afa842100c1ab8bc32f094f2904680243e053d34f3ab82d42aded
|
7
|
+
data.tar.gz: 2128b65b7c21b420b0e58c5765a9d557e466415fcfa32c80d4b9e9f407e2cb9de8b107f3e6deb81b61f086c0566bad256031aeb310f2676d004488e5af389bda
|
data/lib/work_shaper/manager.rb
CHANGED
@@ -157,7 +157,7 @@ module WorkShaper
|
|
157
157
|
|
158
158
|
result =
|
159
159
|
begin
|
160
|
-
@ack.call(partition, offset)
|
160
|
+
@ack.call(partition, offset.to_i)
|
161
161
|
rescue => e
|
162
162
|
# We expect @ack to handle it's own errors and return the error or false if it
|
163
163
|
# is safe to continue. Otherwise @ack should raise an error and we will
|
@@ -24,14 +24,14 @@ module WorkShaper
|
|
24
24
|
|
25
25
|
if r == 0
|
26
26
|
r = STATES[state] <=> STATES[other.state]
|
27
|
-
|
27
|
+
WorkShaper.logger.debug "States: #{r} | #{STATES[state]} #{STATES[other.state]}"
|
28
28
|
end
|
29
29
|
|
30
30
|
if r == 0
|
31
31
|
r = @at <=> other.instance_variable_get(:@at)
|
32
|
-
|
32
|
+
WorkShaper.logger.debug "At: #{r}"
|
33
33
|
end
|
34
|
-
|
34
|
+
WorkShaper.logger.debug "Final: #{r}"
|
35
35
|
r
|
36
36
|
end
|
37
37
|
|
data/lib/work_shaper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: work_shaper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.3.
|
4
|
+
version: 0.1.3.1rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerry Fernholz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|