r41103 - in /branches/upstream/libtest-checkchanges-perl/current: Changes MANIFEST META.yml README SIGNATURE examples/versionN/ examples/versionN/Changes examples/versionN/Makefile lib/Test/CheckChanges.pm t/parse_versionN.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Aug 2 23:05:48 UTC 2009


Author: jawnsy-guest
Date: Sun Aug  2 23:05:41 2009
New Revision: 41103

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41103
Log:
[svn-upgrade] Integrating new upstream version, libtest-checkchanges-perl (0.08)

Added:
    branches/upstream/libtest-checkchanges-perl/current/examples/versionN/
    branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Changes
    branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Makefile
    branches/upstream/libtest-checkchanges-perl/current/t/parse_versionN.t
Modified:
    branches/upstream/libtest-checkchanges-perl/current/Changes
    branches/upstream/libtest-checkchanges-perl/current/MANIFEST
    branches/upstream/libtest-checkchanges-perl/current/META.yml
    branches/upstream/libtest-checkchanges-perl/current/README
    branches/upstream/libtest-checkchanges-perl/current/SIGNATURE
    branches/upstream/libtest-checkchanges-perl/current/lib/Test/CheckChanges.pm

Modified: branches/upstream/libtest-checkchanges-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/Changes?rev=41103&op=diff
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/Changes (original)
+++ branches/upstream/libtest-checkchanges-perl/current/Changes Sun Aug  2 23:05:41 2009
@@ -1,4 +1,9 @@
 Revision history for Perl extension Test::CheckChanges
+
+0.08 Sun, 02 Aug 2009 09:13:11 -0400
+	- Added "Version N" format
+	- Added Test for "Version N" format
+	- Added Documentation for "Version N" format
 
 0.07 Sat, 13 Jun 2009 23:43:29 -0400
         - Test not fails if multiple Changes files are found.

Modified: branches/upstream/libtest-checkchanges-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/MANIFEST?rev=41103&op=diff
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/MANIFEST (original)
+++ branches/upstream/libtest-checkchanges-perl/current/MANIFEST Sun Aug  2 23:05:41 2009
@@ -6,6 +6,8 @@
 examples/common/Makefile
 examples/yaml/Changes
 examples/yaml/Makefile
+examples/versionN/Makefile
+examples/versionN/Changes
 lib/Test/CheckChanges.pm
 Makefile.PL
 MANIFEST			This list of files
@@ -40,6 +42,7 @@
 t/parse_apocal.t
 t/parse_common.t
 t/parse_yaml.t
+t/parse_versionN.t
 t/pod.t
 t/pod_coverage.t
 t/test1a.t

Modified: branches/upstream/libtest-checkchanges-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/META.yml?rev=41103&op=diff
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/META.yml (original)
+++ branches/upstream/libtest-checkchanges-perl/current/META.yml Sun Aug  2 23:05:41 2009
@@ -1,6 +1,6 @@
 ---
 name: Test-CheckChanges
-version: 0.07
+version: 0.08
 author:
   - '"G. Allen Morris III" <gam3 at gam3.net>'
 abstract: Check that the Changes file matches the distribution.
@@ -18,7 +18,7 @@
 provides:
   Test::CheckChanges:
     file: lib/Test/CheckChanges.pm
-    version: 0.07
+    version: 0.08
 generated_by: Module::Build version 0.280801
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.2.html

Modified: branches/upstream/libtest-checkchanges-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/README?rev=41103&op=diff
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/README (original)
+++ branches/upstream/libtest-checkchanges-perl/current/README Sun Aug  2 23:05:41 2009
@@ -3,7 +3,7 @@
     distribution.
 
 VERSION
-    Version 0.07
+    Version 0.08
 
 SYNOPSIS
      use Test::CheckChanges;
@@ -45,7 +45,7 @@
         The ok_changes method takes no arguments and returns no value.
 
 CHANGES FILE FORMAT
-    Currently this package parses 3 different types of "Changes" files. The
+    Currently this package parses 4 different types of "Changes" files. The
     first is the common, free style, "Changes" file where the version is
     first item on an unindented line:
 
