From b2f691ab185ca2ad503c2c756b2f8b1428aea506 Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Thu, 4 Mar 2021 18:00:11 -0500 Subject: [PATCH] v2.000000 - Added test for heredoc terminators https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/17 (Victor Efimov) - Reset `_sqlsafe` when scanning multiple documents; added tests https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/22 (Charlie Garrison) - New test cases related to anonymous functions https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/18 (Victor Efimov) - Add safe_context configuration option https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/23 (Nelson Ferraz) - Added a new "prefer_upper_case_keywords" configuration option (Olaf Alders) - Added detection for ALTER, CREATE and DROP statements. --- Changes | 2 +- META.json | 12 ++++++------ Makefile.PL | 2 +- README.md | 9 ++------- dist.ini | 7 +++++++ 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Changes b/Changes index 76af12d..97af9ac 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,5 @@ Revision history for Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection -{{$NEXT}} +2.000000 2021-03-04 22:59:36Z - Added test for heredoc terminators https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/17 (Victor Efimov) diff --git a/META.json b/META.json index ad52e0f..b5a6ab4 100644 --- a/META.json +++ b/META.json @@ -88,16 +88,16 @@ "release_status" : "stable", "resources" : { "bugtracker" : { - "web" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues" + "web" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues" }, - "homepage" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection", + "homepage" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection", "repository" : { "type" : "git", - "url" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection.git", - "web" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection" + "url" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection.git", + "web" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection" } }, - "version" : "v1.4.0", + "version" : "2.000000", "x_Dist_Zilla" : { "perl" : { "version" : "5.030002" @@ -655,7 +655,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v1.4.0", + "tag" : "v2.000000", "tag_format" : "v%V", "tag_message" : "v%V" }, diff --git a/Makefile.PL b/Makefile.PL index a1b619b..351f6e8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -37,7 +37,7 @@ my %WriteMakefileArgs = ( "Test::Perl::Critic" => 0, "Test::Perl::Critic::Policy" => 0 }, - "VERSION" => "v1.4.0", + "VERSION" => "2.000000", "test" => { "TESTS" => "t/*.t" } diff --git a/README.md b/README.md index 97014c2..2271c65 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Perl::Critic::Policy::ValuesAndExpressions::PreventSQLInjection - Prevent SQL in # VERSION -version v1.4.0 +version 2.000000 # DESCRIPTION @@ -297,7 +297,7 @@ there. # BUGS Please report any bugs or feature requests through the web interface at -[https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues](https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues). +[https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues](https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues). I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. @@ -323,11 +323,6 @@ You can also look for information at: # AUTHOR -[Guillaume Aubert](https://metacpan.org/author/AUBERTG), -``. - -# AUTHOR - "Guillaume Aubert <aubertg at cpan.org>" # COPYRIGHT AND LICENSE diff --git a/dist.ini b/dist.ini index 8d67f82..bb03c1b 100644 --- a/dist.ini +++ b/dist.ini @@ -7,6 +7,13 @@ copyright_year = 2013 [@Author::OALDERS] -remove = Test::Synopsis -remove = Test::TidyAll ; not sure why this is failing under dzil test +;RewriteVersion::Transitional.allow_decimal_underscore = 1 [StaticInstall] mode = auto + +;[@Git::VersionManager/RewriteVersion::Transitional] +;allow_decimal_underscore = 1 + +;[RewriteVersion::Transitional] +;allow_decimal_underscore = 1