protobuf 3.6.7 → 3.6.9

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: b3cf62f23b61199ad1d1767568d1dcfe5a5c5517
4
- data.tar.gz: 5becc07ad7520bb37422240800156809b4081371
3
+ metadata.gz: cfbfae9ba4f307ba0f2091a771eb7718ba00dad1
4
+ data.tar.gz: 92883270fb2dc1d4a2956f10eb4ab0aa8f12bad0
5
5
  SHA512:
6
- metadata.gz: e970d0602dde01c897b47c312d81f85f8a9defa6227fdf7b5e9b162d2cfc693124b7d6b9fb79a07fbaeab99e59e9783f4b632c5ba610e59e7640d53d94144f7a
7
- data.tar.gz: a83cf1545c8dd56238bcf22f96407ed618a97e0532facad53b4bbd38869e413dd68bfa3e167e989dae6dcaf55dfed59c36822be40121600455496fc3a02c0fe3
6
+ metadata.gz: 302ef108feeecbb2a47d513e61450760d422381a669b160223ee1b17767d8ef87631d4598bc2bbefdef56d42c081119cd824fcbb8fadfea7dda65687f6c22474
7
+ data.tar.gz: 5ddf314f935257add99bec05c9447573872515406bab567e45a672d49051493e0c4b2ea7e6ee30c9fe72408f3520a22ee3c200d57e684992aeed1768ad5e62ca
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Stable (3.x)
2
2
 
3
+ 3.6.9
4
+ --------
5
+ - Make protobuf serivce directory pluggable.
6
+
3
7
  3.5.5
4
8
  --------
5
9
  - Add native Varint for MRI.
@@ -226,7 +226,7 @@ module Protobuf
226
226
 
227
227
  # Alias for ::Protobuf::Rpc::ServiceDirectory.instance
228
228
  def service_directory
229
- ::Protobuf::Rpc::ServiceDirectory.instance
229
+ ::Protobuf::Rpc.service_directory
230
230
  end
231
231
 
232
232
  def snd_timeout
@@ -9,6 +9,14 @@ require 'protobuf/rpc/dynamic_discovery.pb'
9
9
 
10
10
  module Protobuf
11
11
  module Rpc
12
+ def self.service_directory
13
+ @service_directory ||= ::Protobuf::Rpc::ServiceDirectory.instance
14
+ end
15
+
16
+ def self.service_directory=(directory)
17
+ @service_directory = directory
18
+ end
19
+
12
20
  class ServiceDirectory
13
21
  include ::Singleton
14
22
  include ::Protobuf::Logging
@@ -1,3 +1,3 @@
1
1
  module Protobuf
2
- VERSION = '3.6.7'
2
+ VERSION = '3.6.9'
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.6.7
4
+ version: 3.6.9
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: 2016-02-18 00:00:00.000000000 Z
14
+ date: 2016-05-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -435,7 +435,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
435
435
  version: '0'
436
436
  requirements: []
437
437
  rubyforge_project:
438
- rubygems_version: 2.5.1
438
+ rubygems_version: 2.4.5
439
439
  signing_key:
440
440
  specification_version: 4
441
441
  summary: Google Protocol Buffers serialization and RPC implementation for Ruby.