@@ -63,6 +63,13 @@
      * 1.00
 
      Is this a bug or a feature
+
+    The fourth type of file parsed starts the line with the word Version
+    followed by the version number.
+
+     Version 6.00  17.02.2008
+      + Oops. Fixed version number. '5.10' is less than '5.9'. I thought
+        CPAN would handle this but apparently not..
 
     There are examples of these Changes file in the *examples* directory.
 

Modified: branches/upstream/libtest-checkchanges-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/SIGNATURE?rev=41103&op=diff
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/SIGNATURE (original)
+++ branches/upstream/libtest-checkchanges-perl/current/SIGNATURE Sun Aug  2 23:05:41 2009
@@ -15,18 +15,20 @@
 Hash: SHA1
 
 SHA1 badac0e40137c1d34beb5fabea9c6a3e1f9675eb Build.PL
-SHA1 856a95aaddf95851522c278a441e1eb5c67275a7 Changes
-SHA1 c2fedbb6680aaf68996531e403db051d15d88d48 MANIFEST
-SHA1 57372d26a259f548481912cd35094ffeca66cebd META.yml
+SHA1 2f93cb9deaaaeed03fa7cd02e79f8e94ed655174 Changes
+SHA1 08fcb6462c77296570bea9a62e282bc6881ce316 MANIFEST
+SHA1 ec276c109ca47b4746f8d412a1ec11b5a5b90bfe META.yml
 SHA1 a1d137169191d00d4bdd204211d4a9c84647f21e Makefile.PL
-SHA1 0dd1032049ed906f1b66e2bca5a05767aa7c9ca1 README
+SHA1 2d8e1d8c794dd1ad5aeff967779446a9616cae47 README
 SHA1 27f9fc192c38a30171338e66520e43326ea85cb5 examples/apocal/Changes
 SHA1 d099144eb6e8b85b4331e676d3a972b627e4d16b examples/apocal/Makefile
 SHA1 6a677ea6f79a4604e073a4582989f81d997f202d examples/common/Changes
 SHA1 5c084c50fe44844576993233cda1c749fd7a389f examples/common/Makefile
+SHA1 cf9f1185e01f970797669d1dc52f11590063bd7a examples/versionN/Changes
+SHA1 5df9d5e6d83b274305c2109a287ac113f87c3e56 examples/versionN/Makefile
 SHA1 5eede8ff157d5f64920965838cb23090aefd8341 examples/yaml/Changes
 SHA1 9c4243cc82bea6335c6a6cba6de89647ae9c5c36 examples/yaml/Makefile
-SHA1 ca06436f394be9e59fc22d3df92879d45e5b0f8a lib/Test/CheckChanges.pm
+SHA1 0a19d87b88caa605354a864aed55b96b8b464f45 lib/Test/CheckChanges.pm
 SHA1 0c791db5cdce98d392b9f7446f370468b4169af1 t/bad/missing2/README
 SHA1 552de64c0259d5b506cd1c73425e30b442b202b3 t/bad/mixxed/Changes
 SHA1 cc2f87f5e32b9b1ca7fe27e064e1364d15a54139 t/bad/mixxed/Makefile
@@ -55,6 +57,7 @@
 SHA1 2f7de5c0790d640362d7dc070213b5bdba9bc94f t/multi.t
 SHA1 e3e2dfa2ee2cd40f9f0ba23dd175c649effc68c7 t/parse_apocal.t
 SHA1 a31358d01470c99efcc9a70f88dc134182610795 t/parse_common.t
+SHA1 2468db6554123c5d86c89cf0a1bdfa9156654fe3 t/parse_versionN.t
 SHA1 e188b8247008aa5125f4cc6d36788635426e4c5a t/parse_yaml.t
 SHA1 9d38eb83b6fa38c6d35dc1892b5a03f108e0719f t/pod.t
 SHA1 2adc8acd2956b87972abc56ff01f46541e86165b t/pod_coverage.t
