[Rt-commit] rt branch, 3.999-trunk, updated. ed16a8a850934e158967223980e60d87614079cf

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Nov 16 22:34:53 EST 2009


The branch, 3.999-trunk has been updated
       via  ed16a8a850934e158967223980e60d87614079cf (commit)
      from  59629ea100899b422b91b7484157163e47b0405f (commit)

Summary of changes:
 TODO                            |    3 ---
 lib/RT/ScripAction/SendEmail.pm |    2 +-
 t/api/tickets_overlay_sql.t     |    2 +-
 3 files changed, 2 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit ed16a8a850934e158967223980e60d87614079cf
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Nov 17 11:32:05 2009 +0800

    fix args cases for MIME::Entity

diff --git a/TODO b/TODO
index 9b7951e..34b4a98 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,3 @@
-API changes
-    check that MIME tools have camel case args
-
 things we ripped out that need to be added back
 
     external auth
diff --git a/lib/RT/ScripAction/SendEmail.pm b/lib/RT/ScripAction/SendEmail.pm
index cdf0cef..29b16af 100755
--- a/lib/RT/ScripAction/SendEmail.pm
+++ b/lib/RT/ScripAction/SendEmail.pm
@@ -498,7 +498,7 @@ sub add_ticket {
     my $ticket_mime = MIME::Entity->build(
         Type        => 'multipart/mixed',
         Top         => 0,
-        description => "ticket #$tid",
+        Description => "ticket #$tid",
     );
     while ( my $attachment = $attachs->next ) {
         $self->add_attachment( $attachment, $ticket_mime );
diff --git a/t/api/tickets_overlay_sql.t b/t/api/tickets_overlay_sql.t
index 9507502..e4e9013 100644
--- a/t/api/tickets_overlay_sql.t
+++ b/t/api/tickets_overlay_sql.t
@@ -28,7 +28,7 @@ my $string = 'subject/content SQL test';
 
 {
     my $Message = MIME::Entity->build(
-                     subject     => 'this is my subject',
+                     Subject     => 'this is my subject',
                      From        => 'jesse at example.com',
                      Data        => [ $string ],
             );

-----------------------------------------------------------------------


More information about the Rt-commit mailing list