[Bps-public-commit] r13110 - in App-Todo: bin lib/App
trs at bestpractical.com
trs at bestpractical.com
Tue Jun 10 10:26:52 EDT 2008
Author: trs
Date: Tue Jun 10 10:26:04 2008
New Revision: 13110
Modified:
App-Todo/ (props changed)
App-Todo/META.yml
App-Todo/Makefile.PL
App-Todo/bin/todo.pl
App-Todo/lib/App/Todo.pm
Log:
r35830 at zot: tom | 2008-06-10 10:25:06 -0400
Give lib/App/Todo.pm a version so it's easily updated and make todo.pl use App::Todo's $VERSION.
Modified: App-Todo/META.yml
==============================================================================
--- App-Todo/META.yml (original)
+++ App-Todo/META.yml Tue Jun 10 10:26:04 2008
@@ -12,7 +12,6 @@
no_index:
directory:
- inc
- - t
recommends:
Term::ANSIColor: 0
requires:
@@ -27,4 +26,4 @@
Term::Encoding: 0
Term::ReadKey: 0
YAML: 0
-version: 0.94
+version: 0.95
Modified: App-Todo/Makefile.PL
==============================================================================
--- App-Todo/Makefile.PL (original)
+++ App-Todo/Makefile.PL Tue Jun 10 10:26:04 2008
@@ -5,7 +5,8 @@
name 'App-Todo';
abstract_from 'lib/App/Todo.pm';
author 'Best Practical Solutions, LLC';
-version_from 'bin/todo.pl';
+#version_from 'bin/todo.pl';
+version_from 'lib/App/Todo.pm';
requires 'Encode';
requires 'YAML';
Modified: App-Todo/bin/todo.pl
==============================================================================
--- App-Todo/bin/todo.pl (original)
+++ App-Todo/bin/todo.pl Tue Jun 10 10:26:04 2008
@@ -13,6 +13,7 @@
=cut
+use App::Todo;
use Config;
use Encode ();
use YAML ();
@@ -25,7 +26,7 @@
use File::Temp;
our $CONFFILE = "$ENV{HOME}/.hiveminder";
-our $VERSION = 0.94;
+our $VERSION = $App::Todo::VERSION;
our %config = ();
our $ua = LWP::UserAgent->new;
our $locator = Number::RecordLocator->new();
Modified: App-Todo/lib/App/Todo.pm
==============================================================================
--- App-Todo/lib/App/Todo.pm (original)
+++ App-Todo/lib/App/Todo.pm Tue Jun 10 10:26:04 2008
@@ -1,5 +1,7 @@
package App::Todo;
+our $VERSION = 0.95;
+
=head1 NAME
App::Todo - Provides todo.pl, a command-line interface to Hiveminder
More information about the Bps-public-commit
mailing list