Skip to content

Commit

Permalink
Import of CHROMATIC/UNIVERSAL-isa-1.20120726 from CPAN.
Browse files Browse the repository at this point in the history
gitpan-cpan-distribution: UNIVERSAL-isa
gitpan-cpan-version:      1.20120726
gitpan-cpan-path:         CHROMATIC/UNIVERSAL-isa-1.20120726.tar.gz
gitpan-cpan-author:       CHROMATIC
gitpan-cpan-maturity:     released
  • Loading branch information
chromatic authored and Gitpan committed Oct 23, 2014
1 parent ed0df49 commit b5bb459
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changes for UNIVERSAL::isa
--------------------------

1.20120726 2012-07-25 20:51:54 America/Los_Angeles
- updated to work on Perl 5.17.2+ (rjbs)

1.20120418 2012-04-18 12:15:33 America/Los_Angeles
- removed use_ok from tests; it's unnecessary

Expand Down
4 changes: 2 additions & 2 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300014, CPAN::Meta::Converter version 2.120921'
generated_by: 'Dist::Zilla version 4.300020, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Expand All @@ -26,4 +26,4 @@ requires:
resources:
homepage: https://github.com/chromatic/UNIVERSAL-isa
repository: https://github.com/chromatic/UNIVERSAL-isa.git
version: 1.20120418
version: 1.20120726
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ my %WriteMakefileArgs = (
"warnings" => 0,
"warnings::register" => 0
},
"VERSION" => "1.20120418",
"VERSION" => "1.20120726",
"test" => {
"TESTS" => "t/*.t"
}
Expand Down
2 changes: 1 addition & 1 deletion lib/UNIVERSAL/isa.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package UNIVERSAL::isa;
{
$UNIVERSAL::isa::VERSION = '1.20120418';
$UNIVERSAL::isa::VERSION = '1.20120726';
}
# ABSTRACT: Attempt to recover from people calling UNIVERSAL::isa as a function

Expand Down
10 changes: 8 additions & 2 deletions t/bugs.t
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,16 @@ TODO: {
local $SIG{__WARN__} = sub { $warnings .= shift };
use warnings 'UNIVERSAL::isa';

# Broken how? -- rjbs, 2012-07-24
local $TODO = 'Apparently broken in 5.6.x' if $] < 5.007;

ok( ! UnloadedClass->isa( 'UNIVERSAL' ),
'unloaded class should not inherit from UNIVERSAL' );
{
local $TODO = "UnloadedClass->isa('UNIVERSAL') fails until 5.17.2"
if $] < 5.017002;

ok( UnloadedClass->isa( 'UNIVERSAL' ),
'unloaded class should inherit from UNIVERSAL' );
}
is( $warnings, '', '... and should not warn' );
}

Expand Down

0 comments on commit b5bb459

Please sign in to comment.