Commits

Toby Inkster committed 4573cdf

update; drop RDF::TrineShortcuts dep

  • Participants
  • Parent commits a1dde6e
  • Tags 0.101

Comments (0)

Files changed (3)

File lib/XML/Atom/FromOWL.pm

 package XML::Atom::FromOWL;
 
 use 5.010;
-use common::sense;
+use strict;
+no warnings;
 
 use Data::UUID;
-use RDF::TrineShortcuts qw[:all];
+use RDF::TrineX::Functions -shortcuts_nodes;
 use Scalar::Util qw[blessed];
 use XML::Atom::Content;
 use XML::Atom::Entry;
 
 use namespace::clean;
 
-our $VERSION;
+our ($AUTHORITY, $VERSION);
 our (%feed_dispatch, %entry_dispatch);
 
 BEGIN
 {
-	$VERSION = '0.100';
+	$AUTHORITY  = 'cpan:TOBYINK';
+	$VERSION    = '0.101';
 
 	%feed_dispatch = (
 		AWOL('Feed')         => sub {},
 	my $attr = {
 		version => $VERSION,
 		uri     => 'https://metacpan.org/release/'.__PACKAGE__,
-		};
+	};
 	$attr->{uri} =~ s/::/-/g;
 	$feed->set(ATOM(), 'generator', __PACKAGE__, $attr, 1);
 
 Returns a list of feeds found in the input, in no particular order.
 
 The input may be a URI, file name, L<RDF::Trine::Model> or anything else
-that can be handled by the C<rdf_parse> method of L<RDF::TrineShortcuts>.
+that can be handled by the C<parse> function of L<RDF::TrineX::Functions>.
 
 Each item in the list returned is an L<XML::Atom::Feed>.
 
 Returns a list of entries found in the input, in no particular order.
 
 The input may be a URI, file name, L<RDF::Trine::Model> or anything else
-that can be handled by the C<rdf_parse> method of L<RDF::TrineShortcuts>.
+that can be handled by the C<parse> function of L<RDF::TrineX::Functions>.
 
 Each item in the list returned is an L<XML::Atom::Entry>.
 
 
 =head1 SEE ALSO
 
-L<XML::Atom::OWL>, L<HTML::Microformats>, L<RDF::TrineShortcuts>,
+L<XML::Atom::OWL>, L<HTML::Microformats>, L<RDF::TrineX::Functions>,
 L<XML::Atom::Feed>, L<XML::Atom::Entry>.
 
 L<http://bblfish.net/work/atom-owl/2006-06-06/>.
 
 Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
 
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENCE
 
-Copyright 2011 Toby Inkster
+This software is copyright (c) 2011-2012 by Toby Inkster.
 
-This library is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+

File meta/changes.ttl

 		dcs:item   [ rdfs:label "Module::Package::RDF"@en ; a dcs:Packaging ] ;
 		dcs:item   [ rdfs:label "use 5.010"@en ; a dcs:Update ] ;
 		] .
+
+my:project :release my:v_0-101 .
+my:v_0-101
+	a               :Version ;
+	dc:issued       "2012-05-30"^^xsd:date ;
+	:revision       "0.101"^^xsd:string ;
+	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-FromOWL-0.101.tar.gz> ;
+	dcs:changeset [
+		dcs:versus my:v_0-100 ;
+		dcs:item   [ rdfs:label "Drop common::sense dependency; use strict instead."@en ] ;
+		dcs:item   [ rdfs:label "Drop RDF::TrineShortcuts dependency; use RDF::TrineX::Functions instead."@en ]
+		] .

File meta/makefile.ttl

 	:version_from _:main ;
 	:readme_from _:main ;
 	:test_requires "Test::More 0.61" ;
-	:requires "Data::UUID" , "XML::LibXML 1.70", "namespace::clean",
-		"RDF::TrineShortcuts 0.100", "Scalar::Util", "common::sense",
-		"XML::Atom::Content" , "XML::Atom::Entry" , "XML::Atom::Feed" ,
-		"XML::Atom::Link" , "XML::Atom::Person" .
+	:requires
+		"Data::UUID",
+		"XML::LibXML 1.94",
+		"namespace::clean",
+		"RDF::TrineX::Functions",
+		"XML::Atom".
 
 _:main <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName> "lib/XML/Atom/FromOWL.pm" .