summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/protocoltest/dns.rb1
-rw-r--r--lib/custodian/protocoltest/ftp.rb1
-rw-r--r--lib/custodian/protocoltest/http.rb1
-rw-r--r--lib/custodian/protocoltest/jabber.rb2
-rw-r--r--lib/custodian/protocoltest/ldap.rb1
-rw-r--r--lib/custodian/protocoltest/ping.rb1
-rw-r--r--lib/custodian/protocoltest/rsync.rb1
-rw-r--r--lib/custodian/protocoltest/smtp.rb1
-rw-r--r--lib/custodian/protocoltest/ssh.rb1
-rw-r--r--lib/custodian/protocoltest/tcp.rb1
-rw-r--r--lib/custodian/testfactory.rb1
-rw-r--r--lib/custodian/util/dns.rb2
-rw-r--r--lib/custodian/util/ping.rb2
13 files changed, 14 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/dns.rb b/lib/custodian/protocoltest/dns.rb
index 0fccb96..cf37abf 100644
--- a/lib/custodian/protocoltest/dns.rb
+++ b/lib/custodian/protocoltest/dns.rb
@@ -10,6 +10,7 @@
#
#
module Custodian
+
module ProtocolTest
class DNSTest < TestFactory
diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb
index dfa86e1..f1c8ff9 100644
--- a/lib/custodian/protocoltest/ftp.rb
+++ b/lib/custodian/protocoltest/ftp.rb
@@ -12,6 +12,7 @@ require 'custodian/protocoltest/tcp'
# The specification of the port is optional and defaults to 21
#
module Custodian
+
module ProtocolTest
class FTPTest < TCPTest
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb
index 1610698..b3f446e 100644
--- a/lib/custodian/protocoltest/http.rb
+++ b/lib/custodian/protocoltest/http.rb
@@ -10,6 +10,7 @@
#
#
module Custodian
+
module ProtocolTest
diff --git a/lib/custodian/protocoltest/jabber.rb b/lib/custodian/protocoltest/jabber.rb
index c8235fc..e043481 100644
--- a/lib/custodian/protocoltest/jabber.rb
+++ b/lib/custodian/protocoltest/jabber.rb
@@ -13,8 +13,8 @@ require 'custodian/protocoltest/tcp'
# The specification of the port is optional, and defaults to 5222.
#
module Custodian
- module ProtocolTest
+ module ProtocolTest
class JABBERTest < TCPTest
diff --git a/lib/custodian/protocoltest/ldap.rb b/lib/custodian/protocoltest/ldap.rb
index 9c023e3..bfda9f8 100644
--- a/lib/custodian/protocoltest/ldap.rb
+++ b/lib/custodian/protocoltest/ldap.rb
@@ -13,6 +13,7 @@ require 'custodian/protocoltest/tcp'
# The specification of the port is optional and defaults to 389.
#
module Custodian
+
module ProtocolTest
class LDAPTest < TCPTest
diff --git a/lib/custodian/protocoltest/ping.rb b/lib/custodian/protocoltest/ping.rb
index 765540c..173f4f4 100644
--- a/lib/custodian/protocoltest/ping.rb
+++ b/lib/custodian/protocoltest/ping.rb
@@ -12,6 +12,7 @@ require 'custodian/testfactory.rb'
#
#
module Custodian
+
module ProtocolTest
class PINGTest < TestFactory
diff --git a/lib/custodian/protocoltest/rsync.rb b/lib/custodian/protocoltest/rsync.rb
index bb0a97c..34745c7 100644
--- a/lib/custodian/protocoltest/rsync.rb
+++ b/lib/custodian/protocoltest/rsync.rb
@@ -13,6 +13,7 @@ require 'custodian/protocoltest/tcp'
# The specification of the port is optional and defaults to 873
#
module Custodian
+
module ProtocolTest
class RSYNCTest < TCPTest
diff --git a/lib/custodian/protocoltest/smtp.rb b/lib/custodian/protocoltest/smtp.rb
index 08912f1..ee52131 100644
--- a/lib/custodian/protocoltest/smtp.rb
+++ b/lib/custodian/protocoltest/smtp.rb
@@ -13,6 +13,7 @@ require 'custodian/protocoltest/tcp'
# The specification of the port is optional and defaults to 25.
#
module Custodian
+
module ProtocolTest
class SMTPTest < TCPTest
diff --git a/lib/custodian/protocoltest/ssh.rb b/lib/custodian/protocoltest/ssh.rb
index b557a77..b8a6354 100644
--- a/lib/custodian/protocoltest/ssh.rb
+++ b/lib/custodian/protocoltest/ssh.rb
@@ -12,6 +12,7 @@ require 'custodian/protocoltest/tcp'
# The specification of the port is optional.
#
module Custodian
+
module ProtocolTest
class SSHTest < TCPTest
diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb
index c09eb6b..21d2ecd 100644
--- a/lib/custodian/protocoltest/tcp.rb
+++ b/lib/custodian/protocoltest/tcp.rb
@@ -16,6 +16,7 @@ require 'timeout'
# The specification of the port is mandatory, the banner is optional.
#
module Custodian
+
module ProtocolTest
class TCPTest < TestFactory
diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb
index 5b2428d..fa12cd8 100644
--- a/lib/custodian/testfactory.rb
+++ b/lib/custodian/testfactory.rb
@@ -15,7 +15,6 @@ require 'json'
#
module Custodian
-
class TestFactory
diff --git a/lib/custodian/util/dns.rb b/lib/custodian/util/dns.rb
index 901dae0..fca3f95 100644
--- a/lib/custodian/util/dns.rb
+++ b/lib/custodian/util/dns.rb
@@ -10,7 +10,9 @@ require 'timeout'
# This class is responsible for doing forward/reverse DNS lookups
#
module Custodian
+
module Util
+
class DNS
diff --git a/lib/custodian/util/ping.rb b/lib/custodian/util/ping.rb
index b3fa7f4..86fa2ab 100644
--- a/lib/custodian/util/ping.rb
+++ b/lib/custodian/util/ping.rb
@@ -11,7 +11,9 @@ require 'custodian/util/dns'
# it can invoke on of /usr/bin/ping or /usr/bin/ping6 appropriately.
#
module Custodian
+
module Util
+
class Ping
#