protobuf-rpc-register 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63b5d41759b947c69fa95444f937f91900a81cdb
4
- data.tar.gz: b8c4419666806e62bb5af855986e98b20aeb542f
3
+ metadata.gz: ae72c45b5e148728eea8842629fb32ccc8433076
4
+ data.tar.gz: a026f33168a3a0c10b7bb9b1f2b8761c3009a096
5
5
  SHA512:
6
- metadata.gz: 986c945568b06dbf7248e29fca7d8403db8c3a9980bc8e01b0c6e100bb096c77b9bb31d22589a69339278b47c2ecb5477ba4c17f07eb57128439b0b8ee44f2ca
7
- data.tar.gz: ebd3d1e03d93765cae29266d8d184094ef7d85521bf254a4a300133f667eb8ae2c11a07150461f028946d5e5a8556eabb587d07ebaafae89da41bd42ddb1cfcb
6
+ metadata.gz: 3262053ef1e5e3e2f2c3933156517541631d1d0b1e48d19764bcbf97a0c7a0af72cf25ea907c9006d3092325055f6453ecda2f0ad7ccb61c03a63e89dccea667
7
+ data.tar.gz: d16042818414f9de0322788aff3fd5d34a67a0cda6877013e5fefa197e56423e24bd58dfa3c5e5abfff0e7e0a9649d9ea2cd2543ffd38048343883a88ab4dbbf
@@ -52,11 +52,9 @@ module Protobuf
52
52
  private
53
53
 
54
54
  def internal_client
55
- @internal_client ||= begin
56
- names = self.class.name.split('::')
57
- svc_class = [names[0..-3], 'Services', names[-1]].flatten.join('::')
58
- Object.const_get(svc_class).client(host: host, port: port, timeout: timeout)
59
- end
55
+ names = self.class.name.split('::')
56
+ svc_class = [names[0..-3], 'Services', names[-1]].flatten.join('::')
57
+ Object.const_get(svc_class).client(host: host, port: port, timeout: timeout)
60
58
  end
61
59
 
62
60
  def define_error_class(res)
@@ -1,7 +1,7 @@
1
1
  module Protobuf
2
2
  module Rpc
3
3
  module Register
4
- VERSION = "0.4.5".freeze
4
+ VERSION = "0.4.6".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protobuf-rpc-register
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - scorix