[Rt-commit] r5792 - in RT-Extension-CommandByEmail: . t

kevinr at bestpractical.com kevinr at bestpractical.com
Tue Aug 22 00:43:15 EDT 2006


Author: kevinr
Date: Tue Aug 22 00:43:14 2006
New Revision: 5792

Modified:
   RT-Extension-CommandByEmail/   (props changed)
   RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm
   RT-Extension-CommandByEmail/t/02.create.t
   RT-Extension-CommandByEmail/t/03.update.t

Log:
 r25590 at SAD-GIRL-IN-SNOW:  kevinr | 2006-08-22 00:38:35 -0400
 * Fix some typos and inconsistencies


Modified: RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm
==============================================================================
--- RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm	(original)
+++ RT-Extension-CommandByEmail/lib/RT/Interface/Email/Filter/TakeAction.pm	Tue Aug 22 00:43:14 2006
@@ -424,14 +424,14 @@
 
             $create_args{$attribute} = $cmds{ lc $attribute };
         }
-        foreach my $attr (@DATE_ATTRIBUTES) {
-            next unless exists $cmds{ lc $attr };
+        foreach my $attribute (@DATE_ATTRIBUTES) {
+            next unless exists $cmds{ lc $attribute };
             my $date = RT::Date->new( $args{'CurrentUser'} );
             $date->Set(
                 Format => 'unknown',
-                Value  => $cmds{ lc $attr }
+                Value  => $cmds{ lc $attribute }
             );
-            $create_args{$attr} = $date->ISO;
+            $create_args{$attribute} = $date->ISO;
         }
 
         # Canonicalize links

Modified: RT-Extension-CommandByEmail/t/02.create.t
==============================================================================
--- RT-Extension-CommandByEmail/t/02.create.t	(original)
+++ RT-Extension-CommandByEmail/t/02.create.t	Tue Aug 22 00:43:14 2006
@@ -10,7 +10,7 @@
 
 my $test_ticket_id;
 
-diag("simle test of the mailgate") if $ENV{'TEST_VERBOSE'};
+diag("simple test of the mailgate") if $ENV{'TEST_VERBOSE'};
 {
     my $text = <<END;
 Subject: test

Modified: RT-Extension-CommandByEmail/t/03.update.t
==============================================================================
--- RT-Extension-CommandByEmail/t/03.update.t	(original)
+++ RT-Extension-CommandByEmail/t/03.update.t	Tue Aug 22 00:43:14 2006
@@ -10,7 +10,7 @@
 
 my $test_ticket_id;
 
-diag("simle test of the mailgate") if $ENV{'TEST_VERBOSE'};
+diag("simple test of the mailgate") if $ENV{'TEST_VERBOSE'};
 {
     my $text = <<END;
 Subject: test


More information about the Rt-commit mailing list