The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Changes 112
INSTALL 510
LICENSE 11
META.json 68
META.yml 44
Makefile.PL 11
README 113
examples/94metatest.t 210
lib/Test/YAML/Meta.pm 38
t/94metatest.t 08
t/96metatest.t 19
11 files changed (This is a version diff) 2584
@@ -1,4 +1,15 @@
-# Changes log for Test-YAML-Meta
+Changes log for Test-YAML-Meta
+==============================
+
+0.22    2015-01-31
+        - META marked distribution as deprecated.
+
+0.21    2015-01-17
+        - consistent abstract.
+        - INSTALL documentation update.
+        - extended META test suite.
+        - fixed license fields in META.json to be lists.
+        - added WARNING notice.
 
 0.20    2013-04-07
         - change file dates changed to meet W3CDTF standards.
@@ -6,22 +6,27 @@ The instructions are basically as per any Perl module.
 INSTALLING AUTOMATICALLY
 ------------------------
 
-The easiest way to install is via CPAN or CPANPLUS:
+The easiest way to install is via CPAN, CPANPLUS or cpanminus:
 
 CPAN:
 
     % perl -MCPAN -e shell                    [as root]
-    > install Test-YAML-Meta
+    > install Test::YAML::Meta
     > quit
 
 CPANPLUS:
 
     % cpanp
-    > i Test-YAML-Meta
+    > i Test::YAML::Meta
     > q
 
-See your local 'perldoc CPAN' or 'perldoc CPANPLUS' for
-instructions on setting up and configuring CPAN or CPANPLUS.
+cpanminus:
+
+    % cpanm Test::YAML::Meta
+
+See your local documentation ('perldoc CPAN', 'perldoc CPANPLUS' or 
+'perldoc cpanm') for further instructions on setting up and configuring your
+chosen installer.
 
 
 OBTAINING THE MODULE
@@ -1,6 +1,6 @@
 LICENSE FOR Test-YAML-Meta
 
-This software is copyright © 2007-2013 Barbie for Miss Barbell Productions.
+This software is copyright © 2007-2015 Barbie for Miss Barbell Productions.
 
 This distribution is free software; you can redistribute it and/or
 modify it under the Artistic Licence v2.
