[Rt-commit] r6003 - in rtir/branches/2.1-EXPERIMENTAL: .
lib/RT/Condition t
ruz at bestpractical.com
ruz at bestpractical.com
Tue Sep 19 23:37:37 EDT 2006
Author: ruz
Date: Tue Sep 19 23:37:36 2006
New Revision: 6003
Modified:
rtir/branches/2.1-EXPERIMENTAL/ (props changed)
rtir/branches/2.1-EXPERIMENTAL/MANIFEST
rtir/branches/2.1-EXPERIMENTAL/META.yml
rtir/branches/2.1-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituency.pm
rtir/branches/2.1-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireConstituencyChange.pm
rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl
Log:
r1595 at cubic-pc: cubic | 2006-09-20 07:47:25 +0400
* minor
Modified: rtir/branches/2.1-EXPERIMENTAL/MANIFEST
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/MANIFEST (original)
+++ rtir/branches/2.1-EXPERIMENTAL/MANIFEST Tue Sep 19 23:37:36 2006
@@ -135,6 +135,7 @@
lib/RT/Action/RTIR_ResolveChildren.pm
lib/RT/Action/RTIR_SetBlockState.pm
lib/RT/Action/RTIR_SetConstituency.pm
+lib/RT/Action/RTIR_SetConstituencyGroup.pm
lib/RT/Action/RTIR_SetDueBySLA.pm
lib/RT/Action/RTIR_SetDueCorrespond.pm
lib/RT/Action/RTIR_SetDueIncident.pm
@@ -154,6 +155,7 @@
lib/RT/Condition/RTIR_CustomerResponse.pm
lib/RT/Condition/RTIR_ReopenTicket.pm
lib/RT/Condition/RTIR_RequireConstituencyChange.pm
+lib/RT/Condition/RTIR_RequireConstituencyGroupChange.pm
lib/RT/Condition/RTIR_RequireDueChange.pm
lib/RT/Condition/RTIR_RequireStateChange.pm
lib/RT/Condition/RTIR_StaffResponse.pm
Modified: rtir/branches/2.1-EXPERIMENTAL/META.yml
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/META.yml (original)
+++ rtir/branches/2.1-EXPERIMENTAL/META.yml Tue Sep 19 23:37:36 2006
@@ -14,6 +14,8 @@
Business::Hours: 0
Business::SLA: 0
DBIx::SearchBuilder: 1.4
+ Net::CIDR: 0
Net::Whois::RIPE: 0
RT::FM: 0
+ Regexp::Common::net::CIDR: 0
version: 2.1.HEAD
Modified: rtir/branches/2.1-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituency.pm
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituency.pm (original)
+++ rtir/branches/2.1-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituency.pm Tue Sep 19 23:37:36 2006
@@ -101,4 +101,3 @@
die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/RTIR_SetConstituency_Local.pm});
1;
-
Modified: rtir/branches/2.1-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireConstituencyChange.pm
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireConstituencyChange.pm (original)
+++ rtir/branches/2.1-EXPERIMENTAL/lib/RT/Condition/RTIR_RequireConstituencyChange.pm Tue Sep 19 23:37:36 2006
@@ -1,9 +1,9 @@
package RT::Condition::RTIR_RequireConstituencyChange;
-
use strict;
-use base 'RT::Condition::RTIR';
+use warnings;
+use base 'RT::Condition::RTIR';
=head2 IsApplicable
Modified: rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl (original)
+++ rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl Tue Sep 19 23:37:36 2006
@@ -85,7 +85,7 @@
my $incs = shift;
my $desc = shift;
display_ticket( $agent, $id );
- foreach my $inc( @$incs ) {
+ foreach my $inc( ref $incs? @$incs : ($incs) ) {
my $desc = shift || "Ticket #$id is linked to the Incident #$inc";
$agent->content_like(
qr{Incident:\s*</td>\s*<td[^>]*?>.*?\Q$inc:}ism,
More information about the Rt-commit
mailing list