[Bps-public-commit] Prophet branch, master, updated. 0.73-35-g7bb6a4d

sartak at bestpractical.com sartak at bestpractical.com
Thu Jan 7 16:30:06 EST 2010


The branch, master has been updated
       via  7bb6a4daaea41052b9cbafa8a8e349f5ab530958 (commit)
      from  398bcda5ae1a52d659965ddd10772e6e6919af8f (commit)

Summary of changes:
 lib/Prophet/CLI/Dispatcher/Rule.pm |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 lib/Prophet/CLI/Dispatcher/Rule.pm

- Log -----------------------------------------------------------------
commit 7bb6a4daaea41052b9cbafa8a8e349f5ab530958
Author: Shawn M Moore <sartak at gmail.com>
Date:   Thu Jan 7 16:27:21 2010 -0500

    Add a rule for Prophet-specific dispatcher rules (has a cli)

diff --git a/lib/Prophet/CLI/Dispatcher/Rule.pm b/lib/Prophet/CLI/Dispatcher/Rule.pm
new file mode 100644
index 0000000..ae81c98
--- /dev/null
+++ b/lib/Prophet/CLI/Dispatcher/Rule.pm
@@ -0,0 +1,16 @@
+package Prophet::CLI::Dispatcher::Rule;
+use Any::Moose;
+extends 'Path::Dispatcher::Rule';
+
+has cli => (
+    is        => 'rw',
+    isa       => 'Prophet::CLI',
+    weak_ref  => 1,
+    predicate => 'has_cli',
+);
+
+__PACKAGE__->meta->make_immutable;
+no Any::Moose;
+
+1;
+

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



More information about the Bps-public-commit mailing list