[Bps-public-commit] Parse-ACNS branch, master, updated. 1.00

Alex Vandiver alexmv at bestpractical.com
Wed Dec 17 16:59:20 EST 2014


The branch, master has been updated
       via  6031fafe6689833ea5877cd806e70d441449d65e (commit)
       via  a16ecc99465526d80010e1ca44fb0e041e02a949 (commit)
       via  6137f2ddecf14f378b20848a3d50eb55e866549d (commit)
      from  65af26be8a162f3f266645ae46cfc3f3d485899d (commit)

Summary of changes:
 Changes                             | 19 +++++++++----------
 META.yml                            |  5 +++--
 Makefile.PL                         |  3 +++
 inc/Module/Install.pm               | 18 +++++++++---------
 inc/Module/Install/Base.pm          |  2 +-
 inc/Module/Install/Can.pm           |  2 +-
 inc/Module/Install/Fetch.pm         |  2 +-
 inc/Module/Install/Makefile.pm      |  4 ++--
 inc/Module/Install/Metadata.pm      |  6 +++---
 inc/Module/Install/ReadmeFromPod.pm |  2 +-
 inc/Module/Install/Share.pm         |  2 +-
 inc/Module/Install/Win32.pm         |  2 +-
 inc/Module/Install/WriteAll.pm      |  2 +-
 lib/Parse/ACNS.pm                   |  4 ++--
 t/data/0.6/full.yaml                |  1 -
 t/data/0.7/full.yaml                |  1 -
 16 files changed, 38 insertions(+), 37 deletions(-)

- Log -----------------------------------------------------------------
commit 6137f2ddecf14f378b20848a3d50eb55e866549d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Dec 17 16:52:07 2014 -0500

    Remove headers before the YAML data to make tests pass
    
    It is unclear how these tests ever passed, as the loaded YAML was effectively empty.

diff --git a/t/data/0.6/full.yaml b/t/data/0.6/full.yaml
index 7639a59..e010cd2 100644
--- a/t/data/0.6/full.yaml
+++ b/t/data/0.6/full.yaml
@@ -1,4 +1,3 @@
-root: Infringement
 ---
 Case:
   ID: A1234567
diff --git a/t/data/0.7/full.yaml b/t/data/0.7/full.yaml
index d23b289..8909661 100644
--- a/t/data/0.7/full.yaml
+++ b/t/data/0.7/full.yaml
@@ -1,4 +1,3 @@
-root: Infringement
 ---
 Case:
   ID: A1234567

commit a16ecc99465526d80010e1ca44fb0e041e02a949
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Dec 17 16:54:28 2014 -0500

    Prevent undef warnings by using the known-defined $uri

