Introducing celluloid-io-pg-listener
Introducing a new RubyGem celluloid-io-pg-listener (on github)
Allows you to asynchronously LISTEN for Postgresql NOTIFY messages and do something with the payloads.
Sure!
It should work if you just run bin/setup from the root directory of the gem, then you can follow along the examples in the readme.
All the data about db setup and structure is located in the spec/apps directory.
In spec/apps/Rakefile you will find a test_db_setup task. Check it out.