[libatteanx-compatilibity-trine-perl] 05/22: Add Attean::Blank support

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 f951ee4f2e282589cdf6e5f654f564b8f6673f0f
Author: Kjetil Kjernsmo <kjetil at kjernsmo.net>
Date:   Mon Aug 14 14:22:51 2017 +0200

    Add Attean::Blank support
---
 lib/AtteanX/Compatibility/Trine.pm |  6 ++++++
 t/blank.t                          | 10 ++++++++++
 2 files changed, 16 insertions(+)

diff --git a/lib/AtteanX/Compatibility/Trine.pm b/lib/AtteanX/Compatibility/Trine.pm
index 67b36cc..9c20a78 100644
--- a/lib/AtteanX/Compatibility/Trine.pm
+++ b/lib/AtteanX/Compatibility/Trine.pm
@@ -9,6 +9,12 @@ package Attean::IRI {
 	}
 }
 
+package Attean::Blank {
+  sub blank_identifier {
+    my $self = shift;
+    return $self->value;
+  }
+}
 
 1;
 
diff --git a/t/blank.t b/t/blank.t
new file mode 100644
index 0000000..992ed82
--- /dev/null
+++ b/t/blank.t
@@ -0,0 +1,10 @@
+#!/usr/bin/env perl
+
+use strict;
+use Test::More;
+
+use_ok('Attean::Blank');
+
+can_ok('Attean::Blank', 'blank_identifier');
+
+done_testing;

-- 
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