[Catalyst-commits] r6388 - in trunk/Catalyst-Plugin-Dojo: .
lib/Catalyst lib/Catalyst/Helper t
fireartist at dev.catalyst.perl.org
fireartist at dev.catalyst.perl.org
Fri May 11 13:53:46 GMT 2007
Author: fireartist
Date: 2007-05-11 13:53:45 +0100 (Fri, 11 May 2007)
New Revision: 6388
Added:
trunk/Catalyst-Plugin-Dojo/t/Catalyst-Helper-Dojo.t
Removed:
trunk/Catalyst-Plugin-Dojo/lib/Catalyst/Plugin/
trunk/Catalyst-Plugin-Dojo/t/Catalyst-Plugin-Dojo.t
Modified:
trunk/Catalyst-Plugin-Dojo/Makefile.PL
trunk/Catalyst-Plugin-Dojo/README
trunk/Catalyst-Plugin-Dojo/lib/Catalyst/Helper/Dojo.pm
Log:
removed C-Plugin-Dojo.
renamed dist to C-Helper-Dojo
Modified: trunk/Catalyst-Plugin-Dojo/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Dojo/Makefile.PL 2007-05-11 05:11:39 UTC (rev 6387)
+++ trunk/Catalyst-Plugin-Dojo/Makefile.PL 2007-05-11 12:53:45 UTC (rev 6388)
@@ -2,12 +2,12 @@
use ExtUtils::MakeMaker;
WriteMakefile(
- NAME => 'Catalyst::Plugin::Dojo',
- VERSION_FROM => 'lib/Catalyst/Plugin/Dojo.pm',
+ NAME => 'Catalyst::Helper::Dojo',
+ VERSION_FROM => 'lib/Catalyst/Helper/Dojo.pm',
PREREQ_PM => {
File::Spec => 0,
HTML::Dojo => 0,
},
- ABSTRACT_FROM => 'lib/Catalyst/Plugin/Dojo.pm',
+ ABSTRACT_FROM => 'lib/Catalyst/Helper/Dojo.pm',
AUTHOR => 'Carl Franks <cfranks at cpan.org>',
);
Modified: trunk/Catalyst-Plugin-Dojo/README
===================================================================
--- trunk/Catalyst-Plugin-Dojo/README 2007-05-11 05:11:39 UTC (rev 6387)
+++ trunk/Catalyst-Plugin-Dojo/README 2007-05-11 12:53:45 UTC (rev 6388)
@@ -1,45 +1,39 @@
-NAME
- Catalyst::Plugin::Dojo - Catalyst plugin to work with the Dojo
- JavaScript / AJAX library.
+NAME
+ Catalyst::Helper::Dojo - Helper to generate Dojo JavaScript / AJAX
+ library
+
+SYNOPSIS
+ script/myapp_create.pl Dojo edition
+ # where "edition" is the edition name you want to install
-SYNOPSIS
- # In your application class
- use Catalyst qw/Dojo/;
-
-DESCRIPTION
- Provides methods to help use a Dojo library with your Catalyst
- application.
-
-METHODS
- base_tag
- Returns a HTML "script" tag which will load the "dojo.js" file.
-
- Assumes the "dojo.js" file is in "root/static/dojo/", which is the
- location Catalyst::Helper::Dojo places the library in.
-
- # in a TT template
- [% dojo.base_tag %]
-
-SUPPORT
- IRC:
-
+DESCRIPTION
+ Helper to generate Dojo JavaScript / AJAX library.
+
+ METHODS
+ mk_stuff
+ Create javascript files for Dojo in your application's
+ "root/static/dojo" directory.
+
+SUPPORT
+ IRC:
+
Join #catalyst on irc.perl.org.
- Mailing Lists:
-
+ Mailing Lists:
+
http://lists.rawmode.org/mailman/listinfo/catalyst
- For Dojo-specific support, see <http://dojotoolkit.org>.
-
-SEE ALSO
- Catalyst::Helper::Dojo, HTML::Dojo, Catalyst::Helper
-
- <http://dojotoolkit.org>
-
-AUTHOR
- Carl Franks, "cfranks at cpan.org"
-
-LICENSE
- This library is free software . You can redistribute it and/or modify it
- under the same terms as perl itself.
-
+ For Dojo-specific support, see <http://dojotoolkit.org>.
+
+SEE ALSO
+ HTML::Dojo, Catalyst::Helper
+
+ <http://dojotoolkit.org>
+
+AUTHOR
+ Carl Franks, "cfranks at cpan.org"
+
+LICENSE
+ This library is free software . You can redistribute it and/or modify it
+ under the same terms as perl itself.
+
Modified: trunk/Catalyst-Plugin-Dojo/lib/Catalyst/Helper/Dojo.pm
===================================================================
--- trunk/Catalyst-Plugin-Dojo/lib/Catalyst/Helper/Dojo.pm 2007-05-11 05:11:39 UTC (rev 6387)
+++ trunk/Catalyst-Plugin-Dojo/lib/Catalyst/Helper/Dojo.pm 2007-05-11 12:53:45 UTC (rev 6388)
@@ -5,6 +5,8 @@
use File::Spec;
use HTML::Dojo;
+our $VERSION = '0.01_2';
+
=head1 NAME
Catalyst::Helper::Dojo - Helper to generate Dojo JavaScript / AJAX library
@@ -12,7 +14,7 @@
=head1 SYNOPSIS
script/myapp_create.pl Dojo edition
- # where "edition" is the edition name you want to instal
+ # where "edition" is the edition name you want to install
=head1 DESCRIPTION
Copied: trunk/Catalyst-Plugin-Dojo/t/Catalyst-Helper-Dojo.t (from rev 5208, trunk/Catalyst-Plugin-Dojo/t/Catalyst-Plugin-Dojo.t)
===================================================================
--- trunk/Catalyst-Plugin-Dojo/t/Catalyst-Helper-Dojo.t (rev 0)
+++ trunk/Catalyst-Plugin-Dojo/t/Catalyst-Helper-Dojo.t 2007-05-11 12:53:45 UTC (rev 6388)
@@ -0,0 +1,15 @@
+# Before `make install' is performed this script should be runnable with
+# `make test'. After `make install' it should work as `perl Catalyst-Plugin-Dojo.t'
+
+#########################
+
+# change 'tests => 1' to 'tests => last_test_to_print';
+
+use Test::More tests => 1;
+BEGIN { use_ok('Catalyst::Helper::Dojo') };
+
+#########################
+
+# Insert your test code below, the Test::More module is use()ed here so read
+# its man page ( perldoc Test::More ) for help writing this test script.
+
Deleted: trunk/Catalyst-Plugin-Dojo/t/Catalyst-Plugin-Dojo.t
===================================================================
--- trunk/Catalyst-Plugin-Dojo/t/Catalyst-Plugin-Dojo.t 2007-05-11 05:11:39 UTC (rev 6387)
+++ trunk/Catalyst-Plugin-Dojo/t/Catalyst-Plugin-Dojo.t 2007-05-11 12:53:45 UTC (rev 6388)
@@ -1,15 +0,0 @@
-# Before `make install' is performed this script should be runnable with
-# `make test'. After `make install' it should work as `perl Catalyst-Plugin-Dojo.t'
-
-#########################
-
-# change 'tests => 1' to 'tests => last_test_to_print';
-
-use Test::More tests => 1;
-BEGIN { use_ok('Catalyst::Plugin::Dojo') };
-
-#########################
-
-# Insert your test code below, the Test::More module is use()ed here so read
-# its man page ( perldoc Test::More ) for help writing this test script.
-
More information about the Catalyst-commits
mailing list