From: Tara L Andrews Date: Wed, 18 Jan 2012 15:46:16 +0000 (+0100) Subject: rename TreeOfTexts to less annoying stemmaweb X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5c9ecf6629514c0b83ccf41052f13f5f02e982f2;p=scpubgit%2Fstemmatology.git rename TreeOfTexts to less annoying stemmaweb --- diff --git a/TreeOfTexts/README b/TreeOfTexts/README deleted file mode 100644 index ed8b718..0000000 --- a/TreeOfTexts/README +++ /dev/null @@ -1 +0,0 @@ -Run script/treeoftexts_server.pl to test the application. diff --git a/TreeOfTexts/treeoftexts.psgi b/TreeOfTexts/treeoftexts.psgi deleted file mode 100644 index 9f82136..0000000 --- a/TreeOfTexts/treeoftexts.psgi +++ /dev/null @@ -1,8 +0,0 @@ -use strict; -use warnings; - -use TreeOfTexts; - -my $app = TreeOfTexts->apply_default_middlewares(TreeOfTexts->psgi_app); -$app; - diff --git a/TreeOfTexts/Changes b/stemmaweb/Changes similarity index 51% rename from TreeOfTexts/Changes rename to stemmaweb/Changes index 97e3130..7358817 100644 --- a/TreeOfTexts/Changes +++ b/stemmaweb/Changes @@ -1,4 +1,4 @@ -This file documents the revision history for Perl extension TreeOfTexts. +This file documents the revision history for Perl extension stemmaweb. 0.01 2011-10-02 22:00:24 - initial revision, generated by Catalyst diff --git a/TreeOfTexts/Makefile.PL b/stemmaweb/Makefile.PL similarity index 95% rename from TreeOfTexts/Makefile.PL rename to stemmaweb/Makefile.PL index 8b55ac4..2fdb6b2 100644 --- a/TreeOfTexts/Makefile.PL +++ b/stemmaweb/Makefile.PL @@ -6,8 +6,8 @@ use Module::Install::Catalyst; # Complain loudly if you don't have # Catalyst::Devel installed or haven't said # 'make dist' to create a standalone tarball. -name 'TreeOfTexts'; -all_from 'lib/TreeOfTexts.pm'; +name 'stemmaweb'; +all_from 'lib/stemmaweb.pm'; requires 'Catalyst::Runtime' => '5.90002'; requires 'Catalyst::Plugin::ConfigLoader'; diff --git a/stemmaweb/README b/stemmaweb/README new file mode 100644 index 0000000..922553b --- /dev/null +++ b/stemmaweb/README @@ -0,0 +1 @@ +Run script/stemmaweb_server.pl to test the application. diff --git a/TreeOfTexts/lib/Text b/stemmaweb/lib/Text similarity index 100% rename from TreeOfTexts/lib/Text rename to stemmaweb/lib/Text diff --git a/TreeOfTexts/lib/TreeOfTexts.pm b/stemmaweb/lib/stemmaweb.pm similarity index 87% rename from TreeOfTexts/lib/TreeOfTexts.pm rename to stemmaweb/lib/stemmaweb.pm index e29f3a8..ee69473 100644 --- a/TreeOfTexts/lib/TreeOfTexts.pm +++ b/stemmaweb/lib/stemmaweb.pm @@ -1,4 +1,4 @@ -package TreeOfTexts; +package stemmaweb; use Moose; use namespace::autoclean; @@ -29,7 +29,7 @@ our $VERSION = '0.01'; # Configure the application. # -# Note that settings in treeoftexts.conf (or other external +# Note that settings in stemmaweb.conf (or other external # configuration file that you set up manually) take precedence # over this when using ConfigLoader. Thus configuration # details given here can function as a default configuration, @@ -37,7 +37,7 @@ our $VERSION = '0.01'; # local deployment. __PACKAGE__->config( - name => 'TreeOfTexts', + name => 'stemmaweb', # Disable deprecated behavior needed by old applications disable_component_resolution_regex_fallback => 1, default_view => 'TT', @@ -52,11 +52,11 @@ __PACKAGE__->setup(); =head1 NAME -TreeOfTexts - Catalyst based application +stemmaweb - Catalyst based application =head1 SYNOPSIS - script/treeoftexts_server.pl + script/stemmaweb_server.pl =head1 DESCRIPTION @@ -64,7 +64,7 @@ TreeOfTexts - Catalyst based application =head1 SEE ALSO -L, L +L, L =head1 AUTHOR diff --git a/TreeOfTexts/lib/TreeOfTexts/Controller/Microservice.pm b/stemmaweb/lib/stemmaweb/Controller/Microservice.pm similarity index 97% rename from TreeOfTexts/lib/TreeOfTexts/Controller/Microservice.pm rename to stemmaweb/lib/stemmaweb/Controller/Microservice.pm index 210df15..4027d4f 100644 --- a/TreeOfTexts/lib/TreeOfTexts/Controller/Microservice.pm +++ b/stemmaweb/lib/stemmaweb/Controller/Microservice.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::Controller::Microservice; +package stemmaweb::Controller::Microservice; use Moose; use namespace::autoclean; use JSON; @@ -10,7 +10,7 @@ BEGIN { extends 'Catalyst::Controller' } =head1 NAME -TreeOfTexts::Controller::Microservice - Controller for TreeOfTexts standalone +stemmaweb::Controller::Microservice - Controller for stemmaweb standalone components =head1 DESCRIPTION diff --git a/TreeOfTexts/lib/TreeOfTexts/Controller/Relation.pm b/stemmaweb/lib/stemmaweb/Controller/Relation.pm similarity index 89% rename from TreeOfTexts/lib/TreeOfTexts/Controller/Relation.pm rename to stemmaweb/lib/stemmaweb/Controller/Relation.pm index 3f7c559..f4828e1 100644 --- a/TreeOfTexts/lib/TreeOfTexts/Controller/Relation.pm +++ b/stemmaweb/lib/stemmaweb/Controller/Relation.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::Controller::Relation; +package stemmaweb::Controller::Relation; use Moose; use namespace::autoclean; @@ -7,7 +7,7 @@ BEGIN { extends 'Catalyst::Controller' } =head1 NAME -TreeOfTexts::Controller::Relation - Controller for the relationship mapper +stemmaweb::Controller::Relation - Controller for the relationship mapper =head1 DESCRIPTION diff --git a/TreeOfTexts/lib/TreeOfTexts/Controller/Root.pm b/stemmaweb/lib/stemmaweb/Controller/Root.pm similarity index 97% rename from TreeOfTexts/lib/TreeOfTexts/Controller/Root.pm rename to stemmaweb/lib/stemmaweb/Controller/Root.pm index cb3b9d9..9d497c8 100644 --- a/TreeOfTexts/lib/TreeOfTexts/Controller/Root.pm +++ b/stemmaweb/lib/stemmaweb/Controller/Root.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::Controller::Root; +package stemmaweb::Controller::Root; use Moose; use namespace::autoclean; use Text::Tradition::Analysis qw/ run_analysis /; @@ -14,7 +14,7 @@ __PACKAGE__->config(namespace => ''); =head1 NAME -TreeOfTexts::Controller::Root - Root Controller for TreeOfTexts +stemmaweb::Controller::Root - Root Controller for stemmaweb =head1 DESCRIPTION diff --git a/TreeOfTexts/lib/TreeOfTexts/Controller/Stexaminer.pm b/stemmaweb/lib/stemmaweb/Controller/Stexaminer.pm similarity index 91% rename from TreeOfTexts/lib/TreeOfTexts/Controller/Stexaminer.pm rename to stemmaweb/lib/stemmaweb/Controller/Stexaminer.pm index aba493c..bdabcaa 100644 --- a/TreeOfTexts/lib/TreeOfTexts/Controller/Stexaminer.pm +++ b/stemmaweb/lib/stemmaweb/Controller/Stexaminer.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::Controller::Stexaminer; +package stemmaweb::Controller::Stexaminer; use Moose; use namespace::autoclean; use File::Temp; @@ -10,7 +10,7 @@ BEGIN { extends 'Catalyst::Controller' } =head1 NAME -TreeOfTexts::Controller::Stexaminer - Simple controller for stemma display +stemmaweb::Controller::Stexaminer - Simple controller for stemma display =head1 DESCRIPTION diff --git a/TreeOfTexts/lib/TreeOfTexts/Model/Directory.pm b/stemmaweb/lib/stemmaweb/Model/Directory.pm similarity index 82% rename from TreeOfTexts/lib/TreeOfTexts/Model/Directory.pm rename to stemmaweb/lib/stemmaweb/Model/Directory.pm index 937d391..1c8d061 100644 --- a/TreeOfTexts/lib/TreeOfTexts/Model/Directory.pm +++ b/stemmaweb/lib/stemmaweb/Model/Directory.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::Model::Directory; +package stemmaweb::Model::Directory; use strict; use warnings; use Moose; diff --git a/TreeOfTexts/lib/TreeOfTexts/View/JSON.pm b/stemmaweb/lib/stemmaweb/View/JSON.pm similarity index 74% rename from TreeOfTexts/lib/TreeOfTexts/View/JSON.pm rename to stemmaweb/lib/stemmaweb/View/JSON.pm index b08faa9..e8a9284 100644 --- a/TreeOfTexts/lib/TreeOfTexts/View/JSON.pm +++ b/stemmaweb/lib/stemmaweb/View/JSON.pm @@ -1,15 +1,15 @@ -package TreeOfTexts::View::JSON; +package stemmaweb::View::JSON; use strict; use base 'Catalyst::View::JSON'; =head1 NAME -TreeOfTexts::View::JSON - Catalyst JSON View +stemmaweb::View::JSON - Catalyst JSON View =head1 SYNOPSIS -See L +See L =head1 DESCRIPTION diff --git a/TreeOfTexts/lib/TreeOfTexts/View/Plain.pm b/stemmaweb/lib/stemmaweb/View/Plain.pm similarity index 72% rename from TreeOfTexts/lib/TreeOfTexts/View/Plain.pm rename to stemmaweb/lib/stemmaweb/View/Plain.pm index e267272..2201116 100644 --- a/TreeOfTexts/lib/TreeOfTexts/View/Plain.pm +++ b/stemmaweb/lib/stemmaweb/View/Plain.pm @@ -1,15 +1,15 @@ -package TreeOfTexts::View::Plain; +package stemmaweb::View::Plain; use strict; use base 'Catalyst::View::Download::Plain'; =head1 NAME -TreeOfTexts::View::Plain - Catalyst view for plaintext files +stemmaweb::View::Plain - Catalyst view for plaintext files =head1 SYNOPSIS -See L +See L =head1 DESCRIPTION diff --git a/TreeOfTexts/lib/TreeOfTexts/View/SVG.pm b/stemmaweb/lib/stemmaweb/View/SVG.pm similarity index 89% rename from TreeOfTexts/lib/TreeOfTexts/View/SVG.pm rename to stemmaweb/lib/stemmaweb/View/SVG.pm index c27dc2e..b8e4673 100644 --- a/TreeOfTexts/lib/TreeOfTexts/View/SVG.pm +++ b/stemmaweb/lib/stemmaweb/View/SVG.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::View::SVG; +package stemmaweb::View::SVG; use strict; use base 'Catalyst::View'; diff --git a/TreeOfTexts/lib/TreeOfTexts/View/TT.pm b/stemmaweb/lib/stemmaweb/View/TT.pm similarity index 70% rename from TreeOfTexts/lib/TreeOfTexts/View/TT.pm rename to stemmaweb/lib/stemmaweb/View/TT.pm index 1f43118..493f8a6 100644 --- a/TreeOfTexts/lib/TreeOfTexts/View/TT.pm +++ b/stemmaweb/lib/stemmaweb/View/TT.pm @@ -1,4 +1,4 @@ -package TreeOfTexts::View::TT; +package stemmaweb::View::TT; use strict; use warnings; @@ -8,22 +8,22 @@ use base 'Catalyst::View::TT'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', INCLUDE_PATH => [ - TreeOfTexts->path_to( 'root', 'src' ), + stemmaweb->path_to( 'root', 'src' ), ], render_die => 1, ); =head1 NAME -TreeOfTexts::View::TT - TT View for TreeOfTexts +stemmaweb::View::TT - TT View for stemmaweb =head1 DESCRIPTION -TT View for TreeOfTexts. +TT View for stemmaweb. =head1 SEE ALSO -L +L =head1 AUTHOR diff --git a/TreeOfTexts/root/css/colorscheme.svg b/stemmaweb/root/css/colorscheme.svg similarity index 100% rename from TreeOfTexts/root/css/colorscheme.svg rename to stemmaweb/root/css/colorscheme.svg diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png b/stemmaweb/root/css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png rename to stemmaweb/root/css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png b/stemmaweb/root/css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png rename to stemmaweb/root/css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png b/stemmaweb/root/css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png rename to stemmaweb/root/css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png b/stemmaweb/root/css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png rename to stemmaweb/root/css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png b/stemmaweb/root/css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png rename to stemmaweb/root/css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png b/stemmaweb/root/css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png rename to stemmaweb/root/css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png b/stemmaweb/root/css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png rename to stemmaweb/root/css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png b/stemmaweb/root/css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png rename to stemmaweb/root/css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png b/stemmaweb/root/css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png rename to stemmaweb/root/css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-icons_2694e8_256x240.png b/stemmaweb/root/css/cupertino/images/ui-icons_2694e8_256x240.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-icons_2694e8_256x240.png rename to stemmaweb/root/css/cupertino/images/ui-icons_2694e8_256x240.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-icons_2e83ff_256x240.png b/stemmaweb/root/css/cupertino/images/ui-icons_2e83ff_256x240.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-icons_2e83ff_256x240.png rename to stemmaweb/root/css/cupertino/images/ui-icons_2e83ff_256x240.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-icons_3d80b3_256x240.png b/stemmaweb/root/css/cupertino/images/ui-icons_3d80b3_256x240.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-icons_3d80b3_256x240.png rename to stemmaweb/root/css/cupertino/images/ui-icons_3d80b3_256x240.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-icons_72a7cf_256x240.png b/stemmaweb/root/css/cupertino/images/ui-icons_72a7cf_256x240.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-icons_72a7cf_256x240.png rename to stemmaweb/root/css/cupertino/images/ui-icons_72a7cf_256x240.png diff --git a/TreeOfTexts/root/css/cupertino/images/ui-icons_ffffff_256x240.png b/stemmaweb/root/css/cupertino/images/ui-icons_ffffff_256x240.png similarity index 100% rename from TreeOfTexts/root/css/cupertino/images/ui-icons_ffffff_256x240.png rename to stemmaweb/root/css/cupertino/images/ui-icons_ffffff_256x240.png diff --git a/TreeOfTexts/root/css/cupertino/jquery-ui-1.8.13.custom.css b/stemmaweb/root/css/cupertino/jquery-ui-1.8.13.custom.css similarity index 100% rename from TreeOfTexts/root/css/cupertino/jquery-ui-1.8.13.custom.css rename to stemmaweb/root/css/cupertino/jquery-ui-1.8.13.custom.css diff --git a/TreeOfTexts/root/css/style.css b/stemmaweb/root/css/style.css similarity index 100% rename from TreeOfTexts/root/css/style.css rename to stemmaweb/root/css/style.css diff --git a/TreeOfTexts/root/favicon.ico b/stemmaweb/root/favicon.ico similarity index 100% rename from TreeOfTexts/root/favicon.ico rename to stemmaweb/root/favicon.ico diff --git a/TreeOfTexts/root/js/interaction.js b/stemmaweb/root/js/interaction.js similarity index 100% rename from TreeOfTexts/root/js/interaction.js rename to stemmaweb/root/js/interaction.js diff --git a/TreeOfTexts/root/js/jquery-1.4.4.min.js b/stemmaweb/root/js/jquery-1.4.4.min.js similarity index 100% rename from TreeOfTexts/root/js/jquery-1.4.4.min.js rename to stemmaweb/root/js/jquery-1.4.4.min.js diff --git a/TreeOfTexts/root/js/jquery-ui-1.8.10.custom.min.js b/stemmaweb/root/js/jquery-ui-1.8.10.custom.min.js similarity index 100% rename from TreeOfTexts/root/js/jquery-ui-1.8.10.custom.min.js rename to stemmaweb/root/js/jquery-ui-1.8.10.custom.min.js diff --git a/TreeOfTexts/root/js/relationship.js b/stemmaweb/root/js/relationship.js similarity index 100% rename from TreeOfTexts/root/js/relationship.js rename to stemmaweb/root/js/relationship.js diff --git a/TreeOfTexts/root/js/svginteraction.js b/stemmaweb/root/js/svginteraction.js similarity index 100% rename from TreeOfTexts/root/js/svginteraction.js rename to stemmaweb/root/js/svginteraction.js diff --git a/TreeOfTexts/root/src/alignment.tt b/stemmaweb/root/src/alignment.tt similarity index 100% rename from TreeOfTexts/root/src/alignment.tt rename to stemmaweb/root/src/alignment.tt diff --git a/TreeOfTexts/root/src/directory.tt b/stemmaweb/root/src/directory.tt similarity index 100% rename from TreeOfTexts/root/src/directory.tt rename to stemmaweb/root/src/directory.tt diff --git a/TreeOfTexts/root/src/index.tt b/stemmaweb/root/src/index.tt similarity index 100% rename from TreeOfTexts/root/src/index.tt rename to stemmaweb/root/src/index.tt diff --git a/TreeOfTexts/root/src/relate.tt b/stemmaweb/root/src/relate.tt similarity index 100% rename from TreeOfTexts/root/src/relate.tt rename to stemmaweb/root/src/relate.tt diff --git a/TreeOfTexts/root/src/stemma_gadget.tt b/stemmaweb/root/src/stemma_gadget.tt similarity index 100% rename from TreeOfTexts/root/src/stemma_gadget.tt rename to stemmaweb/root/src/stemma_gadget.tt diff --git a/TreeOfTexts/root/src/stexaminer.tt b/stemmaweb/root/src/stexaminer.tt similarity index 100% rename from TreeOfTexts/root/src/stexaminer.tt rename to stemmaweb/root/src/stexaminer.tt diff --git a/TreeOfTexts/root/src/table_gadget.tt b/stemmaweb/root/src/table_gadget.tt similarity index 100% rename from TreeOfTexts/root/src/table_gadget.tt rename to stemmaweb/root/src/table_gadget.tt diff --git a/TreeOfTexts/script/treeoftexts_cgi.pl b/stemmaweb/script/stemmaweb_cgi.pl similarity index 81% rename from TreeOfTexts/script/treeoftexts_cgi.pl rename to stemmaweb/script/stemmaweb_cgi.pl index 4838ceb..27b9d58 100755 --- a/TreeOfTexts/script/treeoftexts_cgi.pl +++ b/stemmaweb/script/stemmaweb_cgi.pl @@ -1,13 +1,13 @@ #!/usr/bin/env perl use Catalyst::ScriptRunner; -Catalyst::ScriptRunner->run('TreeOfTexts', 'CGI'); +Catalyst::ScriptRunner->run('stemmaweb', 'CGI'); 1; =head1 NAME -treeoftexts_cgi.pl - Catalyst CGI +stemmaweb_cgi.pl - Catalyst CGI =head1 SYNOPSIS diff --git a/TreeOfTexts/script/treeoftexts_create.pl b/stemmaweb/script/stemmaweb_create.pl similarity index 65% rename from TreeOfTexts/script/treeoftexts_create.pl rename to stemmaweb/script/stemmaweb_create.pl index d85c423..dd4d1c5 100755 --- a/TreeOfTexts/script/treeoftexts_create.pl +++ b/stemmaweb/script/stemmaweb_create.pl @@ -4,17 +4,17 @@ use strict; use warnings; use Catalyst::ScriptRunner; -Catalyst::ScriptRunner->run('TreeOfTexts', 'Create'); +Catalyst::ScriptRunner->run('stemmaweb', 'Create'); 1; =head1 NAME -treeoftexts_create.pl - Create a new Catalyst Component +stemmaweb_create.pl - Create a new Catalyst Component =head1 SYNOPSIS -treeoftexts_create.pl [options] model|view|controller name [helper] [options] +stemmaweb_create.pl [options] model|view|controller name [helper] [options] Options: --force don't create a .new file where a file to be created exists @@ -22,14 +22,14 @@ treeoftexts_create.pl [options] model|view|controller name [helper] [options] --help display this help and exits Examples: - treeoftexts_create.pl controller My::Controller - treeoftexts_create.pl --mechanize controller My::Controller - treeoftexts_create.pl view My::View - treeoftexts_create.pl view HTML TT - treeoftexts_create.pl model My::Model - treeoftexts_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\ + stemmaweb_create.pl controller My::Controller + stemmaweb_create.pl --mechanize controller My::Controller + stemmaweb_create.pl view My::View + stemmaweb_create.pl view HTML TT + stemmaweb_create.pl model My::Model + stemmaweb_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\ dbi:SQLite:/tmp/my.db - treeoftexts_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\ + stemmaweb_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\ [Loader opts like db_schema, naming] dbi:Pg:dbname=foo root 4321 [connect_info opts like quote_char, name_sep] diff --git a/TreeOfTexts/script/treeoftexts_fastcgi.pl b/stemmaweb/script/stemmaweb_fastcgi.pl similarity index 89% rename from TreeOfTexts/script/treeoftexts_fastcgi.pl rename to stemmaweb/script/stemmaweb_fastcgi.pl index f2c1cc5..c19add3 100755 --- a/TreeOfTexts/script/treeoftexts_fastcgi.pl +++ b/stemmaweb/script/stemmaweb_fastcgi.pl @@ -1,17 +1,17 @@ #!/usr/bin/env perl use Catalyst::ScriptRunner; -Catalyst::ScriptRunner->run('TreeOfTexts', 'FastCGI'); +Catalyst::ScriptRunner->run('stemmaweb', 'FastCGI'); 1; =head1 NAME -treeoftexts_fastcgi.pl - Catalyst FastCGI +stemmaweb_fastcgi.pl - Catalyst FastCGI =head1 SYNOPSIS -treeoftexts_fastcgi.pl [options] +stemmaweb_fastcgi.pl [options] Options: -? -help display this help and exits diff --git a/TreeOfTexts/script/treeoftexts_server.pl b/stemmaweb/script/stemmaweb_server.pl similarity index 92% rename from TreeOfTexts/script/treeoftexts_server.pl rename to stemmaweb/script/stemmaweb_server.pl index 809c93e..439fdf4 100755 --- a/TreeOfTexts/script/treeoftexts_server.pl +++ b/stemmaweb/script/stemmaweb_server.pl @@ -5,17 +5,17 @@ BEGIN { } use Catalyst::ScriptRunner; -Catalyst::ScriptRunner->run('TreeOfTexts', 'Server'); +Catalyst::ScriptRunner->run('stemmaweb', 'Server'); 1; =head1 NAME -treeoftexts_server.pl - Catalyst Test Server +stemmaweb_server.pl - Catalyst Test Server =head1 SYNOPSIS -treeoftexts_server.pl [options] +stemmaweb_server.pl [options] -d --debug force debug mode -f --fork handle each request in a new process diff --git a/TreeOfTexts/script/treeoftexts_test.pl b/stemmaweb/script/stemmaweb_test.pl similarity index 69% rename from TreeOfTexts/script/treeoftexts_test.pl rename to stemmaweb/script/stemmaweb_test.pl index b85bf54..7274133 100755 --- a/TreeOfTexts/script/treeoftexts_test.pl +++ b/stemmaweb/script/stemmaweb_test.pl @@ -1,24 +1,24 @@ #!/usr/bin/env perl use Catalyst::ScriptRunner; -Catalyst::ScriptRunner->run('TreeOfTexts', 'Test'); +Catalyst::ScriptRunner->run('stemmaweb', 'Test'); 1; =head1 NAME -treeoftexts_test.pl - Catalyst Test +stemmaweb_test.pl - Catalyst Test =head1 SYNOPSIS -treeoftexts_test.pl [options] uri +stemmaweb_test.pl [options] uri Options: --help display this help and exits Examples: - treeoftexts_test.pl http://localhost/some_action - treeoftexts_test.pl /some_action + stemmaweb_test.pl http://localhost/some_action + stemmaweb_test.pl /some_action See also: perldoc Catalyst::Manual diff --git a/TreeOfTexts/treeoftexts.conf b/stemmaweb/stemmaweb.conf similarity index 55% rename from TreeOfTexts/treeoftexts.conf rename to stemmaweb/stemmaweb.conf index 26e7004..a64ce1e 100644 --- a/TreeOfTexts/treeoftexts.conf +++ b/stemmaweb/stemmaweb.conf @@ -1,6 +1,6 @@ -# rename this file to treeoftexts.yml and put a ':' after 'name' if +# rename this file to stemmaweb.yml and put a ':' after 'name' if # you want to use YAML like in old versions of Catalyst -name = TreeOfTexts +name = stemmaweb dsn dbi:SQLite:dbname=db/traditions.db \ No newline at end of file diff --git a/stemmaweb/stemmaweb.psgi b/stemmaweb/stemmaweb.psgi new file mode 100644 index 0000000..359f422 --- /dev/null +++ b/stemmaweb/stemmaweb.psgi @@ -0,0 +1,8 @@ +use strict; +use warnings; + +use stemmaweb; + +my $app = stemmaweb->apply_default_middlewares(stemmaweb->psgi_app); +$app; + diff --git a/TreeOfTexts/t/01app.t b/stemmaweb/t/01app.t similarity index 80% rename from TreeOfTexts/t/01app.t rename to stemmaweb/t/01app.t index 969b50e..5d544b9 100644 --- a/TreeOfTexts/t/01app.t +++ b/stemmaweb/t/01app.t @@ -3,7 +3,7 @@ use strict; use warnings; use Test::More; -use Catalyst::Test 'TreeOfTexts'; +use Catalyst::Test 'stemmaweb'; ok( request('/')->is_success, 'Request should succeed' ); diff --git a/TreeOfTexts/t/02pod.t b/stemmaweb/t/02pod.t similarity index 100% rename from TreeOfTexts/t/02pod.t rename to stemmaweb/t/02pod.t diff --git a/TreeOfTexts/t/03podcoverage.t b/stemmaweb/t/03podcoverage.t similarity index 100% rename from TreeOfTexts/t/03podcoverage.t rename to stemmaweb/t/03podcoverage.t diff --git a/TreeOfTexts/t/model_Directory.t b/stemmaweb/t/model_Directory.t similarity index 55% rename from TreeOfTexts/t/model_Directory.t rename to stemmaweb/t/model_Directory.t index b7f75ee..e0a7511 100644 --- a/TreeOfTexts/t/model_Directory.t +++ b/stemmaweb/t/model_Directory.t @@ -3,6 +3,6 @@ use warnings; use Test::More; -BEGIN { use_ok 'TreeOfTexts::Model::Directory' } +BEGIN { use_ok 'stemmaweb::Model::Directory' } done_testing(); diff --git a/TreeOfTexts/t/view_JSON.t b/stemmaweb/t/view_JSON.t similarity index 58% rename from TreeOfTexts/t/view_JSON.t rename to stemmaweb/t/view_JSON.t index aa5a7ce..a1a79e6 100644 --- a/TreeOfTexts/t/view_JSON.t +++ b/stemmaweb/t/view_JSON.t @@ -3,6 +3,6 @@ use warnings; use Test::More; -BEGIN { use_ok 'TreeOfTexts::View::JSON' } +BEGIN { use_ok 'stemmaweb::View::JSON' } done_testing(); diff --git a/TreeOfTexts/t/view_TT.t b/stemmaweb/t/view_TT.t similarity index 59% rename from TreeOfTexts/t/view_TT.t rename to stemmaweb/t/view_TT.t index e9b8f5b..04cc834 100644 --- a/TreeOfTexts/t/view_TT.t +++ b/stemmaweb/t/view_TT.t @@ -3,6 +3,6 @@ use warnings; use Test::More; -BEGIN { use_ok 'TreeOfTexts::View::TT' } +BEGIN { use_ok 'stemmaweb::View::TT' } done_testing();