Skip to content

Commit b2f691a

Browse files
committed
v2.000000
- 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.
1 parent 60e7cf4 commit b2f691a

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Revision history for Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection
2-
{{$NEXT}}
2+
2.000000 2021-03-04 22:59:36Z
33
- Added test for heredoc terminators
44
https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/17
55
(Victor Efimov)

META.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@
8888
"release_status" : "stable",
8989
"resources" : {
9090
"bugtracker" : {
91-
"web" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues"
91+
"web" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues"
9292
},
93-
"homepage" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection",
93+
"homepage" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection",
9494
"repository" : {
9595
"type" : "git",
96-
"url" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection.git",
97-
"web" : "https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection"
96+
"url" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection.git",
97+
"web" : "https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection"
9898
}
9999
},
100-
"version" : "v1.4.0",
100+
"version" : "2.000000",
101101
"x_Dist_Zilla" : {
102102
"perl" : {
103103
"version" : "5.030002"
@@ -655,7 +655,7 @@
655655
"branch" : null,
656656
"changelog" : "Changes",
657657
"signed" : 0,
658-
"tag" : "v1.4.0",
658+
"tag" : "v2.000000",
659659
"tag_format" : "v%V",
660660
"tag_message" : "v%V"
661661
},

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ my %WriteMakefileArgs = (
3737
"Test::Perl::Critic" => 0,
3838
"Test::Perl::Critic::Policy" => 0
3939
},
40-
"VERSION" => "v1.4.0",
40+
"VERSION" => "2.000000",
4141
"test" => {
4242
"TESTS" => "t/*.t"
4343
}

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Perl::Critic::Policy::ValuesAndExpressions::PreventSQLInjection - Prevent SQL in
44

55
# VERSION
66

7-
version v1.4.0
7+
version 2.000000
88

99
# DESCRIPTION
1010

@@ -297,7 +297,7 @@ there.
297297
# BUGS
298298

299299
Please report any bugs or feature requests through the web interface at
300-
[https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues](https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues).
300+
[https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues](https://github.com/oalders/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/issues).
301301
I will be notified, and then you'll automatically be notified of progress on
302302
your bug as I make changes.
303303

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

324324
# AUTHOR
325325

326-
[Guillaume Aubert](https://metacpan.org/author/AUBERTG),
327-
`<aubertg at cpan.org>`.
328-
329-
# AUTHOR
330-
331326
"Guillaume Aubert &lt;aubertg at cpan.org>"
332327

333328
# COPYRIGHT AND LICENSE

dist.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ copyright_year = 2013
77
[@Author::OALDERS]
88
-remove = Test::Synopsis
99
-remove = Test::TidyAll ; not sure why this is failing under dzil test
10+
;RewriteVersion::Transitional.allow_decimal_underscore = 1
1011

1112
[StaticInstall]
1213
mode = auto
14+
15+
;[@Git::VersionManager/RewriteVersion::Transitional]
16+
;allow_decimal_underscore = 1
17+
18+
;[RewriteVersion::Transitional]
19+
;allow_decimal_underscore = 1

0 commit comments

Comments
 (0)