[bigtop] r1559 committed - - Added new manifest test to app gen....

1 view
Skip to first unread message

codesite...@google.com

unread,
Apr 8, 2011, 2:58:35 PM4/8/11
to gan...@googlegroups.com
Revision: 1559
Author: net.a...@gmail.com
Date: Fri Apr 8 11:57:26 2011
Log: - Added new manifest test to app gen.
- Fixed a bug where newly generated app manifest didn't include
the bigtop file.
- Added +^MYMETA.yml$ to default manifest skip file.
- Added manifest test to bigtop.

http://code.google.com/p/bigtop/source/detail?r=1559

Added:
/trunk/t/09_manifest.t
/trunk/t/bigtop/playship/html/templates/genwrapper.tt
/trunk/t/bigtop/playship/t/04_manifest.t
/trunk/t/dbixclass/playpk/Contact/t/04_manifest.t
/trunk/t/dbixclass/playship/Contact/t/04_manifest.t
/trunk/t/dbixclass/playship2/Contact/t/04_manifest.t
/trunk/t/gantry/playbc/Sample/t/04_manifest.t
/trunk/t/gantry/playship/Apps-Checkbook/t/04_manifest.t
/trunk/t/gantry/playship2/Apps-Checkbook/t/04_manifest.t
/trunk/t/gantry/playsoap/Apps-Checkbook/t/04_manifest.t
Modified:
/trunk/Changes
/trunk/MANIFEST
/trunk/MANIFEST.SKIP
/trunk/lib/Bigtop/Backend/Control/Gantry.pm
/trunk/lib/Bigtop/Backend/Init/Std.pm
/trunk/lib/Bigtop.pm
/trunk/t/bigtop/playship/Changes
/trunk/t/bigtop/playship/MANIFEST
/trunk/t/bigtop/playship/MANIFEST.SKIP
/trunk/t/bigtop/playship/MANIFEST.bak
/trunk/t/bigtop/playship/README
/trunk/t/bigtop/playship/app.cgi
/trunk/t/bigtop/playship/app.server
/trunk/t/bigtop/playship/docs/AddressBook.gantry.conf
/trunk/t/bigtop/playship/docs/addressbook.bigtop
/trunk/t/bigtop/playship/docs/httpd.conf
/trunk/t/bigtop/playship/lib/AddressBook/Child.pm
/trunk/t/bigtop/playship/lib/AddressBook/Family.pm
/trunk/t/bigtop/playship/lib/AddressBook/GENModel.pm
/trunk/t/bigtop/playship/lib/AddressBook/Model.pm
/trunk/t/bigtop/playship/lib/AddressBook.pm
/trunk/t/bigtop/playship/lib/GENAddressBook.pm
/trunk/t/gantry/04_no_gen.t

