Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
!LICENSE
/cpanfile.snapshot
/local
/*.db
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ perl:
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
before_install:
- cpanm -n DBD::SQLite Devel::Cover::Report::Coveralls
script:
Expand Down
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{{$NEXT}}

- Fix failed tests with Perl 5.25.11 (miniuchi) #24

0.14 2016-01-14T03:03:02Z

- Fix test for SQLite 3.10 compatibility (ziguzagu) #21
Expand Down
11 changes: 6 additions & 5 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"-2006"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v3.0.1, CPAN::Meta::Converter version 2.150001",
"generated_by" : "Minilla/v3.0.10, CPAN::Meta::Converter version 2.150005",
"license" : [
"artistic_2"
],
Expand Down Expand Up @@ -79,7 +79,7 @@
"web" : "https://github.com/sixapart/data-objectdriver"
}
},
"version" : "0.14",
"version" : "0.15",
"x_authority" : "cpan:SIXAPART",
"x_contributors" : [
"Mart Atkins <matkins@sixapart.com>",
Expand All @@ -103,7 +103,8 @@
"ambs <ambs@cpan.org>",
"David Steinbrunner <dsteinbrunner@pobox.com>",
"Akira Sawada <akira@peatix.com>",
"Masahiro Iuchi <miuchi@sixapart.com>",
"ziguzagu <ziguzagu@gmail.com>"
]
"ziguzagu <ziguzagu@gmail.com>",
"Masahiro Iuchi <miuchi@sixapart.com>"
],
"x_serialization_backend" : "JSON::PP version 2.27300_01"
}
2 changes: 1 addition & 1 deletion lib/Data/ObjectDriver.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use Data::ObjectDriver::Iterator;

__PACKAGE__->mk_accessors(qw( pk_generator txn_active ));

our $VERSION = '0.14';
our $VERSION = '0.15';
our $DEBUG = $ENV{DOD_DEBUG} || 0;
our $PROFILE = $ENV{DOD_PROFILE} || 0;
our $PROFILER;
Expand Down
2 changes: 1 addition & 1 deletion t/01-col-inheritance.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
unless (eval { require DBD::SQLite }) {
Expand Down
2 changes: 1 addition & 1 deletion t/02-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/03-primary-keys.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/04-clone.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/05-deflate.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/06-errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use strict;

use lib 't/lib';
require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/07-has-a-cached.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/07-has-a.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/08-iterator.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/09-resultset.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

$Data::ObjectDriver::DEBUG = 0;
use Test::More;
Expand Down
2 changes: 1 addition & 1 deletion t/10-resultset-peek.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use strict;

use lib 't/lib';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

$Data::ObjectDriver::DEBUG = 0;
use Test::More;
Expand Down
2 changes: 1 addition & 1 deletion t/12-windows.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Data::Dumper;
use lib 't/lib';
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down
2 changes: 1 addition & 1 deletion t/20-driver-sqlite.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

$Data::ObjectDriver::DEBUG = 0;
use Test::More;
Expand Down
4 changes: 2 additions & 2 deletions t/31-cached.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib'; # for Cache::Memory substitute.
use lib 't/lib/cached';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
BEGIN {
Expand Down Expand Up @@ -187,6 +187,6 @@ ok(! Ingredient->lookup(1), "really deleted");
is($recipe->remove, 1, 'Recipe removed successfully');
is($recipe2->remove, 1, 'Recipe removed successfully');

require 't/txn-common.pl';
require './t/txn-common.pl';

sub DESTROY { teardown_dbs(qw( global )); }
4 changes: 2 additions & 2 deletions t/32-partitioned.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib/partitioned';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
unless (eval { require DBD::SQLite }) {
Expand Down Expand Up @@ -123,6 +123,6 @@ is $ingredient3->remove, 1, 'Ingredient removed successfully';
is $recipe->remove, 1, 'Recipe removed successfully';
is $recipe2->remove, 1, 'Recipe removed successfully';

require 't/txn-common.pl';
require './t/txn-common.pl';

sub DESTROY { teardown_dbs(qw( global cluster1 cluster2 )); }
2 changes: 1 addition & 1 deletion t/33-views.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib/views';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
BEGIN {
Expand Down
4 changes: 2 additions & 2 deletions t/34-both.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/both';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down Expand Up @@ -186,6 +186,6 @@ $replaced = Recipe->lookup($rid);
ok $replaced->{__cached};
is $replaced->title, 'Cup Cake';

require 't/txn-common.pl';
require './t/txn-common.pl';

sub DESTROY { teardown_dbs(qw( global cluster1 cluster2 )); }
2 changes: 1 addition & 1 deletion t/35-multiplexed.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib/multiplexed';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::Exception;
use Test::More;
Expand Down
2 changes: 1 addition & 1 deletion t/41-callbacks.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
unless (eval { require DBD::SQLite }) {
Expand Down
2 changes: 1 addition & 1 deletion t/42-callbacks-multi-pk.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;

use lib 't/lib/partitioned';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
unless (eval { require DBD::SQLite }) {
Expand Down
2 changes: 1 addition & 1 deletion t/50-profiling.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use strict;
use lib 't/lib';
use lib 't/lib/both';

require 't/lib/db-common.pl';
require './t/lib/db-common.pl';

use Test::More;
use Test::Exception;
Expand Down