aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-21 14:19:16 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-21 14:19:16 +0000
commit4b05981778a25e950282a27ba3fff3c0105e70bb (patch)
tree3d2af9539ccf3bd45f4239a597418d43e23a8abd /lib/mauve/alert.rb
parent1ac8bf551758c99204e76374eee8c8cba9bd5db3 (diff)
Fixed couple of typos
Diffstat (limited to 'lib/mauve/alert.rb')
-rw-r--r--lib/mauve/alert.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb
index 4629191..ac164ed 100644
--- a/lib/mauve/alert.rb
+++ b/lib/mauve/alert.rb
@@ -190,7 +190,7 @@ module Mauve
source_list = Mauve::Configuration.current.source_lists[listname]
return false unless source_list.is_a?(SourceList)
- source_list.include?(self.subject)
+ source_list.includes?(self.subject)
end
# Returns the alert level
@@ -655,7 +655,7 @@ module Mauve
#
# @return [Array]
def all_unacknowledged
- all_raised & all(:acknowldeged_at => nil)
+ all_raised & all(:acknowledged_at => nil)
end
# All alerts currently raised and acknowledged