protobuf 3.4.3 → 3.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/protobuf/message/fields.rb +91 -77
- data/lib/protobuf/version.rb +1 -1
- data/spec/functional/class_inheritance_spec.rb +52 -0
- metadata +114 -78
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8039705f02dc03d0ecc6415c8a6ef2d7114b96c5
|
4
|
+
data.tar.gz: 1978cec9ab539484b2d299c5a109e78af267c7fe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6d0c733b3656fe080337232cdfbf68b996541add9206b1f621bbb6cd6df8d116296ceded1d797c1e3743314dd8b7f27761c8882d7e66c64427600990e26ba5ef
|
7
|
+
data.tar.gz: a44e9cff6f284880bcfaf6aaa29cc5dc12d16a35e5808e45a3a6510fb34db23ca8e76d0187fa3d1acbc2ea8593115b3b3d1dbdc7d755c04384607ac26ef28b40
|
@@ -3,6 +3,7 @@ module Protobuf
|
|
3
3
|
module Fields
|
4
4
|
|
5
5
|
def self.extended(other)
|
6
|
+
other.extend(ClassMethods)
|
6
7
|
::Protobuf.deprecator.define_deprecated_methods(
|
7
8
|
other.singleton_class,
|
8
9
|
:get_ext_field_by_name => :get_extension_field,
|
@@ -10,110 +11,123 @@ module Protobuf
|
|
10
11
|
:get_field_by_name => :get_field,
|
11
12
|
:get_field_by_tag => :get_field,
|
12
13
|
)
|
14
|
+
|
15
|
+
def inherited(subclass)
|
16
|
+
inherit_fields!(subclass)
|
17
|
+
end
|
13
18
|
end
|
14
19
|
|
15
|
-
|
16
|
-
# Field Definition Methods
|
17
|
-
#
|
20
|
+
module ClassMethods
|
18
21
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
define_field(:optional, type_class, name, tag, options)
|
23
|
-
end
|
22
|
+
##
|
23
|
+
# Field Definition Methods
|
24
|
+
#
|
24
25
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
# Define an optional field.
|
27
|
+
#
|
28
|
+
def optional(type_class, name, tag, options = {})
|
29
|
+
define_field(:optional, type_class, name, tag, options)
|
30
|
+
end
|
30
31
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
# Define a repeated field.
|
33
|
+
#
|
34
|
+
def repeated(type_class, name, tag, options = {})
|
35
|
+
define_field(:repeated, type_class, name, tag, options)
|
36
|
+
end
|
36
37
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
# Define a required field.
|
39
|
+
#
|
40
|
+
def required(type_class, name, tag, options = {})
|
41
|
+
define_field(:required, type_class, name, tag, options)
|
42
|
+
end
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
# Define an extension range.
|
45
|
+
#
|
46
|
+
def extensions(range)
|
47
|
+
extension_ranges << range
|
48
|
+
end
|
46
49
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
+
##
|
51
|
+
# Field Access Methods
|
52
|
+
#
|
53
|
+
def all_fields
|
54
|
+
@all_fields ||= field_store.values.uniq.sort_by(&:tag)
|
55
|
+
end
|
50
56
|
|
51
|
-
|
52
|
-
|
53
|
-
|
57
|
+
def extension_fields
|
58
|
+
@extension_fields ||= all_fields.select(&:extension?)
|
59
|
+
end
|
54
60
|
|
55
|
-
|
56
|
-
|
57
|
-
|
61
|
+
def extension_ranges
|
62
|
+
@extension_ranges ||= []
|
63
|
+
end
|
58
64
|
|
59
|
-
|
60
|
-
|
61
|
-
|
65
|
+
def extension_tag?(tag)
|
66
|
+
tag.respond_to?(:to_i) && get_extension_field(tag).present?
|
67
|
+
end
|
62
68
|
|
63
|
-
|
64
|
-
|
65
|
-
|
69
|
+
def field_store
|
70
|
+
@field_store ||= {}
|
71
|
+
end
|
66
72
|
|
67
|
-
|
68
|
-
|
69
|
-
|
73
|
+
def fields
|
74
|
+
@fields ||= all_fields.reject(&:extension?)
|
75
|
+
end
|
70
76
|
|
71
|
-
|
72
|
-
|
73
|
-
|
77
|
+
def field_tag?(tag, allow_extension = false)
|
78
|
+
tag.respond_to?(:to_i) && get_field(tag, allow_extension).present?
|
79
|
+
end
|
74
80
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
81
|
+
def get_extension_field(name_or_tag)
|
82
|
+
name_or_tag = name_or_tag.to_sym if name_or_tag.respond_to?(:to_sym)
|
83
|
+
field = field_store[name_or_tag]
|
84
|
+
field if field.try(:extension?) { false }
|
85
|
+
end
|
80
86
|
|
81
|
-
|
82
|
-
|
83
|
-
|
87
|
+
def get_field(name_or_tag, allow_extension = false)
|
88
|
+
name_or_tag = name_or_tag.to_sym if name_or_tag.respond_to?(:to_sym)
|
89
|
+
field = field_store[name_or_tag]
|
84
90
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
91
|
+
if field && (allow_extension || !field.extension?)
|
92
|
+
field
|
93
|
+
else
|
94
|
+
nil
|
95
|
+
end
|
89
96
|
end
|
90
|
-
end
|
91
97
|
|
92
|
-
|
93
|
-
|
94
|
-
|
98
|
+
def define_field(rule, type_class, field_name, tag, options)
|
99
|
+
raise_if_tag_collision(tag, field_name)
|
100
|
+
raise_if_name_collision(field_name)
|
95
101
|
|
96
|
-
|
97
|
-
|
98
|
-
|
102
|
+
field = ::Protobuf::Field.build(self, rule, type_class, field_name, tag, options)
|
103
|
+
field_store[field_name] = field
|
104
|
+
field_store[tag] = field
|
99
105
|
|
100
|
-
|
101
|
-
|
106
|
+
define_method("#{field_name}!") do
|
107
|
+
@values[field_name]
|
108
|
+
end
|
102
109
|
end
|
103
|
-
end
|
104
110
|
|
105
|
-
|
106
|
-
|
107
|
-
|
111
|
+
def raise_if_tag_collision(tag, field_name)
|
112
|
+
if get_field(tag, true)
|
113
|
+
fail TagCollisionError, %(Field number #{tag} has already been used in "#{name}" by field "#{field_name}".)
|
114
|
+
end
|
108
115
|
end
|
109
|
-
end
|
110
116
|
|
111
|
-
|
112
|
-
|
113
|
-
|
117
|
+
def raise_if_name_collision(field_name)
|
118
|
+
if get_field(field_name, true)
|
119
|
+
fail DuplicateFieldNameError, %(Field name #{field_name} has already been used in "#{name}".)
|
120
|
+
end
|
114
121
|
end
|
115
|
-
end
|
116
122
|
|
123
|
+
def inherit_fields!(subclass)
|
124
|
+
instance_variables.each do |iv|
|
125
|
+
subclass.instance_variable_set(iv, instance_variable_get(iv))
|
126
|
+
end
|
127
|
+
end
|
128
|
+
private :inherit_fields!
|
129
|
+
|
130
|
+
end
|
117
131
|
end
|
118
132
|
end
|
119
133
|
end
|
data/lib/protobuf/version.rb
CHANGED
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'spec/support/test/resource_service'
|
3
|
+
|
4
|
+
RSpec.describe 'works through class inheritance' do
|
5
|
+
module Corp
|
6
|
+
module Protobuf
|
7
|
+
class Error < ::Protobuf::Message
|
8
|
+
required :string, :foo, 1
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
module Corp
|
13
|
+
class ErrorHandler < Corp::Protobuf::Error
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
let(:args) { { :foo => 'bar' } }
|
18
|
+
let(:parent_class) { Corp::Protobuf::Error }
|
19
|
+
let(:inherited_class) { Corp::ErrorHandler }
|
20
|
+
|
21
|
+
specify '#encode' do
|
22
|
+
expected_result = "\n\x03bar"
|
23
|
+
expected_result.force_encoding(Encoding::BINARY)
|
24
|
+
expect(parent_class.new(args).encode).to eq(expected_result)
|
25
|
+
expect(inherited_class.new(args).encode).to eq(expected_result)
|
26
|
+
end
|
27
|
+
|
28
|
+
specify '#to_hash' do
|
29
|
+
expect(parent_class.new(args).to_hash).to eq(args)
|
30
|
+
expect(inherited_class.new(args).to_hash).to eq(args)
|
31
|
+
end
|
32
|
+
|
33
|
+
specify '#to_json' do
|
34
|
+
expect(parent_class.new(args).to_json).to eq(args.to_json)
|
35
|
+
expect(inherited_class.new(args).to_json).to eq(args.to_json)
|
36
|
+
end
|
37
|
+
|
38
|
+
specify '.encode' do
|
39
|
+
expected_result = "\n\x03bar"
|
40
|
+
expected_result.force_encoding(Encoding::BINARY)
|
41
|
+
expect(parent_class.encode(args)).to eq(expected_result)
|
42
|
+
expect(inherited_class.encode(args)).to eq(expected_result)
|
43
|
+
end
|
44
|
+
|
45
|
+
specify '.decode' do
|
46
|
+
raw_value = "\n\x03bar"
|
47
|
+
raw_value.force_encoding(Encoding::BINARY)
|
48
|
+
expect(parent_class.decode(raw_value).to_hash).to eq(args)
|
49
|
+
expect(inherited_class.decode(raw_value).to_hash).to eq(args)
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
5
|
-
prerelease:
|
4
|
+
version: 3.4.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- BJ Neilsen
|
@@ -12,230 +11,202 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date: 2015-
|
14
|
+
date: 2015-02-17 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: activesupport
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
|
-
- -
|
20
|
+
- - ">="
|
23
21
|
- !ruby/object:Gem::Version
|
24
22
|
version: '3.2'
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
|
-
- -
|
27
|
+
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '3.2'
|
33
30
|
- !ruby/object:Gem::Dependency
|
34
31
|
name: middleware
|
35
32
|
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
33
|
requirements:
|
38
|
-
- -
|
34
|
+
- - ">="
|
39
35
|
- !ruby/object:Gem::Version
|
40
36
|
version: '0'
|
41
37
|
type: :runtime
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
|
-
- -
|
41
|
+
- - ">="
|
47
42
|
- !ruby/object:Gem::Version
|
48
43
|
version: '0'
|
49
44
|
- !ruby/object:Gem::Dependency
|
50
45
|
name: thor
|
51
46
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
47
|
requirements:
|
54
|
-
- -
|
48
|
+
- - ">="
|
55
49
|
- !ruby/object:Gem::Version
|
56
50
|
version: '0'
|
57
51
|
type: :runtime
|
58
52
|
prerelease: false
|
59
53
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
54
|
requirements:
|
62
|
-
- -
|
55
|
+
- - ">="
|
63
56
|
- !ruby/object:Gem::Version
|
64
57
|
version: '0'
|
65
58
|
- !ruby/object:Gem::Dependency
|
66
59
|
name: thread_safe
|
67
60
|
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
61
|
requirements:
|
70
|
-
- -
|
62
|
+
- - ">="
|
71
63
|
- !ruby/object:Gem::Version
|
72
64
|
version: '0'
|
73
65
|
type: :runtime
|
74
66
|
prerelease: false
|
75
67
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
68
|
requirements:
|
78
|
-
- -
|
69
|
+
- - ">="
|
79
70
|
- !ruby/object:Gem::Version
|
80
71
|
version: '0'
|
81
72
|
- !ruby/object:Gem::Dependency
|
82
73
|
name: ffi-rzmq
|
83
74
|
requirement: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
75
|
requirements:
|
86
|
-
- -
|
76
|
+
- - ">="
|
87
77
|
- !ruby/object:Gem::Version
|
88
78
|
version: '0'
|
89
79
|
type: :development
|
90
80
|
prerelease: false
|
91
81
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
82
|
requirements:
|
94
|
-
- -
|
83
|
+
- - ">="
|
95
84
|
- !ruby/object:Gem::Version
|
96
85
|
version: '0'
|
97
86
|
- !ruby/object:Gem::Dependency
|
98
87
|
name: rake
|
99
88
|
requirement: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
89
|
requirements:
|
102
|
-
- -
|
90
|
+
- - ">="
|
103
91
|
- !ruby/object:Gem::Version
|
104
92
|
version: '0'
|
105
93
|
type: :development
|
106
94
|
prerelease: false
|
107
95
|
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
96
|
requirements:
|
110
|
-
- -
|
97
|
+
- - ">="
|
111
98
|
- !ruby/object:Gem::Version
|
112
99
|
version: '0'
|
113
100
|
- !ruby/object:Gem::Dependency
|
114
101
|
name: rspec
|
115
102
|
requirement: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
103
|
requirements:
|
118
|
-
- -
|
104
|
+
- - ">="
|
119
105
|
- !ruby/object:Gem::Version
|
120
106
|
version: '3.0'
|
121
107
|
type: :development
|
122
108
|
prerelease: false
|
123
109
|
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
110
|
requirements:
|
126
|
-
- -
|
111
|
+
- - ">="
|
127
112
|
- !ruby/object:Gem::Version
|
128
113
|
version: '3.0'
|
129
114
|
- !ruby/object:Gem::Dependency
|
130
115
|
name: rubocop
|
131
116
|
requirement: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
117
|
requirements:
|
134
|
-
- -
|
118
|
+
- - ">="
|
135
119
|
- !ruby/object:Gem::Version
|
136
120
|
version: '0'
|
137
121
|
type: :development
|
138
122
|
prerelease: false
|
139
123
|
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
124
|
requirements:
|
142
|
-
- -
|
125
|
+
- - ">="
|
143
126
|
- !ruby/object:Gem::Version
|
144
127
|
version: '0'
|
145
128
|
- !ruby/object:Gem::Dependency
|
146
129
|
name: simplecov
|
147
130
|
requirement: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
131
|
requirements:
|
150
|
-
- -
|
132
|
+
- - ">="
|
151
133
|
- !ruby/object:Gem::Version
|
152
134
|
version: '0'
|
153
135
|
type: :development
|
154
136
|
prerelease: false
|
155
137
|
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
138
|
requirements:
|
158
|
-
- -
|
139
|
+
- - ">="
|
159
140
|
- !ruby/object:Gem::Version
|
160
141
|
version: '0'
|
161
142
|
- !ruby/object:Gem::Dependency
|
162
143
|
name: timecop
|
163
144
|
requirement: !ruby/object:Gem::Requirement
|
164
|
-
none: false
|
165
145
|
requirements:
|
166
|
-
- -
|
146
|
+
- - ">="
|
167
147
|
- !ruby/object:Gem::Version
|
168
148
|
version: '0'
|
169
149
|
type: :development
|
170
150
|
prerelease: false
|
171
151
|
version_requirements: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
152
|
requirements:
|
174
|
-
- -
|
153
|
+
- - ">="
|
175
154
|
- !ruby/object:Gem::Version
|
176
155
|
version: '0'
|
177
156
|
- !ruby/object:Gem::Dependency
|
178
157
|
name: yard
|
179
158
|
requirement: !ruby/object:Gem::Requirement
|
180
|
-
none: false
|
181
159
|
requirements:
|
182
|
-
- -
|
160
|
+
- - ">="
|
183
161
|
- !ruby/object:Gem::Version
|
184
162
|
version: '0'
|
185
163
|
type: :development
|
186
164
|
prerelease: false
|
187
165
|
version_requirements: !ruby/object:Gem::Requirement
|
188
|
-
none: false
|
189
166
|
requirements:
|
190
|
-
- -
|
167
|
+
- - ">="
|
191
168
|
- !ruby/object:Gem::Version
|
192
169
|
version: '0'
|
193
170
|
- !ruby/object:Gem::Dependency
|
194
|
-
name: pry-
|
171
|
+
name: pry-byebug
|
195
172
|
requirement: !ruby/object:Gem::Requirement
|
196
|
-
none: false
|
197
173
|
requirements:
|
198
|
-
- -
|
174
|
+
- - ">="
|
199
175
|
- !ruby/object:Gem::Version
|
200
176
|
version: '0'
|
201
177
|
type: :development
|
202
178
|
prerelease: false
|
203
179
|
version_requirements: !ruby/object:Gem::Requirement
|
204
|
-
none: false
|
205
180
|
requirements:
|
206
|
-
- -
|
181
|
+
- - ">="
|
207
182
|
- !ruby/object:Gem::Version
|
208
183
|
version: '0'
|
209
184
|
- !ruby/object:Gem::Dependency
|
210
185
|
name: pry-stack_explorer
|
211
186
|
requirement: !ruby/object:Gem::Requirement
|
212
|
-
none: false
|
213
187
|
requirements:
|
214
|
-
- -
|
188
|
+
- - ">="
|
215
189
|
- !ruby/object:Gem::Version
|
216
190
|
version: '0'
|
217
191
|
type: :development
|
218
192
|
prerelease: false
|
219
193
|
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
none: false
|
221
194
|
requirements:
|
222
|
-
- -
|
195
|
+
- - ">="
|
223
196
|
- !ruby/object:Gem::Version
|
224
197
|
version: '0'
|
225
198
|
- !ruby/object:Gem::Dependency
|
226
199
|
name: ruby-prof
|
227
200
|
requirement: !ruby/object:Gem::Requirement
|
228
|
-
none: false
|
229
201
|
requirements:
|
230
|
-
- -
|
202
|
+
- - ">="
|
231
203
|
- !ruby/object:Gem::Version
|
232
204
|
version: '0'
|
233
205
|
type: :development
|
234
206
|
prerelease: false
|
235
207
|
version_requirements: !ruby/object:Gem::Requirement
|
236
|
-
none: false
|
237
208
|
requirements:
|
238
|
-
- -
|
209
|
+
- - ">="
|
239
210
|
- !ruby/object:Gem::Version
|
240
211
|
version: '0'
|
241
212
|
description: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
@@ -250,11 +221,11 @@ executables:
|
|
250
221
|
extensions: []
|
251
222
|
extra_rdoc_files: []
|
252
223
|
files:
|
253
|
-
- .gitignore
|
254
|
-
- .rubocop.yml
|
255
|
-
- .rubocop_todo.yml
|
256
|
-
- .travis.yml
|
257
|
-
- .yardopts
|
224
|
+
- ".gitignore"
|
225
|
+
- ".rubocop.yml"
|
226
|
+
- ".rubocop_todo.yml"
|
227
|
+
- ".travis.yml"
|
228
|
+
- ".yardopts"
|
258
229
|
- CHANGES.md
|
259
230
|
- CONTRIBUTING.md
|
260
231
|
- Gemfile
|
@@ -363,6 +334,7 @@ files:
|
|
363
334
|
- spec/data/types.bin
|
364
335
|
- spec/encoding/all_types_spec.rb
|
365
336
|
- spec/encoding/extreme_values_spec.rb
|
337
|
+
- spec/functional/class_inheritance_spec.rb
|
366
338
|
- spec/functional/socket_server_spec.rb
|
367
339
|
- spec/functional/zmq_server_spec.rb
|
368
340
|
- spec/lib/protobuf/cli_spec.rb
|
@@ -430,33 +402,97 @@ files:
|
|
430
402
|
homepage: https://github.com/localshred/protobuf
|
431
403
|
licenses:
|
432
404
|
- MIT
|
405
|
+
metadata: {}
|
433
406
|
post_install_message:
|
434
407
|
rdoc_options: []
|
435
408
|
require_paths:
|
436
409
|
- lib
|
437
410
|
required_ruby_version: !ruby/object:Gem::Requirement
|
438
|
-
none: false
|
439
411
|
requirements:
|
440
|
-
- -
|
412
|
+
- - ">="
|
441
413
|
- !ruby/object:Gem::Version
|
442
414
|
version: '0'
|
443
|
-
segments:
|
444
|
-
- 0
|
445
|
-
hash: -2458400158971729281
|
446
415
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
447
|
-
none: false
|
448
416
|
requirements:
|
449
|
-
- -
|
417
|
+
- - ">="
|
450
418
|
- !ruby/object:Gem::Version
|
451
419
|
version: '0'
|
452
|
-
segments:
|
453
|
-
- 0
|
454
|
-
hash: -2458400158971729281
|
455
420
|
requirements: []
|
456
421
|
rubyforge_project:
|
457
|
-
rubygems_version:
|
422
|
+
rubygems_version: 2.2.2
|
458
423
|
signing_key:
|
459
|
-
specification_version:
|
424
|
+
specification_version: 4
|
460
425
|
summary: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
461
|
-
test_files:
|
426
|
+
test_files:
|
427
|
+
- spec/benchmark/tasks.rb
|
428
|
+
- spec/bin/protoc-gen-ruby_spec.rb
|
429
|
+
- spec/data/data.bin
|
430
|
+
- spec/data/types.bin
|
431
|
+
- spec/encoding/all_types_spec.rb
|
432
|
+
- spec/encoding/extreme_values_spec.rb
|
433
|
+
- spec/functional/class_inheritance_spec.rb
|
434
|
+
- spec/functional/socket_server_spec.rb
|
435
|
+
- spec/functional/zmq_server_spec.rb
|
436
|
+
- spec/lib/protobuf/cli_spec.rb
|
437
|
+
- spec/lib/protobuf/code_generator_spec.rb
|
438
|
+
- spec/lib/protobuf/enum_spec.rb
|
439
|
+
- spec/lib/protobuf/field/float_field_spec.rb
|
440
|
+
- spec/lib/protobuf/field/int32_field_spec.rb
|
441
|
+
- spec/lib/protobuf/field/string_field_spec.rb
|
442
|
+
- spec/lib/protobuf/field_spec.rb
|
443
|
+
- spec/lib/protobuf/generators/base_spec.rb
|
444
|
+
- spec/lib/protobuf/generators/enum_generator_spec.rb
|
445
|
+
- spec/lib/protobuf/generators/extension_generator_spec.rb
|
446
|
+
- spec/lib/protobuf/generators/field_generator_spec.rb
|
447
|
+
- spec/lib/protobuf/generators/file_generator_spec.rb
|
448
|
+
- spec/lib/protobuf/generators/message_generator_spec.rb
|
449
|
+
- spec/lib/protobuf/generators/service_generator_spec.rb
|
450
|
+
- spec/lib/protobuf/lifecycle_spec.rb
|
451
|
+
- spec/lib/protobuf/message_spec.rb
|
452
|
+
- spec/lib/protobuf/optionable_spec.rb
|
453
|
+
- spec/lib/protobuf/rpc/client_spec.rb
|
454
|
+
- spec/lib/protobuf/rpc/connector_spec.rb
|
455
|
+
- spec/lib/protobuf/rpc/connectors/base_spec.rb
|
456
|
+
- spec/lib/protobuf/rpc/connectors/common_spec.rb
|
457
|
+
- spec/lib/protobuf/rpc/connectors/socket_spec.rb
|
458
|
+
- spec/lib/protobuf/rpc/connectors/zmq_spec.rb
|
459
|
+
- spec/lib/protobuf/rpc/middleware/exception_handler_spec.rb
|
460
|
+
- spec/lib/protobuf/rpc/middleware/logger_spec.rb
|
461
|
+
- spec/lib/protobuf/rpc/middleware/request_decoder_spec.rb
|
462
|
+
- spec/lib/protobuf/rpc/middleware/response_encoder_spec.rb
|
463
|
+
- spec/lib/protobuf/rpc/servers/socket_server_spec.rb
|
464
|
+
- spec/lib/protobuf/rpc/servers/zmq/server_spec.rb
|
465
|
+
- spec/lib/protobuf/rpc/servers/zmq/util_spec.rb
|
466
|
+
- spec/lib/protobuf/rpc/servers/zmq/worker_spec.rb
|
467
|
+
- spec/lib/protobuf/rpc/service_directory_spec.rb
|
468
|
+
- spec/lib/protobuf/rpc/service_dispatcher_spec.rb
|
469
|
+
- spec/lib/protobuf/rpc/service_filters_spec.rb
|
470
|
+
- spec/lib/protobuf/rpc/service_spec.rb
|
471
|
+
- spec/lib/protobuf/rpc/stat_spec.rb
|
472
|
+
- spec/lib/protobuf_spec.rb
|
473
|
+
- spec/spec_helper.rb
|
474
|
+
- spec/support/all.rb
|
475
|
+
- spec/support/packed_field.rb
|
476
|
+
- spec/support/server.rb
|
477
|
+
- spec/support/test/all_types.data.bin
|
478
|
+
- spec/support/test/all_types.data.txt
|
479
|
+
- spec/support/test/defaults.pb.rb
|
480
|
+
- spec/support/test/defaults.proto
|
481
|
+
- spec/support/test/enum.pb.rb
|
482
|
+
- spec/support/test/enum.proto
|
483
|
+
- spec/support/test/extended.pb.rb
|
484
|
+
- spec/support/test/extended.proto
|
485
|
+
- spec/support/test/extreme_values.data.bin
|
486
|
+
- spec/support/test/google_unittest.pb.rb
|
487
|
+
- spec/support/test/google_unittest.proto
|
488
|
+
- spec/support/test/google_unittest_import.pb.rb
|
489
|
+
- spec/support/test/google_unittest_import.proto
|
490
|
+
- spec/support/test/google_unittest_import_public.pb.rb
|
491
|
+
- spec/support/test/google_unittest_import_public.proto
|
492
|
+
- spec/support/test/multi_field_extensions.pb.rb
|
493
|
+
- spec/support/test/multi_field_extensions.proto
|
494
|
+
- spec/support/test/resource.pb.rb
|
495
|
+
- spec/support/test/resource.proto
|
496
|
+
- spec/support/test/resource_service.rb
|
497
|
+
- spec/support/test_app_file.rb
|
462
498
|
has_rdoc:
|