@@ -73,8 +76,8 @@
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
-iGcEARECACcFAko1r5ggGmh0dHA6Ly93d3cuZ2FtMy5uZXQvcG9saWN5Lmh0bWwA
-CgkQliSr/X1H0Fzq/wCgoUx2DLVLhE6luV5uikP5x58iJqcAniq7+Eof8IlklYpv
-UjCjcTZ+NTRZ
-=KYcX
+iGcEARECACcFAkp1t2EgGmh0dHA6Ly93d3cuZ2FtMy5uZXQvcG9saWN5Lmh0bWwA
+CgkQliSr/X1H0FzbLQCfXeJ8blbqOe2C0LEdy9KW+FWsj+0AoPhxBD03B6RLbPln
+WNFj9rs5OV8M
+=dLIE
 -----END PGP SIGNATURE-----

Added: branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Changes?rev=41103&op=file
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Changes (added)
+++ branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Changes Sun Aug  2 23:05:41 2009
@@ -1,0 +1,8 @@
+Revision history for Perl extension Data::Miscellany.
+
+Version 6.00 17.02.2008
+        Version 6.00 17.02.2008
+
+Version 7.0, June 2009
+	Version 6, June 2009
+

Added: branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Makefile
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Makefile?rev=41103&op=file
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Makefile (added)
+++ branches/upstream/libtest-checkchanges-perl/current/examples/versionN/Makefile Sun Aug  2 23:05:41 2009
@@ -1,0 +1,2 @@
+# This Makefile is for the Data::Miscellany extension to perl.
+VERSION = 7.0

Modified: branches/upstream/libtest-checkchanges-perl/current/lib/Test/CheckChanges.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/lib/Test/CheckChanges.pm?rev=41103&op=diff
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/lib/Test/CheckChanges.pm (original)
+++ branches/upstream/libtest-checkchanges-perl/current/lib/Test/CheckChanges.pm Sun Aug  2 23:05:41 2009
@@ -17,11 +17,11 @@
 
 =head1 VERSION
 
-Version 0.07
-
-=cut
-
-our $VERSION = 0.07;
+Version 0.08
+
+=cut
+
+our $VERSION = 0.08;
 
 =head1 SYNOPSIS
 
@@ -205,6 +205,16 @@
                 } else {
                     push(@not_found, "$1");
                 }
+            } elsif (/^Version ([\d.]+)($|[:,[:space:]])/) {
+# Plain "Version N"
+                $mixed++ if $type and $type != 3;
+                $type = 4;
+                if ($version eq $1) {
+                    $found = $_;
+                    last;
+                } else {
+                    push(@not_found, "$1");
+                }
             }
         }
         close(IN) or die "Could not close ($change_file) file";
@@ -234,7 +244,7 @@
 
 =head1 CHANGES FILE FORMAT
 
-Currently this package parses 3 different types of C<Changes> files.
+Currently this package parses 4 different types of C<Changes> files.
 The first is the common, free style, C<Changes> file where the version
 is first item on an unindented line:
 
@@ -251,6 +261,13 @@
 
  Is this a bug or a feature
 
+The fourth type of file parsed starts the line with the word Version
+followed by the version number.
+
+ Version 6.00  17.02.2008
+  + Oops. Fixed version number. '5.10' is less than '5.9'. I thought
+    CPAN would handle this but apparently not..
+
 There are examples of these Changes file in the I<examples> directory.
 
 Create an RT if you need a different format file supported.  If it is not horrid, I will add it.

Added: branches/upstream/libtest-checkchanges-perl/current/t/parse_versionN.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-checkchanges-perl/current/t/parse_versionN.t?rev=41103&op=file
==============================================================================
--- branches/upstream/libtest-checkchanges-perl/current/t/parse_versionN.t (added)
+++ branches/upstream/libtest-checkchanges-perl/current/t/parse_versionN.t Sun Aug  2 23:05:41 2009
@@ -1,0 +1,9 @@
+
+use strict;
+
+use Test::CheckChanges;
+
+ok_changes(
+    base => 'examples/versionN'
+);
+




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