r54506 - in /trunk/libdata-section-perl: ./ debian/ lib/Data/ t/ t/lib/ t/lib/I/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu Mar 18 21:32:23 UTC 2010
Author: jawnsy-guest
Date: Thu Mar 18 21:32:16 2010
New Revision: 54506
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54506
Log:
New upstream release
Added:
trunk/libdata-section-perl/t/lib/End.pm
- copied unchanged from r54505, branches/upstream/libdata-section-perl/current/t/lib/End.pm
trunk/libdata-section-perl/t/lib/Header.pm
- copied unchanged from r54505, branches/upstream/libdata-section-perl/current/t/lib/Header.pm
trunk/libdata-section-perl/t/lib/Relaxed.pm
- copied unchanged from r54505, branches/upstream/libdata-section-perl/current/t/lib/Relaxed.pm
Modified:
trunk/libdata-section-perl/Changes
trunk/libdata-section-perl/MANIFEST
trunk/libdata-section-perl/META.json
trunk/libdata-section-perl/META.yml
trunk/libdata-section-perl/Makefile.PL
trunk/libdata-section-perl/README
trunk/libdata-section-perl/debian/changelog
trunk/libdata-section-perl/dist.ini
trunk/libdata-section-perl/lib/Data/Section.pm
trunk/libdata-section-perl/t/basic.t
trunk/libdata-section-perl/t/lib/Child.pm
trunk/libdata-section-perl/t/lib/Godfather.pm
trunk/libdata-section-perl/t/lib/Grandchild.pm
trunk/libdata-section-perl/t/lib/I/Child.pm
trunk/libdata-section-perl/t/lib/I/Grandchild.pm
trunk/libdata-section-perl/t/lib/I/Parent.pm
trunk/libdata-section-perl/t/lib/NoData.pm
trunk/libdata-section-perl/t/lib/NoName.pm
trunk/libdata-section-perl/t/lib/Parent.pm
Modified: trunk/libdata-section-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/Changes?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/Changes (original)
+++ trunk/libdata-section-perl/Changes Thu Mar 18 21:32:16 2010
@@ -1,4 +1,9 @@
Revision history for Data-Section
+
+0.100770 2010-03-18 08:05:46 America/New_York
+ this release's changes courtesy of Tatsuhiko Miyagawa:
+ __END__ now ends the whole data section; ignore_end may come someday
+ empty data lines between __DATA__ and first section are ignored
0.100270 2010-01-27 22:43:33 America/New_York
switch from Class::ISA to MRO::Compat
Modified: trunk/libdata-section-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/MANIFEST?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/MANIFEST (original)
+++ trunk/libdata-section-perl/MANIFEST Thu Mar 18 21:32:16 2010
@@ -9,13 +9,16 @@
lib/Data/Section.pm
t/basic.t
t/lib/Child.pm
+t/lib/End.pm
t/lib/Godfather.pm
t/lib/Grandchild.pm
+t/lib/Header.pm
t/lib/I/Child.pm
t/lib/I/Grandchild.pm
t/lib/I/Parent.pm
t/lib/NoData.pm
t/lib/NoName.pm
t/lib/Parent.pm
+t/lib/Relaxed.pm
t/release-pod-coverage.t
t/release-pod-syntax.t
Modified: trunk/libdata-section-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/META.json?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/META.json (original)
+++ trunk/libdata-section-perl/META.json Thu Mar 18 21:32:16 2010
@@ -1,24 +1,27 @@
{
"resources" : {
- "repository" : "http://github.com/rjbs/data-section"
+ "repository" : "git://git.codesimply.com/Data-Section.git"
},
- "generated_by" : "Dist::Zilla version 1.100160",
"meta-spec" : {
"version" : 1.4,
"url" : "http://module-build.sourceforge.net/META-spec-v1.4.html"
},
- "version" : "0.100270",
+ "generated_by" : "Dist::Zilla version 1.100730",
+ "version" : "0.100770",
"name" : "Data-Section",
"author" : [
"Ricardo SIGNES <rjbs at cpan.org>"
],
"license" : "perl",
+ "build_requires" : {},
"requires" : {
"Test::More" : "0.88",
- "ExtUtils::MakeMaker" : "6.11",
"Sub::Exporter" : "0.979",
"MRO::Compat" : "0.09"
},
- "abstract" : "read multiple hunks of data out of your DATA section"
+ "abstract" : "read multiple hunks of data out of your DATA section",
+ "configure_requires" : {
+ "ExtUtils::MakeMaker" : "6.11"
+ }
}
Modified: trunk/libdata-section-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/META.yml?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/META.yml (original)
+++ trunk/libdata-section-perl/META.yml Thu Mar 18 21:32:16 2010
@@ -2,17 +2,19 @@
abstract: 'read multiple hunks of data out of your DATA section'
author:
- 'Ricardo SIGNES <rjbs at cpan.org>'
-generated_by: 'Dist::Zilla version 1.100160'
+build_requires: {}
+configure_requires:
+ ExtUtils::MakeMaker: 6.11
+generated_by: 'Dist::Zilla version 1.100730'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Data-Section
requires:
- ExtUtils::MakeMaker: 6.11
MRO::Compat: 0.09
Sub::Exporter: 0.979
Test::More: 0.88
resources:
- repository: http://github.com/rjbs/data-section
-version: 0.100270
+ repository: git://git.codesimply.com/Data-Section.git
+version: 0.100770
Modified: trunk/libdata-section-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/Makefile.PL?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/Makefile.PL (original)
+++ trunk/libdata-section-perl/Makefile.PL Thu Mar 18 21:32:16 2010
@@ -14,17 +14,20 @@
},
'NAME' => 'Data::Section',
'DISTNAME' => 'Data-Section',
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.11'
+ },
'AUTHOR' => 'Ricardo SIGNES <rjbs at cpan.org>',
+ 'BUILD_REQUIRES' => {},
'ABSTRACT' => 'read multiple hunks of data out of your DATA section',
'EXE_FILES' => [],
- 'VERSION' => '0.100270',
- 'LICENSE' => 'perl',
+ 'VERSION' => '0.100770',
'PREREQ_PM' => {
'Test::More' => '0.88',
- 'ExtUtils::MakeMaker' => '6.11',
'Sub::Exporter' => '0.979',
'MRO::Compat' => '0.09'
- }
+ },
+ 'LICENSE' => 'perl'
);
Modified: trunk/libdata-section-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/README?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/README (original)
+++ trunk/libdata-section-perl/README Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
This archive contains the distribution Data-Section, version
-0.100270:
+0.100770:
read multiple hunks of data out of your DATA section
Modified: trunk/libdata-section-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/debian/changelog?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/debian/changelog (original)
+++ trunk/libdata-section-perl/debian/changelog Thu Mar 18 21:32:16 2010
@@ -1,3 +1,9 @@
+libdata-section-perl (0.100770-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org> Thu, 18 Mar 2010 18:00:42 -0400
+
libdata-section-perl (0.100270-1) unstable; urgency=low
[ Jonathan Yu ]
Modified: trunk/libdata-section-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/dist.ini?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/dist.ini (original)
+++ trunk/libdata-section-perl/dist.ini Thu Mar 18 21:32:16 2010
@@ -8,5 +8,7 @@
MRO::Compat = 0.09 ; bugfixes
Test::More = 0.88 ; done_testing
-[@RJBS]
+[@Filter]
+bundle = @RJBS
+remove = AutoPrereq
Modified: trunk/libdata-section-perl/lib/Data/Section.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/lib/Data/Section.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/lib/Data/Section.pm (original)
+++ trunk/libdata-section-perl/lib/Data/Section.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package Data::Section;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
# ABSTRACT: read multiple hunks of data out of your DATA section
use MRO::Compat 0.09;
@@ -44,6 +44,9 @@
next LINE;
}
+ last LINE if $line =~ /^__END__/;
+ next LINE if !defined $current and $line =~ /^\s*$/;
+
Carp::confess("bogus data section: text outside of named section")
unless defined $current;
@@ -124,7 +127,7 @@
=head1 VERSION
-version 0.100270
+version 0.100770
=head1 SYNOPSIS
@@ -208,6 +211,9 @@
You can use as many underscores as you want, and the space around the name is
optional. This pattern can be configured with the C<header_re> option (see
above).
+
+When a line containing only C<__END__> is reached, all processing of sections
+ends.
=head2 section_data_names
Modified: trunk/libdata-section-perl/t/basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/basic.t?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/basic.t (original)
+++ trunk/libdata-section-perl/t/basic.t Thu Mar 18 21:32:16 2010
@@ -13,6 +13,9 @@
use NoData;
use NoName;
+use Relaxed;
+use Header;
+use End;
my @want = (
Parent => { a => \"1\n", b => \"2\n", c => \"3\n" },
@@ -138,4 +141,22 @@
"default name in NoName",
);
+is_deeply(
+ Relaxed->local_section_data,
+ { a => \"1\n", b => \"2\n" },
+ "allows empty lines before the first section.",
+);
+
+is_deeply(
+ Header->local_section_data,
+ { a => \"1\n", b => \"2\n" },
+ "test header_re",
+);
+
+is_deeply(
+ End->local_section_data,
+ { a => \"1\n", b => \"2\n" },
+ "ignore __END__",
+);
+
done_testing;
Modified: trunk/libdata-section-perl/t/lib/Child.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/Child.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/Child.pm (original)
+++ trunk/libdata-section-perl/t/lib/Child.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package Child;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use Godfather;
use base qw(Parent Godfather);
1;
Modified: trunk/libdata-section-perl/t/lib/Godfather.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/Godfather.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/Godfather.pm (original)
+++ trunk/libdata-section-perl/t/lib/Godfather.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package Godfather;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
1;
__DATA__
__[a]__
Modified: trunk/libdata-section-perl/t/lib/Grandchild.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/Grandchild.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/Grandchild.pm (original)
+++ trunk/libdata-section-perl/t/lib/Grandchild.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package Grandchild;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use base 'Child';
1;
Modified: trunk/libdata-section-perl/t/lib/I/Child.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/I/Child.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/I/Child.pm (original)
+++ trunk/libdata-section-perl/t/lib/I/Child.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package I::Child;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use Godfather;
use base qw(I::Parent Godfather);
1;
Modified: trunk/libdata-section-perl/t/lib/I/Grandchild.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/I/Grandchild.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/I/Grandchild.pm (original)
+++ trunk/libdata-section-perl/t/lib/I/Grandchild.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package I::Grandchild;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use base 'I::Child';
1;
Modified: trunk/libdata-section-perl/t/lib/I/Parent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/I/Parent.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/I/Parent.pm (original)
+++ trunk/libdata-section-perl/t/lib/I/Parent.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package I::Parent;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use Data::Section -setup;
1;
Modified: trunk/libdata-section-perl/t/lib/NoData.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/NoData.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/NoData.pm (original)
+++ trunk/libdata-section-perl/t/lib/NoData.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package NoData;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use Data::Section -setup;
1;
Modified: trunk/libdata-section-perl/t/lib/NoName.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/NoName.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/NoName.pm (original)
+++ trunk/libdata-section-perl/t/lib/NoName.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package NoName;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use Data::Section -setup => { default_name => 'a' };
1;
Modified: trunk/libdata-section-perl/t/lib/Parent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-section-perl/t/lib/Parent.pm?rev=54506&op=diff
==============================================================================
--- trunk/libdata-section-perl/t/lib/Parent.pm (original)
+++ trunk/libdata-section-perl/t/lib/Parent.pm Thu Mar 18 21:32:16 2010
@@ -1,7 +1,7 @@
use strict;
use warnings;
package Parent;
-our $VERSION = '0.100270';
+our $VERSION = '0.100770';
use Data::Section -setup => { inherit => 0 };
1;
More information about the Pkg-perl-cvs-commits
mailing list