Update to 1.114

- New upstream release 1.114:
  - Documentation::RequirePodLinksIncludeText now handles nested POD formatting
    (CPAN RT#65569)
  - Clarified relation of severity numbers to names in Perl::Critic POD
    (CPAN RT#66017)
  - Removed caveats from Variables::RequireLocalizedPunctuationVars, no longer
    necessary with PPI 1.208 (CPAN RT#65514)
  - Have InputOutput::RequireBriefOpen attempt to expand scope as necessary to
    deal with the case where the open() and the corresponding close() are not
    in the same scope (CPAN RT#64437)
  - RegularExpressions::ProhibitUnusedCapture now looks inside double-quotish
    things (CPAN RT#38942)
  - RegularExpressions::ProhibitUnusedCapture now takes logical alternation
    into account, so that (e.g.)
        if ( /(a)/ || /(b)/ ) {
                say $1;
        }
    is not a violation (CPAN RT#38942)
  - ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
    'return { foo => 1, bar => 2 }' as containing a hash constructor, not a
    block; this was fixed by PPI 1.215 (CPAN RT#61301)
  - ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
    'bless { foo => 1, bar => 2 }' as containing a hash constructor, not a
    block; this was fixed by PPI 1.215 (CPAN RT#64132)
- Bump PPI version requirement to 1.215
- BR/R: perl(Pod::Parser)
This commit is contained in:
Paul Howarth 2011-03-29 13:06:27 +01:00
parent 4752cd705e
commit 8d08a157e5
3 changed files with 35 additions and 9 deletions

5
.gitignore vendored
View File

@ -1,4 +1 @@
Perl-Critic-1.105.tar.gz
Perl-Critic-1.108.tar.gz
/Perl-Critic-1.111.tar.gz
/Perl-Critic-1.113.tar.gz
/Perl-Critic-1.114.tar.gz

View File

@ -1,5 +1,5 @@
Name: perl-Perl-Critic
Version: 1.113
Version: 1.114
Release: 1%{?dist}
Summary: Critique Perl source code for best-practices
@ -21,8 +21,10 @@ BuildRequires: perl(String::Format) >= 1.13
BuildRequires: perl(Module::Pluggable) >= 3.1
Requires: perl(Module::Pluggable) >= 3.1
BuildRequires: perl(PPI) >= 1.205
Requires: perl(PPI) >= 1.205
BuildRequires: perl(Pod::Parser)
Requires: perl(Pod::Parser)
BuildRequires: perl(PPI) >= 1.215
Requires: perl(PPI) >= 1.215
BuildRequires: perl(Perl::Tidy)
BuildRequires: perl(PPIx::Utilities::Statement)
@ -32,7 +34,6 @@ BuildRequires: perl(Test::Memory::Cycle)
BuildRequires: perl(Readonly) >= 1.03
BuildRequires: perl(Exception::Class) >= 1.23
BuildRequires: perl(Email::Address)
# BuildRequires: perl(Regexp::Parser)
BuildRequires: perl(Test::Deep)
# Author tests
BuildRequires: perl(Test::Perl::Critic)
@ -122,6 +123,34 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Mar 29 2011 Paul Howarth <paul@city-fan.org> 1.114-1
- update to 1.114
- Documentation::RequirePodLinksIncludeText now handles nested POD formatting
(CPAN RT#65569)
- clarified relation of severity numbers to names in Perl::Critic POD
(CPAN RT#66017)
- removed caveats from Variables::RequireLocalizedPunctuationVars, no longer
necessary with PPI 1.208 (CPAN RT#65514)
- have InputOutput::RequireBriefOpen attempt to expand scope as necessary to
deal with the case where the open() and the corresponding close() are not
in the same scope (CPAN RT#64437)
- RegularExpressions::ProhibitUnusedCapture now looks inside double-quotish
things (CPAN RT#38942)
- RegularExpressions::ProhibitUnusedCapture now takes logical alternation
into account, so that (e.g.)
if ( /(a)/ || /(b)/ ) {
say $1;
}
is not a violation (CPAN RT#38942)
- ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
'return { foo => 1, bar => 2 }' as containing a hash constructor, not a
block; this was fixed by PPI 1.215 (CPAN RT#61301)
- ValuesAndExpressions::ProhibitCommaSeparatedStatements now recognizes
'bless { foo => 1, bar => 2 }' as containing a hash constructor, not a
block; this was fixed by PPI 1.215 (CPAN RT#64132)
- bump PPI version requirement to 1.215
- BR/R: perl(Pod::Parser)
* Mon Mar 7 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.113-1
- update to 1.113

View File

@ -1 +1 @@
20d2e7c73b68d21c08eff6ae4addd58d Perl-Critic-1.113.tar.gz
8ad5d02388b349aa0df14c2306d11b17 Perl-Critic-1.114.tar.gz