@@ -1,17 +1,19 @@
 {
     "name": "Test-YAML-Meta",
-    "version": "0.20",
-    "abstract": "A test module to validate a CPAN META.yml file",
+    "version": "0.22",
+    "abstract": "Validate your CPAN META.yml files",
     "author": ["Barbie <barbie@cpan.org>"],
 
-    "license": "artistic_2",
+    "x_deprecated": "1",
+
+    "license": [ "artistic_2" ],
     "dynamic_config" : 0,
     "release_status" : "stable",
     "meta-spec": {
         "version": "2",
         "url": "http://search.cpan.org/dist/CPAN-Meta/lib/CPAN/Meta/Spec.pm"
     },
-    "generated_by": "Hand 1.0",
+    "generated_by": "The Hand of Barbie 1.0",
     "keywords" : [
         "test",
         "meta",
@@ -44,7 +46,7 @@
     "provides": {
         "Test::YAML::Meta": {
             "file": "lib/Test/YAML/Meta.pm",
-            "version": "0.20"
+            "version": "0.22"
         }
     },
     "no_index": {
@@ -52,7 +54,7 @@
     },
 
     "resources": {
-        "license": "http://www.perlfoundation.org/artistic_license_2_0",
+        "license": [ "http://www.perlfoundation.org/artistic_license_2_0" ],
         "bugtracker": { "web": "http://rt.cpan.org/Public/Dist/Display.html?Name=Test-YAML-Meta" },
         "repository": {
             "url": "git://github.com/barbie/Test-YAML-Meta.git",
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:                     Test-YAML-Meta
-version:                  0.20
-abstract:                 A test module to validate a CPAN META.yml file
+version:                  0.22
+abstract:                 Validate your CPAN META.yml files
 author:
   - Barbie <barbie@cpan.org>
 
@@ -26,7 +26,7 @@ build_requires:
 provides:
   Test::YAML::Meta:
     file:     lib/Test/YAML/Meta.pm
-    version:  0.20
+    version:  0.22
 no_index:
   directory:
     - t
@@ -40,4 +40,4 @@ resources:
 meta-spec:
    version:   1.4
    url:       http://module-build.sourceforge.net/META-spec-v1.4.html
-generated_by: Hand 1.0
+generated_by: The Hand of Barbie 1.0
@@ -10,7 +10,7 @@ WriteMakefile(
     AUTHOR              => 'Barbie <barbie@cpan.org>',
     NAME                => 'Test::YAML::Meta',
     VERSION_FROM        => 'lib/Test/YAML/Meta.pm',
-    ABSTRACT            => 'A test module to validate a CPAN META.yml file',
+    ABSTRACT            => 'Validate your CPAN META.yml files',
     NO_META             => 1,
     PREREQ_PM => {
 
@@ -1,6 +1,15 @@
 Test-YAML-Meta
 ==============
 
+NOTICE
+
+Please note that this distribution has now been replaced by Test-CPAN-Meta-YAML.
+
+WARNING
+
+This distribution will be retired at the end of 2015. Please replace your 
+references to this module with L<Test::CPAN::Meta::YAML>.
+
 DESCRIPTION
 
 Validation of the META.yml file in a distribution.
@@ -16,6 +25,9 @@ specification is now included with the CPAN-Meta distribution.
 
 http://search.cpan.org/perldoc?CPAN::Meta
 
+Note that v2.0 of the current specification, requires JSON as the Metadata
+file format. As such, this distribution only supports up to v1.4.
+
 DEPENDENCIES
 
 The distribution requires the following modules:
@@ -72,7 +84,7 @@ for Miss Barbell Productions http://www.missbarbell.co.uk.
 
 COPYRIGHT AND LICENSE
 
-  Copyright (C) 2007-2013 Barbie for Miss Barbell Productions
+  Copyright (C) 2007-2015 Barbie for Miss Barbell Productions
 
   This distribution is free software; you can redistribute it and/or
   modify it under the Artistic Licence v2.
@@ -14,8 +14,8 @@ plan 'no_plan';
 
 my $meta = meta_spec_ok(undef,undef,@_);
 
-use Test::YAML::Meta;                           # enter your module name here
-my $version = $Test::YAML::Meta::VERSION;       # enter your module name here
+use MyDistro;                           # enter your module name here
+my $version = $MyDistro::VERSION;       # enter your module name here
 
 is($meta->{version},$version,
     'META.yml distribution version matches');
@@ -24,5 +24,13 @@ if($meta->{provides}) {
     for my $mod (keys %{$meta->{provides}}) {
         is($meta->{provides}{$mod}{version},$version,
             "META.yml entry [$mod] version matches");
+
+        eval "require $mod";
+        my $VERSION = '$' . $mod . '::VERSION';
+        my $v = eval "$VERSION";
+        is($meta->{provides}{$mod}{version},$v,
+            "META.yml entry [$mod] version matches module version");
+
+        isnt($meta->{provides}{$mod}{version},0);
     }
 }
@@ -4,7 +4,7 @@ use warnings;
 use strict;
 
 use vars qw($VERSION);
-$VERSION = '0.20';
+$VERSION = '0.22';
 
 use base 'Test::CPAN::Meta::YAML';
 
@@ -16,7 +16,7 @@ __END__
 
 =head1 NAME
 
-Test::YAML::Meta - Validation of the META.yml file in a distribution.
+Test::YAML::Meta - Validate your CPAN META.yml files.
 
 =head1 DESCRIPTION
 
@@ -27,6 +27,11 @@ that distribution for further details.
 
 A test module to validate a META.yml file.
 
+=head1 WARNING
+
+This distribution will be retired at the end of 2015. Please replace your 
+references to this module with L<Test::CPAN::Meta::YAML>.
+
 =head1 BUGS, PATCHES & FIXES
 
 There are no known bugs at the time of this release. However, if you spot a
@@ -50,7 +55,7 @@ for Miss Barbell Productions, L<http://www.missbarbell.co.uk>
 
 =head1 COPYRIGHT AND LICENSE
 
-  Copyright (C) 2009-2013 Barbie for Miss Barbell Productions
+  Copyright (C) 2009-2015 Barbie for Miss Barbell Productions
 
   This distribution is free software; you can redistribute it and/or
   modify it under the Artistic Licence v2.
@@ -24,5 +24,13 @@ if($meta->{provides}) {
     for my $mod (keys %{$meta->{provides}}) {
         is($meta->{provides}{$mod}{version},$version,
             "META.yml entry [$mod] version matches");
+
+        eval "require $mod";
+        my $VERSION = '$' . $mod . '::VERSION';
+        my $v = eval "$VERSION";
+        is($meta->{provides}{$mod}{version},$v,
+            "META.yml entry [$mod] version matches module version");
+
+        isnt($meta->{provides}{$mod}{version},0);
     }
 }
@@ -23,6 +23,14 @@ is($meta->{version},$version,
 if($meta->{provides}) {
     for my $mod (keys %{$meta->{provides}}) {
         is($meta->{provides}{$mod}{version},$version,
-            "META.json entry [$mod] version matches");
+            "META.json entry [$mod] version matches distribution version");
+
+        eval "require $mod";
+        my $VERSION = '$' . $mod . '::VERSION';
+        my $v = eval "$VERSION";
+        is($meta->{provides}{$mod}{version},$v,
+            "META.json entry [$mod] version matches module version");
+
+        isnt($meta->{provides}{$mod}{version},0);
     }
 }