[Jifty-commit] r3373 - in jifty/branches/js-refactor: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Jun 6 20:15:44 EDT 2007


Author: trs
Date: Wed Jun  6 20:15:39 2007
New Revision: 3373

Modified:
   jifty/branches/js-refactor/   (props changed)
   jifty/branches/js-refactor/Makefile.PL
   jifty/branches/js-refactor/lib/Jifty/Config.pm

Log:
 r21748 at zot (orig r3371):  trs | 2007-06-06 18:30:03 -0400
  r21747 at zot:  tom | 2007-06-06 18:29:47 -0400
  Clarifying comments about the plugins lists
 
 r21750 at zot (orig r3372):  trs | 2007-06-06 20:15:02 -0400
  r21749 at zot:  tom | 2007-06-06 20:14:44 -0400
  Update dep to include version of Module::Pluggable that is patched so that compile errors are caught
 


Modified: jifty/branches/js-refactor/Makefile.PL
==============================================================================
--- jifty/branches/js-refactor/Makefile.PL	(original)
+++ jifty/branches/js-refactor/Makefile.PL	Wed Jun  6 20:15:39 2007
@@ -49,7 +49,7 @@
 requires('Log::Log4perl' => '1.04');
 requires('LWP::UserAgent'); # Net::HTTP
 requires('MIME::Types');
-requires('Module::Pluggable' => '3.1'); # Module::Pluggable::Object
+requires('Module::Pluggable' => '3.5'); # Module::Pluggable::Object
 requires('Module::Pluggable::Object');
 requires('Module::CoreList');
 requires('Module::Refresh');

Modified: jifty/branches/js-refactor/lib/Jifty/Config.pm
==============================================================================
--- jifty/branches/js-refactor/lib/Jifty/Config.pm	(original)
+++ jifty/branches/js-refactor/lib/Jifty/Config.pm	Wed Jun  6 20:15:39 2007
@@ -300,6 +300,8 @@
     my $self = shift;
     my $guess = $self->guess(@_);
     $guess->{'framework'}->{'ConfigFileVersion'} = 2;
+
+    # These are the plugins which new apps will get by default
             $guess->{'framework'}->{'Plugins'} = [
               { LetMe               => {}, },
                 { SkeletonApp            => {}, },
@@ -326,6 +328,8 @@
     my $self = shift;
     my $config = shift;
     if ( $config->{'framework'}->{'ConfigFileVersion'} <2) {
+            # These are the plugins which old apps expect because their
+            # features used to be in the core.
             unshift (@{$config->{'framework'}->{'Plugins'}}, 
                 { SkeletonApp            => {}, },
                 { REST               => {}, },


More information about the Jifty-commit mailing list