Introducing the sps-pub gem

require 'sps-pub'

SPSPub.notice 'test: 123', address: '192.168.4.140'

The above example publishes a SimplePubSub message with the topic test to a SimplePubSub broker at address 192.168.4.140.

Resources