protobuf 3.7.3 → 3.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bb5d776c81e8200caad253a8be81e107ce831bb
4
- data.tar.gz: 9c69a987b14927860a5b4d98a01c588430b6655d
3
+ metadata.gz: 7deaabe1ef992bdf94c113269e6a467f472fb246
4
+ data.tar.gz: 964edcba3059dd50ef94687f40fefe5c61f18fb1
5
5
  SHA512:
6
- metadata.gz: 0c3891829c33f48f7526c3c00f2b29e5fd5269c35d635838a036aa844330f391cb98146161b11a0d53334476cbaf337d51c331eb084aa96ed3e504c1d14058e6
7
- data.tar.gz: 1b073df66474e5689306916be8af7ec260f7a0428c2d6002d07cbb6fd0eb4a071135ebdd60e6fffd836254b7923dbb5abbca06dc479f60e0ad86d0568695b357
6
+ metadata.gz: c682954b769e7fb339e86b40a8e566609a998708295468d4e41851f79c66968b396b98f82b3b3cd5dc5e0e9cf23b88ce1565b69403e25313c312f90ffdc00f22
7
+ data.tar.gz: b063673cde0773386cc6fd79613c061a5fceeeaecc654b1b4d4d2d504c44a0df25a3bafde39c2e61d4bba707119b7a5df576ce6bae3341246c6c033a0138ae42
@@ -109,9 +109,9 @@ module Protobuf
109
109
  attempt_number = 0
110
110
  has_reloaded_context = true
111
111
  end
112
- end while socket.nil? && attempt_number < socket_creation_attempts
112
+ end while socket.try(:socket).nil? && attempt_number < socket_creation_attempts
113
113
 
114
- raise RequestTimeout, "Cannot create new ZMQ client socket" if socket.nil?
114
+ raise RequestTimeout, "Cannot create new ZMQ client socket" if socket.try(:socket).nil?
115
115
  socket
116
116
  end
117
117
 
@@ -1,3 +1,3 @@
1
1
  module Protobuf
2
- VERSION = '3.7.3' # rubocop:disable Style/MutableConstant
2
+ VERSION = '3.7.4' # rubocop:disable Style/MutableConstant
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protobuf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.3
4
+ version: 3.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - BJ Neilsen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-05-15 00:00:00.000000000 Z
14
+ date: 2017-05-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -463,92 +463,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
463
463
  version: '0'
464
464
  requirements: []
465
465
  rubyforge_project:
466
- rubygems_version: 2.6.11
466
+ rubygems_version: 2.6.10
467
467
  signing_key:
468
468
  specification_version: 4
469
469
  summary: Google Protocol Buffers serialization and RPC implementation for Ruby.