=======================================
--- /dev/null
+++ /trunk/t/09_manifest.t Fri Apr 8 11:57:26 2011
@@ -0,0 +1,10 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
+
=======================================
--- /dev/null
+++ /trunk/t/bigtop/playship/html/templates/genwrapper.tt Fri Apr 8
11:57:26 2011
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+
+ <title>[% view.title %]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+ <!-- include a style sheet if you like:
+ <link rel="stylesheet" type="text/css" media="screen"
+ title="Default" href="[% self.doc_rootp %]/css/default.css" />
+ -->
+
+ [% html_headers %]
+
+ <style type='text/css'>
+ input { border: 1px solid #777; background: dce2da;}
+ a { color: #333;}
+ a:active { color: #ddd;}
+ a:hover { color: blue;}
+ #user_content { width: 150px; margin: 0 0 10px 0;}
+ #products { width: 150px; margin: 0 0 10px 0;}
+ #product_attribs { width: 150px; margin: 0 0 10px 0;}
+ #users { width: 150px; margin: 0 0 10px 0;}
+ #user_content ul { list-style: none; margin: 0; padding: 0;}
+ #products ul { list-style: none; margin: 0; padding: 0;}
+ #product_attribs ul { list-style: none; margin: 0; padding: 0;}
+ #login_errors ul { padding: 0 0 0 0; }
+ #login_errors { white-space: nowrap; }
+ #users ul { list-style: none; margin: 0; padding: 0;}
+ #site_links { visibility: hidden;}
+ #footer #site_links { visibility: visible;}
+ fieldset { background: #e9e9e9; border: 1px solid #c7c7c7;}
+ legend { padding: 0 10px 0 10px; border: 1px solid #c7c7c7;
background: #fff;}
+ #content .box table { padding: 0; margin: 0; background: #eee; width:
100%;}
+ #content .box table td { padding: 0 4px 0 4px; margin: 0; border: 0;}
+ #content .box table tr { background: #b9c5b4;}
+ #content .box table tr + tr { background: #fff;}
+ #content table .rhdr { text-align: right }
+ #content table .rdta { text-align: right }
+ #content table .rshd { text-align: right }
+ #footer { font: normal 12px/20px sans-serif; text-align: center;
padding: 10px; margin: 0px auto ; width: 740px;}
+ #float_right { float: right;}
+ #float_left { float: left;}
+ #right { text-align: right;}
+ body { margin: 0; background: #eee; font-family: sans-serif;
font-size: 100%;}
+ #header { text-align: right; width: 95%; padding: 0px 0px 0px 0px;}
+ #page { background: #fff; width: 95%; margin: 0 auto; padding: 0px 0px
0px 0px; border: 1px solid #c7c7c7; border-top: 0;}
+ #content { background: #fff; margin: 0px 0px 0px 0px; padding: 10px
10px 10px 10px; font: normal 12px/20px sans-serif; /* border-right: 1px
dotted #99d; */}
+ #title_bar { clear: both; border: 1px solid #c7c7c7; background:
#b9c5b4; width: 95%; text-align: center; padding: 3px 0 0 0; margin: 0 auto
0 auto; -moz-border-radius-topright: 6px;}
+ #nav { background: #eee; margin: 0px auto 0px auto; padding: 0px;
width: 95%;}
+ #nav ul { background: #fff; list-style: none; border: 0; margin: 0 0 0
0 ; padding: 0;}
+ #nav ul li { display: block; float: left; text-align: center; padding:
0; margin: 0; border-left: 1px solid #99d;}
+ #nav ul li + li { border-left: none; display: block; float: left;
text-align: center; padding: 0; margin: 0;}
+ #nav ul li a { background: #fff; border-bottom: 1px solid #99d;
border-right: 1px solid #99d; border-left: none; padding: 0 8px 0 8px;
margin: 0 0 0px 0; color: #9a9a9a; text-decoration: none; display: block;
text-align: center; font: normal 12px/20px sans-serif;}
+ #nav ul li a:hover { color: #000; background: #bbe;}
+ #nav a:active { background: #c60; color: #fff;}
+ #nav li strong a { background: #bbf; font-weight: bold; color: #000;}
+ .lowtech { visibility: hidden;}
+ </style>
+
+ </head>
+
+ <body>
+
+ <div id="header">
+ <span style="font-size: 10pt;">
+ [% self.fish_config('app_name') %]
+ [% self.app_version %]
+ </span><br />
+
+ <a href="/">Gantry</a><br />
+ <span style="font-size: 10pt;">
+ [% self.gantry_version %]
+ </span>
+ </div>
+
+ <!-- START: title bar -->
+ <div id="title_bar">
+ [% title %]
+ </div>
+ <!-- END: title bar -->
+
+ <!-- START: page -->
+ <div id="page">
+
+ <!-- START: content -->
+ <div id="content">
+
+ [% content %]
+
+ <br class="clear" />
+ </div>
+ <!-- END: content -->
+
+ </div>
+ <!-- END: page -->
+
+ <!-- START: footer -->
+ <div id="footer">
+ [% USE Date %]
+ <p>Page generated on [% Date.format(Date.now, "%A, %B %d, %Y
at %l:%M %p") %]
+ [% IF r.user; "for $r.user"; END; %]
+ <br />
+ </p>
+ </div>
+ <!-- END: footer -->
+
+ </body>
+</html>
=======================================
--- /dev/null
+++ /trunk/t/bigtop/playship/t/04_manifest.t Fri Apr 8 11:57:26 2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/dbixclass/playpk/Contact/t/04_manifest.t Fri Apr 8 11:57:26
2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/dbixclass/playship/Contact/t/04_manifest.t Fri Apr 8 11:57:26
2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/dbixclass/playship2/Contact/t/04_manifest.t Fri Apr 8
11:57:26 2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/gantry/playbc/Sample/t/04_manifest.t Fri Apr 8 11:57:26 2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/gantry/playship/Apps-Checkbook/t/04_manifest.t Fri Apr 8
11:57:26 2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/gantry/playship2/Apps-Checkbook/t/04_manifest.t Fri Apr 8
11:57:26 2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /dev/null
+++ /trunk/t/gantry/playsoap/Apps-Checkbook/t/04_manifest.t Fri Apr 8
11:57:26 2011
@@ -0,0 +1,9 @@
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
=======================================
--- /trunk/Changes Fri Feb 11 12:35:51 2011
+++ /trunk/Changes Fri Apr 8 11:57:26 2011
@@ -1,5 +1,12 @@
Revision history for Perl extension Bigtop.

+0.41
+ - Added new manifest test to app gen.
+ - Fixed a bug where newly generated app manifest didn't include
+ the bigtop file.
+ - Added +^MYMETA.yml$ to default manifest skip file.
+ - Added manifest test to bigtop.
+
0.40
- Add changelog entry for previous commit. Fixed bug with composite
primary key syntax.
=======================================
--- /trunk/MANIFEST Thu Jan 28 11:36:23 2010
+++ /trunk/MANIFEST Fri Apr 8 11:57:26 2011
@@ -157,57 +157,6 @@
docs/stubmethedit.png
docs/tableedit.png
docs/tentopening.png
-examples/address-new.bigtop
-examples/address.bigtop
-examples/address.server
-examples/address2.bigtop
-examples/Billing-Finished/app.cgi
-examples/Billing-Finished/app.server
-examples/Billing-Finished/Build.PL
-examples/Billing-Finished/Changes
-examples/Billing-Finished/docs/billing.bigtop
-examples/Billing-Finished/docs/schema.mysql
-examples/Billing-Finished/docs/schema.postgres
-examples/Billing-Finished/docs/schema.sqlite
-examples/Billing-Finished/html/genwrapper.tt
-examples/Billing-Finished/lib/Bigtop/Example/Billing.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Company.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Customer.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/GEN/Company.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/GEN/Customer.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/GEN/Invoice.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/GEN/LineItem.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/GEN/Status.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/GENModel.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Invoice.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/LineItem.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/customer.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/GEN/customer.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/GEN/invoice.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/GEN/line_item.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/GEN/my_company.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/GEN/status.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/invoice.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/line_item.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/my_company.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Model/status.pm
-examples/Billing-Finished/lib/Bigtop/Example/Billing/Status.pm
-examples/Billing-Finished/lib/Bigtop/Example/GENBilling.pm
-examples/Billing-Finished/MANIFEST
-examples/Billing-Finished/MANIFEST.SKIP
-examples/Billing-Finished/README
-examples/Billing-Finished/t/01_use.t
-examples/Billing-Finished/t/02_pod.t
-examples/Billing-Finished/t/03_podcover.t
-examples/Billing-Finished/t/10_run.t
-examples/billing.bigtop
-examples/billing_model.png
-examples/checking.bigtop
-examples/def.bigtop.tt
-examples/default.bigtop
-examples/kids.bigtop
-examples/phonelist.bigtop
lib/Bigtop.pm
lib/Bigtop/Backend/CGI.pm
lib/Bigtop/Backend/CGI/Gantry.pm
@@ -272,6 +221,7 @@
t/06_create_die.t
t/07_deparse.t
t/08_keyword_docst
+t/09_manifest.t
t/bigtop/01_twotable.t
t/bigtop/playship/app.cgi
t/bigtop/playship/app.server
@@ -284,6 +234,7 @@
t/bigtop/playship/docs/schema.mysql
t/bigtop/playship/docs/schema.postgres
t/bigtop/playship/docs/schema.sqlite
+t/bigtop/playship/html/templates/genwrapper.tt
t/bigtop/playship/lib/AddressBook.pm
t/bigtop/playship/lib/AddressBook/Child.pm
t/bigtop/playship/lib/AddressBook/Family.pm
@@ -298,11 +249,11 @@
t/bigtop/playship/lib/GENAddressBook.pm
t/bigtop/playship/MANIFEST
t/bigtop/playship/MANIFEST.SKIP
-t/bigtop/playship/MANIFEST.bak
t/bigtop/playship/README
t/bigtop/playship/t/01_use.t
t/bigtop/playship/t/02_pod.t
t/bigtop/playship/t/03_podcover.t
+t/bigtop/playship/t/04_manifest.t
t/bigtop/playship/t/10_run.t
t/cdbi/01_cdbisweet.t
t/cdbi/02_one_model_base.t
@@ -349,6 +300,7 @@
t/dbixclass/playpk/Contact/t/01_use.t
t/dbixclass/playpk/Contact/t/02_pod.t
t/dbixclass/playpk/Contact/t/03_podcover.t
+t/dbixclass/playpk/Contact/t/04_manifest.t
t/dbixclass/playpk/Contact/t/10_run.t
t/dbixclass/playship/Contact/docs/schema.mysql
t/dbixclass/playship/Contact/docs/schema.postgres
@@ -384,6 +336,7 @@
t/dbixclass/playship/Contact/t/01_use.t
t/dbixclass/playship/Contact/t/02_pod.t
t/dbixclass/playship/Contact/t/03_podcover.t
+t/dbixclass/playship/Contact/t/04_manifest.t
t/dbixclass/playship/Contact/t/10_run.t
t/dbixclass/playship2/Contact/lib/Contact.pm
t/dbixclass/playship2/Contact/lib/Contact/GEN/Number.pm
@@ -398,6 +351,7 @@
t/dbixclass/playship2/Contact/t/01_use.t
t/dbixclass/playship2/Contact/t/02_pod.t
t/dbixclass/playship2/Contact/t/03_podcover.t
+t/dbixclass/playship2/Contact/t/04_manifest.t
t/diagram/01_tiny.t
t/expected/augmented
t/expected/big_default
@@ -419,6 +373,7 @@
t/gantry/playbc/Sample/t/01_use.t
t/gantry/playbc/Sample/t/02_pod.t
t/gantry/playbc/Sample/t/03_podcover.t
+t/gantry/playbc/Sample/t/04_manifest.t
t/gantry/playbc/Sample/t/10_run.t
t/gantry/playcrud/Blog/lib/Blog.pm
t/gantry/playcrud/Blog/lib/Blog/GEN/Post.pm
@@ -442,6 +397,7 @@
t/gantry/playship/Apps-Checkbook/t/01_use.t
t/gantry/playship/Apps-Checkbook/t/02_pod.t
t/gantry/playship/Apps-Checkbook/t/03_podcover.t
+t/gantry/playship/Apps-Checkbook/t/04_manifest.t
t/gantry/playship/Apps-Checkbook/t/10_run.t
t/gantry/playship2/Apps-Checkbook/lib/Apps/Checkbook.pm
t/gantry/playship2/Apps-Checkbook/lib/Apps/Checkbook/GEN/NoOp.pm
@@ -458,6 +414,7 @@
t/gantry/playship2/Apps-Checkbook/t/01_use.t
t/gantry/playship2/Apps-Checkbook/t/02_pod.t
t/gantry/playship2/Apps-Checkbook/t/03_podcover.t
+t/gantry/playship2/Apps-Checkbook/t/04_manifest.t
t/gantry/playship2/Apps-Checkbook/t/10_run.t
t/gantry/playsoap/Apps-Checkbook/lib/Apps/Checkbook.pm
t/gantry/playsoap/Apps-Checkbook/lib/Apps/Checkbook/GEN/SOAP.pm
@@ -466,6 +423,7 @@
t/gantry/playsoap/Apps-Checkbook/t/01_use.t
t/gantry/playsoap/Apps-Checkbook/t/02_pod.t
t/gantry/playsoap/Apps-Checkbook/t/03_podcover.t
+t/gantry/playsoap/Apps-Checkbook/t/04_manifest.t
t/gantry/playsoap/Apps-Checkbook/t/10_run.t
t/gantry/playsoapdoc/Apps-Checkbook/lib/Apps/Checkbook/GEN/MySOAP.pm
t/gantry/playsoapdoc/Apps-Checkbook/lib/Apps/Checkbook/MySOAP.pm
=======================================
--- /trunk/MANIFEST.SKIP Fri Jul 9 10:25:47 2010
+++ /trunk/MANIFEST.SKIP Fri Apr 8 11:57:26 2011
@@ -10,7 +10,6 @@
\bMakeMaker-\d
\bpm_to_blib$
\bblibdirs$
-# ^MANIFEST\.SKIP$

# Avoid Module::Build generated and utility files.
\bBuild$
=======================================
--- /trunk/lib/Bigtop/Backend/Control/Gantry.pm Mon Jun 22 07:40:13 2009
+++ /trunk/lib/Bigtop/Backend/Control/Gantry.pm Fri Apr 8 11:57:26 2011
@@ -704,6 +704,18 @@
all_pod_coverage_ok();
[% END %]

+[% BLOCK manifest_test %]
+use Test::More;
+
+eval 'use Test::CheckManifest;';
+
+if ($@) {
+ plan skip_all => 'Test::CheckManifest required to test MANIFEST';
+}
+
+ok_manifest();
+[% END %]
+
[% BLOCK run_test %]
use strict;
use warnings;
@@ -2020,6 +2032,21 @@
};
warn $@ if ( $@ );

+ my $manifest_test_file = File::Spec->catfile(
+ $test_dir, '04_manifest.t'
+ );
+
+ my $manifest_test_content =
+ Bigtop::Backend::Control::Gantry::manifest_test( {} );
+
+ eval {
+ no warnings qw( Bigtop );
+ Bigtop::write_file(
+ $manifest_test_file, $manifest_test_content, 'no overwrite'
+ );
+ };
+ warn $@ if ( $@ );
+
# finally, make the run test, unless they asked not to
if ( not defined $config_block->{ run_test }
or
=======================================
--- /trunk/lib/Bigtop/Backend/Init/Std.pm Mon May 25 06:45:37 2009
+++ /trunk/lib/Bigtop/Backend/Init/Std.pm Fri Apr 8 11:57:26 2011
@@ -176,6 +176,7 @@
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
+^MYMETA.yml$

# Avoid temp and backup files.
~$
@@ -281,8 +282,16 @@
my $bigtop_basename = File::Basename::basename( $bigtop_file );
my $bigtop_copy
= File::Spec->catfile( $docs_dir, $bigtop_basename );
- File::Copy::copy( $bigtop_file, $bigtop_copy )
- unless $bigtop_copy eq $bigtop_file;
+
+ if (-e $bigtop_file) {
+ File::Copy::copy( $bigtop_file, $bigtop_copy )
+ unless $bigtop_copy eq $bigtop_file;
+ }
+ else {
+ # Create empty bigtop file so it will get put into manifest.
+ open BC, ">>$bigtop_copy";
+ close BC;
+ }
}

# build the MANIFEST
=======================================
--- /trunk/lib/Bigtop.pm Fri Feb 11 12:35:51 2011
+++ /trunk/lib/Bigtop.pm Fri Apr 8 11:57:26 2011
@@ -5,7 +5,7 @@
use Carp;
use File::Spec;

-our $VERSION = '0.40';
+our $VERSION = '0.41';

sub write_file {
my $file_name = shift;
=======================================
--- /trunk/t/bigtop/playship/Changes Mon Mar 5 12:03:14 2007
+++ /trunk/t/bigtop/playship/Changes Fri Apr 8 11:57:26 2011
@@ -1,6 +1,6 @@
Revision history for Perl web application AddressBook

-0.01 Wed Feb 14 11:08:50 2007
- - original version created with bigtop version 0.21 using:
+0.01 Thu Apr 7 16:56:54 2011
+ - original version created with bigtop version 0.40 using:
-n family(name,+street,+city)<-child(name,birth_day:date)

=======================================
--- /trunk/t/bigtop/playship/MANIFEST Wed Apr 4 10:52:34 2007
+++ /trunk/t/bigtop/playship/MANIFEST Fri Apr 8 11:57:26 2011
@@ -2,6 +2,7 @@
app.server
Build.PL
Changes
+docs/addressbook.bigtop
docs/AddressBook.gantry.conf
docs/app.gantry.conf
docs/httpd.conf
@@ -27,4 +28,5 @@
t/01_use.t
t/02_pod.t
t/03_podcover.t
+t/04_manifest.t
t/10_run.t
=======================================
--- /trunk/t/bigtop/playship/MANIFEST.SKIP Wed Feb 14 09:27:16 2007
+++ /trunk/t/bigtop/playship/MANIFEST.SKIP Fri Apr 8 11:57:26 2011
@@ -15,6 +15,7 @@
# Avoid Module::Build generated and utility files.
\bBuild$
\b_build
+^MYMETA.yml$

# Avoid temp and backup files.
~$
=======================================
--- /trunk/t/bigtop/playship/MANIFEST.bak Mon May 25 06:01:32 2009
+++ /trunk/t/bigtop/playship/MANIFEST.bak Fri Apr 8 11:57:26 2011
@@ -1,5 +1,6 @@
Build.PL
Changes
+docs/addressbook.bigtop
MANIFEST This list of files
MANIFEST.SKIP
README
=======================================
--- /trunk/t/bigtop/playship/README Wed Feb 14 09:27:16 2007
+++ /trunk/t/bigtop/playship/README Fri Apr 8 11:57:26 2011
@@ -22,7 +22,7 @@

Put the correct copyright and license info here.

-Copyright (c) 2007 by Phil Crow
+Copyright (c) 2011 by root


This library is free software; you can redistribute it and/or modify
=======================================
--- /trunk/t/bigtop/playship/app.cgi Tue May 15 10:51:11 2007
+++ /trunk/t/bigtop/playship/app.cgi Fri Apr 8 11:57:26 2011
@@ -1,4 +1,4 @@
-#!/alternate/bin/perl
+#!/usr/bin/perl
use strict;


@@ -14,7 +14,7 @@
my $cgi = Gantry::Engine::CGI->new( {
config => {
GantryConfInstance => 'addressbook_CGI',
- GantryConfFile => 'docs/app.gantry.conf',
+ GantryConfFile => '/root/AddressBook/docs/app.gantry.conf',
},
locations => {
'/' => 'AddressBook',
=======================================
--- /trunk/t/bigtop/playship/app.server Wed Jun 20 10:49:47 2007
+++ /trunk/t/bigtop/playship/app.server Fri Apr 8 11:57:26 2011
@@ -1,4 +1,4 @@
-#!/alternate/bin/perl
+#!/usr/bin/perl
use strict;


=======================================
--- /trunk/t/bigtop/playship/docs/AddressBook.gantry.conf Tue May 15
10:51:11 2007
+++ /trunk/t/bigtop/playship/docs/AddressBook.gantry.conf Fri Apr 8
11:57:26 2011
@@ -7,9 +7,9 @@
</instance>

<instance addressbook_CGI>
- dbconn dbi:SQLite:dbname=/fake/path/to/app.db
+ dbconn dbi:SQLite:dbname=/root/AddressBook/app.db
app_rootp /cgi-bin/addressbook.cgi
- root /fake/path/to/html:/fake/path/to/html/templates
+ root /root/AddressBook/html:/root/AddressBook/html/templates
doc_rootp /static
template_wrapper genwrapper.tt
show_dev_navigation 1
=======================================
--- /trunk/t/bigtop/playship/docs/addressbook.bigtop Tue Jul 24 11:10:52
2007
+++ /trunk/t/bigtop/playship/docs/addressbook.bigtop Fri Apr 8 11:57:26
2011
@@ -2,7 +2,7 @@
engine MP20;
template_engine TT;
Init Std { }
- Conf Gantry { conffile `docs/app.gantry.conf`; instance addressbook; }
+ Conf Gantry { conffile `/root/AddressBook/docs/app.gantry.conf`;
instance addressbook; }
HttpdConf Gantry { gantry_conf 1; }
SQL SQLite { }
SQL Postgres { }
@@ -20,7 +20,7 @@
show_dev_navigation 1 => no_accessor;
}
config CGI {
- dbconn `dbi:SQLite:dbname=app.db` => no_accessor;
+ dbconn `dbi:SQLite:dbname=/root/AddressBook/app.db` => no_accessor;
app_rootp `/cgi-bin/addressbook.cgi` => no_accessor;
}
controller is base_controller {
=======================================
--- /trunk/t/bigtop/playship/docs/httpd.conf Fri Jan 29 16:17:52 2010
+++ /trunk/t/bigtop/playship/docs/httpd.conf Fri Apr 8 11:57:26 2011
@@ -1,5 +1,5 @@
<Perl>
- #!/usr/missing/dir/perl
+ #!/usr/bin/perl

use AddressBook qw{
-PluginNamespace=AddressBook
@@ -12,7 +12,7 @@

<Location />
PerlSetVar GantryConfInstance addressbook
- PerlSetVar GantryConfFile app.gantry.conf
+ PerlSetVar GantryConfFile /root/AddressBook/docs/app.gantry.conf

SetHandler perl-script
PerlHandler AddressBook
=======================================
--- /trunk/t/bigtop/playship/lib/AddressBook/Child.pm Wed May 9 06:52:56
2007
+++ /trunk/t/bigtop/playship/lib/AddressBook/Child.pm Fri Apr 8 11:57:26
2011
@@ -127,11 +127,11 @@

=head1 AUTHOR

-Phil Crow, E<lt>phil@localdomainE<gt>
+root, E<lt>root@localdomainE<gt>

=head1 COPYRIGHT AND LICENSE

-Copyright (C) 2007 Phil Crow
+Copyright (C) 2011 root

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
=======================================
--- /trunk/t/bigtop/playship/lib/AddressBook/Family.pm Wed May 9 06:52:56
2007
+++ /trunk/t/bigtop/playship/lib/AddressBook/Family.pm Fri Apr 8 11:57:26
2011
@@ -127,11 +127,11 @@

=head1 AUTHOR

-Phil Crow, E<lt>phil@localdomainE<gt>
+root, E<lt>root@localdomainE<gt>

=head1 COPYRIGHT AND LICENSE

-Copyright (C) 2007 Phil Crow
+Copyright (C) 2011 root

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
=======================================
--- /trunk/t/bigtop/playship/lib/AddressBook/GENModel.pm Wed Feb 14
09:27:16 2007
+++ /trunk/t/bigtop/playship/lib/AddressBook/GENModel.pm Fri Apr 8
11:57:26 2011
@@ -29,11 +29,11 @@

=head1 AUTHOR

-Phil Crow, E<lt>phil@localdomainE<gt>
+root, E<lt>root@localdomainE<gt>

=head1 COPYRIGHT AND LICENSE

-Copyright (C) 2007 Phil Crow
+Copyright (C) 2011 root

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
=======================================
--- /trunk/t/bigtop/playship/lib/AddressBook/Model.pm Wed Feb 14 09:27:16
2007
+++ /trunk/t/bigtop/playship/lib/AddressBook/Model.pm Fri Apr 8 11:57:26
2011
@@ -46,11 +46,11 @@

=head1 AUTHOR

-Phil Crow, E<lt>phil@localdomainE<gt>
+root, E<lt>root@localdomainE<gt>

=head1 COPYRIGHT AND LICENSE

-Copyright (C) 2007 Phil Crow
+Copyright (C) 2011 root

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
=======================================
--- /trunk/t/bigtop/playship/lib/AddressBook.pm Wed Jun 20 13:49:45 2007
+++ /trunk/t/bigtop/playship/lib/AddressBook.pm Fri Apr 8 11:57:26 2011
@@ -100,11 +100,11 @@

=head1 AUTHOR

-Phil Crow, E<lt>phil@localdomainE<gt>
+root, E<lt>root@localdomainE<gt>

=head1 COPYRIGHT AND LICENSE

-Copyright (C) 2007 Phil Crow
+Copyright (C) 2011 root

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
=======================================
--- /trunk/t/bigtop/playship/lib/GENAddressBook.pm Wed May 9 06:52:56 2007
+++ /trunk/t/bigtop/playship/lib/GENAddressBook.pm Fri Apr 8 11:57:26 2011
@@ -100,11 +100,11 @@

=head1 AUTHOR

-Phil Crow, E<lt>phil@localdomainE<gt>
+root, E<lt>root@localdomainE<gt>

=head1 COPYRIGHT AND LICENSE

-Copyright (C) 2007 Phil Crow
+Copyright (C) 2011 root

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
=======================================
--- /trunk/t/gantry/04_no_gen.t Wed Jun 11 07:54:43 2008
+++ /trunk/t/gantry/04_no_gen.t Fri Apr 8 11:57:26 2011
@@ -165,6 +165,7 @@
Apps-Checkbook/t/01_use.t
Apps-Checkbook/t/02_pod.t
Apps-Checkbook/t/03_podcover.t
+ Apps-Checkbook/t/04_manifest.t
Apps-Checkbook/t/10_run.t
)
],

Reply all
Reply to author
Forward
0 new messages