r18398 - in /trunk/libhttp-body-perl: Changes META.yml debian/changelog debian/control debian/rules lib/HTTP/Body.pm lib/HTTP/Body/XForms.pm lib/HTTP/Body/XFormsMultipart.pm t/data/xforms/001-results.yml t/data/xforms/002-results.yml

rmayorga-guest at users.alioth.debian.org rmayorga-guest at users.alioth.debian.org
Tue Apr 8 16:23:29 UTC 2008


Author: rmayorga-guest
Date: Tue Apr  8 16:23:27 2008
New Revision: 18398

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18398
Log:
* New upstream release
* Add ${misc:Depends} to Depends field
* Remove workarround to handle empty dirs in  debian/rules, and
  let dh_perl do his work 
* Add myself to uploaders

Modified:
    trunk/libhttp-body-perl/Changes
    trunk/libhttp-body-perl/META.yml
    trunk/libhttp-body-perl/debian/changelog
    trunk/libhttp-body-perl/debian/control
    trunk/libhttp-body-perl/debian/rules
    trunk/libhttp-body-perl/lib/HTTP/Body.pm
    trunk/libhttp-body-perl/lib/HTTP/Body/XForms.pm
    trunk/libhttp-body-perl/lib/HTTP/Body/XFormsMultipart.pm
    trunk/libhttp-body-perl/t/data/xforms/001-results.yml
    trunk/libhttp-body-perl/t/data/xforms/002-results.yml

Modified: trunk/libhttp-body-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/Changes?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/Changes (original)
+++ trunk/libhttp-body-perl/Changes Tue Apr  8 16:23:27 2008
@@ -1,4 +1,7 @@
 This file documents the revision history for Perl extension HTTP::Body.
+
+1.03    2008-04-07 08:20:00
+        - Set body value for XForms data. (Daniel Ruoso)
 
 1.02    2008-02-27 17:30:00
         - Fixed issue with urlencoded test on Windows.

Modified: trunk/libhttp-body-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/META.yml?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/META.yml (original)
+++ trunk/libhttp-body-perl/META.yml Tue Apr  8 16:23:27 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         HTTP-Body
-version:      1.02
+version:      1.03
 version_from: lib/HTTP/Body.pm
 installdirs:  site
 requires:

Modified: trunk/libhttp-body-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/changelog?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/debian/changelog (original)
+++ trunk/libhttp-body-perl/debian/changelog Tue Apr  8 16:23:27 2008
@@ -1,3 +1,13 @@
+libhttp-body-perl (1.03-1) unstable; urgency=low
+
+  * New upstream release
+  * Add ${misc:Depends} to Depends field
+  * Remove workarround to handle empty dirs in  debian/rules, and
+    let dh_perl do his work 
+  * Add myself to uploaders
+
+ -- Rene Mayorga <rmayorga at debian.org.sv>  Tue, 08 Apr 2008 10:05:13 -0600
+
 libhttp-body-perl (1.02-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libhttp-body-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/control?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/debian/control (original)
+++ trunk/libhttp-body-perl/debian/control Tue Apr  8 16:23:27 2008
@@ -6,7 +6,8 @@
  libtest-pod-perl, libtest-pod-coverage-perl, libwww-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
- gregor herrmann <gregor+debian at comodo.priv.at>
+ gregor herrmann <gregor+debian at comodo.priv.at>,
+ Rene Mayorga <rmayorga at debian.org.sv>
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/HTTP-Body/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhttp-body-perl/
@@ -14,7 +15,8 @@
 
 Package: libhttp-body-perl
 Architecture: all
-Depends: ${perl:Depends}, libyaml-perl, libpath-class-perl, libwww-perl
+Depends: ${perl:Depends}, ${misc:Depends}, libyaml-perl, 
+ libpath-class-perl, libwww-perl
 Description: HTTP Body object
  HTTP::Body is perl class for handling HTTP request data in OOP way. It comes
  with method for manipulating stored data as well.

Modified: trunk/libhttp-body-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/rules?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/debian/rules (original)
+++ trunk/libhttp-body-perl/debian/rules Tue Apr  8 16:23:27 2008
@@ -39,8 +39,6 @@
 	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
 	touch $@
 
 binary-arch:

Modified: trunk/libhttp-body-perl/lib/HTTP/Body.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/lib/HTTP/Body.pm?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/lib/HTTP/Body.pm (original)
+++ trunk/libhttp-body-perl/lib/HTTP/Body.pm Tue Apr  8 16:23:27 2008
@@ -4,7 +4,7 @@
 
 use Carp       qw[ ];
 
-our $VERSION = '1.02';
+our $VERSION = '1.03';
 
 our $TYPES = {
     'application/octet-stream'          => 'HTTP::Body::OctetStream',

Modified: trunk/libhttp-body-perl/lib/HTTP/Body/XForms.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/lib/HTTP/Body/XForms.pm?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/lib/HTTP/Body/XForms.pm (original)
+++ trunk/libhttp-body-perl/lib/HTTP/Body/XForms.pm Tue Apr  8 16:23:27 2008
@@ -34,12 +34,12 @@
 
 sub spin {
     my $self = shift;
-    
+
+    $self->body($self->{buffer});
     $self->param( 'XForms:Model', $self->{buffer} );
-    
     $self->{buffer} = '';
     $self->{state}  = 'done';
-    
+
     return $self->SUPER::init();
 }
 

Modified: trunk/libhttp-body-perl/lib/HTTP/Body/XFormsMultipart.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/lib/HTTP/Body/XFormsMultipart.pm?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/lib/HTTP/Body/XFormsMultipart.pm (original)
+++ trunk/libhttp-body-perl/lib/HTTP/Body/XFormsMultipart.pm Tue Apr  8 16:23:27 2008
@@ -74,6 +74,9 @@
     
     if ( $contentid eq $self->start ) {
         $part->{name} = 'XForms:Model';
+        if ($part->{done}) {
+            $self->body($part->{data});
+        }
     }
     elsif ( defined $contentid ) {
         $part->{name}     = $contentid;

Modified: trunk/libhttp-body-perl/t/data/xforms/001-results.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/t/data/xforms/001-results.yml?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/t/data/xforms/001-results.yml (original)
+++ trunk/libhttp-body-perl/t/data/xforms/001-results.yml Tue Apr  8 16:23:27 2008
@@ -1,5 +1,5 @@
 ---
-body: ~
+body: <model><data1>asdfg</data1><data2>asdfg</data2></model>
 start: asdfg at asdfg.com
 param:
   XForms:Model: <model><data1>asdfg</data1><data2>asdfg</data2></model>

Modified: trunk/libhttp-body-perl/t/data/xforms/002-results.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/t/data/xforms/002-results.yml?rev=18398&op=diff
==============================================================================
--- trunk/libhttp-body-perl/t/data/xforms/002-results.yml (original)
+++ trunk/libhttp-body-perl/t/data/xforms/002-results.yml Tue Apr  8 16:23:27 2008
@@ -1,5 +1,5 @@
 ---
-body: ~
+body: <model><data1>asdfg</data1><data2>asdfg</data2></model>
 param:
   XForms:Model: <model><data1>asdfg</data1><data2>asdfg</data2></model>
 upload: {}




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