[Rt-commit] rtir branch, 2.4-trunk, updated. 2.4.5-1-g2867a39

Ruslan Zakirov ruz at bestpractical.com
Fri Dec 3 18:32:15 EST 2010


The branch, 2.4-trunk has been updated
       via  2867a39554281f1be6043ffdaf1498e620c9d05b (commit)
      from  44f7bf4deef3bd06a6d085164323cbe224966b6b (commit)

Summary of changes:
 Makefile.PL               |    4 +---
 inc/Module/Install/RTx.pm |    2 +-
 lib/RT/IR.pm              |    9 +++++++++
 3 files changed, 11 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 2867a39554281f1be6043ffdaf1498e620c9d05b
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Sat Dec 4 02:30:27 2010 +0300

    move some bits from makefile into POD

diff --git a/Makefile.PL b/Makefile.PL
index 5271a20..7f6e556 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,9 +1,7 @@
 use inc::Module::Install;
 
 RTx('RT-IR');
-license('GPL Version 2');
-author('Best Practical Solutions <sales at bestpractical.com>');
-version_from('lib/RT/IR.pm');
+all_from('lib/RT/IR.pm');
 
 { # check RT version
     my @v = split /\./, "$RT::VERSION";
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index b780a6c..5480124 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -42,8 +42,8 @@ sub RTx {
         $INC{'RT.pm'} = "$RT::LocalPath/lib/RT.pm";
     } else {
         local @INC = (
-            $ENV{RTHOME} ? ( $ENV{RTHOME}, "$ENV{RTHOME}/lib" ) : (),
             @INC,
+            $ENV{RTHOME} ? ( $ENV{RTHOME}, "$ENV{RTHOME}/lib" ) : (),
             map { ( "$_/rt3/lib", "$_/lib/rt3", "$_/lib" ) } grep $_,
             @prefixes
         );
diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index 231c2fb..ae8cd04 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -600,5 +600,14 @@ sub LoadByCols {
     return $self->SUPER::LoadByCols( %args, Content => $sIP, LargeContent => $eIP );
 }
 
+=head1 AUTHOR
+
+Best Practical Solutions E<lt>sales at bestpractical.comE<gt>
+
+=head1 LICENSE
+
+GPL version 2
+
+=cut
 
 1;

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


More information about the Rt-commit mailing list