protobuf 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +26 -16
- data/lib/protobuf.rb +0 -25
- data/lib/protobuf/deprecation.rb +101 -9
- data/lib/protobuf/field/base_field.rb +8 -4
- data/lib/protobuf/field/bool_field.rb +1 -5
- data/lib/protobuf/field/bytes_field.rb +2 -2
- data/lib/protobuf/version.rb +1 -1
- metadata +103 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab4fb52f93dfd58648db2463454e2b73215ec42
|
4
|
+
data.tar.gz: 32a62725dc2677e231d3ec63cd335fa3b3026316
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f32ea8b0ef6e9339d43187648c438343e3643e5577a39b9c19f72fbf5749bbb6c614fdb1f4f53d3979ea3e75b67213d6afb81e1ce9bb6fabcf77e4db2dd6d1f
|
7
|
+
data.tar.gz: 2fc11caaa7c981e93f2515f8ebf4affc6e8fe9ba41a99314b7f4e005144b055a2c29018856b3652e17c91e187c2f1c44d267053374b8c1c1910079dfc5524878
|
data/.rubocop_todo.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
-
# on 2014-
|
2
|
+
# on 2014-12-23 08:21:59 -0800 using RuboCop version 0.28.0.
|
3
3
|
# The point is for the user to remove these configuration records
|
4
4
|
# one by one as the offenses are removed from the code base.
|
5
5
|
# Note that changes in the inspected code, or installation of new
|
6
6
|
# versions of RuboCop, may require this file to be generated again.
|
7
7
|
|
8
|
-
# Offense count:
|
8
|
+
# Offense count: 29
|
9
9
|
Metrics/AbcSize:
|
10
10
|
Max: 59
|
11
11
|
|
@@ -13,60 +13,70 @@ Metrics/AbcSize:
|
|
13
13
|
Metrics/BlockNesting:
|
14
14
|
Max: 5
|
15
15
|
|
16
|
-
# Offense count:
|
16
|
+
# Offense count: 8
|
17
17
|
# Configuration parameters: CountComments.
|
18
18
|
Metrics/ClassLength:
|
19
|
-
Max:
|
19
|
+
Max: 232
|
20
20
|
|
21
21
|
# Offense count: 3
|
22
22
|
Metrics/CyclomaticComplexity:
|
23
|
-
Max:
|
23
|
+
Max: 10
|
24
24
|
|
25
|
-
# Offense count:
|
25
|
+
# Offense count: 491
|
26
26
|
# Configuration parameters: AllowURI, URISchemes.
|
27
27
|
Metrics/LineLength:
|
28
28
|
Max: 196
|
29
29
|
|
30
|
-
# Offense count:
|
30
|
+
# Offense count: 43
|
31
31
|
# Configuration parameters: CountComments.
|
32
32
|
Metrics/MethodLength:
|
33
|
-
Max:
|
33
|
+
Max: 38
|
34
34
|
|
35
35
|
# Offense count: 2
|
36
36
|
# Configuration parameters: CountKeywordArgs.
|
37
37
|
Metrics/ParameterLists:
|
38
38
|
Max: 6
|
39
39
|
|
40
|
-
# Offense count:
|
40
|
+
# Offense count: 3
|
41
41
|
Metrics/PerceivedComplexity:
|
42
|
-
Max:
|
42
|
+
Max: 11
|
43
43
|
|
44
|
-
# Offense count:
|
44
|
+
# Offense count: 189
|
45
45
|
Style/Documentation:
|
46
46
|
Enabled: false
|
47
47
|
|
48
|
-
# Offense count:
|
48
|
+
# Offense count: 12
|
49
49
|
Style/DoubleNegation:
|
50
50
|
Enabled: false
|
51
51
|
|
52
|
-
# Offense count:
|
52
|
+
# Offense count: 2
|
53
|
+
Style/EmptyElse:
|
54
|
+
Enabled: false
|
55
|
+
|
56
|
+
# Offense count: 73
|
57
|
+
# Cop supports --auto-correct.
|
58
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
59
|
+
Style/EmptyLinesAroundBlockBody:
|
60
|
+
Enabled: false
|
61
|
+
|
62
|
+
# Offense count: 90
|
53
63
|
# Cop supports --auto-correct.
|
54
64
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
55
65
|
Style/EmptyLinesAroundClassBody:
|
56
66
|
Enabled: false
|
57
67
|
|
58
|
-
# Offense count:
|
68
|
+
# Offense count: 50
|
59
69
|
# Cop supports --auto-correct.
|
60
70
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
61
71
|
Style/EmptyLinesAroundModuleBody:
|
62
72
|
Enabled: false
|
63
73
|
|
64
|
-
# Offense count:
|
74
|
+
# Offense count: 46
|
65
75
|
# Cop supports --auto-correct.
|
66
76
|
Style/NumericLiterals:
|
67
77
|
MinDigits: 21
|
68
78
|
|
69
|
-
# Offense count:
|
79
|
+
# Offense count: 463
|
70
80
|
# Cop supports --auto-correct.
|
71
81
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
72
82
|
Style/StringLiterals:
|
data/lib/protobuf.rb
CHANGED
@@ -64,31 +64,6 @@ module Protobuf
|
|
64
64
|
@gc_pause_server_request = !!value
|
65
65
|
end
|
66
66
|
|
67
|
-
def self.deprecator
|
68
|
-
@deprecator ||= Deprecation.new('4.0', to_s).tap do |deprecation|
|
69
|
-
deprecation.silenced = ENV.key?('PB_IGNORE_DEPRECATIONS')
|
70
|
-
deprecation.behavior = :stderr
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
# Print Deprecation Warnings
|
75
|
-
#
|
76
|
-
# Default: true
|
77
|
-
#
|
78
|
-
# Simple boolean to define whether we want field deprecation warnings to
|
79
|
-
# be printed to stderr or not. The rpc_server has an option to set this value
|
80
|
-
# explicitly, or you can turn this option off by setting
|
81
|
-
# ENV['PB_IGNORE_DEPRECATIONS'] to a non-empty value.
|
82
|
-
#
|
83
|
-
# The rpc_server option will override the ENV setting.
|
84
|
-
def self.print_deprecation_warnings?
|
85
|
-
!deprecator.silenced
|
86
|
-
end
|
87
|
-
|
88
|
-
def self.print_deprecation_warnings=(value)
|
89
|
-
deprecator.silenced = !value
|
90
|
-
end
|
91
|
-
|
92
67
|
# Permit unknown field on Message initialization
|
93
68
|
#
|
94
69
|
# Default: true
|
data/lib/protobuf/deprecation.rb
CHANGED
@@ -1,20 +1,112 @@
|
|
1
1
|
require 'active_support/deprecation'
|
2
2
|
|
3
3
|
module Protobuf
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
if ::ActiveSupport::Deprecation.is_a?(Class)
|
5
|
+
class DeprecationBase < ::ActiveSupport::Deprecation
|
6
|
+
def deprecate_methods(*args)
|
7
|
+
deprecation_options = { :deprecator => self }
|
8
|
+
|
9
|
+
if args.last.is_a?(Hash)
|
10
|
+
args.last.merge!(deprecation_options)
|
11
|
+
else
|
12
|
+
args.push(deprecation_options)
|
13
|
+
end
|
14
|
+
|
15
|
+
super
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
class Deprecation < DeprecationBase
|
20
|
+
def define_deprecated_methods(target_module, method_hash)
|
21
|
+
target_module.module_eval do
|
22
|
+
method_hash.each do |old_method, new_method|
|
23
|
+
alias_method old_method, new_method
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
deprecate_methods(target_module, method_hash)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
class FieldDeprecation < DeprecationBase
|
32
|
+
# this is a convenience deprecator for deprecated proto fields
|
33
|
+
|
34
|
+
def deprecate_method(target_module, method_name)
|
35
|
+
deprecate_methods(target_module, method_name => target_module)
|
36
|
+
end
|
37
|
+
|
38
|
+
private
|
39
|
+
|
40
|
+
def deprecated_method_warning(method_name, target_module)
|
41
|
+
"#{target_module.name}##{method_name} field usage is deprecated"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
else
|
45
|
+
# TODO: remove this clause when Rails < 4 support is no longer needed
|
46
|
+
deprecator = ::ActiveSupport::Deprecation.clone
|
47
|
+
deprecator.instance_eval do
|
48
|
+
def new(deprecation_horizon = nil, *)
|
49
|
+
self.deprecation_horizon = deprecation_horizon if deprecation_horizon
|
50
|
+
self
|
51
|
+
end
|
8
52
|
end
|
53
|
+
Deprecation = deprecator.clone
|
54
|
+
FieldDeprecation = deprecator.clone
|
9
55
|
|
10
|
-
|
11
|
-
target_module
|
12
|
-
|
13
|
-
|
56
|
+
Deprecation.instance_eval do
|
57
|
+
def define_deprecated_methods(target_module, method_hash)
|
58
|
+
target_module.module_eval do
|
59
|
+
method_hash.each do |old_method, new_method|
|
60
|
+
alias_method old_method, new_method
|
61
|
+
end
|
14
62
|
end
|
63
|
+
|
64
|
+
deprecate_methods(target_module, method_hash)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
FieldDeprecation.instance_eval do
|
69
|
+
def deprecate_method(target_module, method_name)
|
70
|
+
deprecate_methods(target_module, method_name => target_module)
|
15
71
|
end
|
16
72
|
|
17
|
-
|
73
|
+
private
|
74
|
+
|
75
|
+
def deprecated_method_warning(method_name, target_module)
|
76
|
+
"#{target_module.name}##{method_name} field usage is deprecated"
|
77
|
+
end
|
18
78
|
end
|
19
79
|
end
|
80
|
+
|
81
|
+
def self.deprecator
|
82
|
+
@deprecator ||= Deprecation.new('4.0', to_s).tap do |deprecation|
|
83
|
+
deprecation.silenced = ENV.key?('PB_IGNORE_DEPRECATIONS')
|
84
|
+
deprecation.behavior = :stderr
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.field_deprecator
|
89
|
+
@field_deprecator ||= FieldDeprecation.new.tap do |deprecation|
|
90
|
+
deprecation.silenced = ENV.key?('PB_IGNORE_DEPRECATIONS')
|
91
|
+
deprecation.behavior = :stderr
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# Print Deprecation Warnings
|
96
|
+
#
|
97
|
+
# Default: true
|
98
|
+
#
|
99
|
+
# Simple boolean to define whether we want field deprecation warnings to
|
100
|
+
# be printed to stderr or not. The rpc_server has an option to set this value
|
101
|
+
# explicitly, or you can turn this option off by setting
|
102
|
+
# ENV['PB_IGNORE_DEPRECATIONS'] to a non-empty value.
|
103
|
+
#
|
104
|
+
# The rpc_server option will override the ENV setting.
|
105
|
+
def self.print_deprecation_warnings?
|
106
|
+
!field_deprecator.silenced
|
107
|
+
end
|
108
|
+
|
109
|
+
def self.print_deprecation_warnings=(value)
|
110
|
+
field_deprecator.silenced = !value
|
111
|
+
end
|
20
112
|
end
|
@@ -183,8 +183,9 @@ module Protobuf
|
|
183
183
|
define_method(method_name) do
|
184
184
|
@values[field.name] ||= ::Protobuf::Field::FieldArray.new(field)
|
185
185
|
end
|
186
|
-
::Protobuf.deprecator.deprecate_methods(method_name)
|
187
186
|
end
|
187
|
+
|
188
|
+
::Protobuf.field_deprecator.deprecate_method(message_class, method_name) if field.deprecated?
|
188
189
|
end
|
189
190
|
|
190
191
|
def define_array_setter
|
@@ -210,8 +211,9 @@ module Protobuf
|
|
210
211
|
@values[field.name].replace(val)
|
211
212
|
end
|
212
213
|
end
|
213
|
-
::Protobuf.deprecator.deprecate_methods(method_name)
|
214
214
|
end
|
215
|
+
|
216
|
+
::Protobuf.field_deprecator.deprecate_method(message_class, method_name) if field.deprecated?
|
215
217
|
end
|
216
218
|
|
217
219
|
def define_getter
|
@@ -222,8 +224,9 @@ module Protobuf
|
|
222
224
|
define_method(method_name) do
|
223
225
|
@values.fetch(field.name, field.default_value)
|
224
226
|
end
|
225
|
-
::Protobuf.deprecator.deprecate_methods(method_name)
|
226
227
|
end
|
228
|
+
|
229
|
+
::Protobuf.field_deprecator.deprecate_method(message_class, method_name) if field.deprecated?
|
227
230
|
end
|
228
231
|
|
229
232
|
def define_setter
|
@@ -240,8 +243,9 @@ module Protobuf
|
|
240
243
|
fail TypeError, "Unacceptable value #{val} for field #{field.name} of type #{field.type_class}"
|
241
244
|
end
|
242
245
|
end
|
243
|
-
::Protobuf.deprecator.deprecate_methods(method_name)
|
244
246
|
end
|
247
|
+
|
248
|
+
::Protobuf.field_deprecator.deprecate_method(message_class, method_name) if field.deprecated?
|
245
249
|
end
|
246
250
|
|
247
251
|
def typed_default_value
|
@@ -38,13 +38,9 @@ module Protobuf
|
|
38
38
|
super
|
39
39
|
|
40
40
|
field = self
|
41
|
-
method_name = "#{field.getter}?"
|
42
41
|
|
43
42
|
message_class.class_eval do
|
44
|
-
|
45
|
-
@values.fetch(field.name, field.default_value)
|
46
|
-
end
|
47
|
-
::Protobuf.deprecator.deprecate_methods(method_name)
|
43
|
+
alias_method "#{field.getter}?", field.getter
|
48
44
|
end
|
49
45
|
end
|
50
46
|
|
@@ -73,10 +73,10 @@ module Protobuf
|
|
73
73
|
raise TypeError, "Got NoMethodError attempting to set #{val} for field #{field.name} of type #{field.type_class}: #{ex.message}"
|
74
74
|
end
|
75
75
|
end
|
76
|
-
::Protobuf.deprecator.deprecate_methods(method_name)
|
77
76
|
end
|
78
|
-
end
|
79
77
|
|
78
|
+
::Protobuf.field_deprecator.deprecate_method(message_class, method_name) if field.deprecated?
|
79
|
+
end
|
80
80
|
end
|
81
81
|
end
|
82
82
|
end
|
data/lib/protobuf/version.rb
CHANGED
metadata
CHANGED
@@ -1,186 +1,214 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.2
|
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: 2014-12-
|
14
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
18
|
-
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '3.2'
|
23
|
-
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
26
|
requirements:
|
25
|
-
- -
|
27
|
+
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
27
29
|
version: '3.2'
|
28
|
-
prerelease: false
|
29
|
-
type: :runtime
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: middleware
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
32
39
|
version_requirements: !ruby/object:Gem::Requirement
|
33
40
|
requirements:
|
34
|
-
- -
|
41
|
+
- - ">="
|
35
42
|
- !ruby/object:Gem::Version
|
36
43
|
version: '0'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: thor
|
37
46
|
requirement: !ruby/object:Gem::Requirement
|
38
47
|
requirements:
|
39
|
-
- -
|
48
|
+
- - ">="
|
40
49
|
- !ruby/object:Gem::Version
|
41
50
|
version: '0'
|
42
|
-
prerelease: false
|
43
51
|
type: :runtime
|
44
|
-
|
45
|
-
name: thor
|
52
|
+
prerelease: false
|
46
53
|
version_requirements: !ruby/object:Gem::Requirement
|
47
54
|
requirements:
|
48
|
-
- -
|
55
|
+
- - ">="
|
49
56
|
- !ruby/object:Gem::Version
|
50
57
|
version: '0'
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: thread_safe
|
51
60
|
requirement: !ruby/object:Gem::Requirement
|
52
61
|
requirements:
|
53
|
-
- -
|
62
|
+
- - ">="
|
54
63
|
- !ruby/object:Gem::Version
|
55
64
|
version: '0'
|
56
|
-
prerelease: false
|
57
65
|
type: :runtime
|
58
|
-
|
59
|
-
name: thread_safe
|
66
|
+
prerelease: false
|
60
67
|
version_requirements: !ruby/object:Gem::Requirement
|
61
68
|
requirements:
|
62
|
-
- -
|
69
|
+
- - ">="
|
63
70
|
- !ruby/object:Gem::Version
|
64
71
|
version: '0'
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: ffi-rzmq
|
65
74
|
requirement: !ruby/object:Gem::Requirement
|
66
75
|
requirements:
|
67
|
-
- -
|
76
|
+
- - ">="
|
68
77
|
- !ruby/object:Gem::Version
|
69
78
|
version: '0'
|
79
|
+
type: :development
|
70
80
|
prerelease: false
|
71
|
-
type: :runtime
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: ffi-rzmq
|
74
81
|
version_requirements: !ruby/object:Gem::Requirement
|
75
82
|
requirements:
|
76
|
-
- -
|
83
|
+
- - ">="
|
77
84
|
- !ruby/object:Gem::Version
|
78
85
|
version: '0'
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: rake
|
79
88
|
requirement: !ruby/object:Gem::Requirement
|
80
89
|
requirements:
|
81
|
-
- -
|
90
|
+
- - ">="
|
82
91
|
- !ruby/object:Gem::Version
|
83
92
|
version: '0'
|
84
|
-
prerelease: false
|
85
93
|
type: :development
|
86
|
-
|
87
|
-
name: rake
|
94
|
+
prerelease: false
|
88
95
|
version_requirements: !ruby/object:Gem::Requirement
|
89
96
|
requirements:
|
90
|
-
- -
|
97
|
+
- - ">="
|
91
98
|
- !ruby/object:Gem::Version
|
92
99
|
version: '0'
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: rspec
|
93
102
|
requirement: !ruby/object:Gem::Requirement
|
94
103
|
requirements:
|
95
|
-
- -
|
104
|
+
- - ">="
|
96
105
|
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
|
-
prerelease: false
|
106
|
+
version: '3.0'
|
99
107
|
type: :development
|
100
|
-
|
101
|
-
name: rspec
|
108
|
+
prerelease: false
|
102
109
|
version_requirements: !ruby/object:Gem::Requirement
|
103
110
|
requirements:
|
104
|
-
- -
|
111
|
+
- - ">="
|
105
112
|
- !ruby/object:Gem::Version
|
106
113
|
version: '3.0'
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rubocop
|
107
116
|
requirement: !ruby/object:Gem::Requirement
|
108
117
|
requirements:
|
109
|
-
- -
|
118
|
+
- - ">="
|
110
119
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
112
|
-
prerelease: false
|
120
|
+
version: '0'
|
113
121
|
type: :development
|
114
|
-
|
115
|
-
name: rubocop
|
122
|
+
prerelease: false
|
116
123
|
version_requirements: !ruby/object:Gem::Requirement
|
117
124
|
requirements:
|
118
|
-
- -
|
125
|
+
- - ">="
|
119
126
|
- !ruby/object:Gem::Version
|
120
127
|
version: '0'
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: simplecov
|
121
130
|
requirement: !ruby/object:Gem::Requirement
|
122
131
|
requirements:
|
123
|
-
- -
|
132
|
+
- - ">="
|
124
133
|
- !ruby/object:Gem::Version
|
125
134
|
version: '0'
|
126
|
-
prerelease: false
|
127
135
|
type: :development
|
128
|
-
|
129
|
-
name: simplecov
|
136
|
+
prerelease: false
|
130
137
|
version_requirements: !ruby/object:Gem::Requirement
|
131
138
|
requirements:
|
132
|
-
- -
|
139
|
+
- - ">="
|
133
140
|
- !ruby/object:Gem::Version
|
134
141
|
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: timecop
|
135
144
|
requirement: !ruby/object:Gem::Requirement
|
136
145
|
requirements:
|
137
|
-
- -
|
146
|
+
- - ">="
|
138
147
|
- !ruby/object:Gem::Version
|
139
148
|
version: '0'
|
140
|
-
prerelease: false
|
141
149
|
type: :development
|
142
|
-
|
143
|
-
name: timecop
|
150
|
+
prerelease: false
|
144
151
|
version_requirements: !ruby/object:Gem::Requirement
|
145
152
|
requirements:
|
146
|
-
- -
|
153
|
+
- - ">="
|
147
154
|
- !ruby/object:Gem::Version
|
148
155
|
version: '0'
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: yard
|
149
158
|
requirement: !ruby/object:Gem::Requirement
|
150
159
|
requirements:
|
151
|
-
- -
|
160
|
+
- - ">="
|
152
161
|
- !ruby/object:Gem::Version
|
153
162
|
version: '0'
|
154
|
-
prerelease: false
|
155
163
|
type: :development
|
156
|
-
|
157
|
-
name: yard
|
164
|
+
prerelease: false
|
158
165
|
version_requirements: !ruby/object:Gem::Requirement
|
159
166
|
requirements:
|
160
|
-
- -
|
167
|
+
- - ">="
|
161
168
|
- !ruby/object:Gem::Version
|
162
169
|
version: '0'
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: pry-byebug
|
163
172
|
requirement: !ruby/object:Gem::Requirement
|
164
173
|
requirements:
|
165
|
-
- -
|
174
|
+
- - ">="
|
166
175
|
- !ruby/object:Gem::Version
|
167
176
|
version: '0'
|
168
|
-
prerelease: false
|
169
177
|
type: :development
|
170
|
-
|
171
|
-
name: pry
|
178
|
+
prerelease: false
|
172
179
|
version_requirements: !ruby/object:Gem::Requirement
|
173
180
|
requirements:
|
174
|
-
- -
|
181
|
+
- - ">="
|
175
182
|
- !ruby/object:Gem::Version
|
176
183
|
version: '0'
|
184
|
+
- !ruby/object:Gem::Dependency
|
185
|
+
name: pry-stack_explorer
|
177
186
|
requirement: !ruby/object:Gem::Requirement
|
178
187
|
requirements:
|
179
|
-
- -
|
188
|
+
- - ">="
|
180
189
|
- !ruby/object:Gem::Version
|
181
190
|
version: '0'
|
191
|
+
type: :development
|
182
192
|
prerelease: false
|
193
|
+
version_requirements: !ruby/object:Gem::Requirement
|
194
|
+
requirements:
|
195
|
+
- - ">="
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
- !ruby/object:Gem::Dependency
|
199
|
+
name: ruby-prof
|
200
|
+
requirement: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0'
|
183
205
|
type: :development
|
206
|
+
prerelease: false
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
184
212
|
description: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
185
213
|
email:
|
186
214
|
- bj.neilsen+protobuf@gmail.com
|
@@ -193,11 +221,11 @@ executables:
|
|
193
221
|
extensions: []
|
194
222
|
extra_rdoc_files: []
|
195
223
|
files:
|
196
|
-
- .gitignore
|
197
|
-
- .rubocop.yml
|
198
|
-
- .rubocop_todo.yml
|
199
|
-
- .travis.yml
|
200
|
-
- .yardopts
|
224
|
+
- ".gitignore"
|
225
|
+
- ".rubocop.yml"
|
226
|
+
- ".rubocop_todo.yml"
|
227
|
+
- ".travis.yml"
|
228
|
+
- ".yardopts"
|
201
229
|
- CHANGES.md
|
202
230
|
- CONTRIBUTING.md
|
203
231
|
- Gemfile
|
@@ -374,24 +402,24 @@ homepage: https://github.com/localshred/protobuf
|
|
374
402
|
licenses:
|
375
403
|
- MIT
|
376
404
|
metadata: {}
|
377
|
-
post_install_message:
|
405
|
+
post_install_message:
|
378
406
|
rdoc_options: []
|
379
407
|
require_paths:
|
380
408
|
- lib
|
381
409
|
required_ruby_version: !ruby/object:Gem::Requirement
|
382
410
|
requirements:
|
383
|
-
- -
|
411
|
+
- - ">="
|
384
412
|
- !ruby/object:Gem::Version
|
385
413
|
version: '0'
|
386
414
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
387
415
|
requirements:
|
388
|
-
- -
|
416
|
+
- - ">="
|
389
417
|
- !ruby/object:Gem::Version
|
390
418
|
version: '0'
|
391
419
|
requirements: []
|
392
|
-
rubyforge_project:
|
393
|
-
rubygems_version: 2.
|
394
|
-
signing_key:
|
420
|
+
rubyforge_project:
|
421
|
+
rubygems_version: 2.2.2
|
422
|
+
signing_key:
|
395
423
|
specification_version: 4
|
396
424
|
summary: Google Protocol Buffers serialization and RPC implementation for Ruby.
|
397
425
|
test_files:
|
@@ -465,4 +493,4 @@ test_files:
|
|
465
493
|
- spec/support/test/resource.proto
|
466
494
|
- spec/support/test/resource_service.rb
|
467
495
|
- spec/support/test_app_file.rb
|
468
|
-
has_rdoc:
|
496
|
+
has_rdoc:
|