@@ -1,9 +1,17 @@
-1.000002 - 2012-07-19
+Revision history for Safe-Isa
+
+1.000004 2013-09-18
+ - fixed slightly mangled metadata from last release
+
+1.000003 2013-03-25
+ - fix NAME in Makefile.PL (RT#84212)
+
+1.000002 2012-07-19
- Document why we don't try and handle class namesZ
- Missed another stupid doc typo (thanks MJD)
-1.000001 - 2012-07-18
+1.000001 2012-07-18
- Fix stupid doc typo (thanks miyagawa)
-1.000000 - 2012-07-18
+1.000000 2012-07-18
- Initial release
@@ -3,8 +3,8 @@
"author" : [
"mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>"
],
- "dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120921",
+ "dynamic_config" : 0,
+ "generated_by" : "ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 2.132510",
"license" : [
"perl_5"
],
@@ -25,15 +25,24 @@
"ExtUtils::MakeMaker" : "0"
}
},
- "configure" : {
+ "runtime" : {
"requires" : {
- "ExtUtils::MakeMaker" : "0"
+ "Exporter" : "5.57",
+ "Scalar::Util" : "0"
}
- },
- "runtime" : {
- "requires" : {}
}
},
"release_status" : "stable",
- "version" : "1.000002"
+ "resources" : {
+ "bugtracker" : {
+ "mailto" : "bug-Safe-Isa@rt.cpan.org",
+ "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa"
+ },
+ "repository" : {
+ "type" : "git",
+ "url" : "git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git",
+ "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git"
+ }
+ },
+ "version" : "1.000004"
}
@@ -4,10 +4,8 @@ author:
- 'mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>'
build_requires:
ExtUtils::MakeMaker: 0
-configure_requires:
- ExtUtils::MakeMaker: 0
-dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120921'
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 6.76, CPAN::Meta::Converter version 2.132510'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,5 +15,10 @@ no_index:
directory:
- t
- inc
-requires: {}
-version: 1.000002
+requires:
+ Exporter: 5.57
+ Scalar::Util: 0
+resources:
+ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa
+ repository: git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git
+version: 1.000004
@@ -5,6 +5,31 @@ use ExtUtils::MakeMaker;
(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
WriteMakefile(
- NAME => 'Safe-Isa',
+ NAME => 'Safe::Isa',
VERSION_FROM => 'lib/Safe/Isa.pm',
+
+ PREREQ_PM => {
+ 'Exporter' => '5.57',
+ 'Scalar::Util' => 0,
+ },
+
+ -f 'META.yml' ? () : (
+ META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ dynamic_config => 0,
+
+ resources => {
+ # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git
+ repository => {
+ url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git',
+ web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git',
+ type => 'git',
+ },
+ bugtracker => {
+ mailto => 'bug-Safe-Isa@rt.cpan.org',
+ web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa',
+ },
+ },
+ },
+ ),
);
@@ -82,7 +82,7 @@ DESCRIPTION
Note that we don't handle trying class names, because many things are
valid class names that you might not want to treat as one (like say
"Matt") - the "is_module_name" function from Module::Runtime is a good
- way to check for somthing you might be able to call methods on if you
+ way to check for something you might be able to call methods on if you
want to do that.
EXPORTS
@@ -3,9 +3,9 @@ package Safe::Isa;
use strict;
use warnings FATAL => 'all';
use Scalar::Util qw(blessed);
-use base qw(Exporter);
+use Exporter 5.57 qw(import);
-our $VERSION = '1.000002';
+our $VERSION = '1.000004';
our @EXPORT = qw($_call_if_object $_isa $_can $_does $_DOES);
@@ -106,7 +106,7 @@ is equivalent to
Note that we don't handle trying class names, because many things are valid
class names that you might not want to treat as one (like say "Matt") - the
C<is_module_name> function from L<Module::Runtime> is a good way to check for
-somthing you might be able to call methods on if you want to do that.
+something you might be able to call methods on if you want to do that.
=head1 EXPORTS
@@ -2,6 +2,7 @@ BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Dista
use lib 'Distar/lib';
use Distar;
+use ExtUtils::MakeMaker 6.68; # ensure meta-spec v2 compatibility
author 'mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>';
1;
@@ -1,6 +1,6 @@
use strict;
use warnings FATAL => 'all';
-use Test::More qw(no_plan);
+use Test::More tests => 15;
{ package Foo; sub new { bless({}, $_[0]) } }
{ package Bar; our @ISA = qw(Foo); sub bar { 1 } }