@@ -1,6 +1,10 @@
Revision history for XML-NamespaceFactory
+1.02 2014-07-02 23:57:07-05:00 America/Chicago
+
+ - Make the constructor confess (kjetilk)
+
1.01 2014-05-06 22:30:34-05:00 America/Chicago
- Modernize
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.016.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
Changes
LICENSE
MANIFEST
@@ -5,7 +5,7 @@
"Chris Prather <chris@prather.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.016, CPAN::Meta::Converter version 2.140640",
+ "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520",
"license" : [
"perl_5"
],
@@ -33,7 +33,7 @@
},
"develop" : {
"requires" : {
- "Dist::Zilla" : "5.016",
+ "Dist::Zilla" : "5",
"Dist::Zilla::Plugin::Authority" : "0",
"Dist::Zilla::Plugin::AutoPrereqs" : "0",
"Dist::Zilla::Plugin::CPANFile" : "0",
@@ -76,6 +76,7 @@
},
"runtime" : {
"requires" : {
+ "Carp" : "0",
"overload" : "0",
"perl" : "5.006",
"strict" : "0",
@@ -91,11 +92,11 @@
"provides" : {
"XML::NamespaceFactory" : {
"file" : "lib/XML/NamespaceFactory.pm",
- "version" : "1.01"
+ "version" : "1.02"
},
"XML::NamespaceFactory::TiedHash" : {
"file" : "lib/XML/NamespaceFactory.pm",
- "version" : "1.01"
+ "version" : "1.02"
}
},
"release_status" : "stable",
@@ -110,7 +111,10 @@
"web" : "https://github.com/perigrin/xml-namespacefactory"
}
},
- "version" : "1.01",
- "x_authority" : "cpan:PERIGRIN"
+ "version" : "1.02",
+ "x_authority" : "cpan:PERIGRIN",
+ "x_contributors" : [
+ "Kjetil Kjernsmo <kjetil@kjernsmo.net>"
+ ]
}
@@ -8,7 +8,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '6.17'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.016, CPAN::Meta::Converter version 2.140640'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,11 +25,12 @@ no_index:
provides:
XML::NamespaceFactory:
file: lib/XML/NamespaceFactory.pm
- version: '1.01'
+ version: '1.02'
XML::NamespaceFactory::TiedHash:
file: lib/XML/NamespaceFactory.pm
- version: '1.01'
+ version: '1.02'
requires:
+ Carp: '0'
overload: '0'
perl: '5.006'
strict: '0'
@@ -38,5 +39,7 @@ resources:
bugtracker: https://github.com/perigrin/xml-namespacefactory/issues
homepage: https://github.com/perigrin/xml-namespacefactory
repository: https://github.com/perigrin/xml-namespacefactory.git
-version: '1.01'
+version: '1.02'
x_authority: cpan:PERIGRIN
+x_contributors:
+ - 'Kjetil Kjernsmo <kjetil@kjernsmo.net>'
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.016.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
use strict;
use warnings;
@@ -12,7 +12,6 @@ use ExtUtils::MakeMaker 6.17;
my %WriteMakefileArgs = (
"ABSTRACT" => "Simple factory objects for SAX namespaced names.",
"AUTHOR" => "Robin Berjon <robin\@knowscape.com>, Chris Prather <chris\@prather.org>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.17"
},
@@ -21,6 +20,7 @@ my %WriteMakefileArgs = (
"LICENSE" => "perl",
"NAME" => "XML::NamespaceFactory",
"PREREQ_PM" => {
+ "Carp" => 0,
"overload" => 0,
"strict" => 0,
"vars" => 0
@@ -28,7 +28,7 @@ my %WriteMakefileArgs = (
"TEST_REQUIRES" => {
"Test" => 0
},
- "VERSION" => "1.01",
+ "VERSION" => "1.02",
"test" => {
"TESTS" => "t/*.t"
}
@@ -36,6 +36,7 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
+ "Carp" => 0,
"Test" => 0,
"overload" => 0,
"strict" => 0,
@@ -1,3 +1,4 @@
+requires "Carp" => "0";
requires "overload" => "0";
requires "perl" => "5.006";
requires "strict" => "0";
@@ -12,7 +13,7 @@ on 'configure' => sub {
};
on 'develop' => sub {
- requires "Dist::Zilla" => "5.016";
+ requires "Dist::Zilla" => "5";
requires "Dist::Zilla::Plugin::Authority" => "0";
requires "Dist::Zilla::Plugin::AutoPrereqs" => "0";
requires "Dist::Zilla::Plugin::CPANFile" => "0";
@@ -1,9 +1,10 @@
package XML::NamespaceFactory;
use strict;
+use Carp;
# ABSTRACT: Simple factory objects for SAX namespaced names.
-our $VERSION = '1.01'; # VERSION
+our $VERSION = '1.02'; # VERSION
use vars qw($VERSION $AUTOLOAD);
use overload '""' => \&toString,
@@ -13,7 +14,7 @@ use overload '""' => \&toString,
sub new {
my $class = ref($_[0]) ? ref(shift) : shift;
my $ns = shift;
- die "Parameter \$ns required." unless defined $ns;
+ confess "Parameter \$ns required." unless defined $ns;
return bless \$ns;
}
@@ -65,7 +66,7 @@ XML::NamespaceFactory - Simple factory objects for SAX namespaced names.
=head1 VERSION
-version 1.01
+version 1.02
=head1 SYNOPSIS