r36844 - in /trunk/libcatalyst-manual-perl: ./ debian/ inc/Module/ inc/Module/Install/ lib/Catalyst/ lib/Catalyst/Manual/ lib/Catalyst/Manual/Tutorial/ lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/ lib/Catalyst/Manual/Tutorial/AdvancedCRUD/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat May 30 15:49:24 UTC 2009
Author: gregoa
Date: Sat May 30 15:49:19 2009
New Revision: 36844
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=36844
Log:
New upstream release.
Added:
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/CatalystAndMoose.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/CatalystAndMoose.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/01_Intro.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/01_Intro.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/06_Authorization.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/06_Authorization.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/07_Debugging.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/07_Debugging.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/08_Testing.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/08_Testing.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/
- copied from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/10_Appendices.pod
- copied unchanged from r36843, branches/upstream/libcatalyst-manual-perl/current/lib/Catalyst/Manual/Tutorial/10_Appendices.pod
Removed:
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/AdvancedCRUD/
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/AdvancedCRUD.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/Appendices.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/Authentication.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/Authorization.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/Debugging.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/Intro.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial/Testing.pod
Modified:
trunk/libcatalyst-manual-perl/Changes
trunk/libcatalyst-manual-perl/MANIFEST
trunk/libcatalyst-manual-perl/META.yml
trunk/libcatalyst-manual-perl/Makefile.PL
trunk/libcatalyst-manual-perl/debian/changelog
trunk/libcatalyst-manual-perl/inc/Module/AutoInstall.pm
trunk/libcatalyst-manual-perl/inc/Module/Install.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/AutoInstall.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Base.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Can.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Fetch.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Include.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Makefile.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Metadata.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/Win32.pm
trunk/libcatalyst-manual-perl/inc/Module/Install/WriteAll.pm
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual.pm
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Cookbook.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/ExtendingCatalyst.pod
trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial.pod
Modified: trunk/libcatalyst-manual-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/Changes?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/Changes (original)
+++ trunk/libcatalyst-manual-perl/Changes Sat May 30 15:49:19 2009
@@ -1,77 +1,99 @@
Revision history for Catalyst-Manual
+5.8000 27 May 2009
+ - Tutorial:
+ - Update for Catalyst 5.80
+ - Update to "depluralize" the database names (big thanks to Kiffin Gish!)
+ - Switch back to including numbers in chapter names (for proper sorting)
+ - Add section to Ch 4: "Moving Complicated View Code to the Model"
+ - Add section to Ch 3: "RenderView's 'dump_info' Feature"
+ - Misc fixes and updates (thanks to Anne Wainwright)
+ - Other:
+ - Add some 5.8 and Moose-specific material to the new CatalystAndMoose.pod
+ (thanks to t0m and Sebastian Willert)
+
5.7021 8 May 2009
- - Switch to SimpleDB for auth
- - Switch to use of DBIx::Class::EncodedColumn for hashed & salted passwords
- - Re-write PostgreSQL section in appendix
- - Remove "create=dynamic" and only cover "create=static" for DBIC helper
- - Rewrite / clean up a big chunk of Catalyst::Manual::Intro (Ian Wells)
- - There is no Catalyst::Config, fix reference to it. (t0m)
- - Misc minor adjustments
+ - Tutorial:
+ - Switch to SimpleDB for auth
+ - Switch to use of DBIx::Class::EncodedColumn for hashed & salted passwords
+ - Re-write PostgreSQL section in appendix
+ - Remove "create=dynamic" and only cover "create=static" for DBIC helper
+ - Rewrite / clean up a big chunk of Catalyst::Manual::Intro (Ian Wells)
+ - Other:
+ - There is no Catalyst::Config, fix reference to it. (t0m)
+ - Misc minor adjustments
5.7020 12 Mar 2009
- - Fix errors in FormFu chapter.
+ - Tutorial:
+ - Fix errors in FormFu chapter
5.7019 11 Mar 2009
- - Change from the use of "part" to refer to each .pod file for the
- tutorial in favor of the more intuitive word "chapter." "Part"
- was just to ambiguous (e.g., does "prior part" refer to the prior
- .pod file or the prior section in the current .pod file).
- - Move use of "load_namespaces" for DBIC from BasicCRUD to
- MoreCatalystBasics
- - Update the "Table of Contents" in Tutorial.pod to match the current
- sections
- - Fix a few typos
+ - Tutorial:
+ - Change from the use of "part" to refer to each .pod file for the
+ tutorial in favor of the more intuitive word "chapter." "Part"
+ was just to ambiguous (e.g., does "prior part" refer to the prior
+ .pod file or the prior section in the current .pod file).
+ - Move use of "load_namespaces" for DBIC from BasicCRUD to
+ MoreCatalystBasics
+ - Update the "Table of Contents" in Tutorial.pod to match the current
+ sections
+ - Fix a few typos
5.7018 8 Mar 2009
- - Add a new section to BasicCRUD covering more advanced features of
- DBIC ("EXPLORING THE POWER OF DBIC")
- - Convert from Ubuntu to Debian 5 live CD as the recommended way to do
- the tutorial (all code and examples updated and tested to match)
- - Removed Catalyst::Plugin::Authorization::ACL from Authorization.pod
- in favor of a "chained and model-based" approach
- - More conversion to Chained dispatch
- - Suggestions and fixes with thanks to mintywalker at gmail.com
- - DBIC-related updates in MoreCatalystBasics
- - Fix misplaced "=over 4" in previous release
- - Reword warning about not using GET for delete based on input from kd
- - Lots of other small adjustments
+ - Tutorial:
+ - Add a new section to BasicCRUD covering more advanced features of
+ DBIC ("EXPLORING THE POWER OF DBIC")
+ - Convert from Ubuntu to Debian 5 live CD as the recommended way to do
+ the tutorial (all code and examples updated and tested to match)
+ - Removed Catalyst::Plugin::Authorization::ACL from Authorization.pod
+ in favor of a "chained and model-based" approach
+ - More conversion to Chained dispatch
+ - Suggestions and fixes with thanks to mintywalker at gmail.com
+ - DBIC-related updates in MoreCatalystBasics
+ - Fix misplaced "=over 4" in previous release
+ - Reword warning about not using GET for delete based on input from kd
+ - Lots of other small adjustments
5.7017 28 Feb 2009
- - Main change = adding Chained dispatch starting in BasicCRUD (Part 4)
- - Add some "getting started" links to the Catalyst::Manual page
- - Change FormFu tutorial to not use deprecated methods (Del Merritt)
- - MoreCatalystBasics - Additional clarification about TTSite
- (Del Merritt)
- - Tutorial::Authorization - Corrects the ACL for "/books/delete"
- - Additional comments
- (Del Merritt)
- - Tutorial::AdvancedCRUD::FormFu - suggest how the intrepid user
- might now proceed, having completed the Tutorial. (Del Merritt)
- - Fix typo in Authorization section (RT #42091)
- - Fix typo in BasicCRUD (RT #42034)
- - Resolve outstanding typo and suggestions in MoreCatalystBasics (RT #41491)
- - Fix DBIC create for MySQL in Appendix (Jarom)
- - Misc minor updates
+ - Tutorial:
+ - Main change = adding Chained dispatch starting in BasicCRUD (Part 4)
+ - Change FormFu tutorial to not use deprecated methods (Del Merritt)
+ - MoreCatalystBasics - Additional clarification about TTSite
+ (Del Merritt)
+ - Tutorial::Authorization - Corrects the ACL for "/books/delete"
+ - Additional comments
+ (Del Merritt)
+ - Tutorial::AdvancedCRUD::FormFu - suggest how the intrepid user
+ might now proceed, having completed the Tutorial. (Del Merritt)
+ - Fix typo in Authorization section (RT #42091)
+ - Fix typo in BasicCRUD (RT #42034)
+ - Resolve outstanding typo and suggestions in MoreCatalystBasics (RT #41491)
+ - Fix DBIC create for MySQL in Appendix (Jarom)
+ - Other:
+ - Misc minor updates
+ - Add some "getting started" links to the Catalyst::Manual page
5.7016 28 Dec 2008
- - Updates to make Parts 8 & 9 run correctly
- - Adjust URLs for final config tarballs
- - Add note about changes across different C::Devel on how plugins enabled
- - Misc minor updates
+ - Tutorial:
+ - Updates to make Parts 8 & 9 run correctly
+ - Adjust URLs for final config tarballs
+ - Add note about changes across different C::Devel on how plugins enabled
+ - Misc minor updates
5.7015 15 Dec 2008
- - Remove TTSite from Tutorial (thanks to dhoss for the help)
- - Update Tutorial for Ubuntu 8.10 (therefore update to
- Cat v5.7014, C::Devel v1.07, DBIC v0.08010, etc.)
- - Reorganize MoreCatalystBasics.pod so user is able to run
- the app the first time much earlier and build on it from
- there (running the app each time along the way)
- - Update URL for latest copy in SVN to match new location of repo
- - Misc typo fix
- - Change use of Class::C3 to MRO::Compat, as rafl tells me
- this is best practice, and gives you native next::method in
- 5.10. (t0m)
+ - Tutorial:
+ - Remove TTSite from Tutorial (thanks to dhoss for the help)
+ - Update Tutorial for Ubuntu 8.10 (therefore update to
+ Cat v5.7014, C::Devel v1.07, DBIC v0.08010, etc.)
+ - Reorganize MoreCatalystBasics.pod so user is able to run
+ the app the first time much earlier and build on it from
+ there (running the app each time along the way)
+ - Update URL for latest copy in SVN to match new location of repo
+ - Other:
+ - Misc typo fix
+ - Change use of Class::C3 to MRO::Compat, as rafl tells me
+ this is best practice, and gives you native next::method in
+ 5.10. (t0m)
5.7014 04 Nov 2008
- Remove a reference to a FOREACH loop that did not exist (RT #39046)
Modified: trunk/libcatalyst-manual-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/MANIFEST?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/MANIFEST (original)
+++ trunk/libcatalyst-manual-perl/MANIFEST Sat May 30 15:49:19 2009
@@ -13,6 +13,7 @@
lib/Catalyst/Manual.pm
lib/Catalyst/Manual/About.pod
lib/Catalyst/Manual/Actions.pod
+lib/Catalyst/Manual/CatalystAndMoose.pod
lib/Catalyst/Manual/Cookbook.pod
lib/Catalyst/Manual/DevelopmentProcess.pod
lib/Catalyst/Manual/ExtendingCatalyst.pod
@@ -20,18 +21,18 @@
lib/Catalyst/Manual/Intro.pod
lib/Catalyst/Manual/Plugins.pod
lib/Catalyst/Manual/Tutorial.pod
-lib/Catalyst/Manual/Tutorial/AdvancedCRUD.pod
-lib/Catalyst/Manual/Tutorial/AdvancedCRUD/FormBuilder.pod
-lib/Catalyst/Manual/Tutorial/AdvancedCRUD/FormFu.pod
-lib/Catalyst/Manual/Tutorial/Appendices.pod
-lib/Catalyst/Manual/Tutorial/Authentication.pod
-lib/Catalyst/Manual/Tutorial/Authorization.pod
-lib/Catalyst/Manual/Tutorial/BasicCRUD.pod
-lib/Catalyst/Manual/Tutorial/CatalystBasics.pod
-lib/Catalyst/Manual/Tutorial/Debugging.pod
-lib/Catalyst/Manual/Tutorial/Intro.pod
-lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
-lib/Catalyst/Manual/Tutorial/Testing.pod
+lib/Catalyst/Manual/Tutorial/01_Intro.pod
+lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
+lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod
+lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod
+lib/Catalyst/Manual/Tutorial/05_Authentication.pod
+lib/Catalyst/Manual/Tutorial/06_Authorization.pod
+lib/Catalyst/Manual/Tutorial/07_Debugging.pod
+lib/Catalyst/Manual/Tutorial/08_Testing.pod
+lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD.pod
+lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormBuilder.pod
+lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
+lib/Catalyst/Manual/Tutorial/10_Appendices.pod
lib/Catalyst/Manual/WritingPlugins.pod
Makefile.PL
MANIFEST This list of files
Modified: trunk/libcatalyst-manual-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/META.yml?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/META.yml (original)
+++ trunk/libcatalyst-manual-perl/META.yml Sat May 30 15:49:19 2009
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.42
distribution_type: module
-generated_by: 'Module::Install version 0.870'
+generated_by: 'Module::Install version 0.880'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,4 +21,5 @@
Test::More: 0
resources:
license: http://dev.perl.org/licenses/
-version: 5.7021
+ repository: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Manual/5.70/trunk/
+version: 5.8000
Modified: trunk/libcatalyst-manual-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/Makefile.PL?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/Makefile.PL (original)
+++ trunk/libcatalyst-manual-perl/Makefile.PL Sat May 30 15:49:19 2009
@@ -8,4 +8,6 @@
requires 'Test::More';
auto_install;
+resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Manual/5.70/trunk/';
+
WriteAll;
Modified: trunk/libcatalyst-manual-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/debian/changelog?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/debian/changelog (original)
+++ trunk/libcatalyst-manual-perl/debian/changelog Sat May 30 15:49:19 2009
@@ -1,3 +1,9 @@
+libcatalyst-manual-perl (5.8000-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org> Sat, 30 May 2009 17:43:22 +0200
+
libcatalyst-manual-perl (5.7021-1) unstable; urgency=low
* New upstream release.
Modified: trunk/libcatalyst-manual-perl/inc/Module/AutoInstall.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/AutoInstall.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/AutoInstall.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/AutoInstall.pm Sat May 30 15:49:19 2009
@@ -175,15 +175,24 @@
}
# XXX: check for conflicts and uninstalls(!) them.
- if (
- defined( my $cur = _version_check( _load($mod), $arg ||= 0 ) ) )
+ my $cur = _load($mod);
+ if (_version_cmp ($cur, $arg) >= 0)
{
print "loaded. ($cur" . ( $arg ? " >= $arg" : '' ) . ")\n";
push @Existing, $mod => $arg;
$DisabledTests{$_} = 1 for map { glob($_) } @skiptests;
}
else {
- print "missing." . ( $arg ? " (would need $arg)" : '' ) . "\n";
+ if (not defined $cur) # indeed missing
+ {
+ print "missing." . ( $arg ? " (would need $arg)" : '' ) . "\n";
+ }
+ else
+ {
+ # no need to check $arg as _version_cmp ($cur, undef) would satisfy >= above
+ print "too old. ($cur < $arg)\n";
+ }
+
push @required, $mod => $arg;
}
}
@@ -268,8 +277,11 @@
require CPAN;
- if ($CPAN::VERSION > '1.89' && $cpan_env) {
- return _running_under('CPAN');
+ if ($CPAN::VERSION > '1.89') {
+ if ($cpan_env) {
+ return _running_under('CPAN');
+ }
+ return; # CPAN.pm new enough, don't need to check further
}
# last ditch attempt, this -will- configure CPAN, very sorry
@@ -310,7 +322,7 @@
while ( my ( $pkg, $ver ) = splice( @_, 0, 2 ) ) {
# grep out those already installed
- if ( defined( _version_check( _load($pkg), $ver ) ) ) {
+ if ( _version_cmp( _load($pkg), $ver ) >= 0 ) {
push @installed, $pkg;
}
else {
@@ -349,7 +361,7 @@
# see if we have successfully installed them
while ( my ( $pkg, $ver ) = splice( @modules, 0, 2 ) ) {
- if ( defined( _version_check( _load($pkg), $ver ) ) ) {
+ if ( _version_cmp( _load($pkg), $ver ) >= 0 ) {
push @installed, $pkg;
}
elsif ( $args{do_once} and open( FAILED, '>> .#autoinstall.failed' ) ) {
@@ -404,7 +416,7 @@
my $success;
my $obj = $modtree->{$pkg};
- if ( $obj and defined( _version_check( $obj->{version}, $ver ) ) ) {
+ if ( $obj and _version_cmp( $obj->{version}, $ver ) >= 0 ) {
my $pathname = $pkg;
$pathname =~ s/::/\\W/;
@@ -497,7 +509,7 @@
my $obj = CPAN::Shell->expand( Module => $pkg );
my $success = 0;
- if ( $obj and defined( _version_check( $obj->cpan_version, $ver ) ) ) {
+ if ( $obj and _version_cmp( $obj->cpan_version, $ver ) >= 0 ) {
my $pathname = $pkg;
$pathname =~ s/::/\\W/;
@@ -561,7 +573,7 @@
my $ver = shift;
return
- if defined( _version_check( _load($class), $ver ) ); # no need to upgrade
+ if _version_cmp( _load($class), $ver ) >= 0; # no need to upgrade
if (
_prompt( "==> A newer version of $class ($ver) is required. Install?",
@@ -670,9 +682,11 @@
}
# compare two versions, either use Sort::Versions or plain comparison
-sub _version_check {
+# return values same as <=>
+sub _version_cmp {
my ( $cur, $min ) = @_;
- return unless defined $cur;
+ return -1 unless defined $cur; # if 0 keep comparing
+ return 1 unless $min;
$cur =~ s/\s+$//;
@@ -683,16 +697,13 @@
) {
# use version.pm if it is installed.
- return (
- ( version->new($cur) >= version->new($min) ) ? $cur : undef );
+ return version->new($cur) <=> version->new($min);
}
elsif ( $Sort::Versions::VERSION or defined( _load('Sort::Versions') ) )
{
# use Sort::Versions as the sorting algorithm for a.b.c versions
- return ( ( Sort::Versions::versioncmp( $cur, $min ) != -1 )
- ? $cur
- : undef );
+ return Sort::Versions::versioncmp( $cur, $min );
}
warn "Cannot reliably compare non-decimal formatted versions.\n"
@@ -701,7 +712,7 @@
# plain comparison
local $^W = 0; # shuts off 'not numeric' bugs
- return ( $cur >= $min ? $cur : undef );
+ return $cur <=> $min;
}
# nothing; this usage is deprecated.
@@ -791,4 +802,4 @@
__END__
-#line 1045
+#line 1056
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install.pm Sat May 30 15:49:19 2009
@@ -28,7 +28,7 @@
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '0.87';
+ $VERSION = '0.88';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -353,7 +353,7 @@
if ( $] >= 5.006 ) {
open( FH, '<', $_[0] ) or die "open($_[0]): $!";
} else {
- open( FH, "< $_[0]" ) or die "open($_[0]): $!";
+ open( FH, "< $_[0]" ) or die "open($_[0]): $!";
}
my $string = do { local $/; <FH> };
close FH or die "close($_[0]): $!";
@@ -384,7 +384,7 @@
if ( $] >= 5.006 ) {
open( FH, '>', $_[0] ) or die "open($_[0]): $!";
} else {
- open( FH, "> $_[0]" ) or die "open($_[0]): $!";
+ open( FH, "> $_[0]" ) or die "open($_[0]): $!";
}
foreach ( 1 .. $#_ ) {
print FH $_[$_] or die "print($_[0]): $!";
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/AutoInstall.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/AutoInstall.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/AutoInstall.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/AutoInstall.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use vars qw{$VERSION $ISCORE @ISA};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
$ISCORE = 1;
@ISA = qw{Module::Install::Base};
}
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Base.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Base.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Base.pm Sat May 30 15:49:19 2009
@@ -4,7 +4,7 @@
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
}
# Suspend handler for "redefined" warnings
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Can.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Can.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Can.pm Sat May 30 15:49:19 2009
@@ -9,7 +9,7 @@
use vars qw{$VERSION $ISCORE @ISA};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
$ISCORE = 1;
@ISA = qw{Module::Install::Base};
}
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Fetch.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Fetch.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Fetch.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use vars qw{$VERSION $ISCORE @ISA};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
$ISCORE = 1;
@ISA = qw{Module::Install::Base};
}
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Include.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Include.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Include.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Include.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use vars qw{$VERSION $ISCORE @ISA};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
$ISCORE = 1;
@ISA = qw{Module::Install::Base};
}
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Makefile.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Makefile.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Makefile.pm Sat May 30 15:49:19 2009
@@ -7,7 +7,7 @@
use vars qw{$VERSION $ISCORE @ISA};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
$ISCORE = 1;
@ISA = qw{Module::Install::Base};
}
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Metadata.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Metadata.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Metadata.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
@@ -511,7 +511,7 @@
# Also, convert double-part versions (eg, 5.8)
sub _perl_version {
my $v = $_[-1];
- $v =~ s/^([1-9])\.([1-9]\d?\d?)$/sprintf("%d.%03d",$1,$2)/e;
+ $v =~ s/^([1-9])\.([1-9]\d?\d?)$/sprintf("%d.%03d",$1,$2)/e;
$v =~ s/^([1-9])\.([1-9]\d?\d?)\.(0|[1-9]\d?\d?)$/sprintf("%d.%03d%03d",$1,$2,$3 || 0)/e;
$v =~ s/(\.\d\d\d)000$/$1/;
$v =~ s/_.+$//;
@@ -534,7 +534,7 @@
sub write_mymeta {
my $self = shift;
-
+
# If there's no existing META.yml there is nothing we can do
return unless -f 'META.yml';
@@ -574,7 +574,7 @@
# Save as the MYMETA.yml file
print "Writing MYMETA.yml\n";
- YAML::Tiny::DumpFile('MYMETA.yml', $meta);
+ YAML::Tiny::DumpFile('MYMETA.yml', $meta);
}
1;
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/Win32.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/Win32.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/Win32.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
Modified: trunk/libcatalyst-manual-perl/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/inc/Module/Install/WriteAll.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/inc/Module/Install/WriteAll.pm (original)
+++ trunk/libcatalyst-manual-perl/inc/Module/Install/WriteAll.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.87';
+ $VERSION = '0.88';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
Modified: trunk/libcatalyst-manual-perl/lib/Catalyst/Manual.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/lib/Catalyst/Manual.pm?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/lib/Catalyst/Manual.pm (original)
+++ trunk/libcatalyst-manual-perl/lib/Catalyst/Manual.pm Sat May 30 15:49:19 2009
@@ -6,7 +6,7 @@
use strict;
use warnings;
-our $VERSION = '5.7021';
+our $VERSION = '5.8000';
=head1 NAME
Modified: trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Cookbook.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Cookbook.pod?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Cookbook.pod (original)
+++ trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Cookbook.pod Sat May 30 15:49:19 2009
@@ -1777,6 +1777,9 @@
=head3 Cons
+You may have to disable mod_deflate. If you experience page hangs with
+mod_fastcgi then remove deflate.load and deflate.conf from mods-enabled/
+
=head4 More complex environment
With FastCGI, there are more things to monitor and more processes running
Modified: trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/ExtendingCatalyst.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/ExtendingCatalyst.pod?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/ExtendingCatalyst.pod (original)
+++ trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/ExtendingCatalyst.pod Sat May 30 15:49:19 2009
@@ -119,11 +119,15 @@
it's possible to use the composability of L<Moose> roles, and method modifiers
to hook onto to provide functionality.
-For a simple example of this, see L<CatalystX::REPL>.
+These can be applied to your models/views/controllers, and your application
+class, and shipped to CPAN.
+Please see L<Catalyst::Manual::CatalystAndMoose> for specific information
+about using Roles in combination with Catalyst, and L<Moose::Manual::Roles>
+for more information about roles in general.
=head2 Inheritance and overriding methods
-When overriding a method, keep in mind that some day additionally
+When overriding a method, keep in mind that some day additionall
arguments may be provided to the method, if the last parameter is not
a flat list. It is thus better to override a method by shifting the
invocant off of C<@_> and assign the rest of the used arguments, so
@@ -593,7 +597,7 @@
package CatalystX::UriforUndefWarning;
use Moose::Role;
- use namespace::clean -except => 'meta';
+ use namespace::autoclean;
after 'uri_for' => sub {
my ($c, $arg) = @_;
@@ -626,12 +630,15 @@
sub COMPONENT {
my $class = shift;
- my ($app_class, $config) = @_;
-
- # do things here before instantiation my
- $obj = $self->next::method(@_);
- # do things to object after instantiation
- return $object;
+ # Note: $app is like $c, but since the application isn't fully
+ # initialized, we don't want to call it $c yet. $config
+ # is a hashref of config options possibly set on this component.
+ my ($app, $config) = @_;
+
+ # Do things here before instantiation
+ $new = $class->next::method(@_);
+ # Do things to object after instantiation
+ return $new;
}
The arguments are the class name of the component, the class name of
Modified: trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial.pod?rev=36844&op=diff
==============================================================================
--- trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial.pod (original)
+++ trunk/libcatalyst-manual-perl/lib/Catalyst/Manual/Tutorial.pod Sat May 30 15:49:19 2009
@@ -18,43 +18,43 @@
=item 1
-L<Introduction|Catalyst::Manual::Tutorial::Intro>
+L<Introduction|Catalyst::Manual::Tutorial::01_Intro>
=item 2
-L<Catalyst Basics|Catalyst::Manual::Tutorial::CatalystBasics>
+L<Catalyst Basics|Catalyst::Manual::Tutorial::02_CatalystBasics>
=item 3
-L<More Catalyst Basics|Catalyst::Manual::Tutorial::MoreCatalystBasics>
+L<More Catalyst Basics|Catalyst::Manual::Tutorial::03_MoreCatalystBasics>
=item 4
-L<Basic CRUD|Catalyst::Manual::Tutorial::BasicCRUD>
+L<Basic CRUD|Catalyst::Manual::Tutorial::04_BasicCRUD>
=item 5
-L<Authentication|Catalyst::Manual::Tutorial::Authentication>
+L<Authentication|Catalyst::Manual::Tutorial::05_Authentication>
=item 6
-L<Authorization|Catalyst::Manual::Tutorial::Authorization>
+L<Authorization|Catalyst::Manual::Tutorial::06_Authorization>
=item 7
-L<Debugging|Catalyst::Manual::Tutorial::Debugging>
+L<Debugging|Catalyst::Manual::Tutorial::07_Debugging>
=item 8
-L<Testing|Catalyst::Manual::Tutorial::Testing>
+L<Testing|Catalyst::Manual::Tutorial::08_Testing>
=item 9
-L<Advanced CRUD|Catalyst::Manual::Tutorial::AdvancedCRUD>
+L<Advanced CRUD|Catalyst::Manual::Tutorial::09_AdvancedCRUD>
=item 10
-L<Appendices|Catalyst::Manual::Tutorial::Appendices>
+L<Appendices|Catalyst::Manual::Tutorial::10_Appendices>
=back
@@ -65,7 +65,7 @@
=head1 Detailed Table of Contents
-=head2 L<Chapter 1: Intro|Catalyst::Manual::Tutorial::Intro>
+=head2 L<Chapter 1: Intro|Catalyst::Manual::Tutorial::01_Intro>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -91,7 +91,7 @@
=back
-=head2 L<Chapter 2: Catalyst Basics|Catalyst::Manual::Tutorial::CatalystBasics>
+=head2 L<Chapter 2: Catalyst Basics|Catalyst::Manual::Tutorial::02_CatalystBasics>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -125,7 +125,7 @@
=back
-=head2 L<Chapter 3: More Catalyst Basics|Catalyst::Manual::Tutorial::MoreCatalystBasics>
+=head2 L<Chapter 3: More Catalyst Basics|Catalyst::Manual::Tutorial::03_MoreCatalystBasics>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -264,7 +264,7 @@
=back
-=head2 L<Chapter 4: Basic CRUD|Catalyst::Manual::Tutorial::BasicCRUD>
+=head2 L<Chapter 4: Basic CRUD|Catalyst::Manual::Tutorial::04_BasicCRUD>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -402,7 +402,7 @@
=back
-=head2 L<Chapter 5: Authentication|Catalyst::Manual::Tutorial::Authentication>
+=head2 L<Chapter 5: Authentication|Catalyst::Manual::Tutorial::05_Authentication>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -500,7 +500,7 @@
=back
-=head2 L<Chapter 6: Authorization|Catalyst::Manual::Tutorial::Authorization>
+=head2 L<Chapter 6: Authorization|Catalyst::Manual::Tutorial::06_Authorization>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -542,7 +542,7 @@
=back
-=head2 L<Chapter 7: Debugging|Catalyst::Manual::Tutorial::Debugging>
+=head2 L<Chapter 7: Debugging|Catalyst::Manual::Tutorial::07_Debugging>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -568,7 +568,7 @@
=back
-=head2 L<Chapter 8: Testing|Catalyst::Manual::Tutorial::Testing>
+=head2 L<Chapter 8: Testing|Catalyst::Manual::Tutorial::08_Testing>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -594,7 +594,7 @@
=back
-=head2 L<Chapter 9: Advanced CRUD|Catalyst::Manual::Tutorial::AdvancedCRUD>
+=head2 L<Chapter 9: Advanced CRUD|Catalyst::Manual::Tutorial::09_AdvancedCRUD>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -608,7 +608,7 @@
=back
-=head2 L<Chapter 10: Appendices|Catalyst::Manual::Tutorial::Appendices>
+=head2 L<Chapter 10: Appendices|Catalyst::Manual::Tutorial::10_Appendices>
Note: Click on the heading in the previous line to jump to the actual
chapter. Below is a "table of contents" for this chapter.
@@ -705,10 +705,11 @@
Ragwitz, Mauro Andreolini, Jim Howard, Giovanni Gigante, William
Moreno, Bryan Roach, Ashley Berlin, David Kamholz, Kevin Old, Henning
Sprang, Jeremy Jones, David Kurtz, Ingo Wichmann, Shlomi Fish, Murray
-Walker and Adam Witney. Also, thanks to Devin Austin for coming up
-with an initial version of a non-TTSite wrapper page. I'm sure I am
-missing some names here... apologies for that (please let me know if
-you name should be here).
+Walker and Adam Witney. Thanks to Devin Austin for coming up with an
+initial version of a non-TTSite wrapper page. Also, a huge thank you
+to Kiffin Gish for all the hard work on the "database depluralization"
+effort! I'm sure I am missing some names here... apologies for that
+(please let me know if you name should be here).
=back
@@ -718,7 +719,7 @@
Please report any errors, issues or suggestions to the author. The
most recent version of the Catalyst Tutorial can be found at
-L<http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/>.
+L<http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/>.
Copyright 2006-2008, Kennedy Clark, under Creative Commons License
(L<http://creativecommons.org/licenses/by-nc-sa/2.5/>).
More information about the Pkg-perl-cvs-commits
mailing list