c3d 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/c3d/version.rb +1 -1
- data/lib/c3d.rb +5 -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: 5a475cc636c0573d19c177878f57fd7295dc9b18
|
4
|
+
data.tar.gz: 29a6dab172fe2bedcab786e2b226f33663771073
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d04a7d6f3e19e7403c02b9bb859916c28dab924a9a58067d9148820017ddca09beacd16b208ea6e66803d86b6aea96a79f217dfb59f9f99ecdc4ab52bcff8a
|
7
|
+
data.tar.gz: 55ba1a39043697338b63caeeaec5e2c10559958b7a76b4c71cfbe5f64e7a7e08692b306a5d7387db3f026868df0738deabcd11d4602bf21e8414f49a811ead45
|
data/lib/c3d/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION ||= "0.5.
|
1
|
+
VERSION ||= "0.5.2"
|
data/lib/c3d.rb
CHANGED
@@ -36,7 +36,11 @@ module C3D
|
|
36
36
|
url: ENV['TORRENT_RPC'] }
|
37
37
|
C3D::ConnectEth.supervise_as :eth, :cpp
|
38
38
|
C3D::Utility.save_key
|
39
|
-
|
39
|
+
begin
|
40
|
+
timers = Timers::Group.new
|
41
|
+
rescue
|
42
|
+
timers = Timers.new
|
43
|
+
end
|
40
44
|
every_minute = timers.every(60) { C3D::Subscribe.new }
|
41
45
|
loop { timers.wait }
|
42
46
|
end
|