Update to 1.138
- New upstream release 1.138 - RequireCheckingReturnValueOfEval didn't count returning the result of an eval as checking it - now it does; however, it's only if you "return eval { ... }" - it still doesn't handle the case of "return ( eval {} )" (GH#324) - ProhibitPunctuationVars would get confused and think that the expression qr/SOME$/ was using the $/ special variable (GH#843)
This commit is contained in:
parent
8abcc37422
commit
a76e10cf99
@ -171,7 +171,7 @@ diff --git a/lib/Perl/Critic/Policy/ErrorHandling/RequireCheckingReturnValueOfEv
|
|||||||
index f5ed7526..14438cc1 100644
|
index f5ed7526..14438cc1 100644
|
||||||
--- a/lib/Perl/Critic/Policy/ErrorHandling/RequireCheckingReturnValueOfEval.pm
|
--- a/lib/Perl/Critic/Policy/ErrorHandling/RequireCheckingReturnValueOfEval.pm
|
||||||
+++ b/lib/Perl/Critic/Policy/ErrorHandling/RequireCheckingReturnValueOfEval.pm
|
+++ b/lib/Perl/Critic/Policy/ErrorHandling/RequireCheckingReturnValueOfEval.pm
|
||||||
@@ -299,7 +299,7 @@ __END__
|
@@ -317,7 +317,7 @@ __END__
|
||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
@ -288,7 +288,7 @@ diff --git a/lib/Perl/Critic/Policy/Variables/ProhibitPunctuationVars.pm b/lib/P
|
|||||||
index 5f9e25ca..9ab0c802 100644
|
index 5f9e25ca..9ab0c802 100644
|
||||||
--- a/lib/Perl/Critic/Policy/Variables/ProhibitPunctuationVars.pm
|
--- a/lib/Perl/Critic/Policy/Variables/ProhibitPunctuationVars.pm
|
||||||
+++ b/lib/Perl/Critic/Policy/Variables/ProhibitPunctuationVars.pm
|
+++ b/lib/Perl/Critic/Policy/Variables/ProhibitPunctuationVars.pm
|
||||||
@@ -326,6 +326,8 @@ __END__
|
@@ -367,6 +367,8 @@ __END__
|
||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: perl-Perl-Critic
|
Name: perl-Perl-Critic
|
||||||
Version: 1.136
|
Version: 1.138
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Critique Perl source code for best-practices
|
Summary: Critique Perl source code for best-practices
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
@ -55,6 +55,7 @@ BuildRequires: perl(Pod::Usage)
|
|||||||
BuildRequires: perl(PPI) >= 1.265
|
BuildRequires: perl(PPI) >= 1.265
|
||||||
BuildRequires: perl(PPIx::QuoteLike)
|
BuildRequires: perl(PPIx::QuoteLike)
|
||||||
BuildRequires: perl(PPIx::Regexp) >= 0.010
|
BuildRequires: perl(PPIx::Regexp) >= 0.010
|
||||||
|
BuildRequires: perl(PPIx::Regexp::Util) >= 0.068
|
||||||
BuildRequires: perl(PPIx::Utilities::Node)
|
BuildRequires: perl(PPIx::Utilities::Node)
|
||||||
BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001
|
BuildRequires: perl(PPIx::Utilities::Statement) >= 1.001
|
||||||
BuildRequires: perl(Readonly) >= 2
|
BuildRequires: perl(Readonly) >= 2
|
||||||
@ -166,6 +167,15 @@ LC_ALL=en_US ./Build test
|
|||||||
%{_mandir}/man3/Test::Perl::Critic::Policy.3*
|
%{_mandir}/man3/Test::Perl::Critic::Policy.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 25 2020 Paul Howarth <paul@city-fan.org> - 1.138-1
|
||||||
|
- Update to 1.138
|
||||||
|
- RequireCheckingReturnValueOfEval didn't count returning the result of an
|
||||||
|
eval as checking it - now it does; however, it's only if you "return eval
|
||||||
|
{ ... }" - it still doesn't handle the case of "return ( eval {} )"
|
||||||
|
(GH#324)
|
||||||
|
- ProhibitPunctuationVars would get confused and think that the expression
|
||||||
|
qr/SOME$/ was using the $/ special variable (GH#843)
|
||||||
|
|
||||||
* Thu Nov 28 2019 Paul Howarth <paul@city-fan.org> - 1.136-1
|
* Thu Nov 28 2019 Paul Howarth <paul@city-fan.org> - 1.136-1
|
||||||
- Update to 1.136
|
- Update to 1.136
|
||||||
New Features
|
New Features
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (Perl-Critic-1.136.tar.gz) = 91664725ad6698203b73bcd678a540b57654d7411e3bfa467221216eaebaddd38d518dc1652137b012655d030f83cb48478b4eef3789422578773ce784ba3934
|
SHA512 (Perl-Critic-1.138.tar.gz) = e36c44dc6ab67cdb0014c6b575238e3c54d4ffa506082df66f5e44ec0137111945f3a1196f2902e7c363c9ea10f08bfc8285b75d0af32080d9603ae7b28a4df7
|
||||||
|
Loading…
Reference in New Issue
Block a user