Permalink
Browse files

updated to 1.07_01, and updated license information

  • Loading branch information...
1 parent 3b8fa0e commit 18abd32545bb511eb30265aced19f9c1de9a2457 @petdance committed May 17, 2011
View
@@ -2,6 +2,9 @@ Revision history for Perl-Critic-Bangs
1.07_01
====================================
+As of 1.07_01, Perl::Critic::Bangs is released under Artistic License 2.0,
+rather than dual-licensed with the GPL.
+
[FIXES]
Remove use of Perl::Critic::Utils::PPIRegexp, which has been removed
from the Perl-Critic distribution, with calls to native PPI methods. This
View
@@ -15,7 +15,7 @@ Version 1.07_01
=cut
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
=head1 SYNOPSIS
@@ -131,17 +131,7 @@ Thanks to
Copyright 2006-2011 Andy Lester.
This program is free software; you can redistribute it and/or modify
-it under the terms of either:
-
-=over 4
-
-=item * the GNU General Public License as published by the Free
-Software Foundation; either version 1, or (at your option) any later
-version, or
-
-=item * the Artistic License version 2.0.
-
-=back
+it under the terms of the Artistic License 2.0.
=cut
@@ -5,7 +5,7 @@ use warnings;
use Perl::Critic::Utils;
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
#---------------------------------------------------------------------------
@@ -86,14 +86,9 @@ Based on App::Fluff by Andy Lester, "<andy at petdance.com>"
=head1 COPYRIGHT
-Copyright (C) 2006-2010 Andy Lester and Andrew Moore
+Copyright (C) 2006-2011 Andy Lester and Andrew Moore
This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+it under the terms of the Artistic License 2.0.
=cut
@@ -5,7 +5,7 @@ use warnings;
use Perl::Critic::Utils;
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
#----------------------------------------------------------------------------
@@ -84,15 +84,10 @@ Based on App::Fluff by Andy Lester, "<andy at petdance.com>"
=head1 COPYRIGHT
-Copyright (c) 2006-2009 Andy Lester <andy@petdance.com> and Andrew
+Copyright (c) 2006-2011 Andy Lester <andy@petdance.com> and Andrew
Moore <amoore@mooresystems.com>.
This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+it under the terms of the Artistic License 2.0.
=cut
@@ -5,7 +5,7 @@ use warnings;
use Perl::Critic::Utils;
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
sub supported_parameters { return () }
sub default_severity { return $SEVERITY_LOW }
@@ -68,15 +68,10 @@ Based on App::Fluff by Andy Lester, "<andy at petdance.com>"
=head1 COPYRIGHT
-Copyright (c) 2006-2009 Andy Lester <andy@petdance.com> and Andrew
+Copyright (c) 2006-2011 Andy Lester <andy@petdance.com> and Andrew
Moore <amoore@mooresystems.com>
-This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+This library is free software; you can redistribute it and/or modify it
+under the terms of the Artistic License 2.0.
=cut
@@ -5,7 +5,7 @@ use warnings;
use Perl::Critic::Utils;
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
sub supported_parameters {
return (
@@ -37,7 +37,7 @@ This Policy is part of the L<Perl::Critic::Bangs> distribution.
=head1 DESCRIPTION
-Similar variables should be obviously different. A lazy way to
+Similar variables should be meaningfully different. A lazy way to
differentiate similar variables is by tacking a number at the end.
my $total = $price * $quantity;
@@ -120,14 +120,9 @@ Andy Lester C<< <andy at petdance.com> >>
=head1 COPYRIGHT
-Copyright (c) 2006-2009 Andy Lester
+Copyright (c) 2006-2011 Andy Lester
This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+it under the terms of the Artistic License 2.0.
=cut
@@ -5,7 +5,7 @@ use warnings;
use Perl::Critic::Utils;
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
sub supported_parameters { return () }
sub default_severity { return $SEVERITY_HIGH }
@@ -110,14 +110,9 @@ and work done by Andrew Moore <amoore@mooresystems.com>.
=head1 COPYRIGHT
-Copyright (C) 2006-2009 Andy Lester
+Copyright (C) 2006-2011 Andy Lester
-This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+This library is free software; you can redistribute it and/or modify it
+under the terms of the Artistic License 2.0.
=cut
@@ -7,7 +7,7 @@ use Readonly;
use Perl::Critic::Utils qw{ :severities :classification :ppi };
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
Readonly::Scalar my $DESC => q{Prohibits adding "m" modifier to compiled regular expressions where it does nothing};
Readonly::Scalar my $EXPL => <<'EOF';
@@ -101,11 +101,13 @@ incorrectly applied. This was fixed in 5.10, but no warnings were
emitted to warn the user that they were probably not getting the
effects they are looking for.
-correct:
+Correct:
+
my $regex = qr(abc)m;
if ( $string =~ /$regex/ ) {};
-Not what you want::
+Not what you want:
+
my $regex = qr(abc);
if ( $string =~ /$regex/m ) {}; ## this triggers a violation of this policy.
@@ -132,15 +134,10 @@ Thanks to Andy Lester, "<andy at petdance.com>" for pointing out this common pro
=head1 COPYRIGHT
-Copyright (c) 2007-2009 Andy Lester <andy@petdance.com> and Andrew
+Copyright (c) 2007-2011 Andy Lester <andy@petdance.com> and Andrew
Moore <amoore@mooresystems.com>
-This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+This library is free software; you can redistribute it and/or modify it
+under the terms of the Artistic License 2.0.
=cut
@@ -5,7 +5,7 @@ use warnings;
use Perl::Critic::Utils qw( :booleans :severities );
use base 'Perl::Critic::Policy';
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
#----------------------------------------------------------------------------
@@ -115,14 +115,9 @@ Based on App::Fluff by Andy Lester, "<andy at petdance.com>"
=head1 COPYRIGHT
-Copyright (c) 2006-2009 Andy Lester
+Copyright (c) 2006-2011 Andy Lester
-This library is free software; you can redistribute it and/or modify
-it under the terms of either the GNU Public License v3, or the Artistic
-License 2.0.
-
- * http://www.gnu.org/copyleft/gpl.html
-
- * http://www.opensource.org/licenses/artistic-license-2.0.php
+This library is free software; you can redistribute it and/or modify it
+under the terms of the Artistic License 2.0.
=cut
View
@@ -9,7 +9,7 @@ use English qw(-no_match_vars);
#-----------------------------------------------------------------------------
-our $VERSION = '1.06';
+our $VERSION = '1.07_01';
#-----------------------------------------------------------------------------

0 comments on commit 18abd32

Please sign in to comment.