Skip to content

Commit

Permalink
v2.000000
Browse files Browse the repository at this point in the history
        - Added test for heredoc terminators
          guillaumeaubert#17
          (Victor Efimov)
        - Reset `_sqlsafe` when scanning multiple documents; added tests
          guillaumeaubert#22
          (Charlie Garrison)
        - New test cases related to anonymous functions
          guillaumeaubert#18
          (Victor Efimov)
        - Add safe_context configuration option
          guillaumeaubert#23
          (Nelson Ferraz)
        - Added a new "prefer_upper_case_keywords" configuration option (Olaf Alders)
        - Added detection for ALTER, CREATE and DROP statements.
  • Loading branch information
oalders committed Mar 4, 2021
1 parent 60e7cf4 commit b2f691a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 6 additions & 6 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Perl::Critic::Policy::ValuesAndExpressions::PreventSQLInjection - Prevent SQL in

# VERSION

version v1.4.0
version 2.000000

# DESCRIPTION

Expand Down Expand Up @@ -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.

Expand All @@ -323,11 +323,6 @@ You can also look for information at:

# AUTHOR

[Guillaume Aubert](https://metacpan.org/author/AUBERTG),
`<aubertg at cpan.org>`.

# AUTHOR

"Guillaume Aubert &lt;aubertg at cpan.org>"

# COPYRIGHT AND LICENSE
Expand Down
7 changes: 7 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b2f691a

Please sign in to comment.