Toby Inkster avatar Toby Inkster committed f2b446f

Minor update to fix package metadata.

Comments (0)

Files changed (3)

lib/HTML/Embedded/Turtle.pm

 
 use 5.010;
 use common::sense; # oh, the irony!
+
 use Data::UUID;
 use RDF::RDFa::Parser '1.093';
 use RDF::TriN3;
 sub biri { $_[0] =~ /^_:(.*)$/ ? blank($1) : iri(@_) }
 
 use namespace::clean;
+use Object::AUTHORITY;
 
 BEGIN {
-  $HTML::Embedded::Turtle::VERSION   = '0.271';
+  $HTML::Embedded::Turtle::VERSION   = '0.314';
   $HTML::Embedded::Turtle::AUTHORITY = 'cpan:TOBYINK';
 }
 
 my:project :release my:v_0-271 .
 my:v_0-271
 	a               :Version ;
-	dc:issued       "2010-12-09"^^xsd:date ;
+	dc:issued       "2011-11-03"^^xsd:date ;
 	:revision       "0.271"^^xsd:string ;
 	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/HTML-Embedded-Turtle-0.271.tar.gz> ;
 	dcs:changeset [
 		dcs:item   [ rdfs:label "use 5.010"@en ; a dcs:Update ]
 		] .
 
+my:project :release my:v_0-314 .
+my:v_0-314
+	a               :Version ;
+	dc:issued       "2011-12-07"^^xsd:date ;
+	:revision       "0.314"^^xsd:string ;
+	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/HTML-Embedded-Turtle-0.314.tar.gz> ;
+	dcs:changeset [
+		dcs:versus my:v_0-271 ;
+		dcs:item   [ rdfs:label "Note the dependency on namespace::clean."@en ; a dcs:Packaging ] ;
+		dcs:item   [ rdfs:label "use Object::AUTHORITY"@en ; a dcs:Update ]
+		] .
-use Test::More tests => 1;
+use Test::More tests => 7;
+
 BEGIN { use_ok('HTML::Embedded::Turtle') };
-
+can_ok('HTML::Embedded::Turtle', 'VERSION');
+can_ok('HTML::Embedded::Turtle', 'AUTHORITY');
+ok(HTML::Embedded::Turtle->AUTHORITY('cpan:TOBYINK'), 'Correct AUTHORITY');
+can_ok('HTML::Embedded::Turtle', 'new');
+ok(my $obj = HTML::Embedded::Turtle->new('','http://example.com/'), 'Object can be instantiated.');
+ok($obj->AUTHORITY('cpan:TOBYINK'), 'Correct AUTHORITY');
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.