diff --git a/lib/Parse/ACNS.pm b/lib/Parse/ACNS.pm
index c9a14db..50db5ce 100644
--- a/lib/Parse/ACNS.pm
+++ b/lib/Parse/ACNS.pm
@@ -187,7 +187,7 @@ sub parse {
         my $root = $xml->documentElement;
         my $uri = $root->namespaceURI || '';
         if ( !$uri || ($uri eq 'http://www.movielabs.com/ACNS' && !$root->can('setNamespaceDeclURI')) ) {
-            my $list = $root->getElementsByTagNameNS($root->namespaceURI, '*');
+            my $list = $root->getElementsByTagNameNS($uri, '*');
             $list->unshift($root);
             $list->foreach(sub {
                 $_->setNamespace('http://www.acns.net/ACNS', $root->prefix, 1);

commit 6031fafe6689833ea5877cd806e70d441449d65e
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Dec 17 16:56:31 2014 -0500

    Version 1.00 releng

diff --git a/Changes b/Changes
index 92a9851..940b05f 100644
--- a/Changes
+++ b/Changes
@@ -1,20 +1,19 @@
-0.05 2013-05-17
+1.00 2014-12-17
+ - Warnings avoidance
+ - Test fixes
 
-    * relax namespace check a bit
+0.05 2013-05-17
+ - relax namespace check a bit
 
 0.04 2013-02-24
-
-    * support for ACNS 2.0, schema versions 1.0, 1.1 and 1.2.
+ - support for ACNS 2.0, schema versions 1.0, 1.1 and 1.2.
 
 0.03 2011-02-04
-
-    * no changes, just fix for git tags
+ - no changes, just fix for git tags
 
 0.02 2011-02-04
-
-    * cleanup dependencies, thanks to cpan testers
+ - cleanup dependencies, thanks to cpan testers
 
 0.01 2011-01-26
-    
-    * initial release
+ - initial release
 
diff --git a/META.yml b/META.yml
index 8753bdd..8c9b17a 100644
--- a/META.yml
+++ b/META.yml
@@ -11,7 +11,7 @@ configure_requires:
   ExtUtils::MakeMaker: 6.59
 distribution_type: module
 dynamic_config: 1
-generated_by: 'Module::Install version 1.06'
+generated_by: 'Module::Install version 1.12'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -32,4 +32,5 @@ requires:
   perl: 5.8.0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.05
+  repository: https://github.com/bestpractical/parse-acns
+version: '1.00'
diff --git a/Makefile.PL b/Makefile.PL
index 201f3e9..71572ef 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,6 +2,8 @@ use inc::Module::Install;
 all_from 'lib/Parse/ACNS.pm';
 readme_from 'lib/Parse/ACNS.pm';
 
+repository 'https://github.com/bestpractical/parse-acns';
+
 install_share;
 
 requires 'XML::Compile::Schema';
@@ -16,4 +18,5 @@ test_requires 'YAML::Any';
 test_requires 'Test::More';
 test_requires 'File::Spec';
 
+sign;
 WriteAll;
diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm
index 4ecf46b..5460dd5 100644
--- a/inc/Module/Install.pm
+++ b/inc/Module/Install.pm
@@ -17,7 +17,7 @@ package Module::Install;
 #     3. The ./inc/ version of Module::Install loads
 # }
 
-use 5.005;
+use 5.006;
 use strict 'vars';
 use Cwd        ();
 use File::Find ();
@@ -31,7 +31,7 @@ BEGIN {
 	# This is not enforced yet, but will be some time in the next few
 	# releases once we can make sure it won't clash with custom
 	# Module::Install extensions.
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 
 	# Storage for the pseudo-singleton
 	$MAIN    = undef;
@@ -156,10 +156,10 @@ END_DIE
 sub autoload {
 	my $self = shift;
 	my $who  = $self->_caller;
-	my $cwd  = Cwd::cwd();
+	my $cwd  = Cwd::getcwd();
 	my $sym  = "${who}::AUTOLOAD";
 	$sym->{$cwd} = sub {
-		my $pwd = Cwd::cwd();
+		my $pwd = Cwd::getcwd();
 		if ( my $code = $sym->{$pwd} ) {
 			# Delegate back to parent dirs
 			goto &$code unless $cwd eq $pwd;
@@ -239,7 +239,7 @@ sub new {
 
 	# ignore the prefix on extension modules built from top level.
 	my $base_path = Cwd::abs_path($FindBin::Bin);
-	unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) {
+	unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) {
 		delete $args{prefix};
 	}
 	return $args{_self} if $args{_self};
@@ -338,7 +338,7 @@ sub find_extensions {
 		if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
 			my $content = Module::Install::_read($subpath . '.pm');
 			my $in_pod  = 0;
-			foreach ( split //, $content ) {
+			foreach ( split /\n/, $content ) {
 				$in_pod = 1 if /^=\w/;
 				$in_pod = 0 if /^=cut/;
 				next if ($in_pod || /^=cut/);  # skip pod text
@@ -434,7 +434,7 @@ END_OLD
 
 # _version is for processing module versions (eg, 1.03_05) not
 # Perl versions (eg, 5.8.1).
-sub _version ($) {
+sub _version {
 	my $s = shift || 0;
 	my $d =()= $s =~ /(\.)/g;
 	if ( $d >= 2 ) {
@@ -450,12 +450,12 @@ sub _version ($) {
 	return $l + 0;
 }
 
-sub _cmp ($$) {
+sub _cmp {
 	_version($_[1]) <=> _version($_[2]);
 }
 
 # Cloned from Params::Util::_CLASS
-sub _CLASS ($) {
+sub _CLASS {
 	(
 		defined $_[0]
 		and
diff --git a/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm
index 802844a..f9bf5de 100644
--- a/inc/Module/Install/Base.pm
+++ b/inc/Module/Install/Base.pm
@@ -4,7 +4,7 @@ package Module::Install::Base;
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 }
 
 # Suspend handler for "redefined" warnings
diff --git a/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm
index 22167b8..b4e5e3b 100644
--- a/inc/Module/Install/Can.pm
+++ b/inc/Module/Install/Can.pm
@@ -8,7 +8,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm
index bee0c4f..54f14fb 100644
--- a/inc/Module/Install/Fetch.pm
+++ b/inc/Module/Install/Fetch.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
index 7052f36..81cddd5 100644
--- a/inc/Module/Install/Makefile.pm
+++ b/inc/Module/Install/Makefile.pm
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -133,7 +133,7 @@ sub makemaker_args {
 	return $args;
 }
 
-# For mm args that take multiple space-seperated args,
+# For mm args that take multiple space-separated args,
 # append an argument to the current list.
 sub makemaker_append {
 	my $self = shift;
diff --git a/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm
index 58430f3..2c66b1e 100644
--- a/inc/Module/Install/Metadata.pm
+++ b/inc/Module/Install/Metadata.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -347,7 +347,7 @@ sub name_from {
 		^ \s*
 		package \s*
 		([\w:]+)
-		\s* ;
+		[\s|;]*
 		/ixms
 	) {
 		my ($name, $module_name) = ($1, $1);
@@ -705,7 +705,7 @@ sub _write_mymeta_data {
 	my @yaml = Parse::CPAN::Meta::LoadFile('META.yml');
 	my $meta = $yaml[0];
 
-	# Overwrite the non-configure dependency hashs
+	# Overwrite the non-configure dependency hashes
 	delete $meta->{requires};
 	delete $meta->{build_requires};
 	delete $meta->{recommends};
diff --git a/inc/Module/Install/ReadmeFromPod.pm b/inc/Module/Install/ReadmeFromPod.pm
index 6a80818..b5e03c3 100644
--- a/inc/Module/Install/ReadmeFromPod.pm
+++ b/inc/Module/Install/ReadmeFromPod.pm
@@ -7,7 +7,7 @@ use warnings;
 use base qw(Module::Install::Base);
 use vars qw($VERSION);
 
-$VERSION = '0.20';
+$VERSION = '0.22';
 
 sub readme_from {
   my $self = shift;
diff --git a/inc/Module/Install/Share.pm b/inc/Module/Install/Share.pm
index 4e2b602..a67f6e0 100644
--- a/inc/Module/Install/Share.pm
+++ b/inc/Module/Install/Share.pm
@@ -8,7 +8,7 @@ use ExtUtils::Manifest ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm
index eeaa3fe..e48c32d 100644
--- a/inc/Module/Install/Win32.pm
+++ b/inc/Module/Install/Win32.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm
index 85d8018..409ef40 100644
--- a/inc/Module/Install/WriteAll.pm
+++ b/inc/Module/Install/WriteAll.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.12';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }
diff --git a/lib/Parse/ACNS.pm b/lib/Parse/ACNS.pm
index 50db5ce..e78cc7b 100644
--- a/lib/Parse/ACNS.pm
+++ b/lib/Parse/ACNS.pm
@@ -4,7 +4,7 @@ use warnings;
 
 
 package Parse::ACNS;
-our $VERSION = '0.05';
+our $VERSION = '1.00';
 
 =head1 NAME
 

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list