rename TreeOfTexts to less annoying stemmaweb
Tara L Andrews [Wed, 18 Jan 2012 15:46:16 +0000 (16:46 +0100)]
59 files changed:
TreeOfTexts/README [deleted file]
TreeOfTexts/treeoftexts.psgi [deleted file]
stemmaweb/Changes [moved from TreeOfTexts/Changes with 51% similarity]
stemmaweb/Makefile.PL [moved from TreeOfTexts/Makefile.PL with 95% similarity]
stemmaweb/README [new file with mode: 0644]
stemmaweb/lib/Text [moved from TreeOfTexts/lib/Text with 100% similarity]
stemmaweb/lib/stemmaweb.pm [moved from TreeOfTexts/lib/TreeOfTexts.pm with 87% similarity]
stemmaweb/lib/stemmaweb/Controller/Microservice.pm [moved from TreeOfTexts/lib/TreeOfTexts/Controller/Microservice.pm with 97% similarity]
stemmaweb/lib/stemmaweb/Controller/Relation.pm [moved from TreeOfTexts/lib/TreeOfTexts/Controller/Relation.pm with 89% similarity]
stemmaweb/lib/stemmaweb/Controller/Root.pm [moved from TreeOfTexts/lib/TreeOfTexts/Controller/Root.pm with 97% similarity]
stemmaweb/lib/stemmaweb/Controller/Stexaminer.pm [moved from TreeOfTexts/lib/TreeOfTexts/Controller/Stexaminer.pm with 91% similarity]
stemmaweb/lib/stemmaweb/Model/Directory.pm [moved from TreeOfTexts/lib/TreeOfTexts/Model/Directory.pm with 82% similarity]
stemmaweb/lib/stemmaweb/View/JSON.pm [moved from TreeOfTexts/lib/TreeOfTexts/View/JSON.pm with 74% similarity]
stemmaweb/lib/stemmaweb/View/Plain.pm [moved from TreeOfTexts/lib/TreeOfTexts/View/Plain.pm with 72% similarity]
stemmaweb/lib/stemmaweb/View/SVG.pm [moved from TreeOfTexts/lib/TreeOfTexts/View/SVG.pm with 89% similarity]
stemmaweb/lib/stemmaweb/View/TT.pm [moved from TreeOfTexts/lib/TreeOfTexts/View/TT.pm with 70% similarity]
stemmaweb/root/css/colorscheme.svg [moved from TreeOfTexts/root/css/colorscheme.svg with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_glass_50_3baae3_1x400.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png [moved from TreeOfTexts/root/css/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-icons_2694e8_256x240.png [moved from TreeOfTexts/root/css/cupertino/images/ui-icons_2694e8_256x240.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-icons_2e83ff_256x240.png [moved from TreeOfTexts/root/css/cupertino/images/ui-icons_2e83ff_256x240.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-icons_3d80b3_256x240.png [moved from TreeOfTexts/root/css/cupertino/images/ui-icons_3d80b3_256x240.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-icons_72a7cf_256x240.png [moved from TreeOfTexts/root/css/cupertino/images/ui-icons_72a7cf_256x240.png with 100% similarity]
stemmaweb/root/css/cupertino/images/ui-icons_ffffff_256x240.png [moved from TreeOfTexts/root/css/cupertino/images/ui-icons_ffffff_256x240.png with 100% similarity]
stemmaweb/root/css/cupertino/jquery-ui-1.8.13.custom.css [moved from TreeOfTexts/root/css/cupertino/jquery-ui-1.8.13.custom.css with 100% similarity]
stemmaweb/root/css/style.css [moved from TreeOfTexts/root/css/style.css with 100% similarity]
stemmaweb/root/favicon.ico [moved from TreeOfTexts/root/favicon.ico with 100% similarity]
stemmaweb/root/js/interaction.js [moved from TreeOfTexts/root/js/interaction.js with 100% similarity]
stemmaweb/root/js/jquery-1.4.4.min.js [moved from TreeOfTexts/root/js/jquery-1.4.4.min.js with 100% similarity]
stemmaweb/root/js/jquery-ui-1.8.10.custom.min.js [moved from TreeOfTexts/root/js/jquery-ui-1.8.10.custom.min.js with 100% similarity]
stemmaweb/root/js/relationship.js [moved from TreeOfTexts/root/js/relationship.js with 100% similarity]
stemmaweb/root/js/svginteraction.js [moved from TreeOfTexts/root/js/svginteraction.js with 100% similarity]
stemmaweb/root/src/alignment.tt [moved from TreeOfTexts/root/src/alignment.tt with 100% similarity]
stemmaweb/root/src/directory.tt [moved from TreeOfTexts/root/src/directory.tt with 100% similarity]
stemmaweb/root/src/index.tt [moved from TreeOfTexts/root/src/index.tt with 100% similarity]
stemmaweb/root/src/relate.tt [moved from TreeOfTexts/root/src/relate.tt with 100% similarity]
stemmaweb/root/src/stemma_gadget.tt [moved from TreeOfTexts/root/src/stemma_gadget.tt with 100% similarity]
stemmaweb/root/src/stexaminer.tt [moved from TreeOfTexts/root/src/stexaminer.tt with 100% similarity]
stemmaweb/root/src/table_gadget.tt [moved from TreeOfTexts/root/src/table_gadget.tt with 100% similarity]
stemmaweb/script/stemmaweb_cgi.pl [moved from TreeOfTexts/script/treeoftexts_cgi.pl with 81% similarity]
stemmaweb/script/stemmaweb_create.pl [moved from TreeOfTexts/script/treeoftexts_create.pl with 65% similarity]
stemmaweb/script/stemmaweb_fastcgi.pl [moved from TreeOfTexts/script/treeoftexts_fastcgi.pl with 89% similarity]
stemmaweb/script/stemmaweb_server.pl [moved from TreeOfTexts/script/treeoftexts_server.pl with 92% similarity]
stemmaweb/script/stemmaweb_test.pl [moved from TreeOfTexts/script/treeoftexts_test.pl with 69% similarity]
stemmaweb/stemmaweb.conf [moved from TreeOfTexts/treeoftexts.conf with 55% similarity]
stemmaweb/stemmaweb.psgi [new file with mode: 0644]
stemmaweb/t/01app.t [moved from TreeOfTexts/t/01app.t with 80% similarity]
stemmaweb/t/02pod.t [moved from TreeOfTexts/t/02pod.t with 100% similarity]
stemmaweb/t/03podcoverage.t [moved from TreeOfTexts/t/03podcoverage.t with 100% similarity]
stemmaweb/t/model_Directory.t [moved from TreeOfTexts/t/model_Directory.t with 55% similarity]
stemmaweb/t/view_JSON.t [moved from TreeOfTexts/t/view_JSON.t with 58% similarity]
stemmaweb/t/view_TT.t [moved from TreeOfTexts/t/view_TT.t with 59% similarity]

diff --git a/TreeOfTexts/README b/TreeOfTexts/README
deleted file mode 100644 (file)
index ed8b718..0000000
+++ /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 (file)
index 9f82136..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-
-use TreeOfTexts;
-
-my $app = TreeOfTexts->apply_default_middlewares(TreeOfTexts->psgi_app);
-$app;
-
similarity index 51%
rename from TreeOfTexts/Changes
rename to stemmaweb/Changes
index 97e3130..7358817 100644 (file)
@@ -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
similarity index 95%
rename from TreeOfTexts/Makefile.PL
rename to stemmaweb/Makefile.PL
index 8b55ac4..2fdb6b2 100644 (file)
@@ -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 (file)
index 0000000..922553b
--- /dev/null
@@ -0,0 +1 @@
+Run script/stemmaweb_server.pl to test the application.
similarity index 100%
rename from TreeOfTexts/lib/Text
rename to stemmaweb/lib/Text
similarity index 87%
rename from TreeOfTexts/lib/TreeOfTexts.pm
rename to stemmaweb/lib/stemmaweb.pm
index e29f3a8..ee69473 100644 (file)
@@ -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<TreeOfTexts::Controller::Root>, L<Catalyst>
+L<stemmaweb::Controller::Root>, L<Catalyst>
 
 =head1 AUTHOR
 
@@ -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
@@ -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
 
similarity index 97%
rename from TreeOfTexts/lib/TreeOfTexts/Controller/Root.pm
rename to stemmaweb/lib/stemmaweb/Controller/Root.pm
index cb3b9d9..9d497c8 100644 (file)
@@ -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
 
@@ -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
 
similarity index 82%
rename from TreeOfTexts/lib/TreeOfTexts/Model/Directory.pm
rename to stemmaweb/lib/stemmaweb/Model/Directory.pm
index 937d391..1c8d061 100644 (file)
@@ -1,4 +1,4 @@
-package TreeOfTexts::Model::Directory;
+package stemmaweb::Model::Directory;
 use strict;
 use warnings;
 use Moose;
similarity index 74%
rename from TreeOfTexts/lib/TreeOfTexts/View/JSON.pm
rename to stemmaweb/lib/stemmaweb/View/JSON.pm
index b08faa9..e8a9284 100644 (file)
@@ -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<TreeOfTexts>
+See L<stemmaweb>
 
 =head1 DESCRIPTION
 
similarity index 72%
rename from TreeOfTexts/lib/TreeOfTexts/View/Plain.pm
rename to stemmaweb/lib/stemmaweb/View/Plain.pm
index e267272..2201116 100644 (file)
@@ -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<TreeOfTexts>
+See L<stemmaweb>
 
 =head1 DESCRIPTION
 
similarity index 89%
rename from TreeOfTexts/lib/TreeOfTexts/View/SVG.pm
rename to stemmaweb/lib/stemmaweb/View/SVG.pm
index c27dc2e..b8e4673 100644 (file)
@@ -1,4 +1,4 @@
-package TreeOfTexts::View::SVG;
+package stemmaweb::View::SVG;
 
 use strict;
 use base 'Catalyst::View';
similarity index 70%
rename from TreeOfTexts/lib/TreeOfTexts/View/TT.pm
rename to stemmaweb/lib/stemmaweb/View/TT.pm
index 1f43118..493f8a6 100644 (file)
@@ -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<TreeOfTexts>
+L<stemmaweb>
 
 =head1 AUTHOR
 
similarity index 81%
rename from TreeOfTexts/script/treeoftexts_cgi.pl
rename to stemmaweb/script/stemmaweb_cgi.pl
index 4838ceb..27b9d58 100755 (executable)
@@ -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
 
similarity index 65%
rename from TreeOfTexts/script/treeoftexts_create.pl
rename to stemmaweb/script/stemmaweb_create.pl
index d85c423..dd4d1c5 100755 (executable)
@@ -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]
 
similarity index 89%
rename from TreeOfTexts/script/treeoftexts_fastcgi.pl
rename to stemmaweb/script/stemmaweb_fastcgi.pl
index f2c1cc5..c19add3 100755 (executable)
@@ -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
similarity index 92%
rename from TreeOfTexts/script/treeoftexts_server.pl
rename to stemmaweb/script/stemmaweb_server.pl
index 809c93e..439fdf4 100755 (executable)
@@ -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
similarity index 69%
rename from TreeOfTexts/script/treeoftexts_test.pl
rename to stemmaweb/script/stemmaweb_test.pl
index b85bf54..7274133 100755 (executable)
@@ -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
similarity index 55%
rename from TreeOfTexts/treeoftexts.conf
rename to stemmaweb/stemmaweb.conf
index 26e7004..a64ce1e 100644 (file)
@@ -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
 <Model Directory>
     dsn dbi:SQLite:dbname=db/traditions.db
 </Model>
\ No newline at end of file
diff --git a/stemmaweb/stemmaweb.psgi b/stemmaweb/stemmaweb.psgi
new file mode 100644 (file)
index 0000000..359f422
--- /dev/null
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+
+use stemmaweb;
+
+my $app = stemmaweb->apply_default_middlewares(stemmaweb->psgi_app);
+$app;
+
similarity index 80%
rename from TreeOfTexts/t/01app.t
rename to stemmaweb/t/01app.t
index 969b50e..5d544b9 100644 (file)
@@ -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' );
 
similarity index 100%
rename from TreeOfTexts/t/02pod.t
rename to stemmaweb/t/02pod.t
similarity index 55%
rename from TreeOfTexts/t/model_Directory.t
rename to stemmaweb/t/model_Directory.t
index b7f75ee..e0a7511 100644 (file)
@@ -3,6 +3,6 @@ use warnings;
 use Test::More;
 
 
-BEGIN { use_ok 'TreeOfTexts::Model::Directory' }
+BEGIN { use_ok 'stemmaweb::Model::Directory' }
 
 done_testing();
similarity index 58%
rename from TreeOfTexts/t/view_JSON.t
rename to stemmaweb/t/view_JSON.t
index aa5a7ce..a1a79e6 100644 (file)
@@ -3,6 +3,6 @@ use warnings;
 use Test::More;
 
 
-BEGIN { use_ok 'TreeOfTexts::View::JSON' }
+BEGIN { use_ok 'stemmaweb::View::JSON' }
 
 done_testing();
similarity index 59%
rename from TreeOfTexts/t/view_TT.t
rename to stemmaweb/t/view_TT.t
index e9b8f5b..04cc834 100644 (file)
@@ -3,6 +3,6 @@ use warnings;
 use Test::More;
 
 
-BEGIN { use_ok 'TreeOfTexts::View::TT' }
+BEGIN { use_ok 'stemmaweb::View::TT' }
 
 done_testing();