toq 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: 3f490887ff8d26a2e18e5c010e286a6fc48ad85a9955471909496d78158ce4fc
4
- data.tar.gz: f5c0d6ecf126970506d46a0416fd7effedbd590e99a9a5cb7b1601f0898af06d
3
+ metadata.gz: df57199bce2860cafef61cf558ee8eea2cb94efeab9806fb5002ac78a34ef2a1
4
+ data.tar.gz: 1670a993e6ca14243261c93b842922fc7e13693e0a75ad8b253a7587aa2bb872
5
5
  SHA512:
6
- metadata.gz: 760fc6a92f3162b42e91c0c62f217431745887699f743182f91e8265a2557c02b16e8a5f7defbad2cb4ed06559fb9c204d3e49393feb3001793a740d975c02d3
7
- data.tar.gz: b91e5bafb6631ecc1e09d777b2144f54735b7c6975422bb9c1b359a2a39d2294c6163142196288bc84ffec56c004209346e6e58cd5747e8167570fbb3110ef89
6
+ metadata.gz: f0a17a14f25fdb789f1f392f5bad5423f37463af374c0990309bd222d94d4a695bc3c6bfacafbbef489bf3e9fadabf67a76aab65c0e203c28fd57e519096d869
7
+ data.tar.gz: c505a2951bc684333949eee1add6cbd89fc7ffffa1645f7c471ca0e0889a0fb36dcdfb9b42fa7185f427f13d3c00400eec37faa742c0531105d616cfe4c09e16
@@ -144,12 +144,12 @@ class Handler < Raktr::Connection
144
144
 
145
145
  # The connection will be detached soon, keep a separate reference to
146
146
  # the reactor.
147
- reactor = @reactor
147
+ raktr = @raktr
148
148
 
149
149
  @tries += 1
150
- reactor.delay( 0.2 ) do
150
+ raktr.delay( 0.2 ) do
151
151
  address = opts[:socket] ? opts[:socket] : [opts[:host], opts[:port]]
152
- reactor.connect( *[address, self.class, opts ].flatten ).send_request( req )
152
+ raktr.connect( *[address, self.class, opts ].flatten ).send_request( req )
153
153
  end
154
154
 
155
155
  close_without_retry
data/lib/toq/version.rb CHANGED
@@ -8,6 +8,6 @@
8
8
 
9
9
  module Toq
10
10
 
11
- VERSION = '0.0.1'
11
+ VERSION = '0.0.2'
12
12
 
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-20 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: raktr
@@ -90,27 +90,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.1.6
93
+ rubygems_version: 3.3.7
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Simple RPC protocol.
97
97
  test_files:
98
- - spec/pems/server/cert.pem
99
- - spec/pems/server/key.pem
100
98
  - spec/pems/cacert.pem
101
- - spec/pems/client/foo-key.pem
102
99
  - spec/pems/client/cert.pem
103
100
  - spec/pems/client/foo-cert.pem
101
+ - spec/pems/client/foo-key.pem
104
102
  - spec/pems/client/key.pem
105
- - spec/servers/with_ssl_primitives.rb
106
- - spec/servers/unix_socket.rb
107
- - spec/servers/server.rb
103
+ - spec/pems/server/cert.pem
104
+ - spec/pems/server/key.pem
108
105
  - spec/servers/basic.rb
106
+ - spec/servers/server.rb
107
+ - spec/servers/unix_socket.rb
108
+ - spec/servers/with_ssl_primitives.rb
109
+ - spec/spec_helper.rb
109
110
  - spec/toq/client_spec.rb
110
- - spec/toq/server_spec.rb
111
- - spec/toq/request_spec.rb
112
- - spec/toq/message_spec.rb
113
- - spec/toq/response_spec.rb
114
111
  - spec/toq/exceptions_spec.rb
112
+ - spec/toq/message_spec.rb
115
113
  - spec/toq/proxy_spec.rb
116
- - spec/spec_helper.rb
114
+ - spec/toq/request_spec.rb
115
+ - spec/toq/response_spec.rb
116
+ - spec/toq/server_spec.rb