lib/racknga/exception_mail_notifier.rb in racknga-0.9.3 vs lib/racknga/exception_mail_notifier.rb in racknga-0.9.4
- old
+ new
@@ -12,11 +12,11 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
require 'time'
require 'net/smtp'
require 'etc'
require 'socket'
@@ -130,13 +130,13 @@
body
end
def send_summaries
- subject = "summaries of #{@summaries.size} notifications"
- mail = create_mail(:subject => subject,
- :body => report_body)
- send(mail)
+ subject = "summaries of #{@summaries.size} notifications"
+ mail = create_mail(:subject => subject,
+ :body => report_body)
+ send(mail)
end
def report_body
@summaries[0..10].join("\n\n")
end