summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-22 06:34:33 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-22 06:34:33 +0000
commit2d0160537ebfacc391d395f7d1ac0a4e02543c74 (patch)
treef9d9357a5a5b716676e03658a6ce6a8480726cef
parentaf17587a9ec6ed89edc018971ee41b59d1fe7f16 (diff)
Renamed class Custodian -> Custodian/Worker
--HG-- rename : lib/custodian.rb => lib/custodian/worker.rb
-rwxr-xr-xbin/custodian-dequeue4
-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.