summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/smtprelay.rb
AgeCommit message (Collapse)Author
2015-03-09Removed trailing whitespace from the codeSteve Kemp
2015-03-09More minor space fixupsSteve Kemp
2015-03-09Removed spaces inside parenthesis.Steve Kemp
2015-03-09Prefer single-quotes when you don't need interpolation.Steve Kemp
So "foo" is less good than 'foo'.
2015-03-09Don't use parenthesis aroudn conditions in an if.Steve Kemp
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Don't rescue the 'Exception'Steve Kemp
Instead rescue a 'StandardError' which is slightly more specific. (Rescuing more specific exceptions is good.)
2015-03-09File.exists? is deprecated.Steve Kemp
We prefer "File.exist?". Flagged by rubocop.
2013-02-18 Read hostname from /etc/hostname.Steve Kemp
2013-02-18 Deleted trailing whitespace.Steve Kemp
2013-02-07Cleaned up logic with inversion and return to be a bit less cumbersome and ↵john hackett
marginally less ugly.
2013-02-07 Fixed class ancestry, and cleaned up whitespace.Steve Kemp
2013-02-07Changed smtprelay.rb to correctly report success if an smtp connection is ↵john hackett
refused, times out, or if message sending doesn't return a 250. Reports failure if the responding server gives an smtp 250 for successful message send.
2013-02-05 Fixed name of test.Steve Kemp
2013-02-05 Fixed.Steve Kemp