~ubuntu-branches/ubuntu/trusty/librdf-trine-perl/trusty

« back to all changes in this revision

Viewing changes to lib/RDF/Trine/Store.pm

  • Committer: Package Import Robot
  • Author(s): Jonas Smedegaard, Jonas Smedegaard
  • Date: 2012-12-11 04:17:02 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20121211041702-tfqq2grzobwynjpm
Tags: 1.002-1
* New upstream release.
  Highlights:
  + Replaced old Turtle and TriG parsers with new streaming
    implementations.
  + Added RDF::Trine::Node::Literal->canonicalize method.
  + Updated RDF::Trine::Parser::Redland to construct a new parser
    object on each parse (avoiding a bug in redland).
  + Applied partial patch to 'fix interaction with
    HTML::Data::Parser'.
  + Added POD to RDF::Trine and RDF::Trine::Store::DBI.
  + Silenced undefined warnings in RDF::Trine::Parser::Turtle::Lexer.
  + Silenced warning of cartesian joins in
    RDF::Trine::Store::Hexastore.

[ Jonas Smedegaard ]
* Bump debhelper compatibility level to 8.
* Update package relations:
  + (Build-)depend on libmoose-perl and libmoosex-arrayref-perl.
  + Relax to build-depend unversioned on cdbs: Needed version
    satisfied in stable, and oldstable no longer supported.
* Update copyright file:
  + Expand Files section authored by Toby Inkster, and extend
    coverage.
  + Fix use comment and license pseudo-sections to obey silly
    restrictions of copyright format 1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
=head1 VERSION
9
9
 
10
 
This document describes RDF::Trine::Store version 1.000
 
10
This document describes RDF::Trine::Store version 1.002
11
11
 
12
12
=head1 DESCRIPTION
13
13
 
83
83
 
84
84
our ($VERSION, $HAVE_REDLAND, %STORE_CLASSES);
85
85
BEGIN {
86
 
        $VERSION        = '1.000';
 
86
        $VERSION        = '1.002';
87
87
        if ($RDF::Redland::VERSION) {
88
88
                $HAVE_REDLAND   = 1;
89
89
        }
294
294
                my @vars        = values %vars;
295
295
                my $sub         = sub {
296
296
                        my $row = $_iter->next;
297
 
                        return undef unless ($row);
 
297
                        return unless ($row);
298
298
                        my %data        = map { $vars{ $_ } => $row->$_() } (keys %vars);
299
299
                        return RDF::Trine::VariableBindings->new( \%data );
300
300
                };