Toby Inkster avatar Toby Inkster committed 4929c95

support pretdsl; bump version; release

Comments (0)

Files changed (3)

lib/Test/RDF/DOAP/Version.pm

 package Test::RDF::DOAP::Version;
 
 use 5.010;
-use common::sense;
+use strict;
 use constant { FALSE => 0, TRUE => 1 };
 use utf8;
 
 use Test::More;
 use URI::Escape qw[uri_escape];
 
-our $VERSION = '0.004';
+our $VERSION = '0.005';
 our @EXPORT  = qw(doap_version_ok);
 our $DOAP    = RDF::Trine::Namespace->new('http://usefulinc.com/ns/doap#');
 
-use parent qw[Exporter];
+use base qw[Exporter];
 
 sub doap_version_ok
 {
 		$rdfxml->parse_file_into_model("$iri", $_, $model);
 	}
 	
+	my $pretdsl = RDF::TrineX::Parser::Pretdsl->new;
+	while (<meta/*.{pret,pretdsl}>)
+	{
+		my $iri = URI::file->new_abs($_);
+		$pretdsl->parse_file_into_model("$iri", $_, $model);
+	}
+	
 	my $pattern = RDF::Trine::Pattern->new(
 		statement($dist_uri, $DOAP->release, variable('v')),
 		statement(variable('v'), $DOAP->revision, literal($version, undef, 'http://www.w3.org/2001/XMLSchema#string')),
 
 =head1 COPYRIGHT AND LICENCE
 
-This software is copyright (c) 2011 by Toby Inkster.
+This software is copyright (c) 2011-2012 by Toby Inkster.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
 		dcs:versus dist:v_0-003 ;
 		dcs:item   [ rdfs:label "Newer version of Module::Package::RDF"@en ; a dcs:Packaging, dcs:Bugfix ] 
 	] .
+
+dist:project :release dist:v_0-005 .
+dist:v_0-005
+	a               :Version ;
+	dc:issued       "2012-07-04"^^xsd:date ;
+	:revision       "0.005"^^xsd:string ;
+	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Test-RDF-DOAP-Version-0.005.tar.gz> ;
+	dcs:changeset [
+		dcs:versus dist:v_0-004 ;
+		dcs:item   [ rdfs:label "Support changelogs written in Pretdsl."@en; a dcs:Update ] 
+	] .

meta/makefile.ttl

-# This file provides instructions for packaging.
-
 @prefix : <http://purl.org/NET/cpan-uri/terms#> .
 
 <http://purl.org/NET/cpan-uri/dist/Test-RDF-DOAP-Version/project>
-	:perl_version_from _:main ;
-	:version_from _:main ;
-	:readme_from _:main ;
-	:test_requires "Test::More 0.61" ;
-	:requires "parent" ;
-	:requires "Test::More" ;
-	:requires "URI::Escape" ;
-	:requires "common::sense" ;
-	:requires "RDF::Trine" .
+	:perl_version_from _:main;
+	:version_from _:main;
+	:readme_from _:main;
+	:test_requires "Test::More 0.61";
+	:requires "Test::More";
+	:requires "URI::Escape";
+	:requires "RDF::TriN3 0.200";
+	:requires "RDF::Trine 0.135".
 
-_:main <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName> "lib/Test/RDF/DOAP/Version.pm" .
+_:main
+	<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName>
+		"lib/Test/RDF/DOAP/Version.pm".
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.