README.md in ezmq-0.3.0 vs README.md in ezmq-0.3.1

- old
+ new

@@ -1,8 +1,12 @@ [EZMQ (Effortless ZeroMQ)](https://colstrom.github.io/ezmq/) ======================== +[![Gem Version](https://badge.fury.io/rb/ezmq.svg)](http://badge.fury.io/rb/ezmq) +[![Dependency Status](https://gemnasium.com/colstrom/ezmq.svg)](https://gemnasium.com/colstrom/ezmq) +[![Code Climate](https://codeclimate.com/github/colstrom/ezmq/badges/gpa.svg)](https://codeclimate.com/github/colstrom/ezmq) + Overview -------- EZMQ is a wrapper around the wonderful `ffi-rzmq` gem, which (as the name suggests) uses FFI, and exposes a fairly raw C-like interface. As elegant as 0MQ is, C doesn't feel like Ruby, and FFI bindings feel like C. EZMQ makes some reasonable assumptions to help you focus on what makes your code special, and not worry about setting up 0MQ. @@ -80,13 +84,13 @@ Publishes an endless stream of 'foo's with a topic of 'foorever'. ``` require 'ezmq' -publisher = EZMQ.Publisher.new topic: 'foorever' +publisher = EZMQ.Publisher.new loop do - publisher.send 'foo' + publisher.send 'foo', topic: 'foorever' end ``` 'foorever' Subscriber ---------------------