[Bps-public-commit] SD - A distributed issue tracker branch, master, updated. 523b78b28c9a8ccbcd24dee78ac1a8bf2780dfa7

jesse jesse at bestpractical.com
Sun Feb 15 19:16:30 EST 2009


The branch, master has been updated
       via  523b78b28c9a8ccbcd24dee78ac1a8bf2780dfa7 (commit)
       via  9dabd55d3e14d0221a811ffb4bcf4e9391c497b3 (commit)
      from  8cee4d1bfeb4b44f1620bdd09180afaa2b864e69 (commit)

Summary of changes:
 Makefile.PL                   |    4 ++++
 inc/Module/Install/Scripts.pm |   29 +++++++++++++++++++++++++++++
 t/00-dependencies.t           |    2 +-
 3 files changed, 34 insertions(+), 1 deletions(-)
 create mode 100644 inc/Module/Install/Scripts.pm

- Log -----------------------------------------------------------------
commit 9dabd55d3e14d0221a811ffb4bcf4e9391c497b3
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Feb 14 18:15:51 2009 -0500

    Module::Install update

diff --git a/inc/Module/Install/Scripts.pm b/inc/Module/Install/Scripts.pm
new file mode 100644
index 0000000..d855991
--- /dev/null
+++ b/inc/Module/Install/Scripts.pm
@@ -0,0 +1,29 @@
+#line 1
+package Module::Install::Scripts;
+
+use strict 'vars';
+use Module::Install::Base;
+
+use vars qw{$VERSION $ISCORE @ISA};
+BEGIN {
+	$VERSION = '0.79';
+	$ISCORE  = 1;
+	@ISA     = qw{Module::Install::Base};
+}
+
+sub install_script {
+	my $self = shift;
+	my $args = $self->makemaker_args;
+	my $exe  = $args->{EXE_FILES} ||= [];
+        foreach ( @_ ) {
+		if ( -f $_ ) {
+			push @$exe, $_;
+		} elsif ( -d 'script' and -f "script/$_" ) {
+			push @$exe, "script/$_";
+		} else {
+			die("Cannot find script '$_'");
+		}
+	}
+}
+
+1;

commit 523b78b28c9a8ccbcd24dee78ac1a8bf2780dfa7
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sun Feb 15 19:16:18 2009 -0500

    Dependency cleanups

diff --git a/Makefile.PL b/Makefile.PL
index 239084b..4d033bd 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -4,12 +4,16 @@ author('Jesse Vincent and Chia-Liang Kao');
 copyright('2008 Best Practical Solutions, LLC');
 license('MIT');
 version_from('lib/App/SD.pm');
+requires('DateTime');
+requires('DateTime::Format::ISO8601');
 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 Any::Moose
 requires('HTTP::Date');
+requires('HTML::TreeBuilder');
 requires('DateTime::Format::Natural');
 requires('HTML::Tree');
+requires('URI::file');
 feature
     'RT sync' => 
         -default => 0,
diff --git a/t/00-dependencies.t b/t/00-dependencies.t
index 493912b..423a0e7 100644
--- a/t/00-dependencies.t
+++ b/t/00-dependencies.t
@@ -65,7 +65,7 @@ my %required;
 for ( sort keys %used ) {
     my $first_in = Module::CoreList->first_release($_);
     next if defined $first_in and $first_in <= 5.00803;
-    next if /^(SVB|Prophet|App::SD|inc|t)(::|$)/;
+    next if /^(SVB|SDTestsEditor|Prophet|App::SD|inc|t)(::|$)/;
 
     #warn $_;
     ok( exists $required{$_}, "$_ in Makefile.PL" )

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



More information about the Bps-public-commit mailing list