rzmq-enhancement 0.0.18 → 0.0.19

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: 3e34edcdc28e5db48db58303cb688b59a528bd26
4
- data.tar.gz: a60d9cece0dde43c61092790e138e96c67633454
3
+ metadata.gz: b2b1c640aa3d499463f10de79d7453798a65666a
4
+ data.tar.gz: 110882ce6e58ed69d1a660140501e4539f54f9ba
5
5
  SHA512:
6
- metadata.gz: ff7704d8ff89c3438810b4423656475c8a7c9af154c23b7fd4050f34e569b103e30f5bc138f9bf8b2abc91f98d286fcdd25f63b28fdc3251785b17ef6b14f7c7
7
- data.tar.gz: 39de35613166f93527a805f0ef9bd2fbca3d1fc11d9bdc018c628195c99c3bb3c09e85703c17603792f7026c85398c0d19d177dc7c8313304a8ae72b4deb89bb
6
+ metadata.gz: 2debf5267b8c786d17b3d5d2316e0e6e6bbffc10576ad7a528c86c16aa687b6b7691b8b356810e517964044fd2005d11dafe3b237fb5fb4c840d7d0f50d21a23
7
+ data.tar.gz: 9a69238001e217b496e7141290e0753adeabab7aaf9d2a110c3053a8b16b3235d0d3b1f18b9adbc235a8034a7d3dcd8a5105c0b8c562298415226fdfd3e4576a
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 18
4
+ :patch: 19
5
5
  :special: ''
@@ -2,7 +2,7 @@ require 'rzmq-enhancement'
2
2
  require 'pp'
3
3
 
4
4
  include ZeroMQ
5
- EP = 'ipc://reqresp.ipc'
5
+ EP = 'tcp://127.0.0.1:17666'
6
6
 
7
7
  # request
8
8
 
@@ -2,7 +2,7 @@ require 'rzmq-enhancement'
2
2
  require 'pp'
3
3
 
4
4
  include ZeroMQ
5
- EP = 'ipc://reqresp.ipc'
5
+ EP = 'tcp://*:17666'
6
6
 
7
7
  # response
8
8
 
@@ -36,7 +36,7 @@ module ZeroMQ
36
36
  h.ctx = ZMQ::Context.create(1)
37
37
  h.push_sock = h.ctx.socket(type)
38
38
  error_check(h.push_sock.setsockopt(ZMQ::LINGER, 0))
39
- rc = h.push_sock.bind(endpoint)
39
+ rc = h.push_sock.connect(endpoint)
40
40
  error_check(rc)
41
41
  h
42
42
  else
@@ -67,7 +67,7 @@ module ZeroMQ
67
67
  h.ctx = ZMQ::Context.create(1)
68
68
 
69
69
  h.server_sock = h.ctx.socket(type)
70
- #error_check(h.server_sock.setsockopt(ZMQ::LINGER, 0))
70
+ error_check(h.server_sock.setsockopt(ZMQ::LINGER, 0))
71
71
  rc = if opts[:bind]
72
72
  h.server_sock.bind(endpoint)
73
73
  else
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rzmq-enhancement 0.0.18 ruby lib
5
+ # stub: rzmq-enhancement 0.0.19 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rzmq-enhancement".freeze
9
- s.version = "0.0.18"
9
+ s.version = "0.0.19"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rzmq-enhancement
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell