github/github-services — pull request #356 by andypiper (2012-06-19 14:07:12+00:00)
Title: Add the ability to publish an MQTT update as a retained publication in service hook

This pull request adds an additional boolean to the MqttPub service hook which enables the message to be marked as retained, meaning that it will remain available to subscriber who arrive after the publication was sent. This also makes it useful for checking a specified MQTT topic for the last known commit.

It also changes the display label of the service hook from MqttPub to MQTT Publication. The service hook code file itself remains named MqttPub.rb.

No change is strictly necessary to the test code for the service hook - it will simply assume that the publication is non-retained.