evt-poll 0.1.0.0 → 0.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/poll.rb +1 -1
- data/lib/poll/log.rb +1 -1
- data/lib/poll/{cycle.rb → poll.rb} +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80180f3e0a4c23b001622633fb343286b381a802e9e7d6a044d3d16572885214
|
4
|
+
data.tar.gz: 117e9c762fd572b67744ff594377cbd20598b398bacf580951cc4961834b8c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 784bc9abdea8a5c32d89b35e89a18ea1e15552f35db8bd8777c8a9008a5bbb8ae09fc9f4d6861f54d434696af033b2086c362f6918df15c95444437237d3cb7c
|
7
|
+
data.tar.gz: 84a9f679f497c806b6b70d2a3e4dc427c14165a2eeccc3e7c7de3b90b522f1272c753fd6fb7159f0c3de4f18b99e633529a2c22239a8936283c2f81e52f5b317
|
data/lib/poll.rb
CHANGED
data/lib/poll/log.rb
CHANGED
@@ -30,11 +30,11 @@ class Poll
|
|
30
30
|
instance
|
31
31
|
end
|
32
32
|
|
33
|
-
def self.configure(receiver, attr_name: nil, interval_milliseconds: nil, timeout_milliseconds: nil, delay_condition: nil,
|
34
|
-
attr_name ||= :
|
33
|
+
def self.configure(receiver, attr_name: nil, interval_milliseconds: nil, timeout_milliseconds: nil, delay_condition: nil, poll: nil)
|
34
|
+
attr_name ||= :poll
|
35
35
|
|
36
|
-
if !
|
37
|
-
instance =
|
36
|
+
if !poll.nil?
|
37
|
+
instance = poll
|
38
38
|
else
|
39
39
|
instance = build(interval_milliseconds: interval_milliseconds, timeout_milliseconds: timeout_milliseconds, delay_condition: delay_condition)
|
40
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-poll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-log
|
@@ -75,9 +75,9 @@ files:
|
|
75
75
|
- lib/poll.rb
|
76
76
|
- lib/poll/controls.rb
|
77
77
|
- lib/poll/controls/time.rb
|
78
|
-
- lib/poll/cycle.rb
|
79
78
|
- lib/poll/defaults.rb
|
80
79
|
- lib/poll/log.rb
|
80
|
+
- lib/poll/poll.rb
|
81
81
|
homepage: https://github.com/eventide-project/cycle
|
82
82
|
licenses:
|
83
83
|
- MIT
|