r25316 - in /trunk/libparse-plainconfig-perl: ./ debian/ lib/ t/
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Sep 18 14:14:33 UTC 2008
Author: dmn
Date: Thu Sep 18 14:14:26 2008
New Revision: 25316
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25316
Log:
New upstream release
Added:
trunk/libparse-plainconfig-perl/META.yml
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/META.yml
trunk/libparse-plainconfig-perl/lib/
- copied from r25315, branches/upstream/libparse-plainconfig-perl/current/lib/
trunk/libparse-plainconfig-perl/t/02_property.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/02_property.t
trunk/libparse-plainconfig-perl/t/03_read.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/03_read.t
trunk/libparse-plainconfig-perl/t/04_parameters.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/04_parameters.t
trunk/libparse-plainconfig-perl/t/05_purge.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/05_purge.t
trunk/libparse-plainconfig-perl/t/06_scalar.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/06_scalar.t
trunk/libparse-plainconfig-perl/t/07_list.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/07_list.t
trunk/libparse-plainconfig-perl/t/08_hash.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/08_hash.t
trunk/libparse-plainconfig-perl/t/09_coerce.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/09_coerce.t
trunk/libparse-plainconfig-perl/t/10_write.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/10_write.t
trunk/libparse-plainconfig-perl/t/11_order.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/11_order.t
trunk/libparse-plainconfig-perl/t/12_purge.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/12_purge.t
trunk/libparse-plainconfig-perl/t/13_readIfNewer.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/13_readIfNewer.t
trunk/libparse-plainconfig-perl/t/14_compat.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/14_compat.t
trunk/libparse-plainconfig-perl/t/15_defaults.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/15_defaults.t
trunk/libparse-plainconfig-perl/t/16_hasParameter.t
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/16_hasParameter.t
trunk/libparse-plainconfig-perl/t/testrc_smart
- copied unchanged from r25315, branches/upstream/libparse-plainconfig-perl/current/t/testrc_smart
Removed:
trunk/libparse-plainconfig-perl/PlainConfig.pm
trunk/libparse-plainconfig-perl/t/02_scalar.t
trunk/libparse-plainconfig-perl/t/03_list.t
trunk/libparse-plainconfig-perl/t/04_hash.t
trunk/libparse-plainconfig-perl/t/05_write.t
trunk/libparse-plainconfig-perl/t/06_error.t
trunk/libparse-plainconfig-perl/t/07_purge.t
trunk/libparse-plainconfig-perl/t/08_directives.t
trunk/libparse-plainconfig-perl/t/09_force_scalar.t
trunk/libparse-plainconfig-perl/t/testrc2
trunk/libparse-plainconfig-perl/t/testrc2.2
Modified:
trunk/libparse-plainconfig-perl/CHANGELOG
trunk/libparse-plainconfig-perl/MANIFEST
trunk/libparse-plainconfig-perl/Makefile.PL
trunk/libparse-plainconfig-perl/README
trunk/libparse-plainconfig-perl/debian/changelog
trunk/libparse-plainconfig-perl/t/01_ini.t
trunk/libparse-plainconfig-perl/t/testrc
Modified: trunk/libparse-plainconfig-perl/CHANGELOG
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/CHANGELOG?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/CHANGELOG (original)
+++ trunk/libparse-plainconfig-perl/CHANGELOG Thu Sep 18 14:14:26 2008
@@ -1,58 +1,28 @@
+v2.06 (2008/07/07)
+------------------
+--write method was always reporting true when it's possible that it could
+ fail for various reasons. Fixed to reflect actual result
+--write method now detaints filename before calling open
-RCS file: RCS/PlainConfig.pm,v
-Working file: PlainConfig.pm
-head: 1.7
-branch:
-locks: strict
- corliss: 1.7
-access list:
-symbolic names:
-keyword substitution: kv
-total revisions: 7; selected revisions: 7
-description:
-Plain RC conf file parser/generator
-----------------------------
-revision 1.7 locked by: corliss;
-date: 2002/10/08 19:04:59; author: corliss; state: Exp; lines: +5 -3
---Warnings cleanup
-----------------------------
-revision 1.6
-date: 2002/10/04 21:27:44; author: corliss; state: Exp; lines: +50 -13
---Fixed bug in test (root can still read/delete files with no r bit set)
---Comments are now preserved when loading conf files
---Describe method added to allow new comments for directives
-----------------------------
-revision 1.5
-date: 2002/04/29 16:39:37; author: corliss; state: Exp; lines: +3 -3
---Upped the rev to account for my bone-headed packaging. . .
-----------------------------
-revision 1.4
-date: 2002/04/25 08:01:12; author: corliss; state: Exp; lines: +16 -9
---Added FORCE_SCALAR option
-----------------------------
-revision 1.3
-date: 2002/04/23 19:47:51; author: corliss; state: Exp; lines: +481 -415
---Expanded and improved the documentation
---Added purge modes and manual purge method
---Added directives method to retrieve all the keys from the conf hash
---Fixed bug in which certain error codes weren't properly returned
- to the caller
---Fixed bug in which spurious warnings were generated when parsing a
- file with the wrong delimiter.
-----------------------------
-revision 1.2
-date: 2002/01/31 11:00:05; author: corliss; state: Exp; lines: +246 -12
---Added capability to specify delimiter to use
---Added write capability for generating conf files
---Added key order retrieval/set capabilities
---Expanded documentation of existing topics
---Added security section
---Constructor now allows the file and/or delimiter to be set and loaded
- automatically
---Added error method to retrieve error text messages
---Now stripping trailing and leading whitespace for both keys and values
-----------------------------
-revision 1.1
-date: 2002/01/18 07:08:28; author: corliss; state: Exp;
-Initial revision
-=============================================================================
+v2.05 (2008/04/29)
+------------------
+--Updated debug messages since Paranoid now adds calling function
+
+v2.02 (2006/07/25)
+------------------
+--Fixed AUTOPURGE (didn't work since it was looking for old key PURGE)
+--Added new method readIfNewer
+
+v2.01 (2006/07/21)
+------------------
+--Forgot to implement documented MAX_BYTES. Fixed.
+--Wasn't saving all errors to Parse::PlainConfig::ERROR as documented. Fixed.
+
+v2.0 (2006/05/26)
+-----------------
+--Complete rewrite
+--Built against Paraniod::* modules
+--Internal diagnostics provided via Paraniod::Debug
+--Smart parser mode added
+--Forced coercion now available for all datatypes (strings, lists, hashes)
+--Lists and hash delimiters can now be user-defined
Modified: trunk/libparse-plainconfig-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/MANIFEST?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/MANIFEST (original)
+++ trunk/libparse-plainconfig-perl/MANIFEST Thu Sep 18 14:14:26 2008
@@ -1,6 +1,26 @@
Makefile.PL
-PlainConfig.pm
+lib/Parse/PlainConfig.pm
CHANGELOG
CREDITS
README
LICENSE
+MANIFEST
+t/01_ini.t
+t/02_property.t
+t/03_read.t
+t/04_parameters.t
+t/05_purge.t
+t/06_scalar.t
+t/07_list.t
+t/08_hash.t
+t/09_coerce.t
+t/10_write.t
+t/11_order.t
+t/12_purge.t
+t/13_readIfNewer.t
+t/14_compat.t
+t/15_defaults.t
+t/16_hasParameter.t
+t/testrc
+t/testrc_smart
+META.yml Module meta-data (added by MakeMaker)
Modified: trunk/libparse-plainconfig-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/Makefile.PL?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/Makefile.PL (original)
+++ trunk/libparse-plainconfig-perl/Makefile.PL Thu Sep 18 14:14:26 2008
@@ -1,9 +1,15 @@
use ExtUtils::MakeMaker;
WriteMakefile(
- 'NAME' => 'Parse::PlainConfig',
- 'AUTHOR' => 'Arthur Corliss <corliss at digitalmages.com>',
- 'ABSTRACT' => 'Parser/Generator of human-readable conf files',
- 'VERSION' => '1.7',
+ NAME => 'Parse::PlainConfig',
+ AUTHOR => 'Arthur Corliss <corliss at digitalmages.com>',
+ ABSTRACT => 'Parser/Generator of human-readable conf files',
+ VERSION_FROM => 'lib/Parse/PlainConfig.pm',
+ PREREQ_PM => {
+ Paranoid => undef,
+ Text::ParseWords => undef,
+ Text::Tabs => undef,
+ },
);
+exit 0;
Modified: trunk/libparse-plainconfig-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/README?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/README (original)
+++ trunk/libparse-plainconfig-perl/README Thu Sep 18 14:14:26 2008
@@ -2,14 +2,13 @@
==================
Author: Arthur Corliss
-Date: Jan. 17, 2002
+Date: May 26, 2006
Description:
------------
-This is a public release of a module that I've used and maintained internally
-for quite some time. Because of that, I consider it a stable and mature
-module, ready for production use.
+This is a long overdue complete rewrite. It has a lot of feature improvements
+along with much cleaner and robust coding.
Instructions:
-------------
Modified: trunk/libparse-plainconfig-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/debian/changelog?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/debian/changelog (original)
+++ trunk/libparse-plainconfig-perl/debian/changelog Thu Sep 18 14:14:26 2008
@@ -1,4 +1,4 @@
-libparse-plainconfig-perl (1.7a+pristine-2) UNRELEASED; urgency=low
+libparse-plainconfig-perl (2.06-1) UNRELEASED; urgency=low
[ gregor herrmann ]
* debian/control: Changed: Maintainer set to Debian Perl Group <pkg-
@@ -9,7 +9,10 @@
* Fixed watch file since the distribution name has changed to Parse-
PlainConfig (note dash).
- -- Ernesto Hernández-Novich (USB) <emhn at usb.ve> Sat, 13 Sep 2008 12:12:23 -0430
+ [ Damyan Ivanov ]
+ * New upstream release
+
+ -- Damyan Ivanov <dmn at debian.org> Thu, 18 Sep 2008 17:01:02 +0300
libparse-plainconfig-perl (1.7a+pristine-1) unstable; urgency=low
Modified: trunk/libparse-plainconfig-perl/t/01_ini.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/t/01_ini.t?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/t/01_ini.t (original)
+++ trunk/libparse-plainconfig-perl/t/01_ini.t Thu Sep 18 14:14:26 2008
@@ -2,21 +2,23 @@
#
# Tests for proper loading of the module
+use Parse::PlainConfig;
+
$|++;
print "1..2\n";
+
my $test = 1;
-my $rcfile = './t/testrc';
# 1 load
-use Parse::PlainConfig;
-my $new = new Parse::PlainConfig;
-ref $new ? print "ok $test\n" : print "not ok $test\n";
+my $conf = new Parse::PlainConfig;
+ref($conf) eq "Parse::PlainConfig" ? print "ok $test\n" :
+ print "not ok $test\n";
$test++;
# 2 alternate load
-$new = undef;
-$new = Parse::PlainConfig->new('DELIM' => '=', 'FILE' => $rcfile);
-(ref $new && ! $new->error) ? print "ok $test\n" : print "not ok $test\n";
+$conf = Parse::PlainConfig->new('PARAM_DELIM' => '=', PADDING => 1);
+ref($conf) eq "Parse::PlainConfig" ? print "ok $test\n" :
+ print "not ok $test\n";
$test++;
# end 01_ini.t
Modified: trunk/libparse-plainconfig-perl/t/testrc
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparse-plainconfig-perl/t/testrc?rev=25316&op=diff
==============================================================================
--- trunk/libparse-plainconfig-perl/t/testrc (original)
+++ trunk/libparse-plainconfig-perl/t/testrc Thu Sep 18 14:14:26 2008
@@ -1,11 +1,29 @@
# Scalar tests
SCALAR 1: value1
SCALAR 2: "these, are, all one => value"
-
+SCALAR 3: this is a \
+ continued line.
+SCALAR 4: ASDFKAS234123098ASDFA9082341\
+ ASDFIO23489078907SFASDF8A972
+SCALAR 5: this is a really long text that should definitely cause the output \
+ generator to wrap lines -- hopefully breaking along whitespace. \
+ I should also generation a really freaking long line just to see \
+ it break on non-whitespace as well. Well, how about this: \
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\
+ BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB\
+ CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\
+ DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
# List tests
LIST 1: value1, value2, value3
LIST 2: value1, "two, parts", value3, "\"two => parts\""
+LIST 3: value1, "two, parts", "two => parts"
# Hash tests
-HASH 1: one => 1, two => 2, three => "Three for Me! 3 => 2", \
+HASH 1: one => 1, two => 2, three => "Three for Me! 3 => 2", \
four => 4
+
+# Disconnected comment
+#
+
+# Empty
+EMPTY:
More information about the Pkg-perl-cvs-commits
mailing list