[librdf-helper-perl] 01/10: Imported Upstream version 2.01
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 18:58:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository librdf-helper-perl.
commit 51e58b7feea76194496c1cc233aeff5b3ef65dd8
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Jan 27 17:42:01 2014 +0100
Imported Upstream version 2.01
---
LICENSE | 6 +++---
META.yml | 7 ++++---
Makefile.PL | 41 +++++++++++++++++++++--------------------
README | 4 ++--
dist.ini | 3 ++-
lib/RDF/Helper.pm | 5 +++--
lib/RDF/Helper/API.pm | 4 ++--
lib/RDF/Helper/RDFTrine.pm | 8 ++++----
8 files changed, 41 insertions(+), 37 deletions(-)
diff --git a/LICENSE b/LICENSE
index c230d71..397374d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is copyright (c) 2011 by Kip Hampton.
+This software is copyright (c) 2014 by Kip Hampton.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2011 by Kip Hampton.
+This software is Copyright (c) 2014 by Kip Hampton.
This is free software, licensed under:
@@ -270,7 +270,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2011 by Kip Hampton.
+This software is Copyright (c) 2014 by Kip Hampton.
This is free software, licensed under:
diff --git a/META.yml b/META.yml
index db3538a..1ba3274 100644
--- a/META.yml
+++ b/META.yml
@@ -4,19 +4,20 @@ author:
- 'Kip Hampton <khampton at totalcinema.com>'
build_requires: {}
configure_requires:
- ExtUtils::MakeMaker: 6.31
+ ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930'
+generated_by: 'Dist::Zilla version 4.300028, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: RDF-Helper
requires:
+ Class::Load: 0.20
Data::UUID: 0
Moose: 1.09
MooseX::Aliases: 0
RDF::Query: 2.905
Test::Simple: 0.88
URI: 0
-version: 2.0
+version: 2.01
diff --git a/Makefile.PL b/Makefile.PL
index a48df33..dc2895f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -4,32 +4,33 @@ use warnings;
-use ExtUtils::MakeMaker 6.31;
+use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'Provide a consistent, high-level API for working with RDF with Perl',
- 'AUTHOR' => 'Kip Hampton <khampton at totalcinema.com>',
- 'BUILD_REQUIRES' => {},
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.31'
+ "ABSTRACT" => "Provide a consistent, high-level API for working with RDF with Perl",
+ "AUTHOR" => "Kip Hampton <khampton\@totalcinema.com>",
+ "BUILD_REQUIRES" => {},
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30"
},
- 'DISTNAME' => 'RDF-Helper',
- 'EXE_FILES' => [],
- 'LICENSE' => 'perl',
- 'NAME' => 'RDF::Helper',
- 'PREREQ_PM' => {
- 'Data::UUID' => '0',
- 'Moose' => '1.09',
- 'MooseX::Aliases' => '0',
- 'RDF::Query' => '2.905',
- 'Test::Simple' => '0.88',
- 'URI' => '0'
+ "DISTNAME" => "RDF-Helper",
+ "EXE_FILES" => [],
+ "LICENSE" => "perl",
+ "NAME" => "RDF::Helper",
+ "PREREQ_PM" => {
+ "Class::Load" => "0.20",
+ "Data::UUID" => 0,
+ "Moose" => "1.09",
+ "MooseX::Aliases" => 0,
+ "RDF::Query" => "2.905",
+ "Test::Simple" => "0.88",
+ "URI" => 0
},
- 'VERSION' => '2.0',
- 'test' => {
- 'TESTS' => 't/*.t'
+ "VERSION" => "2.01",
+ "test" => {
+ "TESTS" => "t/*.t"
}
);
diff --git a/README b/README
index 1239b99..2f2e2bc 100644
--- a/README
+++ b/README
@@ -1,11 +1,11 @@
This archive contains the distribution RDF-Helper,
-version 2.0:
+version 2.01:
Provide a consistent, high-level API for working with RDF with Perl
-This software is copyright (c) 2011 by Kip Hampton.
+This software is copyright (c) 2014 by Kip Hampton.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/dist.ini b/dist.ini
index 26ca909..9b815ca 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,5 +1,5 @@
name = RDF-Helper
-version = 2.0
+version = 2.01
author = Kip Hampton <khampton at totalcinema.com>
license = Perl_5
copyright_holder = Kip Hampton
@@ -16,6 +16,7 @@ RDF::Query = 2.905
URI = 0
Moose = 1.09
MooseX::Aliases = 0
+Class::Load = 0.20
diff --git a/lib/RDF/Helper.pm b/lib/RDF/Helper.pm
index a177ee7..be72c17 100644
--- a/lib/RDF/Helper.pm
+++ b/lib/RDF/Helper.pm
@@ -1,10 +1,11 @@
package RDF::Helper;
use 5.10.1;
use Moose;
-our $VERSION = '2.0';
+our $VERSION = '2.01';
use RDF::Helper::Statement;
use RDF::Helper::Object;
+use Class::Load;
has backend => (
does => 'RDF::Helper::API',
@@ -31,7 +32,7 @@ sub BUILDARGS {
default { $class = 'RDF::Helper::RDFTrine' }
}
- Class::MOP::load_class($class);
+ Class::Load::load_class($class);
my $backend = $class->new(%$args);
return { backend => $backend };
}
diff --git a/lib/RDF/Helper/API.pm b/lib/RDF/Helper/API.pm
index 1c046a4..d33426a 100644
--- a/lib/RDF/Helper/API.pm
+++ b/lib/RDF/Helper/API.pm
@@ -1,6 +1,6 @@
package RDF::Helper::API;
+use Class::Load;
use Moose::Role;
-
requires qw(
arrayref2rdf
assert_literal
@@ -87,7 +87,7 @@ sub new_query {
my ( $query_string, $query_lang ) = @_;
my $class = $self->query_interface;
- Class::MOP::load_class($class);
+ Class::Load::load_class($class);
return $class->new( $query_string, $query_lang, $self->model );
}
diff --git a/lib/RDF/Helper/RDFTrine.pm b/lib/RDF/Helper/RDFTrine.pm
index b6e7cbe..bee6cee 100644
--- a/lib/RDF/Helper/RDFTrine.pm
+++ b/lib/RDF/Helper/RDFTrine.pm
@@ -40,7 +40,7 @@ has _NS => ( isa => 'HashRef', is => 'ro', );
has ExpandQNames => ( isa => 'Bool', is => 'ro' );
-with qw(RDF::Helper::API RDF::Helper::PerlConvenience);
+with (qw(RDF::Helper::API RDF::Helper::PerlConvenience));
has base_uri => (
isa => 'Str',
@@ -122,7 +122,7 @@ sub add_statement {
my $statement = shift;
my @nodes = ();
- foreach my $type qw( subject predicate object ) {
+ foreach my $type (qw( subject predicate object ) ){
push @nodes, $self->helper2native( $statement->$type );
}
$self->model->add_statement( RDF::Trine::Statement->new(@nodes) );
@@ -136,7 +136,7 @@ sub remove_statements {
my $e = $self->get_enumerator(@_);
while ( my $s = $e->next ) {
my @nodes = ();
- foreach my $type qw( subject predicate object ) {
+ foreach my $type (qw( subject predicate object )) {
push @nodes, $self->helper2native( $s->$type );
}
@@ -284,7 +284,7 @@ sub next {
my $s = undef;
my @nodes = ();
- foreach my $type qw( subject predicate object ) {
+ foreach my $type (qw( subject predicate object )) {
push @nodes, process_node( $in->$type );
}
return RDF::Helper::Statement->new(@nodes);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/librdf-helper-perl.git
More information about the Pkg-perl-cvs-commits
mailing list