[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. 2bcc611a5b6588b5f8ccf1679fec226b399374d6
sartak at bestpractical.com
sartak at bestpractical.com
Mon Feb 9 18:14:32 EST 2009
The branch, master has been updated
via 2bcc611a5b6588b5f8ccf1679fec226b399374d6 (commit)
via 92db2198f80f1bb8e84f56bb26cbdec8fd339f4a (commit)
via ae4b47b85065bd385fea2e8ce5ede434e775bd8e (commit)
via bab9845a4b61d35f33f8bd03a70d5d6b9c0308b8 (commit)
from 0388e047d94ec33264a7373d8f5218a2541e9381 (commit)
Summary of changes:
Makefile.PL | 3 +--
lib/App/SD.pm | 4 ++--
lib/App/SD/CLI.pm | 4 ++--
lib/App/SD/CLI/Command.pm | 4 ++--
lib/App/SD/CLI/Command/Attachment/Content.pm | 4 ++--
lib/App/SD/CLI/Command/Attachment/Create.pm | 4 ++--
lib/App/SD/CLI/Command/Help.pm | 4 ++--
lib/App/SD/CLI/Command/Help/About.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Aliases.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Attachments.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Authors.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Comments.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Config.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Copying.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Environment.pm | 4 ++--
lib/App/SD/CLI/Command/Help/History.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Intro.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Search.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Settings.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Sync.pm | 4 ++--
lib/App/SD/CLI/Command/Help/Tickets.pm | 4 ++--
.../SD/CLI/Command/Help/summary_format_ticket.pm | 4 ++--
lib/App/SD/CLI/Command/Log.pm | 4 ++--
lib/App/SD/CLI/Command/Publish.pm | 6 +++---
lib/App/SD/CLI/Command/Shell.pm | 2 +-
lib/App/SD/CLI/Command/Ticket/Attachment/Create.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Attachment/Search.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Basics.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Comment.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Comment/Create.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Comment/Update.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Comments.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Create.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Details.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Search.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Show.pm | 4 ++--
lib/App/SD/CLI/Command/Ticket/Update.pm | 4 ++--
lib/App/SD/CLI/Command/Version.pm | 4 ++--
lib/App/SD/CLI/Dispatcher.pm | 4 ++--
lib/App/SD/CLI/Model/Attachment.pm | 4 ++--
lib/App/SD/CLI/Model/Ticket.pm | 4 ++--
lib/App/SD/CLI/Model/TicketComment.pm | 4 ++--
lib/App/SD/Collection/Attachment.pm | 4 ++--
lib/App/SD/Collection/Comment.pm | 4 ++--
lib/App/SD/Collection/Ticket.pm | 4 ++--
lib/App/SD/Config.pm | 4 ++--
lib/App/SD/ForeignReplica.pm | 4 ++--
lib/App/SD/ForeignReplica/PullEncoder.pm | 4 ++--
lib/App/SD/ForeignReplica/PushEncoder.pm | 4 ++--
lib/App/SD/Model/Attachment.pm | 4 ++--
lib/App/SD/Model/Comment.pm | 6 +++---
lib/App/SD/Model/Ticket.pm | 4 ++--
lib/App/SD/Record.pm | 6 +++---
lib/App/SD/Replica/debbugs.pm | 4 ++--
lib/App/SD/Replica/debbugs/PullEncoder.pm | 4 ++--
lib/App/SD/Replica/debbugs/PushEncoder.pm | 4 ++--
lib/App/SD/Replica/hm.pm | 6 +++---
lib/App/SD/Replica/hm/PullEncoder.pm | 4 ++--
lib/App/SD/Replica/hm/PushEncoder.pm | 4 ++--
lib/App/SD/Replica/rt.pm | 4 ++--
lib/App/SD/Replica/rt/PullEncoder.pm | 4 ++--
lib/App/SD/Replica/rt/PushEncoder.pm | 4 ++--
lib/App/SD/Replica/trac.pm | 4 ++--
lib/App/SD/Replica/trac/PullEncoder.pm | 4 ++--
lib/App/SD/Replica/trac/PushEncoder.pm | 4 ++--
65 files changed, 132 insertions(+), 133 deletions(-)
- Log -----------------------------------------------------------------
commit bab9845a4b61d35f33f8bd03a70d5d6b9c0308b8
Author: Shawn M Moore <sartak at gmail.com>
Date: Wed Feb 4 22:30:18 2009 -0500
Any::Moose-ify SD's classes
diff --git a/lib/App/SD.pm b/lib/App/SD.pm
index 0b7d741..263f65e 100644
--- a/lib/App/SD.pm
+++ b/lib/App/SD.pm
@@ -1,5 +1,5 @@
package App::SD;
-use Moose;
+use Any::Moose;
use App::SD::Config;
extends 'Prophet::App';
@@ -40,5 +40,5 @@ sub database_settings {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI.pm b/lib/App/SD/CLI.pm
index a6911b1..1c1a462 100644
--- a/lib/App/SD/CLI.pm
+++ b/lib/App/SD/CLI.pm
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
package App::SD::CLI;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI';
use App::SD;
@@ -13,7 +13,7 @@ has '+app_class' => (
sub dispatcher_class { "App::SD::CLI::Dispatcher" }
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command.pm b/lib/App/SD/CLI/Command.pm
index 2e77434..f26c77f 100644
--- a/lib/App/SD/CLI/Command.pm
+++ b/lib/App/SD/CLI/Command.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command;
-use Moose::Role;
+use Any::Moose 'Role';
use Params::Validate qw(validate);
=head2 get_content %args
@@ -66,7 +66,7 @@ sub get_content {
return $content;
}
-no Moose::Role;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Attachment/Content.pm b/lib/App/SD/CLI/Command/Attachment/Content.pm
index ebfe244..4d81484 100644
--- a/lib/App/SD/CLI/Command/Attachment/Content.pm
+++ b/lib/App/SD/CLI/Command/Attachment/Content.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Attachment::Content;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Show';
with 'App::SD::CLI::Model::Attachment';
with 'App::SD::CLI::Command';
@@ -12,7 +12,7 @@ sub run {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Attachment/Create.pm b/lib/App/SD/CLI/Command/Attachment/Create.pm
index af4678c..cc3ecf6 100644
--- a/lib/App/SD/CLI/Command/Attachment/Create.pm
+++ b/lib/App/SD/CLI/Command/Attachment/Create.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Attachment::Create;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Create';
with 'App::SD::CLI::Model::Attachment';
with 'App::SD::CLI::Command';
@@ -16,7 +16,7 @@ before run => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help.pm b/lib/App/SD/CLI/Command/Help.pm
index 2191194..6c21682 100644
--- a/lib/App/SD/CLI/Command/Help.pm
+++ b/lib/App/SD/CLI/Command/Help.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command';
with 'App::SD::CLI::Command';
@@ -64,7 +64,7 @@ EOF
}
#__PACKAGE__->meta->make_immutable;
-#no Moose;
+#no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/About.pm b/lib/App/SD/CLI/Command/Help/About.pm
index d320343..b1d52d1 100644
--- a/lib/App/SD/CLI/Command/Help/About.pm
+++ b/lib/App/SD/CLI/Command/Help/About.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::About;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -32,7 +32,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Aliases.pm b/lib/App/SD/CLI/Command/Help/Aliases.pm
index 78ee444..965326a 100644
--- a/lib/App/SD/CLI/Command/Help/Aliases.pm
+++ b/lib/App/SD/CLI/Command/Help/Aliases.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Aliases;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -43,7 +43,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Attachments.pm b/lib/App/SD/CLI/Command/Help/Attachments.pm
index 9b8c39c..6abade9 100644
--- a/lib/App/SD/CLI/Command/Help/Attachments.pm
+++ b/lib/App/SD/CLI/Command/Help/Attachments.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Attachments;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -32,7 +32,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Authors.pm b/lib/App/SD/CLI/Command/Help/Authors.pm
index 78e6818..a56bcd7 100644
--- a/lib/App/SD/CLI/Command/Help/Authors.pm
+++ b/lib/App/SD/CLI/Command/Help/Authors.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Authors;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -22,7 +22,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Comments.pm b/lib/App/SD/CLI/Command/Help/Comments.pm
index bb5a9c4..076fac1 100644
--- a/lib/App/SD/CLI/Command/Help/Comments.pm
+++ b/lib/App/SD/CLI/Command/Help/Comments.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Comments;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -38,7 +38,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Config.pm b/lib/App/SD/CLI/Command/Help/Config.pm
index cc1f80f..9b0a80d 100644
--- a/lib/App/SD/CLI/Command/Help/Config.pm
+++ b/lib/App/SD/CLI/Command/Help/Config.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Config;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -53,7 +53,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Copying.pm b/lib/App/SD/CLI/Command/Help/Copying.pm
index 6e5389a..cb9a597 100644
--- a/lib/App/SD/CLI/Command/Help/Copying.pm
+++ b/lib/App/SD/CLI/Command/Help/Copying.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Copying;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -30,7 +30,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Environment.pm b/lib/App/SD/CLI/Command/Help/Environment.pm
index 0d804b6..772f3eb 100644
--- a/lib/App/SD/CLI/Command/Help/Environment.pm
+++ b/lib/App/SD/CLI/Command/Help/Environment.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Environment;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -45,7 +45,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/History.pm b/lib/App/SD/CLI/Command/Help/History.pm
index 3dac839..f4af993 100644
--- a/lib/App/SD/CLI/Command/Help/History.pm
+++ b/lib/App/SD/CLI/Command/Help/History.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::History;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -48,7 +48,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Intro.pm b/lib/App/SD/CLI/Command/Help/Intro.pm
index 55ee645..6c19e42 100644
--- a/lib/App/SD/CLI/Command/Help/Intro.pm
+++ b/lib/App/SD/CLI/Command/Help/Intro.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Intro;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -44,7 +44,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Search.pm b/lib/App/SD/CLI/Command/Help/Search.pm
index 9007f98..08ee688 100644
--- a/lib/App/SD/CLI/Command/Help/Search.pm
+++ b/lib/App/SD/CLI/Command/Help/Search.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Search;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -75,7 +75,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Settings.pm b/lib/App/SD/CLI/Command/Help/Settings.pm
index a84cc4b..84e55e1 100644
--- a/lib/App/SD/CLI/Command/Help/Settings.pm
+++ b/lib/App/SD/CLI/Command/Help/Settings.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Settings;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -32,7 +32,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Sync.pm b/lib/App/SD/CLI/Command/Help/Sync.pm
index 5d0a4cb..ede532b 100644
--- a/lib/App/SD/CLI/Command/Help/Sync.pm
+++ b/lib/App/SD/CLI/Command/Help/Sync.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Sync;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -71,7 +71,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/Tickets.pm b/lib/App/SD/CLI/Command/Help/Tickets.pm
index dc04f65..489fde2 100644
--- a/lib/App/SD/CLI/Command/Help/Tickets.pm
+++ b/lib/App/SD/CLI/Command/Help/Tickets.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::Tickets;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -75,7 +75,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Help/summary_format_ticket.pm b/lib/App/SD/CLI/Command/Help/summary_format_ticket.pm
index 626ce01..2deca7e 100644
--- a/lib/App/SD/CLI/Command/Help/summary_format_ticket.pm
+++ b/lib/App/SD/CLI/Command/Help/summary_format_ticket.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Help::summary_format_ticket;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -38,7 +38,7 @@ EOF
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Log.pm b/lib/App/SD/CLI/Command/Log.pm
index 769ad03..be3b1a0 100644
--- a/lib/App/SD/CLI/Command/Log.pm
+++ b/lib/App/SD/CLI/Command/Log.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Log;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Log';
sub handle_changeset {
@@ -86,4 +86,4 @@ sub change_header_ticket {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
diff --git a/lib/App/SD/CLI/Command/Publish.pm b/lib/App/SD/CLI/Command/Publish.pm
index 91ccbb7..8f8123f 100644
--- a/lib/App/SD/CLI/Command/Publish.pm
+++ b/lib/App/SD/CLI/Command/Publish.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Publish;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Publish';
use Prophet::Util;
use File::Path;
@@ -149,7 +149,7 @@ sub write_file {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
package App::SD::Server::Static;
use base 'App::SD::Server';
@@ -178,7 +178,7 @@ sub _send_redirect {
sub _send_404 {}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Shell.pm b/lib/App/SD/CLI/Command/Shell.pm
index 86ad986..fd35d85 100644
--- a/lib/App/SD/CLI/Command/Shell.pm
+++ b/lib/App/SD/CLI/Command/Shell.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Shell;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Shell';
has project_name => (
diff --git a/lib/App/SD/CLI/Command/Ticket/Attachment/Create.pm b/lib/App/SD/CLI/Command/Ticket/Attachment/Create.pm
index c269bf8..780987c 100644
--- a/lib/App/SD/CLI/Command/Ticket/Attachment/Create.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Attachment/Create.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Attachment::Create;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Attachment::Create';
__PACKAGE__->register_arg_translations( f => 'file' );
@@ -13,7 +13,7 @@ before run => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Attachment/Search.pm b/lib/App/SD/CLI/Command/Ticket/Attachment/Search.pm
index e481370..974c6f3 100644
--- a/lib/App/SD/CLI/Command/Ticket/Attachment/Search.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Attachment/Search.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Attachment::Search;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Search';
with 'Prophet::CLI::RecordCommand';
with 'App::SD::CLI::Model::Attachment';
@@ -15,7 +15,7 @@ sub get_search_callback {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Basics.pm b/lib/App/SD/CLI/Command/Ticket/Basics.pm
index 3a758e5..0595222 100644
--- a/lib/App/SD/CLI/Command/Ticket/Basics.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Basics.pm
@@ -1,11 +1,11 @@
package App::SD::CLI::Command::Ticket::Basics;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Show';
with 'App::SD::CLI::Command';
with 'App::SD::CLI::Model::Ticket';
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Comment.pm b/lib/App/SD/CLI/Command/Ticket/Comment.pm
index 29333b0..e9015ac 100644
--- a/lib/App/SD/CLI/Command/Ticket/Comment.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Comment.pm
@@ -1,11 +1,11 @@
package App::SD::CLI::Command::Ticket::Comment;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Ticket::Comment::Create';
sub type { 'comment' }
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Comment/Create.pm b/lib/App/SD/CLI/Command/Ticket/Comment/Create.pm
index 4a39af5..e837333 100644
--- a/lib/App/SD/CLI/Command/Ticket/Comment/Create.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Comment/Create.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Comment::Create;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Create';
with 'App::SD::CLI::Model::TicketComment';
@@ -22,7 +22,7 @@ before run => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Comment/Update.pm b/lib/App/SD/CLI/Command/Ticket/Comment/Update.pm
index 848c0f0..8f529f0 100644
--- a/lib/App/SD/CLI/Command/Ticket/Comment/Update.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Comment/Update.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Comment::Update;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Update';
@@ -22,6 +22,6 @@ override run => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Comments.pm b/lib/App/SD/CLI/Command/Ticket/Comments.pm
index b7f3468..9b47ee1 100644
--- a/lib/App/SD/CLI/Command/Ticket/Comments.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Comments.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Comments;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Search';
with 'Prophet::CLI::RecordCommand';
@@ -25,7 +25,7 @@ sub run {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Create.pm b/lib/App/SD/CLI/Command/Ticket/Create.pm
index 6164266..ac1b4c4 100644
--- a/lib/App/SD/CLI/Command/Ticket/Create.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Create.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Create;
-use Moose;
+use Any::Moose;
use Params::Validate qw/validate/;
extends 'Prophet::CLI::Command::Create';
@@ -62,6 +62,6 @@ sub process_template {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Details.pm b/lib/App/SD/CLI/Command/Ticket/Details.pm
index dae40f1..60e96b1 100644
--- a/lib/App/SD/CLI/Command/Ticket/Details.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Details.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Details;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Ticket::Show';
sub by_creation_date { $a->prop('created') cmp $b->prop('created') };
@@ -37,7 +37,7 @@ override run => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Search.pm b/lib/App/SD/CLI/Command/Ticket/Search.pm
index ee49df3..441e437 100644
--- a/lib/App/SD/CLI/Command/Ticket/Search.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Search.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Search;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Search';
with 'App::SD::CLI::Command';
@@ -83,7 +83,7 @@ sub default_match {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Show.pm b/lib/App/SD/CLI/Command/Ticket/Show.pm
index 70fb48d..2eff221 100644
--- a/lib/App/SD/CLI/Command/Ticket/Show.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Show.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Show;
-use Moose;
+use Any::Moose;
extends 'Prophet::CLI::Command::Show';
with 'App::SD::CLI::Command';
with 'App::SD::CLI::Model::Ticket';
@@ -71,6 +71,6 @@ override run => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Ticket/Update.pm b/lib/App/SD/CLI/Command/Ticket/Update.pm
index c1bcb59..2bb183b 100644
--- a/lib/App/SD/CLI/Command/Ticket/Update.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Update.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Command::Ticket::Update;
-use Moose;
+use Any::Moose;
use Params::Validate qw/validate/;
extends 'Prophet::CLI::Command::Update';
@@ -77,6 +77,6 @@ sub process_template {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Command/Version.pm b/lib/App/SD/CLI/Command/Version.pm
index 16d0b7b..a677a96 100644
--- a/lib/App/SD/CLI/Command/Version.pm
+++ b/lib/App/SD/CLI/Command/Version.pm
@@ -1,6 +1,6 @@
package App::SD::CLI::Command::Version;
-use Moose;
+use Any::Moose;
extends 'App::SD::CLI::Command::Help';
sub run {
@@ -9,7 +9,7 @@ sub run {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Dispatcher.pm b/lib/App/SD/CLI/Dispatcher.pm
index 7ddf76c..205e9e8 100644
--- a/lib/App/SD/CLI/Dispatcher.pm
+++ b/lib/App/SD/CLI/Dispatcher.pm
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
package App::SD::CLI::Dispatcher;
use Prophet::CLI::Dispatcher -base;
-use Moose;
+use Any::Moose;
Prophet::CLI::Dispatcher->add_command_prefix('App::SD::CLI::Command');
@@ -138,7 +138,7 @@ sub run_command {Prophet::CLI::Dispatcher::run_command(@_) }
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Model/Attachment.pm b/lib/App/SD/CLI/Model/Attachment.pm
index a7e755b..2d04734 100644
--- a/lib/App/SD/CLI/Model/Attachment.pm
+++ b/lib/App/SD/CLI/Model/Attachment.pm
@@ -1,9 +1,9 @@
package App::SD::CLI::Model::Attachment;
-use Moose::Role;
+use Any::Moose 'Role';
use constant record_class => 'App::SD::Model::Attachment';
-no Moose::Role;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Model/Ticket.pm b/lib/App/SD/CLI/Model/Ticket.pm
index 467b6c3..d200c9f 100644
--- a/lib/App/SD/CLI/Model/Ticket.pm
+++ b/lib/App/SD/CLI/Model/Ticket.pm
@@ -1,5 +1,5 @@
package App::SD::CLI::Model::Ticket;
-use Moose::Role;
+use Any::Moose 'Role';
use Params::Validate qw(:all);
use constant record_class => 'App::SD::Model::Ticket';
@@ -231,7 +231,7 @@ sub parse_record_template {
return \%new_props, $comment;
}
-no Moose::Role;
+no Any::Moose;
1;
diff --git a/lib/App/SD/CLI/Model/TicketComment.pm b/lib/App/SD/CLI/Model/TicketComment.pm
index 1c6d366..19928ec 100644
--- a/lib/App/SD/CLI/Model/TicketComment.pm
+++ b/lib/App/SD/CLI/Model/TicketComment.pm
@@ -1,9 +1,9 @@
package App::SD::CLI::Model::TicketComment;
-use Moose::Role;
+use Any::Moose 'Role';
use constant record_class => 'App::SD::Model::Comment';
-no Moose::Role;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Collection/Attachment.pm b/lib/App/SD/Collection/Attachment.pm
index caab8aa..5915401 100644
--- a/lib/App/SD/Collection/Attachment.pm
+++ b/lib/App/SD/Collection/Attachment.pm
@@ -1,10 +1,10 @@
package App::SD::Collection::Attachment;
-use Moose;
+use Any::Moose;
extends 'Prophet::Collection';
use constant record_class => 'App::SD::Model::Attachment';
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Collection/Comment.pm b/lib/App/SD/Collection/Comment.pm
index c2d9ae0..7f4c299 100644
--- a/lib/App/SD/Collection/Comment.pm
+++ b/lib/App/SD/Collection/Comment.pm
@@ -1,11 +1,11 @@
package App::SD::Collection::Comment;
-use Moose;
+use Any::Moose;
extends 'Prophet::Collection';
use constant record_class => 'App::SD::Model::Comment';
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Collection/Ticket.pm b/lib/App/SD/Collection/Ticket.pm
index db4d2af..ed7ac4a 100644
--- a/lib/App/SD/Collection/Ticket.pm
+++ b/lib/App/SD/Collection/Ticket.pm
@@ -1,11 +1,11 @@
package App::SD::Collection::Ticket;
-use Moose;
+use Any::Moose;
extends 'Prophet::Collection';
use constant record_class => 'App::SD::Model::Ticket';
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Config.pm b/lib/App/SD/Config.pm
index 2219f2a..f768cd3 100644
--- a/lib/App/SD/Config.pm
+++ b/lib/App/SD/Config.pm
@@ -1,5 +1,5 @@
package App::SD::Config;
-use Moose;
+use Any::Moose;
use File::Spec;
extends 'Prophet::Config';
@@ -29,6 +29,6 @@ before 'app_config_file' => sub {
};
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/ForeignReplica.pm b/lib/App/SD/ForeignReplica.pm
index 131869f..b14e734 100644
--- a/lib/App/SD/ForeignReplica.pm
+++ b/lib/App/SD/ForeignReplica.pm
@@ -1,5 +1,5 @@
package App::SD::ForeignReplica;
-use Moose;
+use Any::Moose;
use Params::Validate;
extends 'Prophet::ForeignReplica';
@@ -203,6 +203,6 @@ sub record_remote_id_for_pushed_record {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/ForeignReplica/PullEncoder.pm b/lib/App/SD/ForeignReplica/PullEncoder.pm
index 52aaab2..97563f5 100644
--- a/lib/App/SD/ForeignReplica/PullEncoder.pm
+++ b/lib/App/SD/ForeignReplica/PullEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::ForeignReplica::PullEncoder;
-use Moose;
+use Any::Moose;
sub warp_list_to_old_value {
my $self = shift;
@@ -14,5 +14,5 @@ sub warp_list_to_old_value {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/ForeignReplica/PushEncoder.pm b/lib/App/SD/ForeignReplica/PushEncoder.pm
index e32d328..c80d491 100644
--- a/lib/App/SD/ForeignReplica/PushEncoder.pm
+++ b/lib/App/SD/ForeignReplica/PushEncoder.pm
@@ -1,10 +1,10 @@
package App::SD::ForeignReplica::PushEncoder;
-use Moose;
+use Any::Moose;
-no Moose;
+no Any::Moose;
__PACKAGE__->meta->make_immutable;
1;
diff --git a/lib/App/SD/Model/Attachment.pm b/lib/App/SD/Model/Attachment.pm
index d109a92..6b6a48b 100644
--- a/lib/App/SD/Model/Attachment.pm
+++ b/lib/App/SD/Model/Attachment.pm
@@ -1,5 +1,5 @@
package App::SD::Model::Attachment;
-use Moose;
+use Any::Moose;
extends 'App::SD::Record';
use Params::Validate qw/validate/;
@@ -25,6 +25,6 @@ sub create {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Model/Comment.pm b/lib/App/SD/Model/Comment.pm
index 918e96b..c9ed519 100644
--- a/lib/App/SD/Model/Comment.pm
+++ b/lib/App/SD/Model/Comment.pm
@@ -1,5 +1,5 @@
package App::SD::Model::Comment;
-use Moose;
+use Any::Moose;
extends 'App::SD::Record';
use constant collection_class => 'App::SD::Collection::Comment';
@@ -26,5 +26,5 @@ sub canonicalize_props {
__PACKAGE__->register_reference( ticket => 'App::SD::Model::Ticket');
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Model/Ticket.pm b/lib/App/SD/Model/Ticket.pm
index e637217..709a91c 100644
--- a/lib/App/SD/Model/Ticket.pm
+++ b/lib/App/SD/Model/Ticket.pm
@@ -1,5 +1,5 @@
package App::SD::Model::Ticket;
-use Moose;
+use Any::Moose;
extends 'App::SD::Record';
use Term::ANSIColor;
@@ -283,5 +283,5 @@ sub is_overdue {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Record.pm b/lib/App/SD/Record.pm
index bfe2add..2edb898 100644
--- a/lib/App/SD/Record.pm
+++ b/lib/App/SD/Record.pm
@@ -1,5 +1,5 @@
package App::SD::Record;
-use Moose;
+use Any::Moose;
use Params::Validate;
extends 'Prophet::Record';
@@ -35,7 +35,7 @@ sub canonicalize_prop_created {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/debbugs.pm b/lib/App/SD/Replica/debbugs.pm
index a01f484..cf8c06c 100644
--- a/lib/App/SD/Replica/debbugs.pm
+++ b/lib/App/SD/Replica/debbugs.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::debbugs;
-use Moose;
+use Any::Moose;
extends qw/App::SD::ForeignReplica/;
use Params::Validate qw(:all);
@@ -28,5 +28,5 @@ sub setup {
sub record_pushed_transactions {}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/debbugs/PullEncoder.pm b/lib/App/SD/Replica/debbugs/PullEncoder.pm
index 4a73831..a523f4e 100644
--- a/lib/App/SD/Replica/debbugs/PullEncoder.pm
+++ b/lib/App/SD/Replica/debbugs/PullEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::debbugs::PullEncoder;
-use Moose;
+use Any::Moose;
use Params::Validate qw(:all);
use Memoize;
@@ -83,5 +83,5 @@ sub find_matching_transactions {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/debbugs/PushEncoder.pm b/lib/App/SD/Replica/debbugs/PushEncoder.pm
index 58101fc..fa120a0 100644
--- a/lib/App/SD/Replica/debbugs/PushEncoder.pm
+++ b/lib/App/SD/Replica/debbugs/PushEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::debbugs::PushEncoder;
-use Moose;
+use Any::Moose;
use Params::Validate;
use Path::Class;
@@ -126,6 +126,6 @@ sub integrate_ticket_update {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/hm.pm b/lib/App/SD/Replica/hm.pm
index f775fef..75c1ec4 100644
--- a/lib/App/SD/Replica/hm.pm
+++ b/lib/App/SD/Replica/hm.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::hm;
-use Moose;
+use Any::Moose;
extends 'App::SD::ForeignReplica';
use Params::Validate qw(:all);
use UNIVERSAL::require;
@@ -161,5 +161,5 @@ sub property_map {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/hm/PullEncoder.pm b/lib/App/SD/Replica/hm/PullEncoder.pm
index 89bc8eb..0b02ce3 100644
--- a/lib/App/SD/Replica/hm/PullEncoder.pm
+++ b/lib/App/SD/Replica/hm/PullEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::hm::PullEncoder;
-use Moose;
+use Any::Moose;
use Params::Validate qw(:all);
use Memoize;
@@ -218,5 +218,5 @@ sub translate_props {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/hm/PushEncoder.pm b/lib/App/SD/Replica/hm/PushEncoder.pm
index f093e13..7772878 100644
--- a/lib/App/SD/Replica/hm/PushEncoder.pm
+++ b/lib/App/SD/Replica/hm/PushEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::hm::PushEncoder;
-use Moose;
+use Any::Moose;
use Params::Validate;
use Data::Dumper;
use Path::Class;
@@ -384,6 +384,6 @@ sub translate_props {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/rt.pm b/lib/App/SD/Replica/rt.pm
index 3d152f9..d7c985c 100644
--- a/lib/App/SD/Replica/rt.pm
+++ b/lib/App/SD/Replica/rt.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::rt;
-use Moose;
+use Any::Moose;
extends qw/App::SD::ForeignReplica/;
use Params::Validate qw(:all);
@@ -137,6 +137,6 @@ SD::Source::RT->recode_ticket
=cut
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/rt/PullEncoder.pm b/lib/App/SD/Replica/rt/PullEncoder.pm
index 64bea76..fcc9252 100644
--- a/lib/App/SD/Replica/rt/PullEncoder.pm
+++ b/lib/App/SD/Replica/rt/PullEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::rt::PullEncoder;
-use Moose;
+use Any::Moose;
extends 'App::SD::ForeignReplica::PullEncoder';
use Params::Validate qw(:all);
@@ -547,5 +547,5 @@ sub translate_prop_names {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/rt/PushEncoder.pm b/lib/App/SD/Replica/rt/PushEncoder.pm
index ea7c17e..c0111e1 100644
--- a/lib/App/SD/Replica/rt/PushEncoder.pm
+++ b/lib/App/SD/Replica/rt/PushEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::rt::PushEncoder;
-use Moose;
+use Any::Moose;
use Params::Validate;
use Path::Class;
has sync_source =>
@@ -162,6 +162,6 @@ sub _recode_props_for_integrate {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/trac.pm b/lib/App/SD/Replica/trac.pm
index 2542283..a1e509e 100644
--- a/lib/App/SD/Replica/trac.pm
+++ b/lib/App/SD/Replica/trac.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::trac;
-use Moose;
+use Any::Moose;
extends qw/App::SD::ForeignReplica/;
use Params::Validate qw(:all);
@@ -99,6 +99,6 @@ sub remote_uri_path_for_id {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/trac/PullEncoder.pm b/lib/App/SD/Replica/trac/PullEncoder.pm
index eef6dbc..e3a18f5 100644
--- a/lib/App/SD/Replica/trac/PullEncoder.pm
+++ b/lib/App/SD/Replica/trac/PullEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::trac::PullEncoder;
-use Moose;
+use Any::Moose;
extends 'App::SD::ForeignReplica::PullEncoder';
use Params::Validate qw(:all);
@@ -388,5 +388,5 @@ sub resolve_user_id_to {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/App/SD/Replica/trac/PushEncoder.pm b/lib/App/SD/Replica/trac/PushEncoder.pm
index 1609d96..3b7144b 100644
--- a/lib/App/SD/Replica/trac/PushEncoder.pm
+++ b/lib/App/SD/Replica/trac/PushEncoder.pm
@@ -1,5 +1,5 @@
package App::SD::Replica::trac::PushEncoder;
-use Moose;
+use Any::Moose;
use Params::Validate;
use Path::Class;
has sync_source =>
@@ -162,6 +162,6 @@ sub _recode_props_for_integrate {
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
commit ae4b47b85065bd385fea2e8ce5ede434e775bd8e
Author: Shawn M Moore <sartak at gmail.com>
Date: Wed Feb 4 22:31:00 2009 -0500
No longer do we dep on Moose directly
diff --git a/Makefile.PL b/Makefile.PL
index 627f009..3d493bb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,8 +6,7 @@ license('MIT');
version_from('lib/App/SD.pm');
requires('Time::Progress');
requires('Path::Class');
-requires 'Prophet'; # URI UNIVERSAL::require Params::Validate Class::Accessor Template::Declare::Tags Test::HTTP::Server::Simple JSON Test::WWW::Mechanize
-requires('Moose'); # Moose::Role
+requires 'Prophet'; # URI UNIVERSAL::require Params::Validate Class::Accessor Template::Declare::Tags Test::HTTP::Server::Simple JSON Test::WWW::Mechanize Any::Moose
requires('HTTP::Date');
requires('DateTime::Format::Natural');
requires('HTML::Tree');
commit 92db2198f80f1bb8e84f56bb26cbdec8fd339f4a
Author: Shawn M Moore <sartak at gmail.com>
Date: Wed Feb 4 22:35:43 2009 -0500
Mouse doesn't have augment/inner, but this usage is easily rewritten
with around
diff --git a/lib/App/SD/Model/Comment.pm b/lib/App/SD/Model/Comment.pm
index c9ed519..85e6c1e 100644
--- a/lib/App/SD/Model/Comment.pm
+++ b/lib/App/SD/Model/Comment.pm
@@ -8,7 +8,7 @@ has type => ( default => 'comment');
sub _default_summary_format { '%s,$uuid | %s,content'}
-augment declared_props => sub {'content'};
+around declared_props => sub { shift->(@_), 'content' };
sub canonicalize_props {
my $self = shift;
diff --git a/lib/App/SD/Record.pm b/lib/App/SD/Record.pm
index 2edb898..c6b9c53 100644
--- a/lib/App/SD/Record.pm
+++ b/lib/App/SD/Record.pm
@@ -5,7 +5,7 @@ use Params::Validate;
extends 'Prophet::Record';
-sub declared_props { 'created', inner() }
+sub declared_props { 'created' }
sub canonicalize_prop_created {
my $self = shift;
commit 2bcc611a5b6588b5f8ccf1679fec226b399374d6
Author: Shawn M Moore <sartak at gmail.com>
Date: Mon Feb 9 16:32:33 2009 -0500
Remove HashRef type parameter
diff --git a/lib/App/SD/Replica/hm.pm b/lib/App/SD/Replica/hm.pm
index 75c1ec4..639ff0f 100644
--- a/lib/App/SD/Replica/hm.pm
+++ b/lib/App/SD/Replica/hm.pm
@@ -11,7 +11,7 @@ use File::Temp 'tempdir';
has hm => ( isa => 'Net::Jifty', is => 'rw');
has remote_url => ( isa => 'Str', is => 'rw');
has hm_username => ( isa => 'Str', is => 'rw');
-has props => ( isa => 'HashRef[Str]', is => 'rw');
+has props => ( isa => 'HashRef', is => 'rw');
use constant scheme => 'hm';
use constant pull_encoder => 'App::SD::Replica::hm::PullEncoder';
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list