Commits

Toby Inkster committed 6d5f94f

Upgrade M:P:R

  • Participants
  • Parent commits 550540c

Comments (0)

Files changed (4)

-use inc::Module::Package 'RDF:standard';
+use inc::Module::Package 'RDF:standard 0.005';
 

File lib/Test/RDF/DOAP/Version.pm

 use Test::More;
 use URI::Escape qw[uri_escape];
 
-our $VERSION = '0.003';
+our $VERSION = '0.004';
 our @EXPORT  = qw(doap_version_ok);
 our $DOAP    = RDF::Trine::Namespace->new('http://usefulinc.com/ns/doap#');
 
 
 =item C<< doap_version_ok($dist, $module) >>
 
-Checks the distribution metadata matches the pattern:
+Reads all RDF in a distribution's "meta" directory and checks the
+distribution metadata matches the pattern:
 
-	?dist doap:release ?rel .
+	?uri doap:release ?rel .
 	?rel doap:revision ?ver .
 
-Where ?dist is the URI C<< http://purl.org/NET/cpan-uri/dist/%s/project >>
-(C<< %s >> having been substituted for $dist) and ?ver is the $VERSION from
-$module, as an xsd:string or plain literal.
+Where ?uri is the URI C<< http://purl.org/NET/cpan-uri/dist/$dist/project >>
+and ?ver is C<< $module->VERSION >>, as an xsd:string or plain literal.
 
 =back
 

File meta/changes.ttl

 		dcs:item   [ rdfs:label "use parent instead of base."@en ; a dcs:Update ] ;
 		dcs:item   [ rdfs:label "use 5.010"@en ; a dcs:Update ] 
 	] .
+
+dist:project :release dist:v_0-004 .
+dist:v_0-004
+	a               :Version ;
+	dc:issued       "2011-12-04"^^xsd:date ;
+	:revision       "0.004"^^xsd:string ;
+	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Test-RDF-DOAP-Version-0.004.tar.gz> ;
+	dcs:changeset [
+		dcs:versus dist:v_0-003 ;
+		dcs:item   [ rdfs:label "Newer version of Module::Package::RDF"@en ; a dcs:Packaging, dcs:Bugfix ] 
+	] .

File meta/doap.ttl

 	a               :Project ;
 	:programming-language "Perl" ;
 	:name           "Test-RDF-DOAP-Version" ;
+	:shortdesc      "tests 'meta/changes.ttl' is up to date" ;
 	:homepage       <https://metacpan.org/release/Test-RDF-DOAP-Version> ;
 	:download-page  <https://metacpan.org/release/Test-RDF-DOAP-Version> ;
 	:bug-database   <http://rt.cpan.org/Dist/Display.html?Queue=Test-RDF-DOAP-Version> ;
+	:repository     [ a :HgRepository ; :browse <https://bitbucket.org/tobyink/p5-test-rdf-doap-version> ] ;
 	:created        "2011-10-03"^^xsd:date ;
 	:license        <http://dev.perl.org/licenses/> ;
 	:developer      <http://tobyinkster.co.uk/#i> .