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 +4 -4
- data/lib/toq/client/handler.rb +3 -3
- data/lib/toq/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df57199bce2860cafef61cf558ee8eea2cb94efeab9806fb5002ac78a34ef2a1
|
4
|
+
data.tar.gz: 1670a993e6ca14243261c93b842922fc7e13693e0a75ad8b253a7587aa2bb872
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0a17a14f25fdb789f1f392f5bad5423f37463af374c0990309bd222d94d4a695bc3c6bfacafbbef489bf3e9fadabf67a76aab65c0e203c28fd57e519096d869
|
7
|
+
data.tar.gz: c505a2951bc684333949eee1add6cbd89fc7ffffa1645f7c471ca0e0889a0fb36dcdfb9b42fa7185f427f13d3c00400eec37faa742c0531105d616cfe4c09e16
|
data/lib/toq/client/handler.rb
CHANGED
@@ -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
|
-
|
147
|
+
raktr = @raktr
|
148
148
|
|
149
149
|
@tries += 1
|
150
|
-
|
150
|
+
raktr.delay( 0.2 ) do
|
151
151
|
address = opts[:socket] ? opts[:socket] : [opts[:host], opts[:port]]
|
152
|
-
|
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
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.
|
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-
|
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.
|
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/
|
106
|
-
- spec/
|
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/
|
114
|
+
- spec/toq/request_spec.rb
|
115
|
+
- spec/toq/response_spec.rb
|
116
|
+
- spec/toq/server_spec.rb
|