elected_scheduler 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elected/scheduler/poller.rb +3 -2
- data/lib/elected/scheduler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f28d11ce1d98f7f5a9d5c40ed8c60271d679bb42
|
4
|
+
data.tar.gz: 42060b022367a1423add4faa648fdfb3386af20c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1889a69907231a639b66e3e9b6c85878d8bc323c4fc6af592d55e3aeb79c2e0cd736a6659d758c4fe136ccd23078ff67afc1b608fa10b693e5fc1113bc324997
|
7
|
+
data.tar.gz: d7d83efcdff075639ffb46ed4e6b834d6cb8444908eaded996d26094ef23e3cdc6e14db41929e0344a7d04d9023515eed169a3404e12e42ec294c7abbc784aab
|
@@ -5,9 +5,10 @@ module Elected
|
|
5
5
|
include Logging
|
6
6
|
extend Forwardable
|
7
7
|
|
8
|
-
|
8
|
+
attr_accessor :key
|
9
|
+
attr_reader :jobs, :stats
|
9
10
|
|
10
|
-
def_delegators :@senado, :timeout
|
11
|
+
def_delegators :@senado, :timeout, :timeout=
|
11
12
|
|
12
13
|
def initialize(key, timeout = nil)
|
13
14
|
@senado ||= Senado.new key, timeout
|