dboard 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/collector.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +3 -3
data/lib/collector.rb
CHANGED
@@ -28,14 +28,14 @@ module Dboard
|
|
28
28
|
@sources.each do |source, instance|
|
29
29
|
Thread.new do
|
30
30
|
loop do
|
31
|
-
update_in_thread
|
31
|
+
update_in_thread(source, instance)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
35
35
|
loop { sleep 1 }
|
36
36
|
end
|
37
37
|
|
38
|
-
def update_in_thread
|
38
|
+
def update_in_thread(source, instance)
|
39
39
|
time = Time.now
|
40
40
|
puts "#{source} updating..."
|
41
41
|
update_source(source, instance)
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Joakim Kolsj\xC3\xB6"
|