Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-DBIx-Connector for
openSUSE:Factory checked in at 2022-09-09 18:27:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBIx-Connector (Old)
and /work/SRC/openSUSE:Factory/.perl-DBIx-Connector.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBIx-Connector"
Fri Sep 9 18:27:54 2022 rev:5 rq:1002193 version:0.58
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBIx-Connector/perl-DBIx-Connector.changes
2021-09-30 23:44:46.484564140 +0200
+++
/work/SRC/openSUSE:Factory/.perl-DBIx-Connector.new.2083/perl-DBIx-Connector.changes
2022-09-09 18:29:27.029255791 +0200
@@ -1,0 +2,6 @@
+Tue Aug 30 03:06:10 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 0.58
+ see /usr/share/doc/packages/perl-DBIx-Connector/Changes
+
+-------------------------------------------------------------------
Old:
----
DBIx-Connector-0.57.tar.gz
New:
----
DBIx-Connector-0.58.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBIx-Connector.spec ++++++
--- /var/tmp/diff_new_pack.apF3ni/_old 2022-09-09 18:29:27.401256770 +0200
+++ /var/tmp/diff_new_pack.apF3ni/_new 2022-09-09 18:29:27.405256781 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-DBIx-Connector
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name DBIx-Connector
Name: perl-DBIx-Connector
-Version: 0.57
+Version: 0.58
Release: 0
-Summary: Fast, safe DBI connection and transaction management
License: Artistic-1.0 OR GPL-1.0-or-later
+Summary: Fast, safe DBI connection and transaction management
URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
@@ -34,7 +34,17 @@
%{perl_requires}
%description
-Fast, safe DBI connection and transaction management
+DBIx::Connector provides a simple interface for fast and safe DBI
+connection and transaction management. Connecting to a database can be
+expensive; you don't want your application to re-connect every time you
+need to run a query. The efficient thing to do is to hang on to a database
+handle to maintain a connection to the database in order to minimize that
+overhead. DBIx::Connector lets you do that without having to worry about
+dropped or corrupted connections.
+
+You might be familiar with Apache::DBI and with the DBI's
+'connect_cached()' constructor. DBIx::Connector serves a similar need, but
+does a much better job. How is it different? I'm glad you asked!
%prep
%autosetup -n %{cpan_name}-%{version}
@@ -52,6 +62,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%doc Changes
+%doc Changes README
+%license LICENSE
%changelog
++++++ DBIx-Connector-0.57.tar.gz -> DBIx-Connector-0.58.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/Changes
new/DBIx-Connector-0.58/Changes
--- old/DBIx-Connector-0.57/Changes 2021-09-27 12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/Changes 2022-08-29 05:30:06.000000000 +0200
@@ -1,6 +1,10 @@
-Revision history for Perl extension DBIx::Connector.
+Release history for DBIx-Connector
-0.57 2021-09-27
+0.58 Mon 29 Aug 2022
+ - No functional changes
+ - Updated packaging and package metadata
+
+0.57 Mon 27 Sep 2021
- `$conn->dsn` and `$conn->driver_name` accessors
- Use of ExtUtils::MakeMaker instead of Module::Build
- Corrected, reduced, properly declared prerequisites
@@ -8,18 +12,18 @@
- Simplified SQLite version check
- Doc typo fix. Thanks to Michael R. Davis
-0.56 2016-03-16
+0.56 Wed 16 Mar 2016
- Added Firebird support, thanks to Stefan Suciu.
- Fixed SQLite savepoint support to properly detect SQlite versions 3.9
and higher.
- Restored MySQL savepoint testing when the DBICTEST_* environment
variables are set.
-0.55 2016-02-05
+0.55 Fri 05 Feb 2016
- Added versions to the RollbackError exception classes to make PAUSE
happy.
-0.54 2016-02-05
+0.54 Fri 05 Feb 2016
- Removeed the Pod tests from the distribution.
- Fixed the example code for handling `rollback_error` exceptions in the
documentation to properly wrap the transaction in an exception
@@ -39,12 +43,12 @@
Earlier versions had an incorrect implementation of the `ping()`
method (Issue #41).
-0.53 2013-03-20
+0.53 Wed 20 Mar 2013
- Fixed some documentation typos, thanks to Mike O'Regan (Issue #22).
- Fixed issue where an connection failure caused an unhelpful error
(Issue #26).
-0.52 2012-05-29
+0.52 Tue 29 May 2012
- The DBI params are now encapsulated in a code reference, rather than
stored as the passed array, so that the password is less likely to be
displayed in a dump. Idea borrowed from Rose::DB. Patch from Brad
@@ -59,11 +63,11 @@
for this functionality, not realizing that the DBI already provides
it. Randy Stauner.
-0.51 2012-02-18
+0.51 Sat 18 Feb 2012
- Fixed internal exception handling on Perls less than 5.14, where some
exceptions woult not be propagated to the caller.
-0.50 2012-02-14
+0.50 Tue 14 Feb 2012
- The `catch` functionality has been completely removed. Any `catch`
block passed to `run()`, `txn()`, or `svp()` will be ignored. Errors
will trigger fatal exceptions.
@@ -75,11 +79,11 @@
exist and work even if the driver is loaded before DBD::SQLite. Thanks
to Ricardo SIGNES for the regression test and the fix.
-0.47 2011-09-26
+0.47 Mon 26 Sep 2011
- Use of the deprecated `catch` functionality now warns on every call,
rather than just the first call from a given caller.
-0.46 2011-07-17
+0.46 Sun 17 Jul 2011
- Eliminated "Use of qw(...) as parentheses is deprecated" warning in
test when running on Perl 5.14.
- Properly `local`ing `$$` in the `t/base.t` test so that it doesn't die
@@ -91,7 +95,7 @@
caller to keep log verbosity down. In the next release, it will warn
for every call. The release after that, it will be removed altogether.
-0.45 2011-05-10
+0.45 Tue 10 May 2011
- Fixed crash when `in_txn()` was called before an actual connection
was established.
- Strongly recommend setting `AutoCommit` to true in the documentation.
@@ -101,11 +105,11 @@
`run()` in fixup mode and in nested calls to `txn()` in all modes.
Thanks to Mark Lawrence for the report (RT #66974).
-0.44 2011-03-20
+0.44 Sun 20 Mar 2011
- Fixed bug with the MySQL driver introduced by the auto-reconnection
fix in 0.43. Sorry for the lame mistake. [Lee Aylward]
-0.43 2011-03-17
+0.43 Thu 17 Mar 2011
- DBIx::Connector now sets the DBI `RaiseError` parameter to true in
`new()` if neither it nor `HandleError` has been specified. This is to
increase the likelihood that exception handling will be properly
@@ -126,7 +130,7 @@
function. Just using `catch =>` instead, which is cleaner-looking
anyway (RT #65196).
-0.42 2010-12-17
+0.42 Fri 17 Dec 2010
- If a catch block died, the exception was not being propagated. That
is, if a catch block threw an exception, DBIx::Connector ate it, and
any calling code would not be able to catch it. This was a pretty
@@ -138,14 +142,14 @@
*only* when a fixup run found that the database was disconnected and
successfully re-connected, so it's a pretty rare condition.
-0.41 2010-12-08
+0.41 Wed 08 Dec 2010
- `connect()` no longer returns a disconnected database handle. Thanks
to John Siracusa for the spot (Issue #6).
- Added `disconnect_on_destroy()`, which can be used to disable
disconnecting the database handle when the connector object is
destroyed. Suggested by John Siracusa.
-0.40 2010-09-17
+0.40 Fri 17 Sep 2010
- The code refs passed to `run()`, `txn()`, and `svp()` now know their
contexts, so that `wantarray` can be used to decide what to return.
Patch from Yaroslav Korshak.
@@ -174,7 +178,7 @@
- Require Test::Pod 1.41 for POD tests so that `L<text|url>` is
considered valid.
-0.35 2010-06-04
+0.35 Fri 04 Jun 2010
- Added a scoping block around the execution of the blocks passed to
`run()`, `txn()`, and `svp()`. This prevents an app from exiting when
a user returns from the block via the `next` or `last` keyword, which
@@ -184,25 +188,25 @@
failures from completely swallowing up the underlying transaction
failures.
-0.34 2010-05-03
+0.34 Mon 03 May 2010
- Added `mode()` attribute to control the default mode used by `run()`,
`txn()`, and `svp()`.
- Deprecated `with()`. Its use triggers a warning and it will be removed
in a future version. Use `mode()` instead.
-0.33 2010-03-31
+0.33 Wed 31 Mar 2010
- A few useful documentation improvements, thanks to Quinn Weaver.
- Added `in_txn()`, which returns true when the connection is in a
transaction and false when it's not.
-0.32 2010-02-22
+0.32 Mon 22 Feb 2010
- Switched to using `FETCH()` and `STORE()` to get and set DBI
attributes where possible. The primary reason is to avoid death during
global destruction, when the DBI's `tie`d interface can sometimes be
pulled out from under us. Switched to the OO interface througout to be
consistent.
-0.31 2009-11-09
+0.31 Mon 09 Nov 2009
- Added missing version numbers to DBIx::Connector::Driver::SQLite
and the proxy class used by `with()`.
- Fixed orphaned references to DBIx::Connection to properly be
@@ -213,7 +217,7 @@
- Some doc typos corrected by Robert Buels.
- Fixed test failure on Win32.
-0.30 2009-10-29
+0.30 Thu 29 Oct 2009
- Compatibility change: Additional arguments to `run()`, `txn()`, and
`svp()` are no longer passed on to the execution of the block, since
they are immediately available to the closure, anyway. This simplifies
@@ -231,7 +235,7 @@
- Moved up the discussion of calling `svp()` outside of a transaction in
the documentation.
-0.20 2009-10-20
+0.20 Tue 20 Oct 2009
- Compatibility changes:
+ Added `run()`, `txn()`, and `svp()` as replacements for `do()`,
`txn_do()`, and `svp_do()`. The latter will issue a warning when
@@ -254,18 +258,18 @@
not always done is `ping`ing the database.
- Added `with()`.
-0.12 2009-10-06
+0.12 Tue 06 Oct 2009
- Fixed the GitHub links, which were still using the old name.
- Removed `use feature` and `use utf8` from `t/pod-coverage.t` -- those
were pastos from another project.
- Removed `use DBD::SQLite` from DBix::Connector::Driver::SQLite. It
will already have been loaded by the time that code loads.
-0.11 2009-10-05
+0.11 Mon 05 Oct 2009
- Filled in the important details in the README.
- Changed name from DBIx::Connection to DBIx::Connector, as there is
already a module called DBIx::Connection on the CPAN.
-0.10 2009-10-05
+0.10 Mon 05 Oct 2009
- Initial version, with code borrowed from DBIx::Class, Apache::DBI,
Catalyst::Model::DBI, and various other locales.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/LICENSE
new/DBIx-Connector-0.58/LICENSE
--- old/DBIx-Connector-0.57/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/DBIx-Connector-0.58/LICENSE 2022-08-29 05:32:19.000000000 +0200
@@ -0,0 +1,378 @@
+This software is copyright (c) 2016 by David E. Wheeler.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+Terms of the Perl programming language system itself
+
+a) the GNU General Public License as published by the Free
+ Software Foundation; either version 1, or (at your option) any
+ later version, or
+b) the "Artistic License"
+
+--- The GNU General Public License, Version 1, February 1989 ---
+
+This software is Copyright (c) 2016 by David E. Wheeler.
+
+This is free software, licensed under:
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301
USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 2016 by David E. Wheeler.
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this
Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/MANIFEST
new/DBIx-Connector-0.58/MANIFEST
--- old/DBIx-Connector-0.57/MANIFEST 2021-09-27 12:21:03.000000000 +0200
+++ new/DBIx-Connector-0.58/MANIFEST 2022-08-29 05:32:19.000000000 +0200
@@ -1,4 +1,5 @@
Changes
+inc/boilerplate.pl
lib/DBIx/Connector.pm
lib/DBIx/Connector/Driver.pm
lib/DBIx/Connector/Driver/Firebird.pm
@@ -28,3 +29,5 @@
xt/pod.t
META.yml Module YAML meta-data (added by
MakeMaker)
META.json Module JSON meta-data (added by
MakeMaker)
+LICENSE
+README
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/META.json
new/DBIx-Connector-0.58/META.json
--- old/DBIx-Connector-0.57/META.json 2021-09-27 12:21:03.000000000 +0200
+++ new/DBIx-Connector-0.58/META.json 2022-08-29 05:32:19.000000000 +0200
@@ -1,16 +1,16 @@
{
"abstract" : "Fast, safe DBI connection and transaction management",
"author" : [
- "unknown"
+ "David E. Wheeler"
],
- "dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter
version 2.150005",
+ "dynamic_config" : 0,
+ "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "DBIx-Connector",
"no_index" : {
@@ -47,10 +47,14 @@
],
"repository" : {
"type" : "git",
- "url" : "git://github.com/ap/DBIx-Connector.git",
+ "url" : "https://github.com/ap/DBIx-Connector.git",
"web" : "https://github.com/ap/DBIx-Connector"
}
},
- "version" : "0.57",
- "x_serialization_backend" : "JSON::PP version 2.27300_01"
+ "version" : "0.58",
+ "x_copyright" : {
+ "holder" : "David E. Wheeler",
+ "year" : 2016
+ },
+ "x_serialization_backend" : "JSON::PP version 4.02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/META.yml
new/DBIx-Connector-0.58/META.yml
--- old/DBIx-Connector-0.57/META.yml 2021-09-27 12:21:03.000000000 +0200
+++ new/DBIx-Connector-0.58/META.yml 2022-08-29 05:32:19.000000000 +0200
@@ -1,11 +1,11 @@
---
abstract: 'Fast, safe DBI connection and transaction management'
author:
- - unknown
+ - 'David E. Wheeler'
build_requires:
Test::More: '0'
-dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter
version 2.150005'
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,6 +23,9 @@
resources:
bugtracker: https://github.com/ap/DBIx-Connector/issues
license: http://dev.perl.org/licenses/
- repository: git://github.com/ap/DBIx-Connector.git
-version: '0.57'
+ repository: https://github.com/ap/DBIx-Connector.git
+version: '0.58'
+x_copyright:
+ holder: 'David E. Wheeler'
+ year: 2016
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/Makefile.PL
new/DBIx-Connector-0.58/Makefile.PL
--- old/DBIx-Connector-0.57/Makefile.PL 2021-09-27 12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/Makefile.PL 2022-08-29 05:30:06.000000000 +0200
@@ -1,30 +1,34 @@
use 5.008001; use strict; use warnings;
-my $u = 'github.com/ap/DBIx-Connector';
+my $sc = q<https://github.com/ap/DBIx-Connector>;
+my $bt = q<https://github.com/ap/DBIx-Connector/issues>;
my %META = (
- name => 'DBIx-Connector',
- license => 'perl_5',
- prereqs => {
- test => {
- requires => {qw(
- Test::More 0
- )},
- },
+ name => 'DBIx-Connector',
+ author => 'David E. Wheeler',
+ x_copyright => { holder => 'David E. Wheeler', year => 2016 },
+ license => 'perl_5',
+ resources => {
+ license => [ 'http://dev.perl.org/licenses/' ],
+ repository => { type => 'git', url => "$sc.git", web => $sc },
+ bugtracker => { web => $bt },
+ },
+ dynamic_config => 0,
+ prereqs => {
runtime => {
- requires => {qw(
- perl 5.008001
- DBI 1.605
+ requires => {qw(
+ perl 5.008001
+ DBI 1.605
)},
recommends => {qw(
- DBI 1.614
+ DBI 1.614
)},
- }
- },
- resources => {
- repository => { type => 'git', url => "git://$u.git", web =>
"https://$u" },
- bugtracker => { web => "https://$u/issues" },
- license => [ 'http://dev.perl.org/licenses/' ],
+ },
+ test => {
+ requires => {qw(
+ Test::More 0
+ )},
+ },
},
);
@@ -32,7 +36,11 @@
create_distdir : MANIFEST
distdir : MANIFEST
MANIFEST :
- ( git ls-files ':!README.pod' . ; echo MANIFEST ) | sort -f > MANIFEST
+ ( git ls-files ':!README.pod' ; echo MANIFEST ) | sort -f > MANIFEST
+distdir : boilerplate
+.PHONY : boilerplate
+boilerplate : distmeta
+ $(PERL) -Ilib inc/boilerplate.pl $(DISTVNAME)
## BOILERPLATE ###############################################################
require ExtUtils::MakeMaker;
@@ -44,9 +52,11 @@
my $mymeta = $eumm_version >= 6.57_02;
my $mymeta_broken = $mymeta && $eumm_version < 6.57_07;
+(my $basepath = (-d 'lib' ? 'lib/' : '') . $META{name}) =~ s{-}{/}g;
+
($MM_ARGS{NAME} = $META{name}) =~ s/-/::/g;
-($MM_ARGS{VERSION_FROM} = "lib/$MM_ARGS{NAME}.pm") =~ s{::}{/}g;
-$MM_ARGS{ABSTRACT_FROM} = $MM_ARGS{VERSION_FROM};
+$MM_ARGS{VERSION_FROM} = "$basepath.pm";
+$MM_ARGS{ABSTRACT_FROM} = -f "$basepath.pod" ? "$basepath.pod" :
"$basepath.pm";
$META{license} = [ $META{license} ]
if $META{license} && !ref $META{license};
$MM_ARGS{LICENSE} = $META{license}[0]
@@ -68,7 +78,7 @@
defined $r->{$_} or delete $r->{$_} for keys %$r;
}
-$MM_ARGS{MIN_PERL_VERSION} = delete $MM_ARGS{PREREQ_PM}{perl} || 0;
+$MM_ARGS{MIN_PERL_VERSION} = eval delete $MM_ARGS{PREREQ_PM}{perl} || 0;
delete $MM_ARGS{MIN_PERL_VERSION}
if $eumm_version < 6.47_01;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/README
new/DBIx-Connector-0.58/README
--- old/DBIx-Connector-0.57/README 1970-01-01 01:00:00.000000000 +0100
+++ new/DBIx-Connector-0.58/README 2022-08-29 05:32:19.000000000 +0200
@@ -0,0 +1,82 @@
+DBIx::Connector
+
+DBIx::Connector provides a simple interface for fast and safe DBI
+connection and transaction management. Connecting to a database can be
+expensive; you don't want your application to re-connect every time you
+need to run a query. The efficient thing to do is to hang on to a
+database handle to maintain a connection to the database in order to
+minimize that overhead. DBIx::Connector lets you do that without having
+to worry about dropped or corrupted connections.
+
+You might be familiar with Apache::DBI and with the DBI's
+"connect_cached()" constructor. DBIx::Connector serves a similar need,
+but does a much better job. How is it different? I'm glad you asked!
+
+* Fork Safety
+
+ Like Apache::DBI, but unlike "connect_cached()", DBIx::Connector
+ create a new database connection if a new process has been "fork"ed.
+ This happens all the time under mod_perl, in POE applications, and
+ elsewhere. Works best with DBI 1.614 and higher.
+
+* Thread Safety
+
+ Unlike Apache::DBI or "connect_cached()", DBIx::Connector will
+ create a new database connection if a new thread has been spawned.
+ As with "fork"ing, spawning a new thread can break database
+ connections.
+
+* Works Anywhere
+
+ Unlike Apache::DBI, DBIx::Connector runs anywhere -- inside of
+ mod_perl or not. Why limit yourself?
+
+* Explicit Interface
+
+ DBIx::Connector has an explicit interface. There is none of the
+ magical action-at-a-distance crap that Apache::DBI is guilty of, and
+ no global caching. I've personally diagnosed a few issues with
+ Apache::DBI's magic, and killed it off in two different projects in
+ favor of "connect_cached()", only to be tripped up by other gotchas.
+ No more.
+
+* Optimistic Execution
+
+ If you use "run()" and "txn()", the database handle will be passed
+ without first pinging the server. For the 99% or more of the time
+ when the database is just there, you'll save a ton of overhead
+ without the ping.
+
+DBIx::Connector's other feature is transaction management. Borrowing an
+interface from DBIx::Class, DBIx::Connector offers an API that
+efficiently handles the scoping of database transactions so that you
+needn't worry about managing the transaction yourself. Even better, it
+offers an API for savepoints if your database supports them. Within a
+transaction, you can scope savepoints to behave like subtransactions, so
+that you can save some of your work in a transaction even if part of it
+fails. See "txn()" and "svp()" for the goods.
+
+INSTALLATION
+
+This is a Perl module distribution. It should be installed with
+whichever tool you use to manage your installation of Perl, e.g. any of
+
+ cpanm .
+ cpan .
+ cpanp -i .
+
+Consult http://www.cpan.org/modules/INSTALL.html for further
+instruction. Should you wish to install this module manually, the
+procedure is
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+COPYRIGHT AND LICENSE
+
+Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
+
+This module is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/inc/boilerplate.pl
new/DBIx-Connector-0.58/inc/boilerplate.pl
--- old/DBIx-Connector-0.57/inc/boilerplate.pl 1970-01-01 01:00:00.000000000
+0100
+++ new/DBIx-Connector-0.58/inc/boilerplate.pl 2022-08-29 05:29:32.000000000
+0200
@@ -0,0 +1,44 @@
+use strict; use warnings;
+
+use CPAN::Meta;
+use Software::LicenseUtils 0.103011;
+use Pod::Readme::Brief 1.001;
+
+sub slurp { open my $fh, '<', $_[0] or die "Couldn't open $_[0] to read:
$!\n"; local $/; readline $fh }
+sub trimnl { s/\A\s*\n//, s/\s*\z/\n/ for @_; wantarray ? @_ : $_[-1] }
+sub mkparentdirs {
+ my @dir = do { my %seen; sort grep s!/[^/]+\z!! && !$seen{ $_ }++, my
@copy = @_ };
+ if ( @dir ) { mkparentdirs( @dir ); mkdir for @dir }
+}
+
+chdir $ARGV[0] or die "Cannot chdir to $ARGV[0]: $!\n";
+
+my %file;
+
+my $meta = CPAN::Meta->load_file( 'META.json' );
+
+my $license = do {
+ my @key = ( $meta->license, $meta->meta_spec_version );
+ my ( $class, @ambiguous ) =
Software::LicenseUtils->guess_license_from_meta_key( @key );
+ die if @ambiguous or not $class;
+ $class->new( $meta->custom( 'x_copyright' ) );
+};
+
+$file{'LICENSE'} = trimnl $license->fulltext;
+
+my ( $main_module ) = map { s!-!/!g; s!^!lib/! if -d 'lib'; -f "$_.pod" ?
"$_.pod" : "$_.pm" } $meta->name;
+
+die unless -e 'Makefile.PL';
+$file{'README'} = Pod::Readme::Brief->new( slurp $main_module )->render(
installer => 'eumm' );
+
+my @manifest = split /\n/, slurp 'MANIFEST';
+my %manifest = map /\A([^\s#]+)()/, @manifest;
+$file{'MANIFEST'} = join "\n", @manifest, ( sort grep !exists $manifest{ $_ },
keys %file ), '';
+
+mkparentdirs sort keys %file;
+for my $fn ( sort keys %file ) {
+ unlink $fn if -e $fn;
+ open my $fh, '>', $fn or die "Couldn't open $fn to write: $!\n";
+ print $fh $file{ $fn };
+ close $fh or die "Couldn't close $fn after writing: $!\n";
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/Firebird.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/Firebird.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/Firebird.pm
2021-09-27 12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/Firebird.pm
2022-08-29 05:30:06.000000000 +0200
@@ -4,7 +4,7 @@
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::Driver );
sub savepoint {
@@ -25,12 +25,12 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver::Firebird - Firebird-specific connection
interface
-=head1 Description
+=head1 DESCRIPTION
This subclass of L<DBIx::Connector::Driver|DBIx::Connector::Driver>
provides Firebird-specific implementations of the following methods:
@@ -45,7 +45,7 @@
=back
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -67,7 +67,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2016 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/MSSQL.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/MSSQL.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/MSSQL.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/MSSQL.pm 2022-08-29
05:30:06.000000000 +0200
@@ -4,7 +4,7 @@
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::Driver );
sub savepoint {
@@ -25,11 +25,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver::MSSQL - Microsoft SQL Server-specific connection
interface
-=head1 Description
+=head1 DESCRIPTION
This subclass of L<DBIx::Connector::Driver|DBIx::Connector::Driver> provides
Microsoft SQL server-specific implementations of the following methods:
@@ -44,7 +44,7 @@
=back
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -64,7 +64,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/Oracle.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/Oracle.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/Oracle.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/Oracle.pm 2022-08-29
05:30:06.000000000 +0200
@@ -4,7 +4,7 @@
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::Driver );
# Note from https://rt.cpan.org/Ticket/Display.html?id=47005:
@@ -46,11 +46,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver::Oracle - Oracle-specific connection interface
-=head1 Description
+=head1 DESCRIPTION
This subclass of L<DBIx::Connector::Driver|DBIx::Connector::Driver> provides
Oracle-specific implementations of the following methods:
@@ -67,7 +67,7 @@
=back
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -89,7 +89,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/Pg.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/Pg.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/Pg.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/Pg.pm 2022-08-29
05:30:06.000000000 +0200
@@ -4,7 +4,7 @@
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::Driver );
sub savepoint {
@@ -26,11 +26,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver::Pg - PostgreSQL-specific connection interface
-=head1 Description
+=head1 DESCRIPTION
This subclass of L<DBIx::Connector::Driver|DBIx::Connector::Driver> provides
PostgreSQL-specific implementations of the following methods:
@@ -49,7 +49,7 @@
=back
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -69,7 +69,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/SQLite.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/SQLite.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/SQLite.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/SQLite.pm 2022-08-29
05:30:06.000000000 +0200
@@ -4,7 +4,7 @@
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::Driver );
sub _connect {
@@ -37,11 +37,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver::SQLite - SQLite-specific connection interface
-=head1 Description
+=head1 DESCRIPTION
This subclass of L<DBIx::Connector::Driver|DBIx::Connector::Driver> provides
SQLite-specific implementations of the following methods:
@@ -60,7 +60,7 @@
will fallback on the exception-throwing implementation of these methods in
L<DBIx::Connector::Driver|DBIx::Connector::Driver>.
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -70,7 +70,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/mysql.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/mysql.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver/mysql.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver/mysql.pm 2022-08-29
05:30:06.000000000 +0200
@@ -4,7 +4,7 @@
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::Driver );
sub _connect {
@@ -32,11 +32,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver::mysql - MySQL-specific connection interface
-=head1 Description
+=head1 DESCRIPTION
This subclass of L<DBIx::Connector::Driver|DBIx::Connector::Driver> provides
MySQL-specific implementations of the following methods:
@@ -63,7 +63,7 @@
=back
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -83,7 +83,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector/Driver.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector/Driver.pm 2022-08-29
05:30:06.000000000 +0200
@@ -2,7 +2,7 @@
package DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
DRIVERS: {
my %DRIVERS;
@@ -80,7 +80,7 @@
ROLLBACKERR: {
package DBIx::Connector::RollbackError;
- our $VERSION = '0.57';
+ our $VERSION = '0.58';
# an exception is always true
use overload bool => sub {1}, '""' => 'as_string', fallback => 1;
@@ -95,12 +95,12 @@
}
package DBIx::Connector::TxnRollbackError;
- our $VERSION = '0.57';
+ our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::RollbackError );
sub _label { 'Transaction' }
package DBIx::Connector::SvpRollbackError;
- our $VERSION = '0.57';
+ our $VERSION = '0.58';
our @ISA = qw( DBIx::Connector::RollbackError );
sub _label { 'Savepoint' }
}
@@ -109,11 +109,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector::Driver - Database-specific connection interface
-=head1 Description
+=head1 DESCRIPTION
Some of the things that DBIx::Connector does are implemented differently by
different drivers, or the official interface provided by the DBI may not be
@@ -133,7 +133,7 @@
DBIx::Connector uses them internally to do its magic, so you needn't worry
about them.
-=head1 Interface
+=head1 INTERFACE
In case you need to implement a driver, here's the interface you can modify.
@@ -210,7 +210,7 @@
and L<DBIx::Connector::Driver::Oracle|DBIx::Connector::Driver::Oracle> for
examples.
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -230,7 +230,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/lib/DBIx/Connector.pm
new/DBIx-Connector-0.58/lib/DBIx/Connector.pm
--- old/DBIx-Connector-0.57/lib/DBIx/Connector.pm 2021-09-27
12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/lib/DBIx/Connector.pm 2022-08-29
05:30:06.000000000 +0200
@@ -5,7 +5,7 @@
use DBI '1.605';
use DBIx::Connector::Driver;
-our $VERSION = '0.57';
+our $VERSION = '0.58';
sub new {
my $class = shift;
@@ -324,11 +324,11 @@
__END__
-=head1 Name
+=head1 NAME
DBIx::Connector - Fast, safe DBI connection and transaction management
-=head1 Synopsis
+=head1 SYNOPSIS
use DBIx::Connector;
@@ -347,7 +347,7 @@
$_->do('INSERT INTO foo (name) VALUES (?)', undef, 'Fred' );
});
-=head1 Description
+=head1 DESCRIPTION
DBIx::Connector provides a simple interface for fast and safe DBI connection
and transaction management. Connecting to a database can be expensive; you
@@ -407,7 +407,7 @@
work in a transaction even if part of it fails. See L<C<txn()>|/"txn"> and
L<C<svp()>|/"svp"> for the goods.
-=head1 Usage
+=head1 USAGE
Unlike L<Apache::DBI> and L<C<connect_cached()>|DBI/connect_cached>,
DBIx::Connector doesn't cache database handles. Rather, for a given
@@ -593,7 +593,7 @@
This allows you to see you original SQL error, as well as the errors for the
savepoint rollback and transaction rollback failures.
-=head1 Interface
+=head1 INTERFACE
And now for the nitty-gritty.
@@ -966,7 +966,7 @@
Returns the DBI Data Source Name originally passed to L<C<new()>|/"new"> as the
first argument.
-=head1 See Also
+=head1 SEE ALSO
=over
@@ -980,7 +980,7 @@
=back
-=head1 Authors
+=head1 AUTHORS
This module was written by:
@@ -1020,7 +1020,7 @@
=back
-=head1 Copyright and License
+=head1 COPYRIGHT AND LICENSE
Copyright (c) 2009-2013 David E. Wheeler. Some Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DBIx-Connector-0.57/t/run.t
new/DBIx-Connector-0.58/t/run.t
--- old/DBIx-Connector-0.57/t/run.t 2021-09-27 12:18:07.000000000 +0200
+++ new/DBIx-Connector-0.58/t/run.t 2021-09-28 18:43:17.000000000 +0200
@@ -126,12 +126,12 @@
});
is $conn->mode, 'no_ping', 'Back outside, should be "no_ping" again';
-ok $conn->mode('ping'), 'Se mode to "ping"';
+ok $conn->mode('ping'), 'Set mode to "ping"';
$conn->run(sub {
is $conn->mode, 'ping', 'Mode should implicitly be "ping"'
});
-ok $conn->mode('fixup'), 'Se mode to "fixup"';
+ok $conn->mode('fixup'), 'Set mode to "fixup"';
$conn->run(sub {
is $conn->mode, 'fixup', 'Mode should implicitly be "fixup"'
});
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.apF3ni/_old 2022-09-09 18:29:27.489257002 +0200
+++ /var/tmp/diff_new_pack.apF3ni/_new 2022-09-09 18:29:27.493257012 +0200
@@ -1,5 +1,5 @@
---
-#description_paragraphs: 3
+description_paragraphs: 2
#description: |-
# override description from CPAN
#summary: override summary from CPAN