[Bps-public-commit] r15091 - in sd/trunk: .
spang at bestpractical.com
spang at bestpractical.com
Tue Aug 12 09:34:32 EDT 2008
Author: spang
Date: Tue Aug 12 09:34:32 2008
New Revision: 15091
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/Replica/RT.pm
Log:
r48041 at loki: spang | 2008-08-11 17:52:23 +0100
clean up use pragmas in RT.pm
Modified: sd/trunk/lib/App/SD/Replica/RT.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/RT.pm (original)
+++ sd/trunk/lib/App/SD/Replica/RT.pm Tue Aug 12 09:34:32 2008
@@ -1,17 +1,16 @@
-use warnings;
-use strict;
-
package App::SD::Replica::RT;
-use Moose;
+use Moose;
extends qw/Prophet::ForeignReplica/;
-use Params::Validate qw(:all);
- use File::Temp ();
- use Path::Class;
-use Prophet::ChangeSet;
+use Params::Validate qw(:all);
+use Path::Class;
+use File::Temp 'tempdir';
use Memoize;
+
use constant scheme => 'rt';
+use Prophet::ChangeSet;
+
has rt => ( isa => 'RT::Client::REST', is => 'rw');
has rt_url => ( isa => 'Str', is => 'rw');
has rt_queue => ( isa => 'Str', is => 'rw');
@@ -26,9 +25,6 @@
return $ret;
};
-
-use File::Temp 'tempdir';
-
sub setup {
my $self = shift;
@@ -54,7 +50,6 @@
unless $password;
$self->rt->login( username => $username, password => $password );
-
}
sub record_pushed_transactions {
More information about the Bps-public-commit
mailing list