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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89cf5f449b8dcf01f48c82d39a139434ea8ac185c7178bac749c4394de174bf7
4
- data.tar.gz: d24ea1791c7bf0400b32b33a83fa07963f700623ed3169dff10967ed417f18f3
3
+ metadata.gz: 80180f3e0a4c23b001622633fb343286b381a802e9e7d6a044d3d16572885214
4
+ data.tar.gz: 117e9c762fd572b67744ff594377cbd20598b398bacf580951cc4961834b8c9a
5
5
  SHA512:
6
- metadata.gz: 0f875934c022770e5b14eed4b066326ec0c0faf60bb48d8e09450d508e72d20c398dbda654124a0337a8ca484c05ea16f9b1ae392fcac0f1b1220f8d821c55f7
7
- data.tar.gz: ea00a5edf1896470713a6cb76cd516ae97f19a99e8832f7c54f63aa7cc2525b96521f2b976173d431119587c46c17eee8b7db3397e1aab98a41e35b74d163821
6
+ metadata.gz: 784bc9abdea8a5c32d89b35e89a18ea1e15552f35db8bd8777c8a9008a5bbb8ae09fc9f4d6861f54d434696af033b2086c362f6918df15c95444437237d3cb7c
7
+ data.tar.gz: 84a9f679f497c806b6b70d2a3e4dc427c14165a2eeccc3e7c7de3b90b522f1272c753fd6fb7159f0c3de4f18b99e633529a2c22239a8936283c2f81e52f5b317
data/lib/poll.rb CHANGED
@@ -3,5 +3,5 @@ require 'telemetry'
3
3
  require 'clock'
4
4
 
5
5
  require 'poll/log'
6
- require 'poll/cycle'
6
+ require 'poll/poll'
7
7
  require 'poll/defaults'
data/lib/poll/log.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  class Poll
2
2
  class Log < ::Log
3
3
  def tag!(tags)
4
- tags << :cycle
4
+ tags << :poll
5
5
  tags << :library
6
6
  tags << :verbose
7
7
  end
@@ -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, cycle: nil)
34
- attr_name ||= :cycle
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 !cycle.nil?
37
- instance = cycle
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.1.0.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-07 00:00:00.000000000 Z
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