Hello community, here is the log from the commit of package perl-Mojo-SQLite for openSUSE:Factory checked in at 2017-06-07 09:55:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Mojo-SQLite (Old) and /work/SRC/openSUSE:Factory/.perl-Mojo-SQLite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojo-SQLite" Wed Jun 7 09:55:57 2017 rev:5 rq:501422 version:2.002 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Mojo-SQLite/perl-Mojo-SQLite.changes 2017-02-21 13:51:46.316349123 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Mojo-SQLite.new/perl-Mojo-SQLite.changes 2017-06-07 09:56:33.317086128 +0200 @@ -1,0 +2,9 @@ +Fri Jun 2 06:11:27 UTC 2017 - [email protected] + +- updated to 2.002 + see /usr/share/doc/packages/perl-Mojo-SQLite/Changes + + 2.002 2017-06-01 14:16:34 EDT + - Add no_wal option to prevent enabling WAL mode on connection. + +------------------------------------------------------------------- Old: ---- Mojo-SQLite-2.001.tar.gz New: ---- Mojo-SQLite-2.002.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Mojo-SQLite.spec ++++++ --- /var/tmp/diff_new_pack.f4C4Nd/_old 2017-06-07 09:56:33.980992310 +0200 +++ /var/tmp/diff_new_pack.f4C4Nd/_new 2017-06-07 09:56:33.980992310 +0200 @@ -17,7 +17,7 @@ Name: perl-Mojo-SQLite -Version: 2.001 +Version: 2.002 Release: 0 %define cpan_name Mojo-SQLite Summary: Tiny Mojolicious Wrapper for Sqlite @@ -83,7 +83,8 @@ All I/O and queries are performed synchronously. However, the "Write-Ahead Log" journal is enabled for all connections, allowing multiple processes to read and write concurrently to the same database file (but only one can -write at a time). See http://sqlite.org/wal.html for more information. +write at a time). You can prevent this mode from being enabled by passing +the option 'no_wal'. See http://sqlite.org/wal.html for more information. # Performed concurrently my $pid = fork || die $!; ++++++ Mojo-SQLite-2.001.tar.gz -> Mojo-SQLite-2.002.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/Build.PL new/Mojo-SQLite-2.002/Build.PL --- old/Mojo-SQLite-2.001/Build.PL 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/Build.PL 2017-06-01 20:16:36.000000000 +0200 @@ -1,5 +1,5 @@ # This Build.PL for Mojo-SQLite was generated by -# Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.023 +# Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.025 use strict; use warnings; @@ -68,7 +68,7 @@ } - # This section was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.008. + # This section was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.009. use strict; use warnings; @@ -84,7 +84,7 @@ "Dan Book <dbook\@cpan.org>" ], "dist_name" => "Mojo-SQLite", - "dist_version" => "2.001", + "dist_version" => "2.002", "license" => "artistic_2", "module_name" => "Mojo::SQLite", "recursive_test_files" => 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/Changes new/Mojo-SQLite-2.002/Changes --- old/Mojo-SQLite-2.001/Changes 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/Changes 2017-06-01 20:16:36.000000000 +0200 @@ -1,3 +1,6 @@ +2.002 2017-06-01 14:16:34 EDT + - Add no_wal option to prevent enabling WAL mode on connection. + 2.001 2017-02-18 15:36:16 EST - Set name_sep in default SQL::Abstract object to support proper quoting of table and column names. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/MANIFEST new/Mojo-SQLite-2.002/MANIFEST --- old/Mojo-SQLite-2.001/MANIFEST 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/MANIFEST 2017-06-01 20:16:36.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. Build.PL CONTRIBUTING.md Changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/META.json new/Mojo-SQLite-2.002/META.json --- old/Mojo-SQLite-2.001/META.json 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/META.json 2017-06-01 20:16:36.000000000 +0200 @@ -4,7 +4,7 @@ "Dan Book <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], @@ -66,28 +66,28 @@ "provides" : { "Mojo::SQLite" : { "file" : "lib/Mojo/SQLite.pm", - "version" : "2.001" + "version" : "2.002" }, "Mojo::SQLite::Database" : { "file" : "lib/Mojo/SQLite/Database.pm", - "version" : "2.001" + "version" : "2.002" }, "Mojo::SQLite::Migrations" : { "file" : "lib/Mojo/SQLite/Migrations.pm", - "version" : "2.001" + "version" : "2.002" }, "Mojo::SQLite::PubSub" : { "file" : "lib/Mojo/SQLite/PubSub.pm", - "version" : "2.001", + "version" : "2.002", "x_deprecated" : 1 }, "Mojo::SQLite::Results" : { "file" : "lib/Mojo/SQLite/Results.pm", - "version" : "2.001" + "version" : "2.002" }, "Mojo::SQLite::Transaction" : { "file" : "lib/Mojo/SQLite/Transaction.pm", - "version" : "2.001" + "version" : "2.002" } }, "release_status" : "stable", @@ -103,10 +103,10 @@ }, "x_IRC" : "irc://irc.perl.org/#mojo" }, - "version" : "2.001", + "version" : "2.002", "x_Dist_Zilla" : { "perl" : { - "version" : "5.024000" + "version" : "5.026000" }, "plugins" : [ { @@ -127,12 +127,12 @@ { "class" : "Dist::Zilla::Plugin::GenerateFile", "name" : "@Author::DBOOK/Generate_Contrib", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::DBOOK/MetaConfig", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -142,24 +142,24 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::DBOOK/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.008" + "version" : "6.009" } ], "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { - "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002003", - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000031", + "Module::Metadata" : "1.000033", "version" : "0.004" } }, "name" : "@Author::DBOOK/MetaProvides::Package", - "version" : "2.004002" + "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile", @@ -170,7 +170,7 @@ "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git --version" : "1.7.1", + "git_version" : "2.5.5", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -178,17 +178,17 @@ } }, "name" : "@Author::DBOOK/Git::Contributors", - "version" : "0.029" + "version" : "0.030" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::DBOOK/MetaNoIndex", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Author::DBOOK/MetaResources", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -211,12 +211,12 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "1.7.1", + "git_version" : "2.5.5", "repo_root" : "." } }, "name" : "@Author::DBOOK/Git::Check", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion", @@ -237,7 +237,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::DBOOK/NextRelease", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -280,7 +280,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "1.7.1", + "git_version" : "2.5.5", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -288,7 +288,7 @@ } }, "name" : "@Author::DBOOK/Git::Commit", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -297,12 +297,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v2.001", + "tag" : "v2.002", "tag_format" : "v%v", "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "1.7.1", + "git_version" : "2.5.5", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -310,7 +310,7 @@ } }, "name" : "@Author::DBOOK/Git::Tag", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", @@ -345,7 +345,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "1.7.1", + "git_version" : "2.5.5", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -353,7 +353,7 @@ } }, "name" : "@Author::DBOOK/Commit_Version_Bump", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -365,27 +365,27 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git --version" : "1.7.1", + "git_version" : "2.5.5", "repo_root" : "." } }, "name" : "@Author::DBOOK/Git::Push", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::DBOOK/PodSyntaxTests", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::DBOOK/PodCoverageTests", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@Author::DBOOK/Test::ReportPrereqs", - "version" : "0.025" + "version" : "0.027" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", @@ -412,7 +412,7 @@ } }, "name" : "@Author::DBOOK/Git::GatherDir", - "version" : "2.041" + "version" : "2.042" }, { "class" : "Dist::Zilla::Plugin::Regenerate::AfterReleasers", @@ -424,36 +424,36 @@ ] }, "Dist::Zilla::Role::Regenerator" : { - "$Dist::Zilla::Role::Regenerator::VERSION" : "0.001000" + "$Dist::Zilla::Role::Regenerator::VERSION" : "0.001001" } }, "name" : "@Author::DBOOK/Regenerate::AfterReleasers", - "version" : "0.001000" + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::DBOOK/PruneCruft", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::DBOOK/ManifestSkip", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::DBOOK/MetaYAML", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::DBOOK/MetaJSON", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::DBOOK/License", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -468,17 +468,17 @@ { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::DBOOK/ExecDir", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::DBOOK/ShareDir", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::DBOOK/ScriptDir", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback", @@ -494,7 +494,7 @@ } }, "name" : "ModuleBuild, via ModuleBuildTiny::Fallback", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ModuleBuildTiny", @@ -513,7 +513,7 @@ } }, "name" : "@Author::DBOOK/ModuleBuildTiny::Fallback", - "version" : "0.023" + "version" : "0.025" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -533,22 +533,22 @@ { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::DBOOK/Manifest", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::DBOOK/TestRelease", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::DBOOK/ConfirmRelease", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::DBOOK/UploadToCPAN", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::Deprecated", @@ -566,71 +566,71 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.008" + "version" : "6.009" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::DBOOK/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.008" + "version" : "6.009" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "6.008" + "version" : "6.009" } }, "x_contributors" : [ "Dan Book <[email protected]>", "Dan Book <[email protected]>" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0226" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/META.yml new/Mojo-SQLite-2.002/META.yml --- old/Mojo-SQLite-2.001/META.yml 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/META.yml 2017-06-01 20:16:36.000000000 +0200 @@ -9,7 +9,7 @@ configure_requires: Module::Build::Tiny: '0.034' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,23 +26,23 @@ provides: Mojo::SQLite: file: lib/Mojo/SQLite.pm - version: '2.001' + version: '2.002' Mojo::SQLite::Database: file: lib/Mojo/SQLite/Database.pm - version: '2.001' + version: '2.002' Mojo::SQLite::Migrations: file: lib/Mojo/SQLite/Migrations.pm - version: '2.001' + version: '2.002' Mojo::SQLite::PubSub: file: lib/Mojo/SQLite/PubSub.pm - version: '2.001' + version: '2.002' x_deprecated: 1 Mojo::SQLite::Results: file: lib/Mojo/SQLite/Results.pm - version: '2.001' + version: '2.002' Mojo::SQLite::Transaction: file: lib/Mojo/SQLite/Transaction.pm - version: '2.001' + version: '2.002' requires: Carp: '0' DBD::SQLite: '1.50' @@ -61,10 +61,10 @@ bugtracker: https://github.com/Grinnz/Mojo-SQLite/issues homepage: https://github.com/Grinnz/Mojo-SQLite repository: https://github.com/Grinnz/Mojo-SQLite.git -version: '2.001' +version: '2.002' x_Dist_Zilla: perl: - version: '5.024000' + version: '5.026000' plugins: - class: Dist::Zilla::Plugin::GithubMeta @@ -80,11 +80,11 @@ - class: Dist::Zilla::Plugin::GenerateFile name: '@Author::DBOOK/Generate_Contrib' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::DBOOK/MetaConfig' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -93,18 +93,18 @@ - class: Dist::Zilla::Plugin::FinderCode name: '@Author::DBOOK/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.008' + version: '6.009' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: - $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002003' + $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' inherit_missing: '1' inherit_version: '1' meta_noindex: '1' Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000031' + Module::Metadata: '1.000033' version: '0.004' name: '@Author::DBOOK/MetaProvides::Package' - version: '2.004002' + version: '2.004003' - class: Dist::Zilla::Plugin::Prereqs::FromCPANfile name: '@Author::DBOOK/Prereqs::FromCPANfile' @@ -113,21 +113,21 @@ class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - 'git --version': 1.7.1 + git_version: 2.5.5 include_authors: 0 include_releaser: 1 order_by: name paths: [] name: '@Author::DBOOK/Git::Contributors' - version: '0.029' + version: '0.030' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::DBOOK/MetaNoIndex' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::MetaResources name: '@Author::DBOOK/MetaResources' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Author::DBOOK/CheckChangesHasContent' @@ -145,10 +145,10 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - 'git --version': 1.7.1 + git_version: 2.5.5 repo_root: . name: '@Author::DBOOK/Git::Check' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::RewriteVersion config: @@ -164,7 +164,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@Author::DBOOK/NextRelease' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -198,12 +198,12 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - 'git --version': 1.7.1 + git_version: 2.5.5 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::DBOOK/Git::Commit' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -211,16 +211,16 @@ branch: ~ changelog: Changes signed: 0 - tag: v2.001 + tag: v2.002 tag_format: v%v tag_message: v%v Dist::Zilla::Role::Git::Repo: - 'git --version': 1.7.1 + git_version: 2.5.5 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::DBOOK/Git::Tag' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease config: @@ -246,12 +246,12 @@ - (?^:^(?:lib|script|bin)/) changelog: Changes Dist::Zilla::Role::Git::Repo: - 'git --version': 1.7.1 + git_version: 2.5.5 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::DBOOK/Commit_Version_Bump' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Git::Push config: @@ -260,22 +260,22 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - 'git --version': 1.7.1 + git_version: 2.5.5 repo_root: . name: '@Author::DBOOK/Git::Push' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::DBOOK/PodSyntaxTests' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::DBOOK/PodCoverageTests' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::DBOOK/Test::ReportPrereqs' - version: '0.025' + version: '0.027' - class: Dist::Zilla::Plugin::Git::GatherDir config: @@ -297,7 +297,7 @@ Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@Author::DBOOK/Git::GatherDir' - version: '2.041' + version: '2.042' - class: Dist::Zilla::Plugin::Regenerate::AfterReleasers config: @@ -306,29 +306,29 @@ - '@Author::DBOOK/Readme_Github' - '@Author::DBOOK/CopyFilesFromRelease' Dist::Zilla::Role::Regenerator: - $Dist::Zilla::Role::Regenerator::VERSION: '0.001000' + $Dist::Zilla::Role::Regenerator::VERSION: '0.001001' name: '@Author::DBOOK/Regenerate::AfterReleasers' - version: '0.001000' + version: '0.001001' - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::DBOOK/PruneCruft' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Author::DBOOK/ManifestSkip' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::DBOOK/MetaYAML' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::DBOOK/MetaJSON' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::License name: '@Author::DBOOK/License' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -339,15 +339,15 @@ - class: Dist::Zilla::Plugin::ExecDir name: '@Author::DBOOK/ExecDir' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ShareDir name: '@Author::DBOOK/ShareDir' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::DBOOK/ScriptDir' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ModuleBuildTiny::Fallback config: @@ -360,7 +360,7 @@ Dist::Zilla::Role::TestRunner: default_jobs: 1 name: 'ModuleBuild, via ModuleBuildTiny::Fallback' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ModuleBuildTiny config: @@ -371,7 +371,7 @@ Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Author::DBOOK/ModuleBuildTiny::Fallback' - version: '0.023' + version: '0.025' - class: Dist::Zilla::Plugin::RunExtraTests config: @@ -386,19 +386,19 @@ - class: Dist::Zilla::Plugin::Manifest name: '@Author::DBOOK/Manifest' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::TestRelease name: '@Author::DBOOK/TestRelease' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::DBOOK/ConfirmRelease' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::DBOOK/UploadToCPAN' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::Deprecated config: @@ -411,52 +411,52 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.008' + version: '6.009' - class: Dist::Zilla::Plugin::FinderCode name: '@Author::DBOOK/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.008' + version: '6.009' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.008' + version: '6.009' x_contributors: - 'Dan Book <[email protected]>' - 'Dan Book <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/README new/Mojo-SQLite-2.002/README --- old/Mojo-SQLite-2.001/README 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/README 2017-06-01 20:16:36.000000000 +0200 @@ -92,8 +92,9 @@ All I/O and queries are performed synchronously. However, the "Write-Ahead Log" journal is enabled for all connections, allowing multiple processes to read and write concurrently to the same database - file (but only one can write at a time). See http://sqlite.org/wal.html - for more information. + file (but only one can write at a time). You can prevent this mode from + being enabled by passing the option no_wal. See + http://sqlite.org/wal.html for more information. # Performed concurrently my $pid = fork || die $!; @@ -281,6 +282,9 @@ # Additional options $sql->from_filename($filename, { PrintError => 1 }); + + # Readonly connection without WAL mode + $sql->from_filename($filename, { ReadOnly => 1, no_wal => 1 }); from_string @@ -330,6 +334,9 @@ $sql->from_string('data.db?PrintError=1&sqlite_allow_multiple_statements=1'); $sql->from_string(Mojo::URL->new->scheme('sqlite')->path($filename)->query(sqlite_see_if_its_a_number => 1)); $sql->from_string(URI::file->new($filename)->Mojo::Base::tap(query_form => {PrintError => 1})); + + # Readonly connection without WAL mode + $sql->from_string('data.db?ReadOnly=1&no_wal=1'); DEBUGGING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Database.pm new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Database.pm --- old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Database.pm 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Database.pm 2017-06-01 20:16:36.000000000 +0200 @@ -10,7 +10,7 @@ use Mojo::Util qw(deprecated monkey_patch); use Scalar::Util 'weaken'; -our $VERSION = '2.001'; +our $VERSION = '2.002'; our @CARP_NOT = qw(Mojo::SQLite::Migrations); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Migrations.pm new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Migrations.pm --- old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Migrations.pm 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Migrations.pm 2017-06-01 20:16:36.000000000 +0200 @@ -8,7 +8,7 @@ use constant DEBUG => $ENV{MOJO_MIGRATIONS_DEBUG} || 0; -our $VERSION = '2.001'; +our $VERSION = '2.002'; has name => 'migrations'; has 'sqlite'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/lib/Mojo/SQLite/PubSub.pm new/Mojo-SQLite-2.002/lib/Mojo/SQLite/PubSub.pm --- old/Mojo-SQLite-2.001/lib/Mojo/SQLite/PubSub.pm 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/lib/Mojo/SQLite/PubSub.pm 2017-06-01 20:16:36.000000000 +0200 @@ -5,7 +5,7 @@ use Mojo::Util 'deprecated'; use Scalar::Util 'weaken'; -our $VERSION = '2.001'; +our $VERSION = '2.002'; has [qw(poll_interval sqlite)]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Results.pm new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Results.pm --- old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Results.pm 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Results.pm 2017-06-01 20:16:36.000000000 +0200 @@ -5,7 +5,7 @@ use Mojo::JSON 'from_json'; use Mojo::Util 'tablify'; -our $VERSION = '2.001'; +our $VERSION = '2.002'; has 'sth'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Transaction.pm new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Transaction.pm --- old/Mojo-SQLite-2.001/lib/Mojo/SQLite/Transaction.pm 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/lib/Mojo/SQLite/Transaction.pm 2017-06-01 20:16:36.000000000 +0200 @@ -3,7 +3,7 @@ use Carp 'croak'; -our $VERSION = '2.001'; +our $VERSION = '2.002'; has 'db'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/lib/Mojo/SQLite.pm new/Mojo-SQLite-2.002/lib/Mojo/SQLite.pm --- old/Mojo-SQLite-2.001/lib/Mojo/SQLite.pm 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/lib/Mojo/SQLite.pm 2017-06-01 20:16:36.000000000 +0200 @@ -14,7 +14,7 @@ use URI; use URI::db; -our $VERSION = '2.001'; +our $VERSION = '2.002'; has abstract => sub { SQL::Abstract->new(name_sep => '.', quote_char => '"') }; has 'auto_migrate'; @@ -82,10 +82,13 @@ delete @$self{qw(pid queue)} unless ($self->{pid} //= $$) eq $$; while (my $dbh = shift @{$self->{queue} || []}) { return $dbh if $dbh->ping } + my $dbh = DBI->connect($self->dsn, undef, undef, $self->options) // croak "DBI connection to @{[$self->dsn]} failed: $DBI::errstr"; # RaiseError disabled - $dbh->do('pragma journal_mode=WAL'); - $dbh->do('pragma synchronous=NORMAL'); + unless ($self->options->{no_wal}) { + $dbh->do('pragma journal_mode=WAL'); + $dbh->do('pragma synchronous=NORMAL'); + } # Cache the last insert rowid on inserts weaken(my $weakdbh = $dbh); @@ -212,7 +215,8 @@ All I/O and queries are performed synchronously. However, the "Write-Ahead Log" journal is enabled for all connections, allowing multiple processes to read and write concurrently to the same database file (but only one can write at a -time). See L<http://sqlite.org/wal.html> for more information. +time). You can prevent this mode from being enabled by passing the option +C<no_wal>. See L<http://sqlite.org/wal.html> for more information. # Performed concurrently my $pid = fork || die $!; @@ -398,6 +402,9 @@ # Additional options $sql->from_filename($filename, { PrintError => 1 }); + + # Readonly connection without WAL mode + $sql->from_filename($filename, { ReadOnly => 1, no_wal => 1 }); =head2 from_string @@ -447,6 +454,9 @@ $sql->from_string(Mojo::URL->new->scheme('sqlite')->path($filename)->query(sqlite_see_if_its_a_number => 1)); $sql->from_string(URI::file->new($filename)->Mojo::Base::tap(query_form => {PrintError => 1})); + # Readonly connection without WAL mode + $sql->from_string('data.db?ReadOnly=1&no_wal=1'); + =head1 DEBUGGING You can set the C<DBI_TRACE> environment variable to get some advanced diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/t/00-report-prereqs.t new/Mojo-SQLite-2.002/t/00-report-prereqs.t --- old/Mojo-SQLite-2.001/t/00-report-prereqs.t 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/t/00-report-prereqs.t 2017-06-01 20:16:36.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027 use Test::More tests => 1; @@ -68,7 +68,7 @@ ); # Add static prereqs to the included modules list -my $static_prereqs = do 't/00-report-prereqs.dd'; +my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( @@ -78,12 +78,14 @@ # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; +my $cpan_meta_error; if ( $source && $HAS_CPAN_META && (my $meta = eval { CPAN::Meta->load_file($source) } ) ) { $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { + $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } @@ -169,10 +171,18 @@ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } +if ( $cpan_meta_error || @dep_errors ) { + diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; +} + +if ( $cpan_meta_error ) { + my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; + diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; +} + if ( @dep_errors ) { diag join("\n", - "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", - "The following REQUIRED prerequisites were not satisfied:\n", + "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojo-SQLite-2.001/t/database.t new/Mojo-SQLite-2.002/t/database.t --- old/Mojo-SQLite-2.001/t/database.t 2017-02-18 21:36:20.000000000 +0100 +++ new/Mojo-SQLite-2.002/t/database.t 2017-06-01 20:16:36.000000000 +0200 @@ -219,4 +219,15 @@ eval { $sql->db->query('select * from table_does_not_exist') }; like $@, qr/database\.t/, 'right error'; +# WAL mode option +{ + my $journal_mode = $sql->db->query('pragma journal_mode')->arrays->first->[0]; + is uc $journal_mode, 'WAL', 'right journal mode'; + + my $sql = Mojo::SQLite->new; + $sql->options->{no_wal} = 1; + $journal_mode = $sql->db->query('pragma journal_mode')->arrays->first->[0]; + is uc $journal_mode, 'DELETE', 'right journal mode'; +} + done_testing();
