[Catalyst-commits] r13979 - in CatalystX-Restarter-GTK/trunk: . t
dd070 at dev.catalyst.perl.org
dd070 at dev.catalyst.perl.org
Mon Feb 28 12:19:06 GMT 2011
Author: dd070
Date: 2011-02-28 12:19:05 +0000 (Mon, 28 Feb 2011)
New Revision: 13979
Removed:
CatalystX-Restarter-GTK/trunk/t/author/
CatalystX-Restarter-GTK/trunk/t/lib/
CatalystX-Restarter-GTK/trunk/t/live-test.t
Modified:
CatalystX-Restarter-GTK/trunk/Makefile.PL
CatalystX-Restarter-GTK/trunk/README
Log:
removed unused test scripts
Modified: CatalystX-Restarter-GTK/trunk/Makefile.PL
===================================================================
--- CatalystX-Restarter-GTK/trunk/Makefile.PL 2011-02-28 11:11:57 UTC (rev 13978)
+++ CatalystX-Restarter-GTK/trunk/Makefile.PL 2011-02-28 12:19:05 UTC (rev 13979)
@@ -1,8 +1,6 @@
use strict;
use warnings;
use inc::Module::Install 0.91;
-use Module::Install::AuthorRequires;
-use Module::Install::AuthorTests;
name 'CatalystX-Restarter-GTK';
all_from 'lib/CatalystX/Restarter/GTK.pm';
@@ -11,7 +9,7 @@
requires 'MooseX::Types';
requires 'namespace::autoclean';
-requires 'Catalyst::Runtime' => '5.80015';
+requires 'Catalyst::Runtime' => '5.80032';
requires 'Catalyst::Devel';
requires 'Try::Tiny';
requires 'Object::Destroyer';
@@ -22,16 +20,6 @@
build_requires 'Test::More' => '0.88';
-author_requires 'Test::Pod::Coverage' => '1.04';
-author_requires 'Test::Pod' => '1.14';
-
-author_tests 't/author';
-
resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/CatalystX-Restarter-GTK/trunk';
-if ($Module::Install::AUTHOR) {
- system("pod2text lib/CatalystX/Restarter/GTK.pm > README")
- and die $!;
-}
-
WriteAll();
Modified: CatalystX-Restarter-GTK/trunk/README
===================================================================
--- CatalystX-Restarter-GTK/trunk/README 2011-02-28 11:11:57 UTC (rev 13978)
+++ CatalystX-Restarter-GTK/trunk/README 2011-02-28 12:19:05 UTC (rev 13979)
@@ -0,0 +1,51 @@
+NAME
+ CatalystX::Restarter::GTK - GTK based Catalyst server restarter.
+
+SYNOPSIS
+ Set environment variable CATALYST_RESTARTER to
+ CatalystX::Restarter::GTK. Then start server with -r (auto restart on
+ file changes) option.
+
+ export CATALYST_RESTARTER=CatalystX::Restarter::GTK
+ perl script/myapp_server -r
+
+ You can also create a shell script and add a shortcut to panel. This
+ avoids need of starting terminal.
+
+ #!/bin/bash
+ cd /home/username/myapp/trunk/
+ perl script/myapp_server.pl -r
+
+ To use this restarter for specific application only, set appropirate
+ envioronment variable.
+
+ MYAPP_RESTARTER=CatalystX::Restarter::GTK
+
+DESCRIPTION
+ This module provides GUI interface for controlling Catalyst server and
+ viewing console output generated. It captures both STDOUT and STDERR.
+
+ It shows a very small GUI window on desktop. It is set always on to by
+ default. You can drag window to any screen corner for convenience.
+
+ The window displays server status. User can view console output and
+ manually restart server from menu.
+
+ Whenever any file of project is updated, developer can immediately check
+ server status without switching to console.
+
+NOTES
+ This module extends Catalyst::Restarter and depends on its _watcher and
+ _handle_events.
+
+AUTHOR
+ Dhaval Dhanani <mailto:dhaval070 at gmail.com>
+
+LICENCE
+ This library is free software. You can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+COPYRIGHT
+ This library is copyright (c) 2011 the above named AUTHOR and
+ CONSTRIBUTOR(s).
+
Deleted: CatalystX-Restarter-GTK/trunk/t/live-test.t
===================================================================
--- CatalystX-Restarter-GTK/trunk/t/live-test.t 2011-02-28 11:11:57 UTC (rev 13978)
+++ CatalystX-Restarter-GTK/trunk/t/live-test.t 2011-02-28 12:19:05 UTC (rev 13979)
@@ -1,20 +0,0 @@
-#!/usr/bin/env perl
-
-use strict;
-use warnings;
-use Test::More;
-
-# setup library path
-use FindBin qw($Bin);
-use lib "$Bin/lib";
-
-# make sure testapp works
-use ok 'TestApp';
-
-# a live test against TestApp, the test application
-use Test::WWW::Mechanize::Catalyst 'TestApp';
-my $mech = Test::WWW::Mechanize::Catalyst->new;
-$mech->get_ok('http://localhost/', 'get main page');
-$mech->content_like(qr/it works/i, 'see if it has our text');
-
-done_testing;
More information about the Catalyst-commits
mailing list