@@ -1,3 +1,4 @@
+use 5.006;
use strict;
use warnings;
use Module::Build;
@@ -11,6 +12,20 @@ my $builder = Module::Build->new(
'Test::More' => 0,
'Scalar::Util' => 0,
'Data::Dumper' => 0,
+ 'perl' => 5.006,
+ },
+ 'build_requires' => {
+ 'Test::More' => 0,
+ },
+ 'meta_merge' => {
+ 'keywords' => [
+ 'OOP',
+ 'class',
+ 'object'
+ ],
+ 'resources' => {
+ 'repository' => 'https://github.com/chorny/Class-Std'
+ }
},
add_to_cleanup => [ 'Class-Std-*' ],
);
@@ -88,3 +88,13 @@ Revision history for Class-Std
- Update to remove weird files in previous release
- Remove unneeded dependency on version.pm
+
+0.012 2015-05-24
+
+ - pod fixed
+
+ - better META.*
+
+0.013 2015-05-24
+
+ - version in Class::Std::SCR
@@ -17,8 +17,6 @@ t/00.load.t
t/automethod.t
t/coercions.t
t/cumulative.t
-t/pod-coverage.t
-t/pod.t
t/simple.t
t/dump.t
t/can.t
@@ -29,4 +27,7 @@ t/begin-coercion.t
t/perlattrs.t
t/runtime.t
t/start.t
+xt/pod-coverage.t
+xt/pod.t
META.yml Module meta-data (added by MakeMaker)
+META.json
@@ -0,0 +1,61 @@
+{
+ "abstract" : "Support for creating standard \"inside-out\" classes",
+ "author" : [
+ "Damian Conway <DCONWAY@cpan.org>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.4211",
+ "keywords" : [
+ "OOP",
+ "class",
+ "object"
+ ],
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Class-Std",
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "Test::More" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0.42"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Data::Dumper" : "0",
+ "Scalar::Util" : "0",
+ "Test::More" : "0",
+ "perl" : "5.006"
+ }
+ }
+ },
+ "provides" : {
+ "Class::Std" : {
+ "file" : "lib/Class/Std.pm",
+ "version" : "0.013"
+ },
+ "Class::Std::SCR" : {
+ "file" : "lib/Class/Std.pm",
+ "version" : "0.013"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ],
+ "repository" : {
+ "url" : "https://github.com/chorny/Class-Std"
+ }
+ },
+ "version" : "0.013"
+}
@@ -1,16 +1,35 @@
---- #YAML:1.0
-name: Class-Std
-version: 0.011
-abstract: Support for creating standard "inside-out" classes
-license: ~
-author:
- - Damian Conway <DCONWAY@cpan.org>
-generated_by: ExtUtils::MakeMaker version 6.42
-distribution_type: module
-requires:
- Data::Dumper: 0
- Scalar::Util: 0
- Test::More: 0
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+---
+abstract: Support for creating standard "inside-out" classes
+author:
+ - 'Damian Conway <DCONWAY@cpan.org>'
+build_requires:
+ Test::More: 0
+configure_requires:
+ Module::Build: 0.42
+dynamic_config: 1
+generated_by: 'Module::Build version 0.4211, CPAN::Meta::Converter version 2.143240'
+keywords:
+ - OOP
+ - class
+ - object
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Class-Std
+provides:
+ Class::Std:
+ file: lib/Class/Std.pm
+ version: 0.013
+ Class::Std::SCR:
+ file: lib/Class/Std.pm
+ version: 0.013
+requires:
+ Data::Dumper: 0
+ Scalar::Util: 0
+ Test::More: 0
+ perl: 5.006
+resources:
+ license: http://dev.perl.org/licenses/
+ repository: https://github.com/chorny/Class-Std
+version: 0.013
@@ -1,4 +1,4 @@
-Class::Std version 0.011
+Class::Std version 0.013
This module provides the standard infrastructure required to create
"inside-out" classes, as described in Chapters 15 and 16 of "Perl Best
@@ -1,6 +1,6 @@
package Class::Std;
-our $VERSION = '0.011';
+our $VERSION = '0.013';
use strict;
use warnings;
use Carp;
@@ -583,6 +583,8 @@ sub AUTOLOAD {
package Class::Std::SCR;
use base qw( Class::Std );
+our $VERSION = '0.013';
+
BEGIN { *ID = \&Scalar::Util::refaddr; }
my %values_of : ATTR( :init_arg<values> );
@@ -613,6 +615,8 @@ use overload (
1; # Magic true value required at end of module
__END__
+=encoding ISO-8859-1
+
=head1 NAME
Class::Std - Support for creating standard "inside-out" classes
@@ -620,7 +624,7 @@ Class::Std - Support for creating standard "inside-out" classes
=head1 VERSION
-This document describes Class::Std version 0.011
+This document describes Class::Std version 0.013
=head1 SYNOPSIS
@@ -1036,7 +1040,7 @@ Indeed, the standard infrastructure of I<every> inside-out class looks
exactly the same. So it makes sense not to have to rewrite that standard
infrastructure code in every separate class.
-That's precisely what is module does: it implements the necessary
+That's precisely what this module does: it implements the necessary
infrastructure for inside-out objects. See below.
@@ -1,10 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod::Coverage";
-plan skip_all => "Test::Pod::Coverage required for testing POD coverage" if $@;
-use Class::Std;
-all_pod_coverage_ok(
- { also_private => [ qr/^[A-Z_]+$|^uniq$/ ], },
-);
-
@@ -1,7 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
-
@@ -0,0 +1,10 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod::Coverage";
+plan skip_all => "Test::Pod::Coverage required for testing POD coverage" if $@;
+use Class::Std;
+all_pod_coverage_ok(
+ { also_private => [ qr/^[A-Z_]+$|^uniq$/ ], },
+);
+
@@ -0,0 +1,7 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();
+