Added hook for before database connections #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Happy Holidays!
This pull is intended to resolve rt.cpan.org ticket: 127745.
I didn't look through all the readme files originally or I would have just done a git pull request originally.
Also after testing in my local cpan repo I found versons x.xxc didn't progress the version properly in the cpan client, so I have adjusted the version number in the fork.
Sorry for the extra leg work, if you started updating the code all ready.
Original ticket notes here:
Hello,
My name is Michael Shipper Cpan user is "akalinux". Happy holidays and thank you for the wonderful Perl code you have contributed over the years!
I have a use case ( mostly dealing with oracle ) where I need to have my process run code prior to the connection. My apologies for listing this as a bug, I didn't know of a way to provide a patch or enhancement through rt.cpan.org.
I would like to propose the following patchs to this module and another patch to the "Dancer2::Plugin::Database" module.
I have attached a patched version of both cpan dists to this rt.cpan.org bug.
diff Dancer-Plugin-Database-Core-0.20/lib/Dancer/Plugin/Database/Core.pm Dancer-Plugin-Database-Core-0.20c/lib/Dancer/Plugin/Database/Core.pm
13c13
< our $VERSION = '0.20';
Hide quoted text
diff Dancer2-Plugin-Database-2.17/lib/Dancer2/Plugin/Database.pm Dancer2-Plugin-Database-2.17c/lib/Dancer2/Plugin/Database.pm
19c19
< our $VERSION = '2.17';
Hide quoted text
Hide quoted text
338a340,345
Hide quoted text