aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-02-06 15:17:15 +0000
committerSteve Kemp <steve@steve.org.uk>2015-02-06 15:17:15 +0000
commit3beebea7549ae4ed46dfaa91d4f3047f3b242b6c (patch)
treeb11fbb8e4c4a4a63286494b4fafa253c155fc947 /lib/mauve
parent7ab5e50930a00c4a392632173669cc2acdb97a3d (diff)
Fixed typoes in comments
Diffstat (limited to 'lib/mauve')
-rw-r--r--lib/mauve/authentication.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/mauve/authentication.rb b/lib/mauve/authentication.rb
index 2637047..ad7bf60 100644
--- a/lib/mauve/authentication.rb
+++ b/lib/mauve/authentication.rb
@@ -13,10 +13,10 @@ module Mauve
# Base class for authentication.
#
class Authentication
-
+
ORDER = []
- # Autenticates a user.
+ # Authenticate a user.
#
# @param [String] login
# @param [String] password
@@ -34,14 +34,14 @@ module Mauve
def logger
self.class.logger
end
-
+
# @return [Log4r::Logger]
def self.logger
@logger ||= Log4r::Logger.new(self.to_s)
end
# This calls all classes in the ORDER array one by one. If all classes
- # fail, a 5 second sleep rate-limits authentication attempts.
+ # fail, a 5 second sleep rate-limits authentication attempts.
#
# @param [String] login
# @param [String] password
@@ -79,7 +79,7 @@ module Mauve
end
- # This is the Bytemark authentication mechansim.
+ # This is the Bytemark authentication mechanism.
#
class AuthBytemark < Authentication
@@ -135,7 +135,7 @@ module Mauve
end
- # This is the local authentication mechansim, i.e. against the values in the
+ # This is the local authentication mechanism, i.e. against the values in the
# Mauve config file.
#
class AuthLocal < Authentication
@@ -167,7 +167,7 @@ module Mauve
return false
end
end
-
+
end
end