diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 14:43:10 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 14:43:10 +0000 |
commit | 69acb34d89e05637f04531f4ba8903f1dd887383 (patch) | |
tree | 023a3777576237d3b89b7554c00ee2ae1142b0a9 /lib/custodian/protocoltest/ssl.rb | |
parent | ff910ae9491d81085e25d289f61cec72e96e57ef (diff) |
Removed trailing whitespace from the code
Diffstat (limited to 'lib/custodian/protocoltest/ssl.rb')
-rw-r--r-- | lib/custodian/protocoltest/ssl.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/protocoltest/ssl.rb b/lib/custodian/protocoltest/ssl.rb index 44c3910..5e14329 100644 --- a/lib/custodian/protocoltest/ssl.rb +++ b/lib/custodian/protocoltest/ssl.rb @@ -390,7 +390,7 @@ module Custodian # # If the line disables us then return early # - if @line =~ /no_ssl_check/ + if @line =~ /no_ssl_check/ return true end @@ -403,7 +403,7 @@ module Custodian # # If outside 10AM-5PM we don't run the test. # - if hour < 10 || hour > 17 + if hour < 10 || hour > 17 puts("Outside office hours - Not running SSL-Verification of #{@host}") return true end @@ -411,7 +411,7 @@ module Custodian # # Double-check we've got an SSL host # - if ! @host =~ /^https:\/\// + if ! @host =~ /^https:\/\// puts('Not an SSL URL') return true end |