c3d 0.5.2 → 0.5.3

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
  SHA1:
3
- metadata.gz: 5a475cc636c0573d19c177878f57fd7295dc9b18
4
- data.tar.gz: 29a6dab172fe2bedcab786e2b226f33663771073
3
+ metadata.gz: 4cd2e94fbf6300728d6faec28283a0567f40bbce
4
+ data.tar.gz: 471eda4d6f81893e0993508d82a1ef8c0d1a4b1e
5
5
  SHA512:
6
- metadata.gz: b0d04a7d6f3e19e7403c02b9bb859916c28dab924a9a58067d9148820017ddca09beacd16b208ea6e66803d86b6aea96a79f217dfb59f9f99ecdc4ab52bcff8a
7
- data.tar.gz: 55ba1a39043697338b63caeeaec5e2c10559958b7a76b4c71cfbe5f64e7a7e08692b306a5d7387db3f026868df0738deabcd11d4602bf21e8414f49a811ead45
6
+ metadata.gz: faedca142f322138286c3f984d9ce96328229a7f3b5fe3e1e415da9df789d6d0cd8ca6212c61e7291acc31bd6052c6a41dfda54176769520342f142be0be0f72
7
+ data.tar.gz: 734b5031720469dd505a13958139ff4d1c5cc28747e0ccb614f650e8b5506d89cee7f284796850d0fcf597c0cf64f9b909c081a4903429399ac804fe24b55cc9
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- c3d (0.4.3)
4
+ c3d (0.5.2)
5
5
  bencode (~> 0.8)
6
6
  celluloid (~> 0.15)
7
7
  commander (~> 4.1)
8
8
  httparty (~> 0.13)
9
+ timers (~> 1.1)
9
10
 
10
11
  GEM
11
12
  remote: https://rubygems.org/
data/c3d.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.add_dependency 'celluloid', '~> 0.15'
25
25
  s.add_dependency 'commander', '~> 4.1'
26
26
  s.add_dependency 'bencode', '~> 0.8'
27
- s.add_dependency 'timers', '~> 3.0'
27
+ s.add_dependency 'timers', '~> 1.1'
28
28
  s.add_development_dependency 'rspec', '~> 3.0'
29
29
  s.add_development_dependency 'epm'
30
30
 
data/lib/c3d/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION ||= "0.5.2"
1
+ VERSION ||= "0.5.3"
data/lib/c3d.rb CHANGED
@@ -36,11 +36,7 @@ module C3D
36
36
  url: ENV['TORRENT_RPC'] }
37
37
  C3D::ConnectEth.supervise_as :eth, :cpp
38
38
  C3D::Utility.save_key
39
- begin
40
- timers = Timers::Group.new
41
- rescue
42
- timers = Timers.new
43
- end
39
+ timers = Timers.new
44
40
  every_minute = timers.every(60) { C3D::Subscribe.new }
45
41
  loop { timers.wait }
46
42
  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.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Kuhlman
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.0'
75
+ version: '1.1'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.0'
82
+ version: '1.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement