diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-22 06:34:33 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-22 06:34:33 +0000 |
commit | 5c92238fa95976cc6445eea3f964a8602bd939c8 (patch) | |
tree | f9d9357a5a5b716676e03658a6ce6a8480726cef | |
parent | d2df2061921f87bc91b919192488a77d0696e7a7 (diff) |
Renamed class Custodian -> Custodian/Worker
-rwxr-xr-x | bin/custodian-dequeue | 4 | ||||
-rw-r--r-- | lib/custodian/worker.rb (renamed from lib/custodian.rb) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index 70ddeda..d815438 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -55,7 +55,7 @@ require 'getoptlong' # # Our code. # -require 'custodian.rb' +require 'custodian/worker.rb' require 'custodian/alerter.rb' @@ -141,7 +141,7 @@ if __FILE__ == $0 then # # Create the object # - worker = Custodian.new( $SERVER, $LOGFILE ) + worker = CustodianWorker.new( $SERVER, $LOGFILE ) # diff --git a/lib/custodian.rb b/lib/custodian/worker.rb index e5a139c..0876f11 100644 --- a/lib/custodian.rb +++ b/lib/custodian/worker.rb @@ -36,7 +36,7 @@ require 'custodian/protocol-tests/tcp.rb' # This class contains the code for connecting to a Beanstalk queue, # fetching tests from it, and executing them # -class Custodian +class CustodianWorker # # The beanstalk queue. |