protobuf 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c6d9ac33f87fe4d18f954628cc8e0ef0646ad9a7
4
+ data.tar.gz: f40d416abdad0df66e94bf49daee5a6c0da397e8
5
+ SHA512:
6
+ metadata.gz: 3c33be43e9405516b1cc50d4f1fb044d9eb62d105e61e10239fc1c41b0213403988e70dc3ec896c33ae59ed223f872e3c924e00a5b9463639a6b8887b10b1249
7
+ data.tar.gz: 5f53aa37a9bb7de7da4df3b93612bf43d0536ef2168c36e9eeb2c6a7bf036a35675a9ac1a3d8c5f7dfd25d8c5507f91973795ad3341e41d14298722a19fa9382
@@ -3,21 +3,11 @@ module Protobuf
3
3
  def self.initialize_logger(log_target=$stdout, log_level=::Logger::INFO)
4
4
  @counter ||= 0
5
5
  @counter = @counter + 1
6
- old_logger = defined?(@logger) ? @logger : nil
7
6
  @logger = Logger.new(log_target)
8
7
  @logger.level = log_level
9
- old_logger.close if old_logger and close_old_logger?
10
8
  @logger
11
9
  end
12
10
 
13
- def self.close_old_logger=(boolean)
14
- @close_old_logger = !!boolean
15
- end
16
-
17
- def self.close_old_logger?
18
- defined?(@close_old_logger) ? @close_old_logger : true
19
- end
20
-
21
11
  def self.logger
22
12
  defined?(@logger) ? @logger : initialize_logger
23
13
  end
@@ -1,3 +1,3 @@
1
1
  module Protobuf
2
- VERSION = '3.3.0'
2
+ VERSION = '3.3.1'
3
3
  end
@@ -23,8 +23,6 @@ else
23
23
  ::Protobuf::Logging.initialize_logger('/dev/null')
24
24
  end
25
25
 
26
- ::Protobuf::Logging.close_old_logger = false
27
-
28
26
  # Get rid of the deprecation env var if present (messes with specs).
29
27
  ENV.delete("PB_IGNORE_DEPRECATIONS")
30
28
 
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.3.0
5
- prerelease:
4
+ version: 3.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - BJ Neilsen
@@ -12,182 +11,160 @@ authors:
12
11
  autorequire:
13
12
  bindir: bin
14
13
  cert_chain: []
15
- date: 2014-08-26 00:00:00.000000000 Z
14
+ date: 2014-08-27 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: ffi-rzmq
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: :development
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: pry-nav
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: simplecov
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: yard
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: perftools.rb
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
  description: Google Protocol Buffers serialization and RPC implementation for Ruby.
@@ -379,33 +356,96 @@ files:
379
356
  homepage: https://github.com/localshred/protobuf
380
357
  licenses:
381
358
  - WTFPL
359
+ metadata: {}
382
360
  post_install_message:
383
361
  rdoc_options: []
384
362
  require_paths:
385
363
  - lib
386
364
  required_ruby_version: !ruby/object:Gem::Requirement
387
- none: false
388
365
  requirements:
389
- - - ! '>='
366
+ - - '>='
390
367
  - !ruby/object:Gem::Version
391
368
  version: '0'
392
- segments:
393
- - 0
394
- hash: -4504815043455481176
395
369
  required_rubygems_version: !ruby/object:Gem::Requirement
396
- none: false
397
370
  requirements:
398
- - - ! '>='
371
+ - - '>='
399
372
  - !ruby/object:Gem::Version
400
373
  version: '0'
401
- segments:
402
- - 0
403
- hash: -4504815043455481176
404
374
  requirements: []
405
375
  rubyforge_project:
406
- rubygems_version: 1.8.24
376
+ rubygems_version: 2.2.1
407
377
  signing_key:
408
- specification_version: 3
378
+ specification_version: 4
409
379
  summary: Google Protocol Buffers serialization and RPC implementation for Ruby.
