polyphony 0.59 → 0.59.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/polyphony/core/timer.rb +2 -2
- data/lib/polyphony/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aba9d551e940893d6d3303d93d514b520b7b649a1db99b101bdbbcdec762501
|
4
|
+
data.tar.gz: 601d33709dc92bb0c029d9dba5d555441a2b5a6721b807185a36d65cb5ef8170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7e355b5f8857093082d75759942f5d3a63ab40cf3a0f46045829e2c223ae92dbcc370ceb2dd3f26bd04e0bb036eb03ab40ef65a011cd172dd6c122698541fa
|
7
|
+
data.tar.gz: e8708853190d44c82f3088ba0baecf19f03110a11c2cf229f0015c800b23da01e1eb0d94af20cb2af7fd8dd7bdafde9bf218f484c57cda358c0da187dfeb4b6e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/polyphony/core/timer.rb
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
module Polyphony
|
4
4
|
# Implements a common timer for running multiple timeouts
|
5
5
|
class Timer
|
6
|
-
def initialize(resolution:)
|
7
|
-
@fiber = spin_loop(interval: resolution) { update }
|
6
|
+
def initialize(tag = nil, resolution:)
|
7
|
+
@fiber = spin_loop(tag, interval: resolution) { update }
|
8
8
|
@timeouts = {}
|
9
9
|
end
|
10
10
|
|
data/lib/polyphony/version.rb
CHANGED