[libatteanx-compatilibity-trine-perl] 01/22: Initial commit
Jonas Smedegaard
dr at jones.dk
Sat Dec 23 13:31:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.001-1
in repository libatteanx-compatilibity-trine-perl.
commit f17ca44d6198e0958bf8d7bc80bcca8ae3925f4a
Author: Kjetil Kjernsmo <kjetil at kjernsmo.net>
Date: Mon Aug 14 13:26:58 2017 +0200
Initial commit
---
dist.ini | 3 +++
lib/AtteanX/Compatibility/Trine.pm | 55 ++++++++++++++++++++++++++++++++++++++
meta/changes.pret | 6 +++++
meta/doap.pret | 19 +++++++++++++
meta/makefile.pret | 9 +++++++
meta/people.pret | 9 +++++++
t/01basic.t | 30 +++++++++++++++++++++
xt/0-signature.t | 5 ++++
xt/03meta_uptodate.config | 2 ++
xt/critic.t | 8 ++++++
xt/pod-coverage.t | 19 +++++++++++++
xt/pod.t | 12 +++++++++
12 files changed, 177 insertions(+)
diff --git a/dist.ini b/dist.ini
new file mode 100644
index 0000000..e87e66a
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,3 @@
+;;class='Dist::Inkt::Profile::KJETILK'
+;;name='AtteanX-Compatibility-Trine'
+
diff --git a/lib/AtteanX/Compatibility/Trine.pm b/lib/AtteanX/Compatibility/Trine.pm
new file mode 100644
index 0000000..9a9245a
--- /dev/null
+++ b/lib/AtteanX/Compatibility/Trine.pm
@@ -0,0 +1,55 @@
+use 5.010001;
+use strict;
+use warnings;
+
+package Attean::IRI {
+ sub uri {
+ my $self = shift;
+ return $self->abs;
+ }
+}
+
+our $AUTHORITY = 'cpan:KJETILK';
+our $VERSION = '0.001';
+
+1;
+
+__END__
+
+=pod
+
+=encoding utf-8
+
+=head1 NAME
+
+AtteanX::Compatibility::Trine - Compatibility layer between RDF::Trine and Attean
+
+=head1 SYNOPSIS
+
+=head1 DESCRIPTION
+
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=AtteanX-Compatibility-Trine>.
+
+=head1 SEE ALSO
+
+=head1 AUTHOR
+
+Kjetil Kjernsmo E<lt>kjetilk at cpan.orgE<gt>.
+
+=head1 COPYRIGHT AND LICENCE
+
+This software is copyright (c) 2017 by Kjetil Kjernsmo.
+
+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.
+
diff --git a/meta/changes.pret b/meta/changes.pret
new file mode 100644
index 0000000..4d42a25
--- /dev/null
+++ b/meta/changes.pret
@@ -0,0 +1,6 @@
+# This file acts as the project's changelog.
+
+`AtteanX-Compatibility-Trine 0.001 cpan:KJETILK`
+ issued 2017-08-14;
+ label "Initial release".
+
diff --git a/meta/doap.pret b/meta/doap.pret
new file mode 100644
index 0000000..70484fb
--- /dev/null
+++ b/meta/doap.pret
@@ -0,0 +1,19 @@
+# This file contains general metadata about the project.
+
+ at prefix : <http://usefulinc.com/ns/doap#>.
+
+`AtteanX-Compatibility-Trine`
+ :programming-language "Perl" ;
+ :shortdesc "Compatibility layer between RDF::Trine and Attean";
+ :homepage <https://metacpan.org/release/AtteanX-Compatibility-Trine>;
+ :download-page <https://metacpan.org/release/AtteanX-Compatibility-Trine>;
+ :bug-database <http://rt.cpan.org/Dist/Display.html?Queue=AtteanX-Compatibility-Trine>;
+# :repository [ a :GitRepository; :browse <https://github.com/kjetilk/p5-atteanx-compatibility-trine> ];
+ :created 2017-08-14;
+ :license <http://dev.perl.org/licenses/>;
+ :maintainer cpan:KJETILK;
+ :developer cpan:KJETILK.
+
+<http://dev.perl.org/licenses/>
+ dc:title "the same terms as the perl 5 programming language system itself".
+
diff --git a/meta/makefile.pret b/meta/makefile.pret
new file mode 100644
index 0000000..0d89f0e
--- /dev/null
+++ b/meta/makefile.pret
@@ -0,0 +1,9 @@
+# This file provides instructions for packaging.
+
+ at prefix : <http://ontologi.es/doap-deps#>.
+
+`AtteanX-Compatibility-Trine`
+ :test-requirement [ :on "Test::More 0.96"^^:CpanId ];
+ :develop-recommendation [ :on "Dist::Inkt 0.001"^^:CpanId ];
+ .
+
diff --git a/meta/people.pret b/meta/people.pret
new file mode 100644
index 0000000..1cc43ae
--- /dev/null
+++ b/meta/people.pret
@@ -0,0 +1,9 @@
+# This file contains data about the project developers.
+
+ at prefix : <http://xmlns.com/foaf/0.1/>.
+
+cpan:KJETILK
+ :name "Kjetil Kjernsmo";
+ :page <https://metacpan.org/author/KJETILK>;
+ :mbox <mailto:kjetilk at cpan.org>.
+
diff --git a/t/01basic.t b/t/01basic.t
new file mode 100644
index 0000000..7a43a04
--- /dev/null
+++ b/t/01basic.t
@@ -0,0 +1,30 @@
+=pod
+
+=encoding utf-8
+
+=head1 PURPOSE
+
+Test that AtteanX::Compatibility::Trine compiles.
+
+=head1 AUTHOR
+
+Kjetil Kjernsmo E<lt>kjetilk at cpan.orgE<gt>.
+
+=head1 COPYRIGHT AND LICENCE
+
+This software is copyright (c) 2017 by Kjetil Kjernsmo.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+
+=cut
+
+use strict;
+use warnings;
+use Test::More;
+
+use_ok('AtteanX::Compatibility::Trine');
+
+done_testing;
+
diff --git a/xt/0-signature.t b/xt/0-signature.t
new file mode 100644
index 0000000..5bee40d
--- /dev/null
+++ b/xt/0-signature.t
@@ -0,0 +1,5 @@
+use lib 'inc';
+use Test::More tests => 1;
+use Test::Signature;
+
+signature_ok();
diff --git a/xt/03meta_uptodate.config b/xt/03meta_uptodate.config
new file mode 100644
index 0000000..56a7743
--- /dev/null
+++ b/xt/03meta_uptodate.config
@@ -0,0 +1,2 @@
+{"package":"AtteanX-Compatibility-Trine"}
+
diff --git a/xt/critic.t b/xt/critic.t
new file mode 100644
index 0000000..d4f4ff1
--- /dev/null
+++ b/xt/critic.t
@@ -0,0 +1,8 @@
+use Test::Perl::Critic(-exclude => [
+ 'RequireFinalReturn',
+ 'ProhibitUnusedPrivateSubroutines',
+ 'RequireExtendedFormatting',
+ 'ProhibitExcessComplexity',
+ ],
+ -severity => 3);
+all_critic_ok();
diff --git a/xt/pod-coverage.t b/xt/pod-coverage.t
new file mode 100644
index 0000000..2f0c1a0
--- /dev/null
+++ b/xt/pod-coverage.t
@@ -0,0 +1,19 @@
+use strict;
+use warnings;
+use Test::More;
+
+# Ensure a recent version of Test::Pod::Coverage
+my $min_tpc = 1.08;
+eval "use Test::Pod::Coverage $min_tpc";
+plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
+ if $@;
+
+# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
+# but older versions don't recognize some common documentation styles
+my $min_pc = 0.02;
+eval "use Pod::Coverage::Moose $min_pc";
+plan skip_all => "Pod::Coverage::Moose $min_pc required for testing POD coverage"
+ if $@;
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::Moose'});
+
+
diff --git a/xt/pod.t b/xt/pod.t
new file mode 100644
index 0000000..ee8b18a
--- /dev/null
+++ b/xt/pod.t
@@ -0,0 +1,12 @@
+#!perl -T
+
+use strict;
+use warnings;
+use Test::More;
+
+# Ensure a recent version of Test::Pod
+my $min_tp = 1.22;
+eval "use Test::Pod $min_tp";
+plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
+
+all_pod_files_ok();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libatteanx-compatilibity-trine-perl.git
More information about the Pkg-perl-cvs-commits
mailing list