r69958 - in /branches/upstream/libhtml-mason-perl/current: Changes META.yml Makefile.PL lib/HTML/Mason.pm lib/HTML/Mason/Interp.pm lib/HTML/Mason/Request.pm t/07-interp.t

ivan at users.alioth.debian.org ivan at users.alioth.debian.org
Sun Feb 27 18:07:46 UTC 2011


Author: ivan
Date: Sun Feb 27 18:07:29 2011
New Revision: 69958

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=69958
Log:
[svn-upgrade] new version libhtml-mason-perl (1.45)

Modified:
    branches/upstream/libhtml-mason-perl/current/Changes
    branches/upstream/libhtml-mason-perl/current/META.yml
    branches/upstream/libhtml-mason-perl/current/Makefile.PL
    branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason.pm
    branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Interp.pm
    branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Request.pm
    branches/upstream/libhtml-mason-perl/current/t/07-interp.t

Modified: branches/upstream/libhtml-mason-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/Changes?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/Changes (original)
+++ branches/upstream/libhtml-mason-perl/current/Changes Sun Feb 27 18:07:29 2011
@@ -4,6 +4,13 @@
 available at http://www.masonhq.com/code/history.html.
 
 ** denotes an incompatible change
+
+1.45 Apr 3, 2010
+
+    [ BUG FIXES ]
+
+    - Silenced some new warnings that appeared when using Mason with Perl
+  5.12.0+. Reported by Jesse Vincent.
 
 1.44 Jan 4, 2010
 

Modified: branches/upstream/libhtml-mason-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/META.yml?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/META.yml (original)
+++ branches/upstream/libhtml-mason-perl/current/META.yml Sun Feb 27 18:07:29 2011
@@ -9,7 +9,7 @@
 configure_requires:
   Module::Build: 0.36
 dynamic_config: 1
-generated_by: 'Module::Build version 0.36'
+generated_by: 'Module::Build version 0.3603'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,7 +24,7 @@
     version: 0.09
   HTML::Mason:
     file: lib/HTML/Mason.pm
-    version: 1.44
+    version: 1.45
   HTML::Mason::Apache::Request:
     file: lib/HTML/Mason/Apache/Request.pm
   HTML::Mason::ApacheHandler:
@@ -105,7 +105,6 @@
   Tie::Handle::Mason:
     file: lib/HTML/Mason/Request.pm
 requires:
-  Apache::Request: 1.05
   CGI: 2.46
   Cache::Cache: 1
   Class::Container: 0.07
@@ -116,7 +115,6 @@
   Params::Validate: 0.7
   Scalar::Util: 1.01
   Test::Deep: 0
-  mod_perl: 1.24
 resources:
   license: http://dev.perl.org/licenses/
-version: 1.44
+version: 1.45

Modified: branches/upstream/libhtml-mason-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/Makefile.PL?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/Makefile.PL (original)
+++ branches/upstream/libhtml-mason-perl/current/Makefile.PL Sun Feb 27 18:07:29 2011
@@ -1,6 +1,6 @@
 # Added by Mason::Build so we can find Mason::Build again
 use lib 'inc';
-# Note: this file was auto-generated by Module::Build::Compat version 0.36
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
 
     unless (eval "use Module::Build::Compat 0.02; 1" ) {
       print "This module requires Module::Build to install itself.\n";

Modified: branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason.pm?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason.pm (original)
+++ branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason.pm Sun Feb 27 18:07:29 2011
@@ -5,7 +5,7 @@
 
 use 5.006;
 
-$HTML::Mason::VERSION = '1.44';
+$HTML::Mason::VERSION = '1.45';
 
 use HTML::Mason::Interp;
 

Modified: branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Interp.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Interp.pm?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Interp.pm (original)
+++ branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Interp.pm Sun Feb 27 18:07:29 2011
@@ -649,6 +649,7 @@
 
     my $varname = sprintf("%s::%s",$self->compiler->in_package,$name);
     no strict 'refs';
+    no warnings 'once';
     if ($prefix eq '$') {
         $$varname = $values[0];
     } elsif ($prefix eq '@') {

Modified: branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Request.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Request.pm?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Request.pm (original)
+++ branches/upstream/libhtml-mason-perl/current/lib/HTML/Mason/Request.pm Sun Feb 27 18:07:29 2011
@@ -311,7 +311,7 @@
                     #
                     {
                         no strict 'refs';
-                        unless (defined(%{$plugin . "::"})) {
+                        unless (keys %{$plugin . "::"}) {
                             eval "use $plugin;";
                             die $@ if $@;
                         }
@@ -1452,15 +1452,6 @@
 *top_args = \&request_args;
 *top_comp = \&request_comp;
 
-# deprecated in 1.1x
-sub time
-{
-    my ($self) = @_;
-    my $time = $self->interp->current_time;
-    $time = time() if $time eq 'real';
-    return $time;
-}
-
 #
 # Subroutine called by every component while in debug mode, convenient
 # for breakpointing.

Modified: branches/upstream/libhtml-mason-perl/current/t/07-interp.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-mason-perl/current/t/07-interp.t?rev=69958&op=diff
==============================================================================
--- branches/upstream/libhtml-mason-perl/current/t/07-interp.t (original)
+++ branches/upstream/libhtml-mason-perl/current/t/07-interp.t Sun Feb 27 18:07:29 2011
@@ -808,7 +808,7 @@
 
 #------------------------------------------------------------
 
-    if ( load_pkg('Switch') )
+    if ( $] < 5.012 && load_pkg('Switch') )
     {
         $group->add_test( name => 'source_filter',
                           description => 'make sure source filters work',




More information about the Pkg-perl-cvs-commits mailing list