Sha256: c2f48b3503952f7ce840743265a54d507f524cde8b463fa666f666e3e18e6103

Contents?: true

Size: 871 Bytes

Versions: 7

Compression:

Stored size: 871 Bytes

Contents

Upgrading from 0.3.x to 0.4+
----------------------------

#listen on EZMQ::Socket and EZMQ::Subscriber now requires a block, previously it was optional.

options[:protocol] has been renamed to options[:transport], to be correct.

options[:transport] is expected to be a :symbol, not a 'string'.

Upgrading from 0.1.x to 0.2+
----------------------------

Initializing a socket now allows `protocol`, `address`, and `port` as optional parameters.

If you were passing `address` in as a string containing all three, this is no longer required, and will fail.

`provides` and `action` removed from `Server` and `Subscriber` respectively. `handler` removed from #listen.

Server#listen and Subscriber#listen now yield received messages to a block, if given. The return of the block will be send as the response.

Client#request now yields the response message to the block.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ezmq-0.4.12 UPGRADING.md
ezmq-0.4.11 UPGRADING.md
ezmq-0.4.4 UPGRADING.md
ezmq-0.4.3 UPGRADING.md
ezmq-0.4.2 UPGRADING.md
ezmq-0.4.1 UPGRADING.md
ezmq-0.4.0 UPGRADING.md