summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.