[Rt-commit] rt branch, 4.0/clean-interface-cli, updated. rt-4.0.0rc6-139-g6821db6

Shawn Moore sartak at bestpractical.com
Thu Mar 17 21:31:26 EDT 2011


The branch, 4.0/clean-interface-cli has been updated
       via  6821db6277b474a5ab9946319e54b3df6f501725 (commit)
      from  5a95b5c0f697b71fc55c81f0cbb220f1a118341f (commit)

Summary of changes:
 lib/RT/Interface/REST.pm |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

- Log -----------------------------------------------------------------
commit 6821db6277b474a5ab9946319e54b3df6f501725
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 17 21:31:13 2011 -0400

    Give RT::Interface::REST a similar de-cruft

diff --git a/lib/RT/Interface/REST.pm b/lib/RT/Interface/REST.pm
index 267f454..31a4f86 100644
--- a/lib/RT/Interface/REST.pm
+++ b/lib/RT/Interface/REST.pm
@@ -45,22 +45,12 @@
 # those contributions and any derivatives thereof.
 #
 # END BPS TAGGED BLOCK }}}
-
-# lib/RT/Interface/REST.pm
-#
-
 package RT::Interface::REST;
 use strict;
 use RT;
 
-BEGIN {
-    use base 'Exporter';
-    use vars qw($VERSION @EXPORT);
-
-    $VERSION = do { my @r = (q$Revision: 1.00$ =~ /\d+/g); sprintf "%d."."%02d"x$#r, @r };
-
-    @EXPORT = qw(expand_list form_parse form_compose vpush vsplit);
-}
+use base 'Exporter';
+our @EXPORT = qw(expand_list form_parse form_compose vpush vsplit);
 
 sub custom_field_spec {
     my $self    = shift;

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


More information about the Rt-commit mailing list