410
- test_files: []
380
+ test_files:
381
+ - spec/benchmark/tasks.rb
382
+ - spec/bin/protoc-gen-ruby_spec.rb
383
+ - spec/data/data.bin
384
+ - spec/data/types.bin
385
+ - spec/encoding/all_types_spec.rb
386
+ - spec/encoding/extreme_values_spec.rb
387
+ - spec/functional/socket_server_spec.rb
388
+ - spec/functional/zmq_server_spec.rb
389
+ - spec/lib/protobuf/cli_spec.rb
390
+ - spec/lib/protobuf/code_generator_spec.rb
391
+ - spec/lib/protobuf/enum_spec.rb
392
+ - spec/lib/protobuf/field/float_field_spec.rb
393
+ - spec/lib/protobuf/field/int32_field_spec.rb
394
+ - spec/lib/protobuf/field/string_field_spec.rb
395
+ - spec/lib/protobuf/field_spec.rb
396
+ - spec/lib/protobuf/generators/base_spec.rb
397
+ - spec/lib/protobuf/generators/enum_generator_spec.rb
398
+ - spec/lib/protobuf/generators/extension_generator_spec.rb
399
+ - spec/lib/protobuf/generators/field_generator_spec.rb
400
+ - spec/lib/protobuf/generators/file_generator_spec.rb
401
+ - spec/lib/protobuf/generators/message_generator_spec.rb
402
+ - spec/lib/protobuf/generators/service_generator_spec.rb
403
+ - spec/lib/protobuf/lifecycle_spec.rb
404
+ - spec/lib/protobuf/message_spec.rb
405
+ - spec/lib/protobuf/optionable_spec.rb
406
+ - spec/lib/protobuf/rpc/client_spec.rb
407
+ - spec/lib/protobuf/rpc/connector_spec.rb
408
+ - spec/lib/protobuf/rpc/connectors/base_spec.rb
409
+ - spec/lib/protobuf/rpc/connectors/common_spec.rb
410
+ - spec/lib/protobuf/rpc/connectors/socket_spec.rb
411
+ - spec/lib/protobuf/rpc/connectors/zmq_spec.rb
412
+ - spec/lib/protobuf/rpc/middleware/exception_handler_spec.rb
413
+ - spec/lib/protobuf/rpc/middleware/logger_spec.rb
414
+ - spec/lib/protobuf/rpc/middleware/request_decoder_spec.rb
415
+ - spec/lib/protobuf/rpc/middleware/response_encoder_spec.rb
416
+ - spec/lib/protobuf/rpc/servers/socket_server_spec.rb
417
+ - spec/lib/protobuf/rpc/servers/zmq/server_spec.rb
418
+ - spec/lib/protobuf/rpc/servers/zmq/util_spec.rb
419
+ - spec/lib/protobuf/rpc/servers/zmq/worker_spec.rb
420
+ - spec/lib/protobuf/rpc/service_directory_spec.rb
421
+ - spec/lib/protobuf/rpc/service_dispatcher_spec.rb
422
+ - spec/lib/protobuf/rpc/service_filters_spec.rb
423
+ - spec/lib/protobuf/rpc/service_spec.rb
424
+ - spec/lib/protobuf/rpc/stat_spec.rb
425
+ - spec/lib/protobuf_spec.rb
426
+ - spec/spec_helper.rb
427
+ - spec/support/all.rb
428
+ - spec/support/packed_field.rb
429
+ - spec/support/server.rb
430
+ - spec/support/test/all_types.data.bin
431
+ - spec/support/test/all_types.data.txt
432
+ - spec/support/test/defaults.pb.rb
433
+ - spec/support/test/defaults.proto
434
+ - spec/support/test/enum.pb.rb
435
+ - spec/support/test/enum.proto
436
+ - spec/support/test/extended.pb.rb
437
+ - spec/support/test/extended.proto
438
+ - spec/support/test/extreme_values.data.bin
439
+ - spec/support/test/google_unittest.pb.rb
440
+ - spec/support/test/google_unittest.proto
441
+ - spec/support/test/google_unittest_import.pb.rb
442
+ - spec/support/test/google_unittest_import.proto
443
+ - spec/support/test/google_unittest_import_public.pb.rb
444
+ - spec/support/test/google_unittest_import_public.proto
445
+ - spec/support/test/multi_field_extensions.pb.rb
446
+ - spec/support/test/multi_field_extensions.proto
447
+ - spec/support/test/resource.pb.rb
448
+ - spec/support/test/resource.proto
449
+ - spec/support/test/resource_service.rb
450
+ - spec/support/test_app_file.rb
411
451
  has_rdoc: