protobuf 2.6.1-java → 2.6.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/protobuf/rpc/service_filters.rb +6 -1
- data/lib/protobuf/version.rb +1 -1
- data/spec/lib/protobuf/rpc/service_filters_spec.rb +24 -0
- metadata +518 -443
@@ -240,7 +240,12 @@ module Protobuf
|
|
240
240
|
begin
|
241
241
|
yield
|
242
242
|
rescue *rescue_filters.keys => ex
|
243
|
-
|
243
|
+
callable = rescue_filters.fetch(ex.class) {
|
244
|
+
mapped_klass = rescue_filters.keys.detect { |child_klass| ex.class < child_klass }
|
245
|
+
rescue_filters[mapped_klass]
|
246
|
+
}
|
247
|
+
|
248
|
+
call_or_send(callable, ex)
|
244
249
|
end
|
245
250
|
end
|
246
251
|
end
|
data/lib/protobuf/version.rb
CHANGED
@@ -390,6 +390,11 @@ describe Protobuf::Rpc::ServiceFilters do
|
|
390
390
|
raise CustomError3, 'Filter 3 failed'
|
391
391
|
end
|
392
392
|
|
393
|
+
def filter_with_runtime_error
|
394
|
+
@called << :filter_with_runtime_error
|
395
|
+
raise RuntimeError, 'Filter with runtime error failed'
|
396
|
+
end
|
397
|
+
|
393
398
|
def custom_error_occurred(ex)
|
394
399
|
@ex_class = ex.class
|
395
400
|
@called << :custom_error_occurred
|
@@ -455,6 +460,25 @@ describe Protobuf::Rpc::ServiceFilters do
|
|
455
460
|
}.to_not raise_error(CustomError1)
|
456
461
|
end
|
457
462
|
end
|
463
|
+
|
464
|
+
context 'when thrown exception inherits from a mapped exception' do
|
465
|
+
before do
|
466
|
+
FilterTest.rescue_from(StandardError) do |service, ex|
|
467
|
+
service.ex_class = ex.class
|
468
|
+
service.called << :standard_error_rescue_handler
|
469
|
+
end
|
470
|
+
end
|
471
|
+
before { FilterTest.before_filter(:filter_with_runtime_error) }
|
472
|
+
|
473
|
+
it 'rescues with the given callable' do
|
474
|
+
expect {
|
475
|
+
subject.should_not_receive(:endpoint)
|
476
|
+
subject.__send__(:run_filters, :endpoint)
|
477
|
+
subject.called.should eq([ :filter_with_runtime_error, :standard_error_rescue_handler ])
|
478
|
+
subject.ex_class.should eq RuntimeError
|
479
|
+
}.to_not raise_error
|
480
|
+
end
|
481
|
+
end
|
458
482
|
end
|
459
483
|
|
460
484
|
end
|
metadata
CHANGED
@@ -1,459 +1,534 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 2.6.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 2.6.2
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
|
9
|
-
|
10
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- BJ Neilsen
|
9
|
+
- Brandon Dewitt
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
type: :development
|
13
|
+
date: 2013-01-10 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activesupport
|
17
|
+
version_requirements: &5666 !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
none: false
|
23
|
+
requirement: *5666
|
24
|
+
prerelease: false
|
25
|
+
type: :runtime
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: ffi
|
28
|
+
version_requirements: &5684 !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
none: false
|
34
|
+
requirement: *5684
|
35
|
+
prerelease: false
|
36
|
+
type: :runtime
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: multi_json
|
39
|
+
version_requirements: &5700 !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
none: false
|
45
|
+
requirement: *5700
|
46
|
+
prerelease: false
|
47
|
+
type: :runtime
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: thor
|
50
|
+
version_requirements: &5716 !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
none: false
|
56
|
+
requirement: *5716
|
57
|
+
prerelease: false
|
58
|
+
type: :runtime
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: eventmachine
|
61
|
+
version_requirements: &5732 !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
none: false
|
67
|
+
requirement: *5732
|
68
|
+
prerelease: false
|
69
|
+
type: :development
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: ffi-rzmq
|
72
|
+
version_requirements: &5750 !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
none: false
|
78
|
+
requirement: *5750
|
79
|
+
prerelease: false
|
80
|
+
type: :development
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: pry
|
83
|
+
version_requirements: &5766 !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
none: false
|
89
|
+
requirement: *5766
|
90
|
+
prerelease: false
|
91
|
+
type: :development
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: pry-nav
|
94
|
+
version_requirements: &5782 !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
none: false
|
100
|
+
requirement: *5782
|
101
|
+
prerelease: false
|
102
|
+
type: :development
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rake
|
105
|
+
version_requirements: &5798 !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
none: false
|
111
|
+
requirement: *5798
|
112
|
+
prerelease: false
|
113
|
+
type: :development
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rake-compiler
|
116
|
+
version_requirements: &5814 !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
none: false
|
122
|
+
requirement: *5814
|
123
|
+
prerelease: false
|
124
|
+
type: :development
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
version_requirements: &5830 !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
none: false
|
133
|
+
requirement: *5830
|
134
|
+
prerelease: false
|
135
|
+
type: :development
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
name: simplecov
|
138
|
+
version_requirements: &5846 !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
none: false
|
144
|
+
requirement: *5846
|
145
|
+
prerelease: false
|
146
|
+
type: :development
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: yard
|
149
|
+
version_requirements: &5862 !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
none: false
|
155
|
+
requirement: *5862
|
156
|
+
prerelease: false
|
157
|
+
type: :development
|
159
158
|
description: Google Protocol Buffers v2.4.1 Serialization and RPC implementation for Ruby.
|
160
|
-
email:
|
161
|
-
|
162
|
-
|
163
|
-
executables:
|
164
|
-
|
165
|
-
|
159
|
+
email:
|
160
|
+
- bj.neilsen+protobuf@gmail.com
|
161
|
+
- brandonsdewitt+protobuf@gmail.com
|
162
|
+
executables:
|
163
|
+
- rpc_server
|
164
|
+
- rprotoc
|
166
165
|
extensions: []
|
167
|
-
|
168
166
|
extra_rdoc_files: []
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
- test/test_types.rb
|
167
|
+
files:
|
168
|
+
- .gitignore
|
169
|
+
- .travis.yml
|
170
|
+
- .yardopts
|
171
|
+
- Gemfile
|
172
|
+
- README.md
|
173
|
+
- Rakefile
|
174
|
+
- UPGRADING.md
|
175
|
+
- bin/rpc_server
|
176
|
+
- bin/rprotoc
|
177
|
+
- examples/addressbook.pb.rb
|
178
|
+
- examples/addressbook.proto
|
179
|
+
- examples/reading_a_message.rb
|
180
|
+
- examples/writing_a_message.rb
|
181
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/code_generator.h
|
182
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/command_line_interface.h
|
183
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_enum.h
|
184
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_enum_field.h
|
185
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_extension.h
|
186
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_field.h
|
187
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_file.h
|
188
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_generator.h
|
189
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_helpers.h
|
190
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_message.h
|
191
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_message_field.h
|
192
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_primitive_field.h
|
193
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_service.h
|
194
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_string_field.h
|
195
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.h
|
196
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/importer.h
|
197
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_enum.h
|
198
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_enum_field.h
|
199
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_extension.h
|
200
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_field.h
|
201
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_file.h
|
202
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_generator.h
|
203
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_helpers.h
|
204
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_message.h
|
205
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_message_field.h
|
206
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_primitive_field.h
|
207
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_service.h
|
208
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/java/java_string_field.h
|
209
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/mock_code_generator.h
|
210
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/package_info.h
|
211
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/parser.h
|
212
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/plugin.h
|
213
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/plugin.pb.h
|
214
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/python/python_generator.h
|
215
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/subprocess.h
|
216
|
+
- ext/protobuf-2.4.1/src/google/protobuf/compiler/zip_writer.h
|
217
|
+
- ext/protobuf-2.4.1/src/google/protobuf/descriptor.h
|
218
|
+
- ext/protobuf-2.4.1/src/google/protobuf/descriptor.pb.h
|
219
|
+
- ext/protobuf-2.4.1/src/google/protobuf/descriptor_database.h
|
220
|
+
- ext/protobuf-2.4.1/src/google/protobuf/dynamic_message.h
|
221
|
+
- ext/protobuf-2.4.1/src/google/protobuf/extension_set.h
|
222
|
+
- ext/protobuf-2.4.1/src/google/protobuf/generated_message_reflection.h
|
223
|
+
- ext/protobuf-2.4.1/src/google/protobuf/generated_message_util.h
|
224
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/coded_stream.h
|
225
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/coded_stream_inl.h
|
226
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/gzip_stream.h
|
227
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/package_info.h
|
228
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/printer.h
|
229
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/tokenizer.h
|
230
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/zero_copy_stream.h
|
231
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/zero_copy_stream_impl.h
|
232
|
+
- ext/protobuf-2.4.1/src/google/protobuf/io/zero_copy_stream_impl_lite.h
|
233
|
+
- ext/protobuf-2.4.1/src/google/protobuf/message.h
|
234
|
+
- ext/protobuf-2.4.1/src/google/protobuf/message_lite.h
|
235
|
+
- ext/protobuf-2.4.1/src/google/protobuf/package_info.h
|
236
|
+
- ext/protobuf-2.4.1/src/google/protobuf/reflection_ops.h
|
237
|
+
- ext/protobuf-2.4.1/src/google/protobuf/repeated_field.h
|
238
|
+
- ext/protobuf-2.4.1/src/google/protobuf/service.h
|
239
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/common.h
|
240
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/hash.h
|
241
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/map-util.h
|
242
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/once.h
|
243
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/stl_util-inl.h
|
244
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/strutil.h
|
245
|
+
- ext/protobuf-2.4.1/src/google/protobuf/stubs/substitute.h
|
246
|
+
- ext/protobuf-2.4.1/src/google/protobuf/test_util.h
|
247
|
+
- ext/protobuf-2.4.1/src/google/protobuf/test_util_lite.h
|
248
|
+
- ext/protobuf-2.4.1/src/google/protobuf/testing/file.h
|
249
|
+
- ext/protobuf-2.4.1/src/google/protobuf/testing/googletest.h
|
250
|
+
- ext/protobuf-2.4.1/src/google/protobuf/text_format.h
|
251
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest.pb.h
|
252
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_custom_options.pb.h
|
253
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_embed_optimize_for.pb.h
|
254
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_empty.pb.h
|
255
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_import.pb.h
|
256
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_import_lite.pb.h
|
257
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_lite.pb.h
|
258
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_lite_imports_nonlite.pb.h
|
259
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_mset.pb.h
|
260
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_no_generic_services.pb.h
|
261
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unittest_optimize_for.pb.h
|
262
|
+
- ext/protobuf-2.4.1/src/google/protobuf/unknown_field_set.h
|
263
|
+
- ext/protobuf-2.4.1/src/google/protobuf/wire_format.h
|
264
|
+
- ext/protobuf-2.4.1/src/google/protobuf/wire_format_lite.h
|
265
|
+
- ext/protobuf-2.4.1/src/google/protobuf/wire_format_lite_inl.h
|
266
|
+
- ext/ruby_generator/Makefile
|
267
|
+
- ext/ruby_generator/RubyGenerator.cpp
|
268
|
+
- ext/ruby_generator/RubyGenerator.h
|
269
|
+
- ext/ruby_generator/extconf.rb
|
270
|
+
- ext/ruby_generator/protoc-ruby
|
271
|
+
- lib/protobuf.rb
|
272
|
+
- lib/protobuf/cli.rb
|
273
|
+
- lib/protobuf/enum.rb
|
274
|
+
- lib/protobuf/enum_value.rb
|
275
|
+
- lib/protobuf/evented.rb
|
276
|
+
- lib/protobuf/exceptions.rb
|
277
|
+
- lib/protobuf/ext/eventmachine.rb
|
278
|
+
- lib/protobuf/field.rb
|
279
|
+
- lib/protobuf/field/base_field.rb
|
280
|
+
- lib/protobuf/field/bool_field.rb
|
281
|
+
- lib/protobuf/field/bytes_field.rb
|
282
|
+
- lib/protobuf/field/double_field.rb
|
283
|
+
- lib/protobuf/field/enum_field.rb
|
284
|
+
- lib/protobuf/field/extension_fields.rb
|
285
|
+
- lib/protobuf/field/field_array.rb
|
286
|
+
- lib/protobuf/field/fixed32_field.rb
|
287
|
+
- lib/protobuf/field/fixed64_field.rb
|
288
|
+
- lib/protobuf/field/float_field.rb
|
289
|
+
- lib/protobuf/field/int32_field.rb
|
290
|
+
- lib/protobuf/field/int64_field.rb
|
291
|
+
- lib/protobuf/field/integer_field.rb
|
292
|
+
- lib/protobuf/field/message_field.rb
|
293
|
+
- lib/protobuf/field/sfixed32_field.rb
|
294
|
+
- lib/protobuf/field/sfixed64_field.rb
|
295
|
+
- lib/protobuf/field/signed_integer_field.rb
|
296
|
+
- lib/protobuf/field/sint32_field.rb
|
297
|
+
- lib/protobuf/field/sint64_field.rb
|
298
|
+
- lib/protobuf/field/string_field.rb
|
299
|
+
- lib/protobuf/field/uint32_field.rb
|
300
|
+
- lib/protobuf/field/uint64_field.rb
|
301
|
+
- lib/protobuf/field/varint_field.rb
|
302
|
+
- lib/protobuf/logger.rb
|
303
|
+
- lib/protobuf/message.rb
|
304
|
+
- lib/protobuf/message/decoder.rb
|
305
|
+
- lib/protobuf/message/message.rb
|
306
|
+
- lib/protobuf/rpc/buffer.rb
|
307
|
+
- lib/protobuf/rpc/client.rb
|
308
|
+
- lib/protobuf/rpc/connector.rb
|
309
|
+
- lib/protobuf/rpc/connectors/base.rb
|
310
|
+
- lib/protobuf/rpc/connectors/common.rb
|
311
|
+
- lib/protobuf/rpc/connectors/em_client.rb
|
312
|
+
- lib/protobuf/rpc/connectors/eventmachine.rb
|
313
|
+
- lib/protobuf/rpc/connectors/socket.rb
|
314
|
+
- lib/protobuf/rpc/connectors/zmq.rb
|
315
|
+
- lib/protobuf/rpc/error.rb
|
316
|
+
- lib/protobuf/rpc/error/client_error.rb
|
317
|
+
- lib/protobuf/rpc/error/server_error.rb
|
318
|
+
- lib/protobuf/rpc/rpc.pb.rb
|
319
|
+
- lib/protobuf/rpc/server.rb
|
320
|
+
- lib/protobuf/rpc/servers/evented/server.rb
|
321
|
+
- lib/protobuf/rpc/servers/evented_runner.rb
|
322
|
+
- lib/protobuf/rpc/servers/socket/server.rb
|
323
|
+
- lib/protobuf/rpc/servers/socket/worker.rb
|
324
|
+
- lib/protobuf/rpc/servers/socket_runner.rb
|
325
|
+
- lib/protobuf/rpc/servers/zmq/broker.rb
|
326
|
+
- lib/protobuf/rpc/servers/zmq/server.rb
|
327
|
+
- lib/protobuf/rpc/servers/zmq/util.rb
|
328
|
+
- lib/protobuf/rpc/servers/zmq/worker.rb
|
329
|
+
- lib/protobuf/rpc/servers/zmq_runner.rb
|
330
|
+
- lib/protobuf/rpc/service.rb
|
331
|
+
- lib/protobuf/rpc/service_dispatcher.rb
|
332
|
+
- lib/protobuf/rpc/service_filters.rb
|
333
|
+
- lib/protobuf/rpc/stat.rb
|
334
|
+
- lib/protobuf/socket.rb
|
335
|
+
- lib/protobuf/version.rb
|
336
|
+
- lib/protobuf/wire_type.rb
|
337
|
+
- lib/protobuf/zmq.rb
|
338
|
+
- proto/rpc.proto
|
339
|
+
- protobuf.gemspec
|
340
|
+
- spec/benchmark/tasks.rb
|
341
|
+
- spec/functional/embedded_service_spec.rb
|
342
|
+
- spec/functional/evented_server_spec.rb
|
343
|
+
- spec/functional/socket_server_spec.rb
|
344
|
+
- spec/functional/zmq_server_spec.rb
|
345
|
+
- spec/lib/protobuf/cli_spec.rb
|
346
|
+
- spec/lib/protobuf/enum_spec.rb
|
347
|
+
- spec/lib/protobuf/enum_value_spec.rb
|
348
|
+
- spec/lib/protobuf/field/int32_field_spec.rb
|
349
|
+
- spec/lib/protobuf/logger_spec.rb
|
350
|
+
- spec/lib/protobuf/message_spec.rb
|
351
|
+
- spec/lib/protobuf/rpc/client_spec.rb
|
352
|
+
- spec/lib/protobuf/rpc/connector_spec.rb
|
353
|
+
- spec/lib/protobuf/rpc/connectors/base_spec.rb
|
354
|
+
- spec/lib/protobuf/rpc/connectors/common_spec.rb
|
355
|
+
- spec/lib/protobuf/rpc/connectors/socket_spec.rb
|
356
|
+
- spec/lib/protobuf/rpc/connectors/zmq_spec.rb
|
357
|
+
- spec/lib/protobuf/rpc/servers/evented_server_spec.rb
|
358
|
+
- spec/lib/protobuf/rpc/servers/socket_server_spec.rb
|
359
|
+
- spec/lib/protobuf/rpc/servers/zmq/broker_spec.rb
|
360
|
+
- spec/lib/protobuf/rpc/servers/zmq/server_spec.rb
|
361
|
+
- spec/lib/protobuf/rpc/servers/zmq/util_spec.rb
|
362
|
+
- spec/lib/protobuf/rpc/servers/zmq/worker_spec.rb
|
363
|
+
- spec/lib/protobuf/rpc/service_dispatcher_spec.rb
|
364
|
+
- spec/lib/protobuf/rpc/service_filters_spec.rb
|
365
|
+
- spec/lib/protobuf/rpc/service_spec.rb
|
366
|
+
- spec/lib/protobuf_spec.rb
|
367
|
+
- spec/spec_helper.rb
|
368
|
+
- spec/support/all.rb
|
369
|
+
- spec/support/packed_field.rb
|
370
|
+
- spec/support/server.rb
|
371
|
+
- spec/support/test/enum.pb.rb
|
372
|
+
- spec/support/test/enum.proto
|
373
|
+
- spec/support/test/resource.pb.rb
|
374
|
+
- spec/support/test/resource.proto
|
375
|
+
- spec/support/test/resource_service.rb
|
376
|
+
- spec/support/test_app_file.rb
|
377
|
+
- spec/support/tolerance_matcher.rb
|
378
|
+
- test/data/data.bin
|
379
|
+
- test/data/data_source.py
|
380
|
+
- test/data/types.bin
|
381
|
+
- test/data/types_source.py
|
382
|
+
- test/data/unk.png
|
383
|
+
- test/proto/addressbook.pb.rb
|
384
|
+
- test/proto/addressbook.proto
|
385
|
+
- test/proto/addressbook_base.pb.rb
|
386
|
+
- test/proto/addressbook_base.proto
|
387
|
+
- test/proto/addressbook_ext.pb.rb
|
388
|
+
- test/proto/addressbook_ext.proto
|
389
|
+
- test/proto/collision.pb.rb
|
390
|
+
- test/proto/collision.proto
|
391
|
+
- test/proto/ext_collision.pb.rb
|
392
|
+
- test/proto/ext_collision.proto
|
393
|
+
- test/proto/ext_range.pb.rb
|
394
|
+
- test/proto/ext_range.proto
|
395
|
+
- test/proto/float_default.proto
|
396
|
+
- test/proto/lowercase.pb.rb
|
397
|
+
- test/proto/lowercase.proto
|
398
|
+
- test/proto/merge.pb.rb
|
399
|
+
- test/proto/merge.proto
|
400
|
+
- test/proto/nested.pb.rb
|
401
|
+
- test/proto/nested.proto
|
402
|
+
- test/proto/optional_field.pb.rb
|
403
|
+
- test/proto/optional_field.proto
|
404
|
+
- test/proto/packed.pb.rb
|
405
|
+
- test/proto/packed.proto
|
406
|
+
- test/proto/rpc.proto
|
407
|
+
- test/proto/types.pb.rb
|
408
|
+
- test/proto/types.proto
|
409
|
+
- test/test_addressbook.rb
|
410
|
+
- test/test_enum_value.rb
|
411
|
+
- test/test_extension.rb
|
412
|
+
- test/test_lowercase.rb
|
413
|
+
- test/test_message.rb
|
414
|
+
- test/test_optional_field.rb
|
415
|
+
- test/test_packed_field.rb
|
416
|
+
- test/test_parse.rb
|
417
|
+
- test/test_repeated_types.rb
|
418
|
+
- test/test_serialize.rb
|
419
|
+
- test/test_standard_message.rb
|
420
|
+
- test/test_types.rb
|
424
421
|
homepage: https://github.com/localshred/protobuf
|
425
422
|
licenses: []
|
426
|
-
|
427
|
-
post_install_message:
|
423
|
+
post_install_message:
|
428
424
|
rdoc_options: []
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
425
|
+
require_paths:
|
426
|
+
- lib
|
427
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
428
|
+
requirements:
|
429
|
+
- - ! '>='
|
430
|
+
- !ruby/object:Gem::Version
|
431
|
+
segments:
|
432
|
+
- 0
|
433
|
+
hash: 2
|
434
|
+
version: '0'
|
433
435
|
none: false
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
436
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
437
|
+
requirements:
|
438
|
+
- - ! '>='
|
439
|
+
- !ruby/object:Gem::Version
|
440
|
+
segments:
|
441
|
+
- 0
|
442
|
+
hash: 2
|
443
|
+
version: '0'
|
442
444
|
none: false
|
443
|
-
requirements:
|
444
|
-
- - ">="
|
445
|
-
- !ruby/object:Gem::Version
|
446
|
-
hash: 2
|
447
|
-
segments:
|
448
|
-
- 0
|
449
|
-
version: "0"
|
450
445
|
requirements: []
|
451
|
-
|
452
|
-
rubyforge_project:
|
446
|
+
rubyforge_project:
|
453
447
|
rubygems_version: 1.8.15
|
454
|
-
signing_key:
|
448
|
+
signing_key:
|
455
449
|
specification_version: 3
|
456
450
|
summary: Google Protocol Buffers v2.4.1 Serialization and RPC implementation for Ruby.
|
457
|
-
test_files:
|
458
|
-
|
459
|
-
|
451
|
+
test_files:
|
452
|
+
- spec/benchmark/tasks.rb
|
453
|
+
- spec/functional/embedded_service_spec.rb
|
454
|
+
- spec/functional/evented_server_spec.rb
|
455
|
+
- spec/functional/socket_server_spec.rb
|
456
|
+
- spec/functional/zmq_server_spec.rb
|
457
|
+
- spec/lib/protobuf/cli_spec.rb
|
458
|
+
- spec/lib/protobuf/enum_spec.rb
|
459
|
+
- spec/lib/protobuf/enum_value_spec.rb
|
460
|
+
- spec/lib/protobuf/field/int32_field_spec.rb
|
461
|
+
- spec/lib/protobuf/logger_spec.rb
|
462
|
+
- spec/lib/protobuf/message_spec.rb
|
463
|
+
- spec/lib/protobuf/rpc/client_spec.rb
|
464
|
+
- spec/lib/protobuf/rpc/connector_spec.rb
|
465
|
+
- spec/lib/protobuf/rpc/connectors/base_spec.rb
|
466
|
+
- spec/lib/protobuf/rpc/connectors/common_spec.rb
|
467
|
+
- spec/lib/protobuf/rpc/connectors/socket_spec.rb
|
468
|
+
- spec/lib/protobuf/rpc/connectors/zmq_spec.rb
|
469
|
+
- spec/lib/protobuf/rpc/servers/evented_server_spec.rb
|
470
|
+
- spec/lib/protobuf/rpc/servers/socket_server_spec.rb
|
471
|
+
- spec/lib/protobuf/rpc/servers/zmq/broker_spec.rb
|
472
|
+
- spec/lib/protobuf/rpc/servers/zmq/server_spec.rb
|
473
|
+
- spec/lib/protobuf/rpc/servers/zmq/util_spec.rb
|
474
|
+
- spec/lib/protobuf/rpc/servers/zmq/worker_spec.rb
|
475
|
+
- spec/lib/protobuf/rpc/service_dispatcher_spec.rb
|
476
|
+
- spec/lib/protobuf/rpc/service_filters_spec.rb
|
477
|
+
- spec/lib/protobuf/rpc/service_spec.rb
|
478
|
+
- spec/lib/protobuf_spec.rb
|
479
|
+
- spec/spec_helper.rb
|
480
|
+
- spec/support/all.rb
|
481
|
+
- spec/support/packed_field.rb
|
482
|
+
- spec/support/server.rb
|
483
|
+
- spec/support/test/enum.pb.rb
|
484
|
+
- spec/support/test/enum.proto
|
485
|
+
- spec/support/test/resource.pb.rb
|
486
|
+
- spec/support/test/resource.proto
|
487
|
+
- spec/support/test/resource_service.rb
|
488
|
+
- spec/support/test_app_file.rb
|
489
|
+
- spec/support/tolerance_matcher.rb
|
490
|
+
- test/data/data.bin
|
491
|
+
- test/data/data_source.py
|
492
|
+
- test/data/types.bin
|
493
|
+
- test/data/types_source.py
|
494
|
+
- test/data/unk.png
|
495
|
+
- test/proto/addressbook.pb.rb
|
496
|
+
- test/proto/addressbook.proto
|
497
|
+
- test/proto/addressbook_base.pb.rb
|
498
|
+
- test/proto/addressbook_base.proto
|
499
|
+
- test/proto/addressbook_ext.pb.rb
|
500
|
+
- test/proto/addressbook_ext.proto
|
501
|
+
- test/proto/collision.pb.rb
|
502
|
+
- test/proto/collision.proto
|
503
|
+
- test/proto/ext_collision.pb.rb
|
504
|
+
- test/proto/ext_collision.proto
|
505
|
+
- test/proto/ext_range.pb.rb
|
506
|
+
- test/proto/ext_range.proto
|
507
|
+
- test/proto/float_default.proto
|
508
|
+
- test/proto/lowercase.pb.rb
|
509
|
+
- test/proto/lowercase.proto
|
510
|
+
- test/proto/merge.pb.rb
|
511
|
+
- test/proto/merge.proto
|
512
|
+
- test/proto/nested.pb.rb
|
513
|
+
- test/proto/nested.proto
|
514
|
+
- test/proto/optional_field.pb.rb
|
515
|
+
- test/proto/optional_field.proto
|
516
|
+
- test/proto/packed.pb.rb
|
517
|
+
- test/proto/packed.proto
|
518
|
+
- test/proto/rpc.proto
|
519
|
+
- test/proto/types.pb.rb
|
520
|
+
- test/proto/types.proto
|
521
|
+
- test/test_addressbook.rb
|
522
|
+
- test/test_enum_value.rb
|
523
|
+
- test/test_extension.rb
|
524
|
+
- test/test_lowercase.rb
|
525
|
+
- test/test_message.rb
|
526
|
+
- test/test_optional_field.rb
|
527
|
+
- test/test_packed_field.rb
|
528
|
+
- test/test_parse.rb
|
529
|
+
- test/test_repeated_types.rb
|
530
|
+
- test/test_serialize.rb
|
531
|
+
- test/test_standard_message.rb
|
532
|
+
- test/test_types.rb
|
533
|
+
has_rdoc:
|
534
|
+
...
|