Subject: [sup-devel] [PATCH] fix reference to EncodingUnsupportedError

From: Sascha Silbe <[email-masked]>
Date: Tue, 29 Jun 2010 09:50:25 +0200

This fixes the following error:

./lib/sup/message.rb:473:in `message_to_chunks': uninitialized constant Redwood::Message::EncodingUnsupportedError (NameError)

Signed-off-by: Sascha Silbe <[email-masked]>
---
 lib/sup/message.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sup/message.rb b/lib/sup/message.rb
index 4e6bbeb..1385585 100644
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -470,7 +470,7 @@ private
         when "7bit", "8bit", nil
           m.body
         else
-          raise EncodingUnsupportedError, encoding.inspect
+          raise RMail::EncodingUnsupportedError, encoding.inspect
         end
         body = body.normalize_whitespace
         payload = RMail::Parser.read(body)
-- 
1.6.5

_______________________________________________
Sup-devel mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-devel

---

From: Rich Lane <[email-masked]>
Date: Fri, 02 Jul 2010 22:31:32 -0400

Applied to master.