Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-09 | Prefer single-quotes when you don't need interpolation. | Steve Kemp | |
So "foo" is less good than 'foo'. | |||
2015-03-09 | Don't use parenthesis aroudn conditions in an if. | Steve Kemp | |
2015-03-09 | Do not use parentheses for method calls with no arguments. | Steve Kemp | |
This is neater. Flagged by rubocop | |||
2015-03-09 | Avoid "Array.new" and "Hash.new" | Steve Kemp | |
Instead use {} + (). | |||
2015-03-09 | File.exists? is deprecated. | Steve Kemp | |
We prefer "File.exist?". Flagged by rubocop. | |||
2015-03-04 | Reinstate the default logger as - file. | Steve Kemp | |
2015-03-04 | New release | Steve Kemp | |
2015-02-18 | Minor commenting/whitespace fixups. | Steve Kemp | |
No functional changes. | |||
2015-02-05 | Simplify code by removing configuration. | Steve Kemp | |
We now set the queue-address via $QUEUE_ADDRESS, otherwise we default to localhost. This works for both redis & beanstalkd. | |||
2015-01-21 | Added accessor for the queue-type. | Steve Kemp | |
Default to redis as this is more likely to be installed. | |||
2015-01-19 | Updated to use our queue-abstraction. | Steve Kemp | |
This means we can queue/dequeue to either Redis or Beanstalkd. | |||
2014-12-11 | Removed ruby1.8isms | Patrick J Cherry | |
2013-07-11 | Added new global variable "alert_source", for use with | Steve Kemp | |
mauve-notification. | |||
2013-05-15 | Correctly work if we have no settings file present. | Steve Kemp | |
Previously we'd try to find the setting "foo" like so: @settings['foo'].to_i || 5 This would fail if the setting wasn't defined, because nil.to_i results in 0. But we must call to_i otherwise we'll have issues comparing strings/numbers. | |||
2013-05-15 | Added store() method for use by test case. | Steve Kemp | |
updated comments. | |||
2013-05-14 | Ensure repeat_count and sleep values are integers. | Steve Kemp | |
2013-05-14 | Allow retry-behaviour to be tweaked. | Steve Kemp | |
We can now sleep between retesting, and we configure the number of repeats via the configuration file. | |||
2013-04-23 | Allow the settings object to retrieve the name of the beanstalkd tube. | Steve Kemp | |
2012-12-12 | Updated comment. | Steve Kemp | |
2012-12-12 | The settings object will let you retrieve an arbitrary key. | Steve Kemp | |
2012-11-30 | comment + neatness update. | Steve Kemp | |
2012-11-26 | Updated so that each alert-type has its dedicated alert-target. | Steve Kemp | |
2012-11-24 | Updated comments. | Steve Kemp | |
2012-11-24 | Default alerter is "file". | Steve Kemp | |
2012-11-24 | Add accessor, with sane defaults, for the alerters | Steve Kemp | |
2012-11-24 | Added new helper to get the alerter. | Steve Kemp | |
2012-11-23 | Added attribute for the logfile. | Steve Kemp | |
Updated default beanstalkd server port. | |||
2012-11-23 | Added this file to the project - not-yet used. | Steve Kemp | |