sub_zero 0.0.5 → 0.0.6

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: 41d022d98d371aa71c53fbe297f481015d5293f7
4
- data.tar.gz: d6f1bdd5be50e6ed39640cafe7e350647e8f38e7
3
+ metadata.gz: 1125ee1b284a90c1bbdfe38a13f8b72d08c6e2f3
4
+ data.tar.gz: 3a30a04f4ff325ad96e45afb6058a2bf54ab3220
5
5
  SHA512:
6
- metadata.gz: 127f4ed3c1f8606bbdfb28203aefb15743cb4a54d5619e4c6033faab2bccc806c1bd9ca9be0f6c71da013c966c7e93bc913aea9deb5e68c8ba98a2e3e9068efa
7
- data.tar.gz: af1707609bc526c600b64a60d909f97bce87b7e9731c3b72eaee9824d97161726517c5fd4319673905b4ab3cf4849ecf8cab63631427c6033eba52727cf30b28
6
+ metadata.gz: efcf2bcf0c547f5669d32fc83254ffb1daa7e207659d6ce971c4b6777b9795f535ad617841620300a9de9a5c51da3072493ce5a58a62aaf85ff64aea8ffa3e65
7
+ data.tar.gz: f02172ad9aa4af0e70cc72262d73e10197852c276087a02366604470ca6f6e964053bb3791159f34f9d7b17c637604f4a9b300ad8516332957745931d276fd75
@@ -32,6 +32,7 @@ module SubZero
32
32
  def socket context
33
33
  socket = context.socket ZMQ::DEALER
34
34
  socket.identity = SecureRandom.hex(10)
35
+ socket.setsockopt(ZMQ::LINGER, 0)
35
36
  check! socket.connect("tcp://#{config[:ip]}:#{config[:port]}")
36
37
  yield socket
37
38
  check! socket.close
@@ -1,3 +1,3 @@
1
1
  module SubZero
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sub_zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Rodrigues
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-17 00:00:00.000000000 Z
12
+ date: 2013-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project:
235
- rubygems_version: 2.0.3
235
+ rubygems_version: 2.1.5
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: ZeroMQ GREAT SOA solution