[Bps-public-commit] template-declare branch, master, updated. 0.47

Alex Vandiver alexmv at bestpractical.com
Tue Dec 16 23:27:07 EST 2014


The branch, master has been updated
       via  0712f6ceb6a7e75afb2622a0fe131cd280efee07 (commit)
       via  ce3b57df342131871654bdc401f56aafdd943503 (commit)
      from  116d93d07b825c3c7d3794bdcc2f8f83ea3f4a2d (commit)

Summary of changes:
 .gitignore                        |   6 +-
 Changes                           | 980 +++++---------------------------------
 MANIFEST                          |   2 +-
 MANIFEST.SKIP                     |  46 --
 META.yml                          |   4 +-
 Makefile.PL                       |   2 +
 inc/Module/AutoInstall.pm         |  42 +-
 inc/Module/Install.pm             |  18 +-
 inc/Module/Install/AutoInstall.pm |   2 +-
 inc/Module/Install/Base.pm        |   2 +-
 inc/Module/Install/Can.pm         |   2 +-
 inc/Module/Install/Fetch.pm       |   2 +-
 inc/Module/Install/Include.pm     |   2 +-
 inc/Module/Install/Makefile.pm    |   4 +-
 inc/Module/Install/Metadata.pm    |   6 +-
 inc/Module/Install/Win32.pm       |   2 +-
 inc/Module/Install/WriteAll.pm    |   2 +-
 lib/Template/Declare.pm           |   2 +-
 t/namespace.t                     |   2 +-
 19 files changed, 163 insertions(+), 965 deletions(-)
 delete mode 100644 MANIFEST.SKIP

- Log -----------------------------------------------------------------
commit ce3b57df342131871654bdc401f56aafdd943503
Author: Aaron Crane <arc at cpan.org>
Date:   Tue Dec 16 15:46:42 2014 +0000

    Avoid depending on the exact wording of Perl error messages
    
    As of Perl 5.21.7, a invocant-less method call like `htm::div {}` when no
    htm::div subroutine exists now yields an error message describing the
    absence of the invocant, rather than the nonexistence of the subroutine.
    
    This change avoids looking at the wording of Perl's error message, and
    instead directly verifies that no htm::div subroutine is created by such
    code (which is what I think the test is trying to ensure).

