c3d 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/c3d/version.rb +1 -1
  3. data/lib/c3d.rb +5 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0e852319579742be59f5caaf5d0cdbd47dc2ed0
4
- data.tar.gz: 33cf0048ffc988d47ec8c5df841ca9314b9fa251
3
+ metadata.gz: 5a475cc636c0573d19c177878f57fd7295dc9b18
4
+ data.tar.gz: 29a6dab172fe2bedcab786e2b226f33663771073
5
5
  SHA512:
6
- metadata.gz: 8284534a5790a9861b7e0d1d80cc2328ec7c9f8c4e9731f5b7fa84c66d2aed6940eae1cc4572a165881549cb8a9d32fc7b3a07b3644e9c6e4914c67808cf6410
7
- data.tar.gz: 08eb120a233296490aba2c2b02287f56537d4e53aad2fa01468048fbc7b6f9f09fcf6777a3fdf7782db50cc1d361e89efaefcd420eccf122d86018b5bb3416d0
6
+ metadata.gz: b0d04a7d6f3e19e7403c02b9bb859916c28dab924a9a58067d9148820017ddca09beacd16b208ea6e66803d86b6aea96a79f217dfb59f9f99ecdc4ab52bcff8a
7
+ data.tar.gz: 55ba1a39043697338b63caeeaec5e2c10559958b7a76b4c71cfbe5f64e7a7e08692b306a5d7387db3f026868df0738deabcd11d4602bf21e8414f49a811ead45
data/lib/c3d/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION ||= "0.5.1"
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
- timers = Timers::Group.new
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Kuhlman