470
- test_files:
471
- - spec/benchmark/tasks.rb
472
- - spec/bin/protoc-gen-ruby_spec.rb
473
- - spec/encoding/all_types_spec.rb
474
- - spec/encoding/extreme_values_spec.rb
475
- - spec/functional/class_inheritance_spec.rb
476
- - spec/functional/code_generator_spec.rb
477
- - spec/functional/socket_server_spec.rb
478
- - spec/functional/zmq_server_spec.rb
479
- - spec/lib/protobuf/cli_spec.rb
480
- - spec/lib/protobuf/code_generator_spec.rb
481
- - spec/lib/protobuf/enum_spec.rb
482
- - spec/lib/protobuf/field/bool_field_spec.rb
483
- - spec/lib/protobuf/field/double_field_spec.rb
484
- - spec/lib/protobuf/field/enum_field_spec.rb
485
- - spec/lib/protobuf/field/field_array_spec.rb
486
- - spec/lib/protobuf/field/fixed32_field_spec.rb
487
- - spec/lib/protobuf/field/fixed64_field_spec.rb
488
- - spec/lib/protobuf/field/float_field_spec.rb
489
- - spec/lib/protobuf/field/int32_field_spec.rb
490
- - spec/lib/protobuf/field/int64_field_spec.rb
491
- - spec/lib/protobuf/field/message_field_spec.rb
492
- - spec/lib/protobuf/field/sfixed32_field_spec.rb
493
- - spec/lib/protobuf/field/sfixed64_field_spec.rb
494
- - spec/lib/protobuf/field/sint32_field_spec.rb
495
- - spec/lib/protobuf/field/sint64_field_spec.rb
496
- - spec/lib/protobuf/field/string_field_spec.rb
497
- - spec/lib/protobuf/field/uint32_field_spec.rb
498
- - spec/lib/protobuf/field/uint64_field_spec.rb
499
- - spec/lib/protobuf/field_spec.rb
500
- - spec/lib/protobuf/generators/base_spec.rb
501
- - spec/lib/protobuf/generators/enum_generator_spec.rb
502
- - spec/lib/protobuf/generators/extension_generator_spec.rb
503
- - spec/lib/protobuf/generators/field_generator_spec.rb
504
- - spec/lib/protobuf/generators/file_generator_spec.rb
505
- - spec/lib/protobuf/generators/message_generator_spec.rb
506
- - spec/lib/protobuf/generators/service_generator_spec.rb
507
- - spec/lib/protobuf/lifecycle_spec.rb
508
- - spec/lib/protobuf/message_spec.rb
509
- - spec/lib/protobuf/optionable_spec.rb
510
- - spec/lib/protobuf/rpc/client_spec.rb
511
- - spec/lib/protobuf/rpc/connectors/base_spec.rb
512
- - spec/lib/protobuf/rpc/connectors/ping_spec.rb
513
- - spec/lib/protobuf/rpc/connectors/socket_spec.rb
514
- - spec/lib/protobuf/rpc/connectors/zmq_spec.rb
515
- - spec/lib/protobuf/rpc/middleware/exception_handler_spec.rb
516
- - spec/lib/protobuf/rpc/middleware/logger_spec.rb
517
- - spec/lib/protobuf/rpc/middleware/request_decoder_spec.rb
518
- - spec/lib/protobuf/rpc/middleware/response_encoder_spec.rb
519
- - spec/lib/protobuf/rpc/servers/socket_server_spec.rb
520
- - spec/lib/protobuf/rpc/servers/zmq/server_spec.rb
521
- - spec/lib/protobuf/rpc/servers/zmq/util_spec.rb
522
- - spec/lib/protobuf/rpc/servers/zmq/worker_spec.rb
523
- - spec/lib/protobuf/rpc/service_directory_spec.rb
524
- - spec/lib/protobuf/rpc/service_dispatcher_spec.rb
525
- - spec/lib/protobuf/rpc/service_filters_spec.rb
526
- - spec/lib/protobuf/rpc/service_spec.rb
527
- - spec/lib/protobuf/rpc/stat_spec.rb
528
- - spec/lib/protobuf/varint_spec.rb
529
- - spec/lib/protobuf_spec.rb
530
- - spec/spec_helper.rb
531
- - spec/support/all.rb
532
- - spec/support/packed_field.rb
533
- - spec/support/protos/all_types.data.bin
534
- - spec/support/protos/all_types.data.txt
535
- - spec/support/protos/enum.pb.rb
536
- - spec/support/protos/enum.proto
537
- - spec/support/protos/extreme_values.data.bin
538
- - spec/support/protos/google_unittest.bin
539
- - spec/support/protos/google_unittest.pb.rb
540
- - spec/support/protos/google_unittest.proto
541
- - spec/support/protos/google_unittest_custom_options.bin
542
- - spec/support/protos/google_unittest_custom_options.pb.rb
543
- - spec/support/protos/google_unittest_custom_options.proto
544
- - spec/support/protos/google_unittest_import.pb.rb
545
- - spec/support/protos/google_unittest_import.proto
546
- - spec/support/protos/google_unittest_import_public.pb.rb
547
- - spec/support/protos/google_unittest_import_public.proto
548
- - spec/support/protos/multi_field_extensions.pb.rb
549
- - spec/support/protos/multi_field_extensions.proto
550
- - spec/support/protos/resource.pb.rb
551
- - spec/support/protos/resource.proto
552
- - spec/support/resource_service.rb
553
- - spec/support/server.rb
554
- - spec/support/test_app_file.rb
470
+ test_files: []