lib/racknga/exception_mail_notifier.rb in racknga-0.9.0 vs lib/racknga/exception_mail_notifier.rb in racknga-0.9.1
- old
+ new
@@ -2,11 +2,12 @@
#
# Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
-# License version 2.1 as published by the Free Software Foundation.
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
@@ -17,9 +18,10 @@
require 'time'
require 'net/smtp'
require 'etc'
require 'socket'
+require 'nkf'
require 'racknga/utils'
module Racknga
# Ruby 1.9 only. 1.8 isn't supported.