diff --git a/t/namespace.t b/t/namespace.t
index abc5ca6..c0ea251 100644
--- a/t/namespace.t
+++ b/t/namespace.t
@@ -55,7 +55,7 @@ template main => sub {
 
 eval "htm::div {};";
 ::ok $@, 'htm:: is invalid';
-::like $@, qr/Can't locate object method "div" via package "htm"/, 'package htm is intact';
+::ok !defined &htm::div, 'package htm is intact';
 
 package main;
 Template::Declare->init( dispatch_to => ['MyApp::Templates']);

commit 0712f6ceb6a7e75afb2622a0fe131cd280efee07
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Dec 16 23:24:36 2014 -0500

    Version 0.47 releng

diff --git a/.gitignore b/.gitignore
index bb4ab30..eb1a46c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,8 @@
-MANIFEST
 MANIFEST.bak
-META.yml
 Makefile
 Makefile.old
 SIGNATURE
-blib/
-inc/
+/blib/
 pm_to_blib
 *.swp
+/MYMETA.*
diff --git a/Changes b/Changes
index 6c5bfd2..477376e 100644
--- a/Changes
+++ b/Changes
@@ -1,885 +1,125 @@
+0.47 2014-12-16
+ - Stop checking warning message contents explictly (Aaron Crane)
+
 0.46 2012-12-23
-* Documentation fixes (Brigham Johnson)
-* Hash ordering fixes for 5.17 (Kent Fredric)
+ - Documentation fixes (Brigham Johnson)
+ - Hash ordering fixes for 5.17 (Kent Fredric)
 
 0.45 2011-04-15
-* Added new HTML 5 elements to the HTML Tag set. (Theory)
+ - Added new HTML 5 elements to the HTML Tag set. (Theory)
 
 0.44 2010-12-08
-* Added support for $TAG_INDENTATION and $EOL (Marc Chantreux)
-* Add a current_base_path() convenience function (trs)
+ - Added support for $TAG_INDENTATION and $EOL (Marc Chantreux)
+ - Add a current_base_path() convenience function (trs)
 
 0.43 2009-11-18
-* Test warning fixes (Theory)
-* Dist fixes suggested by rafl (Sartak)
+ - Test warning fixes (Theory)
+ - Dist fixes suggested by rafl (Sartak)
 
 0.42 2009-11-01
-* Added the "strict" attribute to make exceptional situations fatal. (Theory)
-* Removed unused "implementor" attribute in Template::Declare::TagSet. (Theory)
+ - Added the "strict" attribute to make exceptional situations fatal.
+   (Theory)
+ - Removed unused "implementor" attribute in Template::Declare::TagSet.
+   (Theory)
 
 0.41 2009-10-29
-* Documentation tweaks (Theory)
+ - Documentation tweaks (Theory)
 
 0.40_02 2009-10-23
-* David (Theory) Wheeler spent considerable effort on cleaning up
-  Template-Declare for this release.
-* Reworked all the documentation, neatening things, expanding the "USAGE"
-  section, fixing bugs in the examples, and adding missing docs for various
-  functions and methods.
-* Added "dispatch_to" to replace "roots", which is now deprecated. Note that
-  "dispatch_to" resolves to template classes in the opposite order to "roots".
-  This won't be an issue if you only use a single temlate class.
-* Converted the implementation of "alias" to be the same as that used for
-  "import_templates", which is much more efficient.
-* Added the "into" parameter to "alias" and "import_templates".
-* Added the "setting" syntactical sugar keyword for use with "alias".
-* Renamed "import_templates" to "mix". The former is still around, but is
-  deprecated.
-* Added support for package variables with "mix".
-* Deprecated the undocumented "aliases()" and "alias_metadata()" methods, as
-  they are no longer needed. They're now no-ops that issue warnings. To be
-  removed altogether in a future version.
+ - David (Theory) Wheeler spent considerable effort on cleaning up
+   Template-Declare for this release.
+ - Reworked all the documentation, neatening things, expanding the "USAGE"
+   section, fixing bugs in the examples, and adding missing docs for
+   various functions and methods.
+ - Added "dispatch_to" to replace "roots", which is now deprecated. Note
+   that "dispatch_to" resolves to template classes in the opposite order to
+   "roots". This won't be an issue if you only use a single temlate class.
+ - Converted the implementation of "alias" to be the same as that used for
+   "import_templates", which is much more efficient.
+ - Added the "into" parameter to "alias" and "import_templates".
+ - Added the "setting" syntactical sugar keyword for use with "alias".
+ - Renamed "import_templates" to "mix". The former is still around, but is
+   deprecated.
+ - Added support for package variables with "mix".
+ - Deprecated the undocumented "aliases()" and "alias_metadata()" methods,
+   as they are no longer needed. They're now no-ops that issue warnings. To
+   be removed altogether in a future version.
 
 0.40_01 2009-08-12
-* Support for inline tagset definitions. Thanks to Olivier 'dolmen' Mengué
-	[rt.cpan.org #48642]
-
-0.40 - 2009-07-08
-* Fix subname issue with the debugger and specifically Devel::NYTProf
-* String::BufferStack usage improvements
-
-0.39 - 2009-03-05
-* No code changes; increase Test::Warn dependency to 0.11, as 0.10 was
-  broken
-
-0.38 - 2009-02-27
-* Support, but deprecate, Template::Declare->buffer->data(...) usage
-
-0.37 - 2009-02-19
-* Make HTML::Lint an optional dependency
-
-0.36 - 2009-02-05
-* Hint to the source of the buffer using a 'from' argument.  This
-  allows us to inspect the call stack by looking at the buffer stack.
-
-0.35 - 2009-01-20
-* Buffers have been moved to using String::BufferStack, for better
-  interopability with other templating systems.  Code which
-  manipulated Template::Declare::Buffer objects by hand may need to be
-  adjusted.
-
-0.31_01 - 2008-12-19
-* INCOMPATIBLE: there were inconsistency in arguments passing.
-  show in TD::Tags could pass arguments into template as array
-  reference depending on a way it's called. Now arguments
-  are always passwed the same way they passed into show.
-
-  This change is only backwards incompatible for those who
-  were using this incorrect behaviour.
-
-* stringify argument in TD::Buffer::append as we can deal with
-  an object with overloaded stringification that puts data into
-  buffer when stringified
-* correctly escape objects with overloaded stringification
-* use less buffers for operations and a few other small optimizations
-
-0.30 - 2008-11-26
-* Remove the "wrapper" export, its name is too generic and clashes with a lot
-  of existing code. It's a negligible amount of sugar.
-
-0.29 - 2008-07-01
-* Sugar for defining a tag-like wrapper. Thanks Theory! #37624
-* Don't load all of CGI.pm to get a list of tags. #37630
-* Don't add attrs to the first tag in smart_tag_wrapper. #37622.
-
-0.28 - 2008-02-14
-* Added the missing dependency Class::ISA to Makefile.PL
-* Added the "canvas" tag to the HTML tagset.
-* Added around_template for instrumentation.
-
-0.27 - 2007-11-02
-* Added support for the RDF tag set (T::D::TagSet::RDF).
-* Added support for the Mozilla EM RDF tag set (T::D::TagSet::RDF::EM)
-
-0.26 - 2007-08-14
-* Refactored Template::Declare::Tags to make the tag sets configurable.
-* Added Template::Declare::TagSet::HTML and Template::Declare::TagSet::XUL,
-  respectively, as well as their common base class, Template::Declare::TagSet.
-  Added Template::Declare::TagSet::HTML and Template::Declare::TagSet::XUL,
-  respectively.
-* Added support for XML namespace:
-   use Template::Declare::Tags 'XUL', 'HTML' => { namespace => 'html' };
-  and
-  ... 'HTML' => { namespace => 'html', package => 'MyHtml' };
-* And we can now say 'use Template::Declare::Tags qw/ HTML XUL /;
-* Added @Template::Declare::Tags::TAG_SUB_LIST which records all the tag subroutines
-  generated on-the-fly, which is necessary for secondary symbol exporting
-  in Jifty::View::Declare::Helpers.
-* Implemented C< use Template::Declare::Tags HTML => { from => 'My::HTML::TagSet' } >.
-* Allow content post-proceessing with a callback.
-* Added a PITFALLS section to T::D's POD.
-* Added a global sub append_attr to provide friendly diagnostics and the infamous "Undefined subroutine &Template::Declare::Tags::append_attr called at ..." is now gone.
-
-----------------------------------------------------------------------
-r57045 (orig r3286):  jesse | 2007-05-22 15:58:58 -0400
-
- r57043 at pinglin:  jesse | 2007-05-22 15:58:29 -0400
-  * 0.21
-
-----------------------------------------------------------------------
-r57044 (orig r3285):  jesse | 2007-05-22 15:58:47 -0400
-
- r57042 at pinglin:  jesse | 2007-05-22 15:56:19 -0400
-  * 5.6 didn't like using undef as an array ref
-
-----------------------------------------------------------------------
-r57013 (orig r3280):  jesse | 2007-05-20 22:44:23 -0400
-
- r57012 at pinglin:  jesse | 2007-05-20 22:43:53 -0400
- * 0.20
-
-----------------------------------------------------------------------
-r57011 (orig r3279):  jesse | 2007-05-20 22:09:57 -0400
-
- r57010 at pinglin:  jesse | 2007-05-20 22:09:31 -0400
- * chmrr++ noticed a bit of extra debugging info
-
-----------------------------------------------------------------------
-r57003 (orig r3275):  jesse | 2007-05-20 20:16:26 -0400
-
- r57000 at pinglin:  jesse | 2007-05-20 20:15:49 -0400
- * Allow calling "show" with arguments
- 
-
-----------------------------------------------------------------------
-r57002 (orig r3274):  jesse | 2007-05-20 20:16:13 -0400
-
- r56999 at pinglin:  jesse | 2007-05-20 19:16:38 -0400
- * Be a little bit brighter about whether we should be appending to the TD buffer or returning the content.  Never do both.
-
-----------------------------------------------------------------------
-r56998 (orig r3272):  jesse | 2007-05-20 17:51:35 -0400
-
- r56997 at pinglin:  jesse | 2007-05-20 17:51:13 -0400
-  * made relative template paths work
-
-----------------------------------------------------------------------
-r56996 (orig r3271):  jesse | 2007-05-20 16:28:52 -0400
-
- r56995 at 232:  jesse | 2007-05-20 16:28:32 -0400
- * Tag nesting cleanups. Now don't introduce extra whitespace (newlines and spaces) at the ends of a tag
-
-----------------------------------------------------------------------
-r56994 (orig r3270):  jesse | 2007-05-20 16:22:24 -0400
-
- r56992 at 232:  jesse | 2007-05-20 16:21:55 -0400
- * minor refactoring
-
-----------------------------------------------------------------------
-r56993 (orig r3269):  jesse | 2007-05-20 16:22:17 -0400
-
- r56991 at 232:  jesse | 2007-05-20 15:52:10 -0400
- minor refacotring
-
-----------------------------------------------------------------------
-r56990 (orig r3268):  jesse | 2007-05-20 15:35:56 -0400
-
- r56989 at 232:  jesse | 2007-05-20 15:35:32 -0400
- * mnore minor simplifications. Working ot decrease needless complexity
- 
- 
-
-----------------------------------------------------------------------
-r56988 (orig r3267):  jesse | 2007-05-20 15:26:22 -0400
-
- r56987 at 232:  jesse | 2007-05-20 15:25:58 -0400
- more cleanup
-
-----------------------------------------------------------------------
-r56986 (orig r3266):  jesse | 2007-05-20 15:21:47 -0400
-
- r56984 at 232:  jesse | 2007-05-20 15:21:14 -0400
- * Refactoring to remove redundant code
- 
-
-----------------------------------------------------------------------
-r56985 (orig r3265):  jesse | 2007-05-20 15:21:39 -0400
-
- r56983 at 232:  jesse | 2007-05-20 15:21:06 -0400
- * fixed test count 
-
-----------------------------------------------------------------------
-r56982 (orig r3264):  jesse | 2007-05-20 03:56:06 -0400
-
- r56981 at pinglin:  jesse | 2007-05-20 03:54:21 -0400
- * Tests for new relative template calling syntax
- 
-
-----------------------------------------------------------------------
-r56980 (orig r3263):  jesse | 2007-05-19 16:17:40 -0400
-
- r56979 at pinglin:  jesse | 2007-05-19 16:17:20 -0400
-  * refactor refactor ok
-
-----------------------------------------------------------------------
-r56978 (orig r3262):  jesse | 2007-05-19 15:57:16 -0400
-
- r56977 at pinglin:  jesse | 2007-05-19 15:56:57 -0400
- * Test suite now actually tests the warnings we expect to provide
-
-----------------------------------------------------------------------
-r56976 (orig r3261):  jesse | 2007-05-19 15:43:30 -0400
-
- r56974 at pinglin:  jesse | 2007-05-19 15:43:02 -0400
- * Test suite cleanup
-
-----------------------------------------------------------------------
-r56975 (orig r3260):  jesse | 2007-05-19 15:43:22 -0400
-
- r56973 at pinglin:  jesse | 2007-05-19 15:13:55 -0400
-  perltidy
-
-----------------------------------------------------------------------
-r56808 (orig r3234):  jesse | 2007-05-12 03:11:44 -0400
-
- r56807 at pinglin:  jesse | 2007-05-12 03:11:35 -0400
- Allow recursive aliasing.
-
-----------------------------------------------------------------------
-r56806 (orig r3233):  jesse | 2007-05-12 01:25:52 -0400
-
- r56805 at pinglin:  jesse | 2007-05-12 01:25:45 -0400
-  deep import tests
-
-----------------------------------------------------------------------
-r56804 (orig r3232):  jesse | 2007-05-12 01:25:37 -0400
-
- r56803 at pinglin:  jesse | 2007-05-12 00:37:02 -0400
-  Tests to show that recursive aliasing breaks
-
-----------------------------------------------------------------------
-r56792 (orig r3228):  jesse | 2007-05-11 18:15:31 -0400
-
- r56786 at pinglin:  jesse | 2007-05-11 18:15:20 -0400
-  * make the import and alias method be extra-slash agnostic
-
-----------------------------------------------------------------------
-r56762 (orig r3214):  jesse | 2007-05-07 22:05:51 -0400
-
- r56761 at pinglin:  jesse | 2007-05-07 22:05:40 -0400
- * First pass at package variables for templates
-
-----------------------------------------------------------------------
-r56760 (orig r3213):  jesse | 2007-05-07 21:23:49 -0400
-
- r56759 at pinglin:  jesse | 2007-05-07 21:23:39 -0400
- * Reabstracting a bit to support setting variables on aliases template libs
-
-----------------------------------------------------------------------
-r56758 (orig r3212):  jesse | 2007-05-07 20:16:02 -0400
-
- r56756 at pinglin:  jesse | 2007-05-07 20:07:43 -0400
- * typo in test count
-
-----------------------------------------------------------------------
-r56757 (orig r3211):  jesse | 2007-05-07 20:15:54 -0400
-
- r56755 at pinglin:  jesse | 2007-05-07 20:07:18 -0400
- * makde the closure tests use the proper syntax (and hence actually pass)
-
-----------------------------------------------------------------------
-r56734 (orig r3195):  ruz | 2007-05-05 21:22:36 -0400
-
-* drop 'use bytes' as it actually breaks utf8 strings.
-
-If we're in bytes mode and had a string with UTF-8 flag set
-then after escaping we'll get a string without flag, but it
-still would be valid UTF-8 and must have flag set. Effect
-is not obviouse at this step, but later if you'll try to
-concatenate the result with a flagged UTF-8 string then perl
-"auto-upgrade" the result using 'latin1 -> UTF-8' transformation
-applied to your valid UTF-8 string and you'll get corruption.
-
-* tests
-
-----------------------------------------------------------------------
-r56717 (orig r3192):  ruz | 2007-05-02 19:48:55 -0400
-
-* add simple tests for utf8 happines
-----------------------------------------------------------------------
-r55442 (orig r3129):  jesse | 2007-04-15 11:05:41 -0400
-
- r55437 at pinglin:  jesse | 2007-04-15 11:04:41 -0400
-  manifest update
-
-----------------------------------------------------------------------
-r55441 (orig r3128):  jesse | 2007-04-15 11:05:37 -0400
-
- r55436 at pinglin:  jesse | 2007-04-15 11:04:22 -0400
-  0.07
-
-----------------------------------------------------------------------
-r55440 (orig r3127):  jesse | 2007-04-15 11:05:23 -0400
-
- r55435 at pinglin:  jesse | 2007-04-15 11:03:34 -0400
- * Bumped the version, added a Changelog
-
-----------------------------------------------------------------------
-r55439 (orig r3126):  jesse | 2007-04-15 11:05:18 -0400
-
- r55434 at pinglin:  jesse | 2007-04-15 10:59:48 -0400
- * todoified new tests for a CPAN release
-
-----------------------------------------------------------------------
-r55438 (orig r3125):  jesse | 2007-04-15 11:05:11 -0400
-
- r55433 at pinglin:  jesse | 2007-04-15 10:59:06 -0400
- * shut up a warning
-
-----------------------------------------------------------------------
-r54526 (orig r3102):  jesse | 2007-04-06 10:07:35 -0400
-
- r54525 at dhcp207:  jesse | 2007-04-06 23:07:11 +0900
-  * duplicate id tests.
-
-----------------------------------------------------------------------
-r54524 (orig r3101):  jesse | 2007-04-06 10:04:34 -0400
-
- r54523 at dhcp207:  jesse | 2007-04-06 23:04:19 +0900
- * Patch from gugod++ to perform detection of duplicate html id elements
-
-----------------------------------------------------------------------
-r54518 (orig r3100):  jesse | 2007-04-06 06:36:26 -0400
-
- r54517 at dhcp207:  jesse | 2007-04-06 19:36:06 +0900
- * Better handling of 'private' templates for gugod
-
-----------------------------------------------------------------------
-r54400 (orig r3076):  jesse | 2007-03-31 21:49:35 -0400
-
- r54399 at pinglin:  jesse | 2007-03-31 18:49:21 -0700
-  * This broke nav menus on live. i suck
-
-----------------------------------------------------------------------
-r54394 (orig r3074):  jesse | 2007-03-31 21:20:45 -0400
-
- r54393 at pinglin:  jesse | 2007-03-31 18:20:31 -0700
- * more work on closures 
-
-----------------------------------------------------------------------
-r54390 (orig r3073):  jesse | 2007-03-31 03:21:23 -0400
-
- r54389 at pinglin:  jesse | 2007-03-31 00:19:30 -0700
- * Closer to right handling of embedded tags as closures.  I think all that's left is stringification.
- 
-
-----------------------------------------------------------------------
-r54260 (orig r3071):  jesse | 2007-03-28 01:51:18 -0400
-
- r54259 at pinglin:  jesse | 2007-03-27 22:50:53 -0700
-  * So sad. this broke live apps
-
-----------------------------------------------------------------------
-r54257 (orig r3070):  jesse | 2007-03-27 23:21:29 -0400
-
- r54255 at pinglin:  jesse | 2007-03-27 20:20:21 -0700
- * Tests for closures
-
-----------------------------------------------------------------------
-r54256 (orig r3069):  jesse | 2007-03-27 23:21:18 -0400
-
- r54254 at pinglin:  jesse | 2007-03-27 20:18:21 -0700
- * Getting closer to supporting closures of tags.
-
-----------------------------------------------------------------------
-r54253 (orig r3068):  jesse | 2007-03-27 17:47:21 -0400
-
- r54252 at pinglin:  jesse | 2007-03-27 14:41:20 -0700
- * Refactoring outs to make tags into closures
-
-----------------------------------------------------------------------
-r54250 (orig r3067):  ruz | 2007-03-27 13:43:19 -0400
-
-* idea about adding attributes to all tags on one level
-  is good, but 'with' is not good candidate for that.
-  Fix a test to according to the current behaviour.
-----------------------------------------------------------------------
-r54248 (orig r3066):  ruz | 2007-03-27 06:56:33 -0400
-
-* change prototype of attr function so all tag functions
-  on the same level are called in array context. This
-  fixes a failing test in t/attributes.t
-----------------------------------------------------------------------
-r54247 (orig r3065):  ruz | 2007-03-27 06:25:10 -0400
-
-* clear buffer after each test
-----------------------------------------------------------------------
-r54246 (orig r3064):  ruz | 2007-03-26 22:40:29 -0400
-
-* tests for attributes
-----------------------------------------------------------------------
-r53849 (orig r3057):  clkao | 2007-03-24 14:10:55 -0400
-
-rollback r3052 as it's breaking multiroot resolution.
-----------------------------------------------------------------------
-r53844 (orig r3052):  clkao | 2007-03-23 22:22:25 -0400
-
-When calling show, look at the current context rather than global.
-This breaks a test that is arguably wrong by introducing collision.
-
-----------------------------------------------------------------------
-r53842 (orig r3050):  clkao | 2007-03-23 21:56:01 -0400
-
-path_for method to do resolution for imported templates.
-----------------------------------------------------------------------
-r53531 (orig r2989):  evdb | 2007-03-16 05:15:53 -0400
-
-Added function 'smart_tag_wrapper' that allows tags to be created that have access to the ATTRIBUTES set using 'with'. It attempts to hide most of the complexity of the call from the user and tidies up after itself.
-
-----------------------------------------------------------------------
-r53454 (orig r2971):  evdb | 2007-03-15 12:30:44 -0400
-
-Added 'Test::More' build dependency
-----------------------------------------------------------------------
-r53453 (orig r2970):  evdb | 2007-03-15 12:27:59 -0400
-
-Added carped warning when you try to 'show' a template that either does not exist or is private and so cannot be used.
-
-----------------------------------------------------------------------
-r52916 (orig r2885):  jesse | 2007-03-03 04:17:27 -0500
-
- r52903 at 152:  jesse | 2007-03-03 00:54:03 +0000
- 0.06
-
-----------------------------------------------------------------------
-r50024 (orig r2877):  jesse | 2007-03-01 12:27:25 -0500
-
- r49940 at pinglin:  jesse | 2007-03-01 12:26:05 -0500
-  * Added missing dependency on Class::Accessor
-
-----------------------------------------------------------------------
-r48608 (orig r2869):  jesse | 2007-02-28 14:53:40 -0500
-
- r48606 at pinglin:  jesse | 2007-02-28 14:53:09 -0500
- * signature for 0.03
-
-----------------------------------------------------------------------
-r48607 (orig r2868):  jesse | 2007-02-28 14:53:33 -0500
-
- r48605 at pinglin:  jesse | 2007-02-28 14:49:48 -0500
- * 0.03
-
-----------------------------------------------------------------------
-r48508 (orig r2833):  jesse | 2007-02-23 17:30:09 -0500
-
- r48504 at 233:  jesse | 2007-02-23 17:24:34 -0500
- * Better warnings when invalid things get shoved in your Template::Declare root list
-
-----------------------------------------------------------------------
-r47589 (orig r2760):  audreyt | 2007-02-07 22:45:56 -0500
-
-* Buffer.pm: Fix the bug where existing content '0' will be eaten away;
-  also squash warnings.
-----------------------------------------------------------------------
-r47588 (orig r2759):  clkao | 2007-02-07 03:29:02 -0500
-
-* Fix $self for importing.
-* Rename import to import_templates for now as it's conflicting with
-  jifty::view::declare's import.
-
-----------------------------------------------------------------------
-r47583 (orig r2754):  jesse | 2007-02-05 23:14:33 -0500
-
- r21797 at hualien:  jesse | 2007-02-06 17:11:57 +1300
-  * Switched from Template::Declare::BUFFER to a buffer object
-
-----------------------------------------------------------------------
-r47413 (orig r2584):  jesse | 2007-01-26 07:00:12 -0500
-
- r21351 at hualien:  jesse | 2007-01-26 19:46:44 +0800
-  * deprecated too soon
-
-----------------------------------------------------------------------
-r47406 (orig r2577):  audreyt | 2007-01-26 06:41:29 -0500
-
-* More misc releng fix.
-----------------------------------------------------------------------
-r47405 (orig r2576):  audreyt | 2007-01-26 06:39:30 -0500
-
-* Makefile.PL - Modernize Module::Install usage, as well as listing HTML::Lint 
-  as build_requires() so that tests won't randomly fail.
-----------------------------------------------------------------------
-r47354 (orig r2525):  jesse | 2007-01-18 00:13:29 -0500
-
- r21085 at hualien:  jesse | 2007-01-18 00:12:37 -0500
-  * 0.02
-
-----------------------------------------------------------------------
-r47352 (orig r2523):  jesse | 2007-01-18 00:07:08 -0500
-
- r21082 at hualien:  jesse | 2007-01-18 00:06:05 -0500
-  * Module::Install update
-
-----------------------------------------------------------------------
-r47351 (orig r2522):  jesse | 2007-01-18 00:06:43 -0500
-
- r21081 at hualien:  jesse | 2007-01-18 00:05:40 -0500
-  * Better test coverage
-
-----------------------------------------------------------------------
-r47350 (orig r2521):  jesse | 2007-01-17 23:29:12 -0500
-
- r21079 at hualien:  jesse | 2007-01-17 23:28:57 -0500
- * More docs!
- * pod testing
-
-----------------------------------------------------------------------
-r47335 (orig r2506):  jesse | 2007-01-16 13:34:54 -0500
-
- r21007 at hualien:  jesse | 2007-01-16 13:23:33 -0500
-  *0.01_01
-
-----------------------------------------------------------------------
-r47332 (orig r2503):  jesse | 2007-01-15 21:18:02 -0500
-
- r21001 at hualien:  jesse | 2007-01-15 21:17:57 -0500
- * that local should have been a my
-
-----------------------------------------------------------------------
-r47331 (orig r2502):  jesse | 2007-01-15 20:59:31 -0500
-
- r20995 at hualien:  jesse | 2007-01-15 20:57:42 -0500
- * doc
-
-----------------------------------------------------------------------
-r47330 (orig r2501):  jesse | 2007-01-15 20:59:25 -0500
-
- r20994 at hualien:  jesse | 2007-01-15 20:57:36 -0500
- * tests for aliasing
-
-----------------------------------------------------------------------
-r47329 (orig r2500):  jesse | 2007-01-15 20:59:10 -0500
-
- r20993 at hualien:  jesse | 2007-01-15 18:56:56 -0500
-  Evil, evil, evil tricks to make self the right packagename
-
-----------------------------------------------------------------------
-r47328 (orig r2499):  jesse | 2007-01-15 20:58:56 -0500
-
- r20992 at hualien:  jesse | 2007-01-15 17:58:08 -0500
-  * refactoring for readability
-
-----------------------------------------------------------------------
-r47327 (orig r2498):  jesse | 2007-01-15 20:58:25 -0500
-
- r20991 at hualien:  jesse | 2007-01-15 17:57:23 -0500
-  * refactoring for readability
-
-----------------------------------------------------------------------
-r47326 (orig r2497):  jesse | 2007-01-15 17:04:23 -0500
-
- r20989 at hualien:  jesse | 2007-01-15 17:03:19 -0500
- * work on making sure there's a $self available to the template
-
-----------------------------------------------------------------------
-r47325 (orig r2496):  jesse | 2007-01-15 16:15:15 -0500
-
- r20985 at hualien:  jesse | 2007-01-15 16:11:22 -0500
-  * refactoring the tests utility fucntions
-
-----------------------------------------------------------------------
-r47324 (orig r2495):  jesse | 2007-01-15 15:56:41 -0500
-
- r20982 at hualien:  jesse | 2007-01-15 15:54:40 -0500
- * allow imported subclass items
-
-----------------------------------------------------------------------
-r47323 (orig r2494):  jesse | 2007-01-15 15:56:29 -0500
-
- r20981 at hualien:  jesse | 2007-01-15 15:52:48 -0500
- * Remove code that had been abstracted to a function
-
-----------------------------------------------------------------------
-r46838 (orig r2475):  clkao | 2007-01-06 06:55:43 -0500
-
-Change has_template to lookup only in calling pkg unless used with Template::Declare itself.
-----------------------------------------------------------------------
-r46837 (orig r2474):  clkao | 2007-01-06 05:13:34 -0500
-
-failing tests for imported template that uses base.
-----------------------------------------------------------------------
-r46836 (orig r2473):  clkao | 2007-01-06 05:09:28 -0500
-
-failing tests expecting correct $self in template blocks.
-----------------------------------------------------------------------
-r46769 (orig r2467):  jesse | 2007-01-05 01:03:22 -0500
-
- r46767 at pinglin:  jesse | 2007-01-05 01:02:30 -0500
- * Importing semantics deployed
-
-----------------------------------------------------------------------
-r46768 (orig r2466):  jesse | 2007-01-05 01:03:14 -0500
-
- r46753 at pinglin:  jesse | 2007-01-04 23:21:33 -0500
- * more work on import. it now _parses
-
-----------------------------------------------------------------------
-r46505 (orig r2425):  jesse | 2006-12-26 23:16:33 -0500
-
- r46503 at pinglin:  jesse | 2006-12-26 23:16:22 -0500
-  * default to escaping user content
-
-----------------------------------------------------------------------
-r46504 (orig r2424):  jesse | 2006-12-26 23:16:23 -0500
-
-
-----------------------------------------------------------------------
-r46376 (orig r2415):  clkao | 2006-12-20 18:01:46 -0500
-
-plan for tests.
-----------------------------------------------------------------------
-r46375 (orig r2414):  clkao | 2006-12-20 17:59:32 -0500
-
-failing tests for non-toplevel templates.
-----------------------------------------------------------------------
-r46340 (orig r2410):  jesse | 2006-12-20 02:54:02 -0500
-
- r46333 at dhcp64-134-35-102:  jesse | 2006-12-19 20:25:21 -0800
-  stray warning
-
-----------------------------------------------------------------------
-r46339 (orig r2409):  jesse | 2006-12-20 02:53:18 -0500
-
- r46332 at dhcp64-134-35-102:  jesse | 2006-12-19 18:42:56 -0800
- * only one private tempalte was permitted
-
-----------------------------------------------------------------------
-r46337 (orig r2408):  bartb | 2006-12-19 23:02:54 -0500
-
-typo fixes
-----------------------------------------------------------------------
-r46268 (orig r2406):  jesse | 2006-12-19 03:08:34 -0500
-
- r46259 at pinglin:  jesse | 2006-12-19 03:02:51 -0500
- * show is no longer called as a method
- * better handling of client code calling templates with a leading /
- 
- r46267 at pinglin:  jesse | 2006-12-19 03:08:30 -0500
- * warning avoidance
-
-----------------------------------------------------------------------
-r46256 (orig r2401):  jesse | 2006-12-18 19:45:48 -0500
-
- r46255 at 185:  jesse | 2006-12-18 19:45:21 -0500
-  * Publish the resolve_template API
-
-----------------------------------------------------------------------
-r46224 (orig r2395):  jesse | 2006-12-16 22:48:26 -0500
-
- r46221 at pinglin:  jesse | 2006-12-16 21:30:23 -0500
- * Added support for multiple template roots to template::declare
- 
-
-----------------------------------------------------------------------
-r46223 (orig r2394):  jesse | 2006-12-16 22:48:10 -0500
-
- r46220 at pinglin:  jesse | 2006-12-16 21:18:51 -0500
- * tests converted to use the ->init method.
- 
-
-----------------------------------------------------------------------
-r46222 (orig r2393):  jesse | 2006-12-16 22:48:04 -0500
-
- r46219 at pinglin:  jesse | 2006-12-16 20:44:13 -0500
- * Removed the old inheritance system
- 
-
-----------------------------------------------------------------------
-r46216 (orig r2390):  jesse | 2006-12-16 17:22:36 -0500
-
- r46213 at 66:  jesse | 2006-12-16 12:57:42 -0800
- * still not working right. 
- * Code cleanup
-
-----------------------------------------------------------------------
-r46215 (orig r2389):  jesse | 2006-12-16 17:22:21 -0500
-
- r46212 at 66:  jesse | 2006-12-16 12:41:51 -0800
- * working templates with dots and dashes in their names. (Jifty apps now work again)
-
-----------------------------------------------------------------------
-r46214 (orig r2388):  jesse | 2006-12-16 17:22:05 -0500
-
- r46211 at 66:  jesse | 2006-12-16 11:41:31 -0800
- * Unbroke support for subtemplates
-
-----------------------------------------------------------------------
-r46084 (orig r2365):  jesse | 2006-12-10 21:15:46 -0500
-
- r46081 at pinglin:  jesse | 2006-12-11 02:14:42 +0000
- * _tests_ for private templates.
- 
-
-----------------------------------------------------------------------
-r46083 (orig r2364):  jesse | 2006-12-10 21:15:34 -0500
-
- r46080 at pinglin:  jesse | 2006-12-11 02:06:21 +0000
-  * private templates
-
-----------------------------------------------------------------------
-r46009 (orig r2347):  audreyt | 2006-12-08 10:01:27 -0500
-
-* Fix tests to agree with code ;)
-----------------------------------------------------------------------
-r46008 (orig r2346):  audreyt | 2006-12-08 10:00:54 -0500
-
-* Semicolon is now optional in T::D declarators:
-    p { }
-    p { }
-    p { }
-----------------------------------------------------------------------
-r46004 (orig r2343):  jesse | 2006-12-07 20:08:12 -0500
-
- r46002 at pinglin:  jesse | 2006-12-07 18:13:57 +0000
- * If we're used in an oo manner, don't blow away the caller's lexical
-
-----------------------------------------------------------------------
-r45865 (orig r2340):  audreyt | 2006-12-06 11:17:51 -0500
-
-* Template::Declare - Revert obra++'s treatment:
-
-    # default to <tag/> rather than <tag></tag> if there's no content
-
-  and added this comment:
-
-    # We should, in theory, default to <tag /> rather than <tag></tag> if there's no content,
-    # but until all we output is strict XHTML, "<iframe src='...' />" and "<a name='...' />"
-    # are rendered incorrectly by gecko -- they require the use of an explicit closing tag
-    # So intead of the correct treatment:
-    #
-    #   $BUFFER .= $buf." />";
-    #
-    # we supply a closing tag for now:
-    #
-    $BUFFER .= $buf."></$tag>";
-
-----------------------------------------------------------------------
-r45864 (orig r2339):  audreyt | 2006-12-06 11:01:26 -0500
-
-* Template::Declare::Tags: Support for all five style (all mixable):
-
-    div {{ id is 'moose' } span { 'Hi!' } };
-    div { attr { id is 'moose' } span { 'Hi!' } };
-    div { attr { id => 'moose' } span { 'Hi!' } };
-    div { attr { id is 'moose' }; span { 'Hi!' } };
-    div { attr { id => 'moose' }; span { 'Hi!' } };
-
-  The old style is still supported as well:
-
-    with(id => 'moose'), div { span { 'Hi!' } };
-
-----------------------------------------------------------------------
-r45862 (orig r2337):  jesse | 2006-12-06 02:23:17 -0500
-
- r45839 at pinglin:  jesse | 2006-12-06 01:06:54 -0500
- 
- r45842 at pinglin:  jesse | 2006-12-06 02:13:13 -0500
- * Added support for:
- 
- div {
-     attr( id => 'foo');
-     
-     outs('my text');
- }
-     
- In addition to the existing support for:
- 
- div {
-     {  id is 'foo' }
-     
-     outs('my text');
- }
-     
- Tested both.
- 
-
-----------------------------------------------------------------------
-r45837 (orig r2336):  jesse | 2006-12-06 01:03:18 -0500
-
-t/trivial was failing tests because meta elements were being expanded to container nodes. which they are not.
-----------------------------------------------------------------------
-r45780 (orig r2305):  audreyt | 2006-12-03 10:57:34 -0500
-
-* Template::Declare::Tags - Encode HTML attributes with underscores:
-
-    # Single underscore: http_equiv ====> http-equiv
-    meta {{ http_equiv is "Refresh", content is "0; $url" }};
-
-    # Double underscore: xml__lang ====> xml:lang
-    body {{ xml__lang is 'x-lojban' }};
-
-----------------------------------------------------------------------
-r45718 (orig r2251):  audreyt | 2006-12-01 05:26:17 -0500
-
-* T::D::Tags - Tidy up and avoid redefinition warning.
-----------------------------------------------------------------------
-r45716 (orig r2249):  audreyt | 2006-12-01 04:54:52 -0500
-
-* Template::Declare::Tags - Output "<tr>...</tr>" not "<Tr>...</Tr>"
-----------------------------------------------------------------------
-r45713 (orig r2246):  audreyt | 2006-12-01 03:58:26 -0500
-
-* Ditch the intermediate CURRENT_ATTRIBUTE structure; now all "attr is foo"
-  immediately emits attributes.
-----------------------------------------------------------------------
-r45711 (orig r2244):  audreyt | 2006-12-01 02:32:44 -0500
-
-* Template::Declare - Support for declarative "is" copula on attributes.
-  For example:
-
-    table {{width is '100%'} row {
-        cell {{width is '50%'} $search_region->render };
-        cell {{width is '50%'} $result_region->render };
-    } };
-
-----------------------------------------------------------------------
-r45655 (orig r2241):  audreyt | 2006-12-01 00:19:18 -0500
-
-* Template::Declare::Tags - More uniform treatment of hiding &base.
-----------------------------------------------------------------------
-r45654 (orig r2240):  audreyt | 2006-12-01 00:12:29 -0500
-
-* Template::Declare::Tags - Tr/td is now row/cell.
-----------------------------------------------------------------------
-r45588 (orig r2220):  audreyt | 2006-11-29 13:06:55 -0500
-
-* Template::Declare::Tags - hide the "base" declarator because it conflicts with -base
-  in import line when refreshing.
-----------------------------------------------------------------------
-r45584 (orig r2216):  audreyt | 2006-11-29 09:13:25 -0500
-
-* Template::Declare - new utility get_current_attr to get the with() context.
-* Also allow for qualified template declaration and show.
-----------------------------------------------------------------------
-r45583 (orig r2215):  audreyt | 2006-11-29 08:44:19 -0500
-
-* Template::Declare - Allow has_template('foo/bar') and has_template('foo::bar').
-* Also, negative version numbers is really hard to deploy.  Make it positive.
-----------------------------------------------------------------------
-r45133 (orig r2177):  clkao | 2006-11-18 19:15:24 -0500
-
-Export $self.
-----------------------------------------------------------------------
-r44901 (orig r2168):  jesse | 2006-11-15 23:55:49 -0500
-
-* License was typoed. -- Thanks to Matt Trout
-----------------------------------------------------------------------
-r44889 (orig r2167):  jesse | 2006-11-15 21:42:11 -0500
-
-  * Initial version of Template::Declare
-
-----------------------------------------------------------------------
-r44888 (orig r2166):  jesse | 2006-11-15 21:40:31 -0500
-
-
-----------------------------------------------------------------------
+ - Support for inline tagset definitions. Thanks to Olivier 'dolmen'
+   Mengué [rt.cpan.org #48642]
+
+0.40 2009-07-08
+ - Fix subname issue with the debugger and specifically Devel::NYTProf
+ - String::BufferStack usage improvements
+
+0.39 2009-03-05
+ - No code changes; increase Test::Warn dependency to 0.11, as 0.10 was
+   broken
+
+0.38 2009-02-27
+ - Support, but deprecate, Template::Declare->buffer->data(...) usage
+
+0.37 2009-02-19
+ - Make HTML::Lint an optional dependency
+
+0.36 2009-02-05
+ - Hint to the source of the buffer using a 'from' argument.  This allows
+   us to inspect the call stack by looking at the buffer stack.
+
+0.35 2009-01-20
+ - Buffers have been moved to using String::BufferStack, for better
+   interopability with other templating systems.  Code which manipulated
+   Template::Declare::Buffer objects by hand may need to be adjusted.
+
+0.31_01 2008-12-19
+ - INCOMPATIBLE: there were inconsistency in arguments passing. show in
+   TD::Tags could pass arguments into template as array reference depending
+   on a way it's called. Now arguments are always passwed the same way they
+   passed into show. This change is only backwards incompatible for those
+   who were using this incorrect behaviour.
+ - stringify argument in TD::Buffer::append as we can deal with an object
+   with overloaded stringification that puts data into buffer when
+   stringified
+ - correctly escape objects with overloaded stringification
+ - use less buffers for operations and a few other small optimizations
+
+0.30 2008-11-26
+ - Remove the "wrapper" export, its name is too generic and clashes with a
+   lot of existing code. It's a negligible amount of sugar.
+
+0.29 2008-07-01
+ - Sugar for defining a tag-like wrapper. Thanks Theory! #37624
+ - Don't load all of CGI.pm to get a list of tags. #37630
+ - Don't add attrs to the first tag in smart_tag_wrapper. #37622.
+
+0.28 2008-02-14
+ - Added the missing dependency Class::ISA to Makefile.PL
+ - Added the "canvas" tag to the HTML tagset.
+ - Added around_template for instrumentation.
+
+0.27 2007-11-02
+ - Added support for the RDF tag set (T::D::TagSet::RDF).
+ - Added support for the Mozilla EM RDF tag set (T::D::TagSet::RDF::EM)
+
+0.26 2007-08-14
+ - Refactored Template::Declare::Tags to make the tag sets configurable.
+ - Added Template::Declare::TagSet::HTML and
+   Template::Declare::TagSet::XUL, respectively, as well as their common
+   base class, Template::Declare::TagSet. Added
+   Template::Declare::TagSet::HTML and Template::Declare::TagSet::XUL,
+   respectively.
+ - Added support for XML namespace: use Template::Declare::Tags 'XUL',
+   'HTML' => { namespace => 'html' }; and ... 'HTML' => { namespace =>
+   'html', package => 'MyHtml' };
+ - And we can now say 'use Template::Declare::Tags qw/ HTML XUL /;
+ - Added @Template::Declare::Tags::TAG_SUB_LIST which records all the tag
+   subroutines generated on-the-fly, which is necessary for secondary
+   symbol exporting in Jifty::View::Declare::Helpers.
+ - Implemented C< use Template::Declare::Tags HTML => { from =>
+   'My::HTML::TagSet' } >.
+ - Allow content post-proceessing with a callback.
+ - Added a PITFALLS section to T::D's POD.
+ - Added a global sub append_attr to provide friendly diagnostics and the
+   infamous "Undefined subroutine &Template::Declare::Tags::append_attr
+   called at ..." is now gone.
diff --git a/MANIFEST b/MANIFEST
index 57fa93a..5405a22 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -20,11 +20,11 @@ lib/Template/Declare/TagSet/RDF/EM.pm
 lib/Template/Declare/TagSet/XUL.pm
 Makefile.PL
 MANIFEST			This list of files
-MANIFEST.SKIP
 META.yml
 README
 SIGNATURE
 t/99-pod-coverage.t
+t/99-pod-spelling.t
 t/99-pod.t
 t/aliasing.t
 t/alternative.t
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
deleted file mode 100644
index eebbaf4..0000000
--- a/MANIFEST.SKIP
+++ /dev/null
@@ -1,46 +0,0 @@
-^a$
-\.swo$
-^Template-Declare-\d+\.\d+
-^.*ref.*\.xml
-^t\.sh$
-^\w+\.pm
-^t.sh$
-^temp/
-^lrep/
-precedence.pl
-RuleInline-more.pl
-benchmark.pl
-t6/iterator_engine.pl
-lib/pcr.txt
-lib/print.sh
-tmp.txt
-lib/Pugs/Grammar/Rule2.pmc
-trans.pl
-trans2.pl
-tmp
-^blib/
-^Makefile$
-^Makefile\.[a-z]+$
-\.swp$
-Pugs-Compiler-Rule-\d+
-^pm_to_blib$
-CVS/.*
-,v$
-^tmp/
-\.old$
-\.bak$
-~$
-^#
-\.shar$
-\.tar$
-\.tgz$
-\.tar\.gz$
-\.zip$
-_uu$
-t/zz.*
-test\.[co]
-benchmarks/.*
-\.svn
-\.git
-\.t_$
-pod-spelling.t$
diff --git a/META.yml b/META.yml
index c1b9398..76eebb9 100644
--- a/META.yml
+++ b/META.yml
@@ -10,7 +10,7 @@ configure_requires:
   ExtUtils::MakeMaker: 6.59
 distribution_type: module
 dynamic_config: 1
-generated_by: 'Module::Install version 1.06'
+generated_by: 'Module::Install version 1.12'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,4 +29,4 @@ requires:
   perl: 5.8.2
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.46
+version: '0.47'
diff --git a/Makefile.PL b/Makefile.PL
index ff1b431..43ec569 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,5 +18,7 @@ requires 'String::BufferStack' => 1.10;
 feature 'HTML Lint testing' => 
     -default => 0,
     'HTML::Lint' => 0;
+
+sign;
 auto_install;
 WriteAll;
diff --git a/inc/Module/AutoInstall.pm b/inc/Module/AutoInstall.pm
index aa7aa92..4aca606 100644
--- a/inc/Module/AutoInstall.pm
+++ b/inc/Module/AutoInstall.pm
@@ -8,7 +8,7 @@ use ExtUtils::MakeMaker ();
 
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 }
 
 # special map on pre-defined feature sets
@@ -115,7 +115,7 @@ sub import {
     print "*** $class version " . $class->VERSION . "\n";
     print "*** Checking for Perl dependencies...\n";
 
-    my $cwd = Cwd::cwd();
+    my $cwd = Cwd::getcwd();
 
     $Config = [];
 
@@ -166,7 +166,7 @@ sub import {
         $modules = [ %{$modules} ] if UNIVERSAL::isa( $modules, 'HASH' );
 
         unshift @$modules, -default => &{ shift(@$modules) }
-          if ( ref( $modules->[0] ) eq 'CODE' );    # XXX: bugward combatability
+          if ( ref( $modules->[0] ) eq 'CODE' );    # XXX: bugward compatibility
 
         while ( my ( $mod, $arg ) = splice( @$modules, 0, 2 ) ) {
             if ( $mod =~ m/^-(\w+)$/ ) {
@@ -345,22 +345,26 @@ sub install {
     my $i;    # used below to strip leading '-' from config keys
     my @config = ( map { s/^-// if ++$i; $_ } @{ +shift } );
 
-    my ( @modules, @installed );
-    while ( my ( $pkg, $ver ) = splice( @_, 0, 2 ) ) {
+	my ( @modules, @installed, @modules_to_upgrade );
+	while (my ($pkg, $ver) = splice(@_, 0, 2)) {
 
-        # grep out those already installed
-        if ( _version_cmp( _version_of($pkg), $ver ) >= 0 ) {
-            push @installed, $pkg;
-        }
-        else {
-            push @modules, $pkg, $ver;
-        }
-    }
+		# grep out those already installed
+		if (_version_cmp(_version_of($pkg), $ver) >= 0) {
+			push @installed, $pkg;
+			if ($UpgradeDeps) {
+				push @modules_to_upgrade, $pkg, $ver;
+			}
+		}
+		else {
+			push @modules, $pkg, $ver;
+		}
+	}
 
-    if ($UpgradeDeps) {
-        push @modules, @installed;
-        @installed = ();
-    }
+	if ($UpgradeDeps) {
+		push @modules, @modules_to_upgrade;
+		@installed          = ();
+		@modules_to_upgrade = ();
+	}
 
     return @installed unless @modules;  # nothing to do
     return @installed if _check_lock(); # defer to the CPAN shell
@@ -611,7 +615,7 @@ sub _under_cpan {
     require Cwd;
     require File::Spec;
 
-    my $cwd  = File::Spec->canonpath( Cwd::cwd() );
+    my $cwd  = File::Spec->canonpath( Cwd::getcwd() );
     my $cpan = File::Spec->canonpath( $CPAN::Config->{cpan_home} );
 
     return ( index( $cwd, $cpan ) > -1 );
@@ -927,4 +931,4 @@ END_MAKE
 
 __END__
 
-#line 1193
+#line 1197
diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm
index 4ecf46b..5460dd5 100644
--- a/inc/Module/Install.pm
+++ b/inc/Module/Install.pm
@@ -17,7 +17,7 @@ package Module::Install;
 #     3. The ./inc/ version of Module::Install loads
 # }
 
-use 5.005;
+use 5.006;
 use strict 'vars';
 use Cwd        ();
 use File::Find ();
@@ -31,7 +31,7 @@ BEGIN {
 	# 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 = '1.06';
+	$VERSION = '1.12';
 
 	# Storage for the pseudo-singleton
 	$MAIN    = undef;
@@ -156,10 +156,10 @@ END_DIE
 sub autoload {
 	my $self = shift;
 	my $who  = $self->_caller;
-	my $cwd  = Cwd::cwd();
+	my $cwd  = Cwd::getcwd();
 	my $sym  = "${who}::AUTOLOAD";
 	$sym->{$cwd} = sub {
-		my $pwd = Cwd::cwd();
+		my $pwd = Cwd::getcwd();
 		if ( my $code = $sym->{$pwd} ) {
 			# Delegate back to parent dirs
 			goto &$code unless $cwd eq $pwd;
@@ -239,7 +239,7 @@ sub new {
 
 	# ignore the prefix on extension modules built from top level.
 	my $base_path = Cwd::abs_path($FindBin::Bin);
-	unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) {
+	unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) {
 		delete $args{prefix};
 	}
 	return $args{_self} if $args{_self};
@@ -338,7 +338,7 @@ sub find_extensions {
 		if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
 			my $content = Module::Install::_read($subpath . '.pm');
 			my $in_pod  = 0;
-			foreach ( split //, $content ) {
+			foreach ( split /\n/, $content ) {
 				$in_pod = 1 if /^=\w/;
 				$in_pod = 0 if /^=cut/;
 				next if ($in_pod || /^=cut/);  # skip pod text
@@ -434,7 +434,7 @@ END_OLD
 
 # _version is for processing module versions (eg, 1.03_05) not
 # Perl versions (eg, 5.8.1).
-sub _version ($) {
+sub _version {
 	my $s = shift || 0;
 	my $d =()= $s =~ /(\.)/g;
 	if ( $d >= 2 ) {
@@ -450,12 +450,12 @@ sub _version ($) {
 	return $l + 0;
 }
 
-sub _cmp ($$) {
+sub _cmp {
 	_version($_[1]) <=> _version($_[2]);
 }
 
 # Cloned from Params::Util::_CLASS
-sub _CLASS ($) {
+sub _CLASS {
 	(
 		defined $_[0]
 		and
diff --git a/inc/Module/Install/AutoInstall.pm b/inc/Module/Install/AutoInstall.pm
index 6efe4fe..ab1e5fa 100644
--- a/inc/Module/Install/AutoInstall.pm
+++ b/inc/Module/Install/AutoInstall.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm
index 802844a..f9bf5de 100644
--- a/inc/Module/Install/Base.pm
+++ b/inc/Module/Install/Base.pm
@@ -4,7 +4,7 @@ package Module::Install::Base;
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 }
 
 # Suspend handler for "redefined" warnings
diff --git a/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm
index 22167b8..b4e5e3b 100644
--- a/inc/Module/Install/Can.pm
+++ b/inc/Module/Install/Can.pm
@@ -8,7 +8,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm
index bee0c4f..54f14fb 100644
--- a/inc/Module/Install/Fetch.pm
+++ b/inc/Module/Install/Fetch.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Include.pm b/inc/Module/Install/Include.pm
index 8310e4c..7224cff 100644
--- a/inc/Module/Install/Include.pm
+++ b/inc/Module/Install/Include.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
index 7052f36..81cddd5 100644
--- a/inc/Module/Install/Makefile.pm
+++ b/inc/Module/Install/Makefile.pm
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -133,7 +133,7 @@ sub makemaker_args {
 	return $args;
 }
 
-# For mm args that take multiple space-seperated args,
+# For mm args that take multiple space-separated args,
 # append an argument to the current list.
 sub makemaker_append {
 	my $self = shift;
diff --git a/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm
index 58430f3..2c66b1e 100644
--- a/inc/Module/Install/Metadata.pm
+++ b/inc/Module/Install/Metadata.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -347,7 +347,7 @@ sub name_from {
 		^ \s*
 		package \s*
 		([\w:]+)
-		\s* ;
+		[\s|;]*
 		/ixms
 	) {
 		my ($name, $module_name) = ($1, $1);
@@ -705,7 +705,7 @@ sub _write_mymeta_data {
 	my @yaml = Parse::CPAN::Meta::LoadFile('META.yml');
 	my $meta = $yaml[0];
 
-	# Overwrite the non-configure dependency hashs
+	# Overwrite the non-configure dependency hashes
 	delete $meta->{requires};
 	delete $meta->{build_requires};
 	delete $meta->{recommends};
diff --git a/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm
index eeaa3fe..e48c32d 100644
--- a/inc/Module/Install/Win32.pm
+++ b/inc/Module/Install/Win32.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm
index 85d8018..409ef40 100644
--- a/inc/Module/Install/WriteAll.pm
+++ b/inc/Module/Install/WriteAll.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }
diff --git a/lib/Template/Declare.pm b/lib/Template/Declare.pm
index 36cc2c6..e237b1f 100644
--- a/lib/Template/Declare.pm
+++ b/lib/Template/Declare.pm
@@ -7,7 +7,7 @@ use Template::Declare::Buffer;
 use Class::ISA;
 use String::BufferStack;
 
-our $VERSION = '0.46';
+our $VERSION = '0.47';
 
 use base 'Class::Data::Inheritable';
 __PACKAGE__->mk_classdata('dispatch_to');

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list