protobuf 3.5.5 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGES.md +16 -0
- data/lib/protobuf/cli.rb +3 -1
- data/lib/protobuf/enum.rb +1 -0
- data/lib/protobuf/field/base_field.rb +1 -0
- data/lib/protobuf/field/varint_field.rb +16 -1
- data/lib/protobuf/message.rb +6 -7
- data/lib/protobuf/message/serialization.rb +0 -4
- data/lib/protobuf/rpc/connectors/ping.rb +87 -0
- data/lib/protobuf/rpc/connectors/zmq.rb +5 -16
- data/lib/protobuf/version.rb +1 -1
- data/spec/benchmark/tasks.rb +2 -1
- data/spec/encoding/all_types_spec.rb +28 -27
- data/spec/encoding/extreme_values_spec.rb +0 -0
- data/spec/functional/class_inheritance_spec.rb +1 -1
- data/spec/functional/socket_server_spec.rb +1 -1
- data/spec/functional/zmq_server_spec.rb +1 -1
- data/spec/lib/protobuf/field_spec.rb +1 -1
- data/spec/lib/protobuf/generators/base_spec.rb +2 -0
- data/spec/lib/protobuf/message_spec.rb +6 -4
- data/spec/lib/protobuf/rpc/client_spec.rb +1 -1
- data/spec/lib/protobuf/rpc/connectors/ping_spec.rb +69 -0
- data/spec/lib/protobuf/rpc/connectors/zmq_spec.rb +6 -13
- data/spec/lib/protobuf/rpc/servers/socket_server_spec.rb +1 -1
- data/spec/lib/protobuf/rpc/service_spec.rb +1 -1
- data/spec/lib/protobuf_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -7
- data/spec/support/{test → protos}/all_types.data.bin +0 -0
- data/spec/support/{test → protos}/all_types.data.txt +0 -0
- data/spec/support/{test → protos}/enum.pb.rb +1 -1
- data/spec/support/{test → protos}/enum.proto +3 -1
- data/spec/support/{test → protos}/extreme_values.data.bin +0 -0
- data/spec/support/protos/google_unittest.bin +0 -0
- data/spec/support/{test → protos}/google_unittest.pb.rb +318 -77
- data/spec/support/{test → protos}/google_unittest.proto +230 -66
- data/spec/support/{test → protos}/google_unittest_import.pb.rb +13 -6
- data/spec/support/{test → protos}/google_unittest_import.proto +19 -10
- data/spec/support/protos/google_unittest_import_public.pb.rb +24 -0
- data/spec/support/{test → protos}/google_unittest_import_public.proto +8 -5
- data/spec/support/{test → protos}/multi_field_extensions.pb.rb +0 -0
- data/spec/support/{test → protos}/multi_field_extensions.proto +2 -0
- data/spec/support/{test → protos}/resource.pb.rb +0 -0
- data/spec/support/{test → protos}/resource.proto +2 -0
- data/spec/support/{test/resource_service.rb → resource_service.rb} +1 -1
- data/spec/support/server.rb +2 -1
- metadata +111 -160
- data/spec/data/data.bin +0 -3
- data/spec/data/types.bin +0 -0
- data/spec/support/test/defaults.pb.rb +0 -27
- data/spec/support/test/defaults.proto +0 -9
- data/spec/support/test/extended.pb.rb +0 -24
- data/spec/support/test/extended.proto +0 -10
- data/spec/support/test/google_unittest_import_public.pb.rb +0 -10
@@ -5,7 +5,13 @@
|
|
5
5
|
#
|
6
6
|
require 'protobuf/message'
|
7
7
|
|
8
|
-
|
8
|
+
|
9
|
+
##
|
10
|
+
# Imports
|
11
|
+
#
|
12
|
+
require 'protos/google_unittest_import_public.pb'
|
13
|
+
|
14
|
+
module Protobuf_unittest_import
|
9
15
|
|
10
16
|
##
|
11
17
|
# Enum Classes
|
@@ -16,21 +22,22 @@ module GoogleUnittestImport
|
|
16
22
|
define :IMPORT_BAZ, 9
|
17
23
|
end
|
18
24
|
|
25
|
+
class ImportEnumForMap < ::Protobuf::Enum
|
26
|
+
define :UNKNOWN, 0
|
27
|
+
define :FOO, 1
|
28
|
+
define :BAR, 2
|
29
|
+
end
|
30
|
+
|
19
31
|
|
20
32
|
##
|
21
33
|
# Message Classes
|
22
34
|
#
|
23
|
-
class PublicImportMessage < ::Protobuf::Message; end
|
24
35
|
class ImportMessage < ::Protobuf::Message; end
|
25
36
|
|
26
37
|
|
27
38
|
##
|
28
39
|
# Message Fields
|
29
40
|
#
|
30
|
-
class PublicImportMessage
|
31
|
-
optional :int32, :e, 1
|
32
|
-
end
|
33
|
-
|
34
41
|
class ImportMessage
|
35
42
|
optional :int32, :d, 1
|
36
43
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// Protocol Buffers - Google's data interchange format
|
2
2
|
// Copyright 2008 Google Inc. All rights reserved.
|
3
|
-
//
|
3
|
+
// https://developers.google.com/protocol-buffers/
|
4
4
|
//
|
5
5
|
// Redistribution and use in source and binary forms, with or without
|
6
6
|
// modification, are permitted provided that the following conditions are
|
@@ -34,23 +34,25 @@
|
|
34
34
|
//
|
35
35
|
// A proto file which is imported by unittest.proto to test importing.
|
36
36
|
|
37
|
+
syntax = "proto2";
|
37
38
|
|
38
39
|
// We don't put this in a package within proto2 because we need to make sure
|
39
40
|
// that the generated code doesn't depend on being in the proto2 namespace.
|
40
41
|
// In test_util.h we do
|
41
42
|
// "using namespace unittest_import = protobuf_unittest_import".
|
42
|
-
package
|
43
|
+
package protobuf_unittest_import;
|
43
44
|
|
44
|
-
|
45
|
-
|
46
|
-
// compiler
|
47
|
-
// import public "test/google_unittest_import_public.proto";
|
45
|
+
option optimize_for = SPEED;
|
46
|
+
option cc_enable_arenas = true;
|
48
47
|
|
49
|
-
|
50
|
-
|
51
|
-
|
48
|
+
// Exercise the java_package option.
|
49
|
+
option java_package = "com.google.protobuf.test";
|
50
|
+
|
51
|
+
// Do not set a java_outer_classname here to verify that Proto2 works without
|
52
|
+
// one.
|
52
53
|
|
53
|
-
|
54
|
+
// Test public import
|
55
|
+
import public "protos/google_unittest_import_public.proto";
|
54
56
|
|
55
57
|
message ImportMessage {
|
56
58
|
optional int32 d = 1;
|
@@ -62,3 +64,10 @@ enum ImportEnum {
|
|
62
64
|
IMPORT_BAZ = 9;
|
63
65
|
}
|
64
66
|
|
67
|
+
|
68
|
+
// To use an enum in a map, it must has the first value as 0.
|
69
|
+
enum ImportEnumForMap {
|
70
|
+
UNKNOWN = 0;
|
71
|
+
FOO = 1;
|
72
|
+
BAR = 2;
|
73
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
##
|
4
|
+
# This file is auto-generated. DO NOT EDIT!
|
5
|
+
#
|
6
|
+
require 'protobuf/message'
|
7
|
+
|
8
|
+
module Protobuf_unittest_import
|
9
|
+
|
10
|
+
##
|
11
|
+
# Message Classes
|
12
|
+
#
|
13
|
+
class PublicImportMessage < ::Protobuf::Message; end
|
14
|
+
|
15
|
+
|
16
|
+
##
|
17
|
+
# Message Fields
|
18
|
+
#
|
19
|
+
class PublicImportMessage
|
20
|
+
optional :int32, :e, 1
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// Protocol Buffers - Google's data interchange format
|
2
2
|
// Copyright 2008 Google Inc. All rights reserved.
|
3
|
-
//
|
3
|
+
// https://developers.google.com/protocol-buffers/
|
4
4
|
//
|
5
5
|
// Redistribution and use in source and binary forms, with or without
|
6
6
|
// modification, are permitted provided that the following conditions are
|
@@ -30,9 +30,12 @@
|
|
30
30
|
|
31
31
|
// Author: liujisi@google.com (Pherl Liu)
|
32
32
|
|
33
|
+
syntax = "proto2";
|
33
34
|
|
34
|
-
package
|
35
|
+
package protobuf_unittest_import;
|
35
36
|
|
36
|
-
|
37
|
-
|
38
|
-
|
37
|
+
option java_package = "com.google.protobuf.test";
|
38
|
+
|
39
|
+
message PublicImportMessage {
|
40
|
+
optional int32 e = 1;
|
41
|
+
}
|
File without changes
|
File without changes
|
data/spec/support/server.rb
CHANGED
@@ -2,13 +2,14 @@ require 'ostruct'
|
|
2
2
|
|
3
3
|
require 'active_support/core_ext/hash/reverse_merge'
|
4
4
|
|
5
|
+
require 'spec_helper'
|
5
6
|
require 'protobuf/logging'
|
6
7
|
require 'protobuf/rpc/server'
|
7
8
|
require 'protobuf/rpc/servers/socket/server'
|
8
9
|
require 'protobuf/rpc/servers/socket_runner'
|
9
10
|
require 'protobuf/rpc/servers/zmq/server'
|
10
11
|
require 'protobuf/rpc/servers/zmq_runner'
|
11
|
-
require '
|
12
|
+
require SUPPORT_PATH.join('resource_service')
|
12
13
|
|
13
14
|
# Want to abort if server dies?
|
14
15
|
Thread.abort_on_exception = true
|
metadata
CHANGED
@@ -1,228 +1,186 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
8
8
|
- Brandon Dewitt
|
9
9
|
- Devin Christensen
|
10
10
|
- Adam Hutchison
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2016-01-31 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
18
|
-
requirement: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3.2'
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
18
|
version_requirements: !ruby/object:Gem::Requirement
|
26
19
|
requirements:
|
27
|
-
- -
|
20
|
+
- - '>='
|
28
21
|
- !ruby/object:Gem::Version
|
29
22
|
version: '3.2'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: middleware
|
32
23
|
requirement: !ruby/object:Gem::Requirement
|
33
24
|
requirements:
|
34
|
-
- -
|
25
|
+
- - '>='
|
35
26
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
37
|
-
type: :runtime
|
27
|
+
version: '3.2'
|
38
28
|
prerelease: false
|
29
|
+
type: :runtime
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: middleware
|
39
32
|
version_requirements: !ruby/object:Gem::Requirement
|
40
33
|
requirements:
|
41
|
-
- -
|
34
|
+
- - '>='
|
42
35
|
- !ruby/object:Gem::Version
|
43
36
|
version: '0'
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: thor
|
46
37
|
requirement: !ruby/object:Gem::Requirement
|
47
38
|
requirements:
|
48
|
-
- -
|
39
|
+
- - '>='
|
49
40
|
- !ruby/object:Gem::Version
|
50
41
|
version: '0'
|
51
|
-
type: :runtime
|
52
42
|
prerelease: false
|
43
|
+
type: :runtime
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: thor
|
53
46
|
version_requirements: !ruby/object:Gem::Requirement
|
54
47
|
requirements:
|
55
|
-
- -
|
48
|
+
- - '>='
|
56
49
|
- !ruby/object:Gem::Version
|
57
50
|
version: '0'
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: thread_safe
|
60
51
|
requirement: !ruby/object:Gem::Requirement
|
61
52
|
requirements:
|
62
|
-
- -
|
53
|
+
- - '>='
|
63
54
|
- !ruby/object:Gem::Version
|
64
55
|
version: '0'
|
65
|
-
type: :runtime
|
66
56
|
prerelease: false
|
57
|
+
type: :runtime
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: thread_safe
|
67
60
|
version_requirements: !ruby/object:Gem::Requirement
|
68
61
|
requirements:
|
69
|
-
- -
|
62
|
+
- - '>='
|
70
63
|
- !ruby/object:Gem::Version
|
71
64
|
version: '0'
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: ffi-rzmq
|
74
65
|
requirement: !ruby/object:Gem::Requirement
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '0'
|
79
|
-
type: :development
|
80
70
|
prerelease: false
|
71
|
+
type: :runtime
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: ffi-rzmq
|
81
74
|
version_requirements: !ruby/object:Gem::Requirement
|
82
75
|
requirements:
|
83
|
-
- -
|
76
|
+
- - '>='
|
84
77
|
- !ruby/object:Gem::Version
|
85
78
|
version: '0'
|
86
|
-
- !ruby/object:Gem::Dependency
|
87
|
-
name: rake
|
88
79
|
requirement: !ruby/object:Gem::Requirement
|
89
80
|
requirements:
|
90
|
-
- -
|
81
|
+
- - '>='
|
91
82
|
- !ruby/object:Gem::Version
|
92
83
|
version: '0'
|
93
|
-
type: :development
|
94
84
|
prerelease: false
|
85
|
+
type: :development
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: rake
|
95
88
|
version_requirements: !ruby/object:Gem::Requirement
|
96
89
|
requirements:
|
97
|
-
- -
|
90
|
+
- - '>='
|
98
91
|
- !ruby/object:Gem::Version
|
99
92
|
version: '0'
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
name: rspec
|
102
93
|
requirement: !ruby/object:Gem::Requirement
|
103
94
|
requirements:
|
104
|
-
- -
|
95
|
+
- - '>='
|
105
96
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
107
|
-
type: :development
|
97
|
+
version: '0'
|
108
98
|
prerelease: false
|
99
|
+
type: :development
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: rspec
|
109
102
|
version_requirements: !ruby/object:Gem::Requirement
|
110
103
|
requirements:
|
111
|
-
- -
|
104
|
+
- - '>='
|
112
105
|
- !ruby/object:Gem::Version
|
113
106
|
version: '3.0'
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: rubocop
|
116
107
|
requirement: !ruby/object:Gem::Requirement
|
117
108
|
requirements:
|
118
|
-
- - '
|
109
|
+
- - '>='
|
119
110
|
- !ruby/object:Gem::Version
|
120
|
-
version: 0
|
121
|
-
type: :development
|
111
|
+
version: '3.0'
|
122
112
|
prerelease: false
|
113
|
+
type: :development
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rubocop
|
123
116
|
version_requirements: !ruby/object:Gem::Requirement
|
124
117
|
requirements:
|
125
118
|
- - '='
|
126
119
|
- !ruby/object:Gem::Version
|
127
120
|
version: 0.34.2
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: simplecov
|
130
121
|
requirement: !ruby/object:Gem::Requirement
|
131
122
|
requirements:
|
132
|
-
- -
|
123
|
+
- - '='
|
133
124
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
135
|
-
type: :development
|
125
|
+
version: 0.34.2
|
136
126
|
prerelease: false
|
137
|
-
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - ">="
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: timecop
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
requirements:
|
146
|
-
- - ">="
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: '0'
|
149
127
|
type: :development
|
150
|
-
prerelease: false
|
151
|
-
version_requirements: !ruby/object:Gem::Requirement
|
152
|
-
requirements:
|
153
|
-
- - ">="
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '0'
|
156
128
|
- !ruby/object:Gem::Dependency
|
157
|
-
name:
|
158
|
-
requirement: !ruby/object:Gem::Requirement
|
159
|
-
requirements:
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: '0'
|
163
|
-
type: :development
|
164
|
-
prerelease: false
|
129
|
+
name: simplecov
|
165
130
|
version_requirements: !ruby/object:Gem::Requirement
|
166
131
|
requirements:
|
167
|
-
- -
|
132
|
+
- - '>='
|
168
133
|
- !ruby/object:Gem::Version
|
169
134
|
version: '0'
|
170
|
-
- !ruby/object:Gem::Dependency
|
171
|
-
name: pry-byebug
|
172
135
|
requirement: !ruby/object:Gem::Requirement
|
173
136
|
requirements:
|
174
|
-
- -
|
137
|
+
- - '>='
|
175
138
|
- !ruby/object:Gem::Version
|
176
139
|
version: '0'
|
177
|
-
type: :development
|
178
140
|
prerelease: false
|
141
|
+
type: :development
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: timecop
|
179
144
|
version_requirements: !ruby/object:Gem::Requirement
|
180
145
|
requirements:
|
181
|
-
- -
|
146
|
+
- - '>='
|
182
147
|
- !ruby/object:Gem::Version
|
183
148
|
version: '0'
|
184
|
-
- !ruby/object:Gem::Dependency
|
185
|
-
name: pry-stack_explorer
|
186
149
|
requirement: !ruby/object:Gem::Requirement
|
187
150
|
requirements:
|
188
|
-
- -
|
151
|
+
- - '>='
|
189
152
|
- !ruby/object:Gem::Version
|
190
153
|
version: '0'
|
191
|
-
type: :development
|
192
154
|
prerelease: false
|
155
|
+
type: :development
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: yard
|
193
158
|
version_requirements: !ruby/object:Gem::Requirement
|
194
159
|
requirements:
|
195
|
-
- -
|
160
|
+
- - '>='
|
196
161
|
- !ruby/object:Gem::Version
|
197
162
|
version: '0'
|
198
|
-
- !ruby/object:Gem::Dependency
|
199
|
-
name: varint
|
200
163
|
requirement: !ruby/object:Gem::Requirement
|
201
164
|
requirements:
|
202
|
-
- -
|
165
|
+
- - '>='
|
203
166
|
- !ruby/object:Gem::Version
|
204
167
|
version: '0'
|
205
|
-
type: :development
|
206
168
|
prerelease: false
|
169
|
+
type: :development
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: pry
|
207
172
|
version_requirements: !ruby/object:Gem::Requirement
|
208
173
|
requirements:
|
209
|
-
- -
|
174
|
+
- - '>='
|
210
175
|
- !ruby/object:Gem::Version
|
211
176
|
version: '0'
|
212
|
-
- !ruby/object:Gem::Dependency
|
213
|
-
name: ruby-prof
|
214
177
|
requirement: !ruby/object:Gem::Requirement
|
215
178
|
requirements:
|
216
|
-
- -
|
179
|
+
- - '>='
|
217
180
|
- !ruby/object:Gem::Version
|
218
181
|
version: '0'
|
219
|
-
type: :development
|
220
182
|
prerelease: false
|
221
|
-
|
222
|
-
requirements:
|
223
|
-
- - ">="
|
224
|
-
- !ruby/object:Gem::Version
|
225
|
-
version: '0'
|
183
|
+
type: :development
|
226
184
|
description: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
227
185
|
email:
|
228
186
|
- bj.neilsen+protobuf@gmail.com
|
@@ -235,11 +193,11 @@ executables:
|
|
235
193
|
extensions: []
|
236
194
|
extra_rdoc_files: []
|
237
195
|
files:
|
238
|
-
-
|
239
|
-
-
|
240
|
-
-
|
241
|
-
-
|
242
|
-
-
|
196
|
+
- .gitignore
|
197
|
+
- .rubocop.yml
|
198
|
+
- .rubocop_todo.yml
|
199
|
+
- .travis.yml
|
200
|
+
- .yardopts
|
243
201
|
- CHANGES.md
|
244
202
|
- CONTRIBUTING.md
|
245
203
|
- Gemfile
|
@@ -303,6 +261,7 @@ files:
|
|
303
261
|
- lib/protobuf/rpc/connector.rb
|
304
262
|
- lib/protobuf/rpc/connectors/base.rb
|
305
263
|
- lib/protobuf/rpc/connectors/common.rb
|
264
|
+
- lib/protobuf/rpc/connectors/ping.rb
|
306
265
|
- lib/protobuf/rpc/connectors/socket.rb
|
307
266
|
- lib/protobuf/rpc/connectors/zmq.rb
|
308
267
|
- lib/protobuf/rpc/dynamic_discovery.pb.rb
|
@@ -346,8 +305,6 @@ files:
|
|
346
305
|
- protobuf.gemspec
|
347
306
|
- spec/benchmark/tasks.rb
|
348
307
|
- spec/bin/protoc-gen-ruby_spec.rb
|
349
|
-
- spec/data/data.bin
|
350
|
-
- spec/data/types.bin
|
351
308
|
- spec/encoding/all_types_spec.rb
|
352
309
|
- spec/encoding/extreme_values_spec.rb
|
353
310
|
- spec/functional/class_inheritance_spec.rb
|
@@ -376,6 +333,7 @@ files:
|
|
376
333
|
- spec/lib/protobuf/rpc/connector_spec.rb
|
377
334
|
- spec/lib/protobuf/rpc/connectors/base_spec.rb
|
378
335
|
- spec/lib/protobuf/rpc/connectors/common_spec.rb
|
336
|
+
- spec/lib/protobuf/rpc/connectors/ping_spec.rb
|
379
337
|
- spec/lib/protobuf/rpc/connectors/socket_spec.rb
|
380
338
|
- spec/lib/protobuf/rpc/connectors/zmq_spec.rb
|
381
339
|
- spec/lib/protobuf/rpc/middleware/exception_handler_spec.rb
|
@@ -396,57 +354,52 @@ files:
|
|
396
354
|
- spec/spec_helper.rb
|
397
355
|
- spec/support/all.rb
|
398
356
|
- spec/support/packed_field.rb
|
357
|
+
- spec/support/protos/all_types.data.bin
|
358
|
+
- spec/support/protos/all_types.data.txt
|
359
|
+
- spec/support/protos/enum.pb.rb
|
360
|
+
- spec/support/protos/enum.proto
|
361
|
+
- spec/support/protos/extreme_values.data.bin
|
362
|
+
- spec/support/protos/google_unittest.bin
|
363
|
+
- spec/support/protos/google_unittest.pb.rb
|
364
|
+
- spec/support/protos/google_unittest.proto
|
365
|
+
- spec/support/protos/google_unittest_import.pb.rb
|
366
|
+
- spec/support/protos/google_unittest_import.proto
|
367
|
+
- spec/support/protos/google_unittest_import_public.pb.rb
|
368
|
+
- spec/support/protos/google_unittest_import_public.proto
|
369
|
+
- spec/support/protos/multi_field_extensions.pb.rb
|
370
|
+
- spec/support/protos/multi_field_extensions.proto
|
371
|
+
- spec/support/protos/resource.pb.rb
|
372
|
+
- spec/support/protos/resource.proto
|
373
|
+
- spec/support/resource_service.rb
|
399
374
|
- spec/support/server.rb
|
400
|
-
- spec/support/test/all_types.data.bin
|
401
|
-
- spec/support/test/all_types.data.txt
|
402
|
-
- spec/support/test/defaults.pb.rb
|
403
|
-
- spec/support/test/defaults.proto
|
404
|
-
- spec/support/test/enum.pb.rb
|
405
|
-
- spec/support/test/enum.proto
|
406
|
-
- spec/support/test/extended.pb.rb
|
407
|
-
- spec/support/test/extended.proto
|
408
|
-
- spec/support/test/extreme_values.data.bin
|
409
|
-
- spec/support/test/google_unittest.pb.rb
|
410
|
-
- spec/support/test/google_unittest.proto
|
411
|
-
- spec/support/test/google_unittest_import.pb.rb
|
412
|
-
- spec/support/test/google_unittest_import.proto
|
413
|
-
- spec/support/test/google_unittest_import_public.pb.rb
|
414
|
-
- spec/support/test/google_unittest_import_public.proto
|
415
|
-
- spec/support/test/multi_field_extensions.pb.rb
|
416
|
-
- spec/support/test/multi_field_extensions.proto
|
417
|
-
- spec/support/test/resource.pb.rb
|
418
|
-
- spec/support/test/resource.proto
|
419
|
-
- spec/support/test/resource_service.rb
|
420
375
|
- spec/support/test_app_file.rb
|
421
376
|
homepage: https://github.com/localshred/protobuf
|
422
377
|
licenses:
|
423
378
|
- MIT
|
424
379
|
metadata: {}
|
425
|
-
post_install_message:
|
380
|
+
post_install_message:
|
426
381
|
rdoc_options: []
|
427
382
|
require_paths:
|
428
383
|
- lib
|
429
384
|
required_ruby_version: !ruby/object:Gem::Requirement
|
430
385
|
requirements:
|
431
|
-
- -
|
386
|
+
- - '>='
|
432
387
|
- !ruby/object:Gem::Version
|
433
388
|
version: '0'
|
434
389
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
435
390
|
requirements:
|
436
|
-
- -
|
391
|
+
- - '>='
|
437
392
|
- !ruby/object:Gem::Version
|
438
393
|
version: '0'
|
439
394
|
requirements: []
|
440
|
-
rubyforge_project:
|
441
|
-
rubygems_version: 2.
|
442
|
-
signing_key:
|
395
|
+
rubyforge_project:
|
396
|
+
rubygems_version: 2.1.9
|
397
|
+
signing_key:
|
443
398
|
specification_version: 4
|
444
399
|
summary: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
445
400
|
test_files:
|
446
401
|
- spec/benchmark/tasks.rb
|
447
402
|
- spec/bin/protoc-gen-ruby_spec.rb
|
448
|
-
- spec/data/data.bin
|
449
|
-
- spec/data/types.bin
|
450
403
|
- spec/encoding/all_types_spec.rb
|
451
404
|
- spec/encoding/extreme_values_spec.rb
|
452
405
|
- spec/functional/class_inheritance_spec.rb
|
@@ -475,6 +428,7 @@ test_files:
|
|
475
428
|
- spec/lib/protobuf/rpc/connector_spec.rb
|
476
429
|
- spec/lib/protobuf/rpc/connectors/base_spec.rb
|
477
430
|
- spec/lib/protobuf/rpc/connectors/common_spec.rb
|
431
|
+
- spec/lib/protobuf/rpc/connectors/ping_spec.rb
|
478
432
|
- spec/lib/protobuf/rpc/connectors/socket_spec.rb
|
479
433
|
- spec/lib/protobuf/rpc/connectors/zmq_spec.rb
|
480
434
|
- spec/lib/protobuf/rpc/middleware/exception_handler_spec.rb
|
@@ -495,26 +449,23 @@ test_files:
|
|
495
449
|
- spec/spec_helper.rb
|
496
450
|
- spec/support/all.rb
|
497
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
|
498
469
|
- spec/support/server.rb
|
499
|
-
- spec/support/test/all_types.data.bin
|
500
|
-
- spec/support/test/all_types.data.txt
|
501
|
-
- spec/support/test/defaults.pb.rb
|
502
|
-
- spec/support/test/defaults.proto
|
503
|
-
- spec/support/test/enum.pb.rb
|
504
|
-
- spec/support/test/enum.proto
|
505
|
-
- spec/support/test/extended.pb.rb
|
506
|
-
- spec/support/test/extended.proto
|
507
|
-
- spec/support/test/extreme_values.data.bin
|
508
|
-
- spec/support/test/google_unittest.pb.rb
|
509
|
-
- spec/support/test/google_unittest.proto
|
510
|
-
- spec/support/test/google_unittest_import.pb.rb
|
511
|
-
- spec/support/test/google_unittest_import.proto
|
512
|
-
- spec/support/test/google_unittest_import_public.pb.rb
|
513
|
-
- spec/support/test/google_unittest_import_public.proto
|
514
|
-
- spec/support/test/multi_field_extensions.pb.rb
|
515
|
-
- spec/support/test/multi_field_extensions.proto
|
516
|
-
- spec/support/test/resource.pb.rb
|
517
|
-
- spec/support/test/resource.proto
|
518
|
-
- spec/support/test/resource_service.rb
|
519
470
|
- spec/support/test_app_file.rb
|
520
|
-
has_rdoc:
|
471
|
+
has_rdoc:
|