protobuf 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/protobuf/rpc/connectors/ping.rb +2 -0
- data/lib/protobuf/version.rb +1 -1
- metadata +152 -142
- checksums.yaml +0 -7
@@ -43,6 +43,7 @@ module Protobuf
|
|
43
43
|
socket = ::Socket.new(family, ::Socket::SOCK_STREAM, 0)
|
44
44
|
socket.setsockopt(::Socket::IPPROTO_TCP, ::Socket::TCP_NODELAY, 1)
|
45
45
|
socket.connect_nonblock(sockaddr)
|
46
|
+
socket
|
46
47
|
rescue ::IO::WaitWritable
|
47
48
|
# IO.select will block until the socket is writable or the timeout
|
48
49
|
# is exceeded - whichever comes first.
|
@@ -50,6 +51,7 @@ module Protobuf
|
|
50
51
|
begin
|
51
52
|
# Verify there is now a good connection
|
52
53
|
socket.connect_nonblock(sockaddr)
|
54
|
+
socket
|
53
55
|
rescue ::Errno::EISCONN
|
54
56
|
# Socket is connected.
|
55
57
|
socket
|
data/lib/protobuf/version.rb
CHANGED
metadata
CHANGED
@@ -1,186 +1,259 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- BJ Neilsen
|
8
9
|
- Brandon Dewitt
|
9
10
|
- Devin Christensen
|
10
11
|
- Adam Hutchison
|
11
|
-
autorequire:
|
12
|
+
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
|
-
date: 2016-01
|
15
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
15
16
|
dependencies:
|
16
17
|
- !ruby/object:Gem::Dependency
|
17
18
|
name: activesupport
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3.2'
|
23
19
|
requirement: !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
24
21
|
requirements:
|
25
|
-
- - '>='
|
22
|
+
- - ! '>='
|
26
23
|
- !ruby/object:Gem::Version
|
27
24
|
version: '3.2'
|
28
|
-
prerelease: false
|
29
25
|
type: :runtime
|
30
|
-
|
31
|
-
name: middleware
|
26
|
+
prerelease: false
|
32
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
33
29
|
requirements:
|
34
|
-
- - '>='
|
30
|
+
- - ! '>='
|
35
31
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
32
|
+
version: '3.2'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: middleware
|
37
35
|
requirement: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
38
37
|
requirements:
|
39
|
-
- - '>='
|
38
|
+
- - ! '>='
|
40
39
|
- !ruby/object:Gem::Version
|
41
40
|
version: '0'
|
42
|
-
prerelease: false
|
43
41
|
type: :runtime
|
44
|
-
|
45
|
-
name: thor
|
42
|
+
prerelease: false
|
46
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
47
45
|
requirements:
|
48
|
-
- - '>='
|
46
|
+
- - ! '>='
|
49
47
|
- !ruby/object:Gem::Version
|
50
48
|
version: '0'
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: thor
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
52
53
|
requirements:
|
53
|
-
- - '>='
|
54
|
+
- - ! '>='
|
54
55
|
- !ruby/object:Gem::Version
|
55
56
|
version: '0'
|
56
|
-
prerelease: false
|
57
57
|
type: :runtime
|
58
|
-
|
59
|
-
name: thread_safe
|
58
|
+
prerelease: false
|
60
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
61
|
requirements:
|
62
|
-
- - '>='
|
62
|
+
- - ! '>='
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: thread_safe
|
65
67
|
requirement: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
66
69
|
requirements:
|
67
|
-
- - '>='
|
70
|
+
- - ! '>='
|
68
71
|
- !ruby/object:Gem::Version
|
69
72
|
version: '0'
|
70
|
-
prerelease: false
|
71
73
|
type: :runtime
|
72
|
-
|
73
|
-
name: ffi-rzmq
|
74
|
+
prerelease: false
|
74
75
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
75
77
|
requirements:
|
76
|
-
- - '>='
|
78
|
+
- - ! '>='
|
77
79
|
- !ruby/object:Gem::Version
|
78
80
|
version: '0'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: ffi-rzmq
|
79
83
|
requirement: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
80
85
|
requirements:
|
81
|
-
- - '>='
|
86
|
+
- - ! '>='
|
82
87
|
- !ruby/object:Gem::Version
|
83
88
|
version: '0'
|
84
|
-
prerelease: false
|
85
89
|
type: :development
|
86
|
-
|
87
|
-
name: rake
|
90
|
+
prerelease: false
|
88
91
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
89
93
|
requirements:
|
90
|
-
- - '>='
|
94
|
+
- - ! '>='
|
91
95
|
- !ruby/object:Gem::Version
|
92
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
93
99
|
requirement: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
94
101
|
requirements:
|
95
|
-
- - '>='
|
102
|
+
- - ! '>='
|
96
103
|
- !ruby/object:Gem::Version
|
97
104
|
version: '0'
|
98
|
-
prerelease: false
|
99
105
|
type: :development
|
100
|
-
|
101
|
-
name: rspec
|
106
|
+
prerelease: false
|
102
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
103
109
|
requirements:
|
104
|
-
- - '>='
|
110
|
+
- - ! '>='
|
105
111
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rspec
|
107
115
|
requirement: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
108
117
|
requirements:
|
109
|
-
- - '>='
|
118
|
+
- - ! '>='
|
110
119
|
- !ruby/object:Gem::Version
|
111
120
|
version: '3.0'
|
112
|
-
prerelease: false
|
113
121
|
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '3.0'
|
114
129
|
- !ruby/object:Gem::Dependency
|
115
130
|
name: rubocop
|
116
|
-
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
117
133
|
requirements:
|
118
134
|
- - '='
|
119
135
|
- !ruby/object:Gem::Version
|
120
136
|
version: 0.34.2
|
121
|
-
|
137
|
+
type: :development
|
138
|
+
prerelease: false
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
122
141
|
requirements:
|
123
142
|
- - '='
|
124
143
|
- !ruby/object:Gem::Version
|
125
144
|
version: 0.34.2
|
126
|
-
prerelease: false
|
127
|
-
type: :development
|
128
145
|
- !ruby/object:Gem::Dependency
|
129
146
|
name: simplecov
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
type: :development
|
154
|
+
prerelease: false
|
130
155
|
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
131
157
|
requirements:
|
132
|
-
- - '>='
|
158
|
+
- - ! '>='
|
133
159
|
- !ruby/object:Gem::Version
|
134
160
|
version: '0'
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: timecop
|
135
163
|
requirement: !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
136
165
|
requirements:
|
137
|
-
- - '>='
|
166
|
+
- - ! '>='
|
138
167
|
- !ruby/object:Gem::Version
|
139
168
|
version: '0'
|
140
|
-
prerelease: false
|
141
169
|
type: :development
|
142
|
-
|
143
|
-
name: timecop
|
170
|
+
prerelease: false
|
144
171
|
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
145
173
|
requirements:
|
146
|
-
- - '>='
|
174
|
+
- - ! '>='
|
147
175
|
- !ruby/object:Gem::Version
|
148
176
|
version: '0'
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: yard
|
149
179
|
requirement: !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
150
181
|
requirements:
|
151
|
-
- - '>='
|
182
|
+
- - ! '>='
|
152
183
|
- !ruby/object:Gem::Version
|
153
184
|
version: '0'
|
154
|
-
prerelease: false
|
155
185
|
type: :development
|
156
|
-
|
157
|
-
name: yard
|
186
|
+
prerelease: false
|
158
187
|
version_requirements: !ruby/object:Gem::Requirement
|
188
|
+
none: false
|
159
189
|
requirements:
|
160
|
-
- - '>='
|
190
|
+
- - ! '>='
|
161
191
|
- !ruby/object:Gem::Version
|
162
192
|
version: '0'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: pry-debugger
|
163
195
|
requirement: !ruby/object:Gem::Requirement
|
196
|
+
none: false
|
164
197
|
requirements:
|
165
|
-
- - '>='
|
198
|
+
- - ! '>='
|
166
199
|
- !ruby/object:Gem::Version
|
167
200
|
version: '0'
|
168
|
-
prerelease: false
|
169
201
|
type: :development
|
202
|
+
prerelease: false
|
203
|
+
version_requirements: !ruby/object:Gem::Requirement
|
204
|
+
none: false
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
170
209
|
- !ruby/object:Gem::Dependency
|
171
|
-
name: pry
|
210
|
+
name: pry-stack_explorer
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
none: false
|
213
|
+
requirements:
|
214
|
+
- - ! '>='
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
type: :development
|
218
|
+
prerelease: false
|
172
219
|
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
none: false
|
173
221
|
requirements:
|
174
|
-
- - '>='
|
222
|
+
- - ! '>='
|
175
223
|
- !ruby/object:Gem::Version
|
176
224
|
version: '0'
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: varint
|
177
227
|
requirement: !ruby/object:Gem::Requirement
|
228
|
+
none: false
|
178
229
|
requirements:
|
179
|
-
- - '>='
|
230
|
+
- - ! '>='
|
180
231
|
- !ruby/object:Gem::Version
|
181
232
|
version: '0'
|
233
|
+
type: :development
|
182
234
|
prerelease: false
|
235
|
+
version_requirements: !ruby/object:Gem::Requirement
|
236
|
+
none: false
|
237
|
+
requirements:
|
238
|
+
- - ! '>='
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0'
|
241
|
+
- !ruby/object:Gem::Dependency
|
242
|
+
name: ruby-prof
|
243
|
+
requirement: !ruby/object:Gem::Requirement
|
244
|
+
none: false
|
245
|
+
requirements:
|
246
|
+
- - ! '>='
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
183
249
|
type: :development
|
250
|
+
prerelease: false
|
251
|
+
version_requirements: !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
253
|
+
requirements:
|
254
|
+
- - ! '>='
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: '0'
|
184
257
|
description: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
185
258
|
email:
|
186
259
|
- bj.neilsen+protobuf@gmail.com
|
@@ -376,96 +449,33 @@ files:
|
|
376
449
|
homepage: https://github.com/localshred/protobuf
|
377
450
|
licenses:
|
378
451
|
- MIT
|
379
|
-
|
380
|
-
post_install_message:
|
452
|
+
post_install_message:
|
381
453
|
rdoc_options: []
|
382
454
|
require_paths:
|
383
455
|
- lib
|
384
456
|
required_ruby_version: !ruby/object:Gem::Requirement
|
457
|
+
none: false
|
385
458
|
requirements:
|
386
|
-
- - '>='
|
459
|
+
- - ! '>='
|
387
460
|
- !ruby/object:Gem::Version
|
388
461
|
version: '0'
|
462
|
+
segments:
|
463
|
+
- 0
|
464
|
+
hash: 752985443878971570
|
389
465
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
466
|
+
none: false
|
390
467
|
requirements:
|
391
|
-
- - '>='
|
468
|
+
- - ! '>='
|
392
469
|
- !ruby/object:Gem::Version
|
393
470
|
version: '0'
|
471
|
+
segments:
|
472
|
+
- 0
|
473
|
+
hash: 752985443878971570
|
394
474
|
requirements: []
|
395
|
-
rubyforge_project:
|
396
|
-
rubygems_version:
|
397
|
-
signing_key:
|
398
|
-
specification_version:
|
475
|
+
rubyforge_project:
|
476
|
+
rubygems_version: 1.8.24
|
477
|
+
signing_key:
|
478
|
+
specification_version: 3
|
399
479
|
summary: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
400
|
-
test_files:
|
401
|
-
|
402
|
-
- spec/bin/protoc-gen-ruby_spec.rb
|
403
|
-
- spec/encoding/all_types_spec.rb
|
404
|
-
- spec/encoding/extreme_values_spec.rb
|
405
|
-
- spec/functional/class_inheritance_spec.rb
|
406
|
-
- spec/functional/socket_server_spec.rb
|
407
|
-
- spec/functional/zmq_server_spec.rb
|
408
|
-
- spec/lib/protobuf/cli_spec.rb
|
409
|
-
- spec/lib/protobuf/code_generator_spec.rb
|
410
|
-
- spec/lib/protobuf/enum_spec.rb
|
411
|
-
- spec/lib/protobuf/field/bool_field_spec.rb
|
412
|
-
- spec/lib/protobuf/field/field_array_spec.rb
|
413
|
-
- spec/lib/protobuf/field/float_field_spec.rb
|
414
|
-
- spec/lib/protobuf/field/int32_field_spec.rb
|
415
|
-
- spec/lib/protobuf/field/string_field_spec.rb
|
416
|
-
- spec/lib/protobuf/field_spec.rb
|
417
|
-
- spec/lib/protobuf/generators/base_spec.rb
|
418
|
-
- spec/lib/protobuf/generators/enum_generator_spec.rb
|
419
|
-
- spec/lib/protobuf/generators/extension_generator_spec.rb
|
420
|
-
- spec/lib/protobuf/generators/field_generator_spec.rb
|
421
|
-
- spec/lib/protobuf/generators/file_generator_spec.rb
|
422
|
-
- spec/lib/protobuf/generators/message_generator_spec.rb
|
423
|
-
- spec/lib/protobuf/generators/service_generator_spec.rb
|
424
|
-
- spec/lib/protobuf/lifecycle_spec.rb
|
425
|
-
- spec/lib/protobuf/message_spec.rb
|
426
|
-
- spec/lib/protobuf/optionable_spec.rb
|
427
|
-
- spec/lib/protobuf/rpc/client_spec.rb
|
428
|
-
- spec/lib/protobuf/rpc/connector_spec.rb
|
429
|
-
- spec/lib/protobuf/rpc/connectors/base_spec.rb
|
430
|
-
- spec/lib/protobuf/rpc/connectors/common_spec.rb
|
431
|
-
- spec/lib/protobuf/rpc/connectors/ping_spec.rb
|
432
|
-
- spec/lib/protobuf/rpc/connectors/socket_spec.rb
|
433
|
-
- spec/lib/protobuf/rpc/connectors/zmq_spec.rb
|
434
|
-
- spec/lib/protobuf/rpc/middleware/exception_handler_spec.rb
|
435
|
-
- spec/lib/protobuf/rpc/middleware/logger_spec.rb
|
436
|
-
- spec/lib/protobuf/rpc/middleware/request_decoder_spec.rb
|
437
|
-
- spec/lib/protobuf/rpc/middleware/response_encoder_spec.rb
|
438
|
-
- spec/lib/protobuf/rpc/servers/socket_server_spec.rb
|
439
|
-
- spec/lib/protobuf/rpc/servers/zmq/server_spec.rb
|
440
|
-
- spec/lib/protobuf/rpc/servers/zmq/util_spec.rb
|
441
|
-
- spec/lib/protobuf/rpc/servers/zmq/worker_spec.rb
|
442
|
-
- spec/lib/protobuf/rpc/service_directory_spec.rb
|
443
|
-
- spec/lib/protobuf/rpc/service_dispatcher_spec.rb
|
444
|
-
- spec/lib/protobuf/rpc/service_filters_spec.rb
|
445
|
-
- spec/lib/protobuf/rpc/service_spec.rb
|
446
|
-
- spec/lib/protobuf/rpc/stat_spec.rb
|
447
|
-
- spec/lib/protobuf/varint_spec.rb
|
448
|
-
- spec/lib/protobuf_spec.rb
|
449
|
-
- spec/spec_helper.rb
|
450
|
-
- spec/support/all.rb
|
451
|
-
- spec/support/packed_field.rb
|
452
|
-
- spec/support/protos/all_types.data.bin
|
453
|
-
- spec/support/protos/all_types.data.txt
|
454
|
-
- spec/support/protos/enum.pb.rb
|
455
|
-
- spec/support/protos/enum.proto
|
456
|
-
- spec/support/protos/extreme_values.data.bin
|
457
|
-
- spec/support/protos/google_unittest.bin
|
458
|
-
- spec/support/protos/google_unittest.pb.rb
|
459
|
-
- spec/support/protos/google_unittest.proto
|
460
|
-
- spec/support/protos/google_unittest_import.pb.rb
|
461
|
-
- spec/support/protos/google_unittest_import.proto
|
462
|
-
- spec/support/protos/google_unittest_import_public.pb.rb
|
463
|
-
- spec/support/protos/google_unittest_import_public.proto
|
464
|
-
- spec/support/protos/multi_field_extensions.pb.rb
|
465
|
-
- spec/support/protos/multi_field_extensions.proto
|
466
|
-
- spec/support/protos/resource.pb.rb
|
467
|
-
- spec/support/protos/resource.proto
|
468
|
-
- spec/support/resource_service.rb
|
469
|
-
- spec/support/server.rb
|
470
|
-
- spec/support/test_app_file.rb
|
471
|
-
has_rdoc:
|
480
|
+
test_files: []
|
481
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 465d9557f2fe2a77ba7cffce41ecd05e4b051dc0
|
4
|
-
data.tar.gz: ad19416fb9d66c5282e892d9a8f4da9f1a6df4c1
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 929245c25d77547a57ad94ab417d2cc9f3d249574b1fd0187159f6a23604b3c73b5fb495baaf13fae798c570293d09612013f98ce1971da62e790d2ad4b897f7
|
7
|
-
data.tar.gz: 11dada3beee45ba720383766fffe623b1c5c910c0a688771d2d23840c51239d1c26cebb3af502a84cc568684444fad9c3c05679e9e743b0d84ed8577682e18b9
|