[SCM] Packaging for padre-plugin-perlcritic branch, master, updated. upstream/0.06-26-gd220cc8

Damyan Ivanov dmn at debian.org
Mon Aug 8 19:30:49 UTC 2011


The following commit has been merged in the master branch:
commit 6ce67c7e6ef1362a24d2ba2a368e30cc47c5b73c
Author: Damyan Ivanov <dmn at debian.org>
Date:   Mon Aug 8 21:32:06 2011 +0300

    Imported Upstream version 0.12

diff --git a/Build.PL b/Build.PL
index 41ef6ec..26daa01 100644
--- a/Build.PL
+++ b/Build.PL
@@ -1,22 +1,41 @@
+
 use strict;
 use warnings;
 
-use Module::Build ();
+use Module::Build 0.3601;
 
-my $builder = Module::Build->new(
-    module_name          => 'Padre::Plugin::PerlCritic',
-    license              => 'perl',
-    dist_author          => 'Kaare Rasmussen <kaare at cpan.org>',
-    create_makefile_pl   => 'traditional',
-    create_readme        => 1,
-    recursive_test_files => 0,
 
-    requires => {
-        'perl'       => '5.008',
-        'Perl::Critic' => 0,
-        'Padre'      => '0.26',
-    },
-    build_requires => { 'Test::More' => '0.47', },
+my %module_build_args = (
+  'build_requires' => {
+    'Locale::Msgfmt' => '0.15',
+    'Module::Build' => '0.3601',
+    'Test::More' => '0'
+  },
+  'configure_requires' => {
+    'Module::Build' => '0.3601'
+  },
+  'dist_abstract' => 'Analyze perl files with Perl::Critic',
+  'dist_author' => [
+    'Kaare Rasmussen <kaare at cpan.org>',
+    'Ahmad M. Zawawi <ahmad.zawawi at gmail.com>'
+  ],
+  'dist_name' => 'Padre-Plugin-PerlCritic',
+  'dist_version' => '0.12',
+  'license' => 'perl',
+  'module_name' => 'Padre::Plugin::PerlCritic',
+  'recommends' => {},
+  'recursive_test_files' => 1,
+  'requires' => {
+    'Padre' => '0.57',
+    'Perl::Critic' => '0'
+  },
+  'script_files' => [],
+  'share_dir' => {
+    'dist' => 'share'
+  }
 );
 
-$builder->create_build_script();
+
+my $build = Module::Build->new(%module_build_args);
+
+$build->create_build_script;
diff --git a/Changes b/Changes
index 144bd25..ab0d1e7 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,36 @@
-Revision history for Perl extension Padre::Plugin::PerlCritic.
+Revision history for Perl extension Padre-Plugin-PerlCritic.
+
+0.12   2010.12.06
+    - Restored missing POT/PO translation sources (Damyan Ivanov, AZAWAWI)
+
+0.11   2010.10.29
+    - Removed Test::NeedsDisplay dependency (AZAWAWI)
+
+0.10   2010.10.27
+    - Fixed t/01-menu.t to work under no DISPLAY (AZAWAWI)
+    - t/00-load.t is magically injected by [@PadrePlugin] via [LoadTests] (AZAWAWI)
+
+0.09   2010.10.25
+    - Switched to Dist::Zilla (AZAWAWI)
+    - Fixed t/* to work under no DISPLAY (AZAWAWI)
+    - Added Italian translation (SBLADIN)
+    - Updated Arabic translation (AZAWAWI)
+    - Fixed RT #59680: Module::Install included missing (AZAWAWI)
+
+0.08 Tue Jul 27 2010
+    - Turkish translation updated (BURAK)
+    - Compatibility with latest Padre (CHORNY)
+
+0.07 Tue Mar 02 2010
+    - Changed build to Module::Install
+    - Added integration with config_perlcritic config entry
+    - Added translations:
+      - French (jquelin)
+      - Polish (therek)
+      - Chinese (Traditional) translation (BLUET)
+      - Arabic (azawawi)
+      - Spanish (brunov)
+      - Brazilian Portuguese (garu)
 
 0.06  Sun Feb 01 2009
     - Update requirement of Padre to 0.26
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..baaabf7
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,377 @@
+This software is copyright (c) 2010 by Kaare Rasmussen.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+Terms of the Perl programming language system itself
+
+a) the GNU General Public License as published by the Free
+   Software Foundation; either version 1, or (at your option) any
+   later version, or
+b) the "Artistic License"
+
+--- The GNU General Public License, Version 1, February 1989 ---
+
+This software is Copyright (c) 2010 by Kaare Rasmussen.
+
+This is free software, licensed under:
+
+  The GNU General Public License, Version 1, February 1989
+
+		    GNU GENERAL PUBLIC LICENSE
+		     Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+                59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The license agreements of most software companies try to keep users
+at the mercy of those companies.  By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must tell them their rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License.  The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications.  Each
+licensee is addressed as "you".
+
+  1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program.  You may charge a fee for the physical act of
+transferring a copy.
+
+  2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+    a) cause the modified files to carry prominent notices stating that
+    you changed the files and the date of any change; and
+
+    b) cause the whole of any work that you distribute or publish, that
+    in whole or in part contains the Program or any part thereof, either
+    with or without modifications, to be licensed at no charge to all
+    third parties under the terms of this General Public License (except
+    that you may choose to grant warranty protection to some or all
+    third parties, at your option).
+
+    c) If the modified program normally reads commands interactively when
+    run, you must cause it, when started running for such interactive use
+    in the simplest and most usual way, to print or display an
+    announcement including an appropriate copyright notice and a notice
+    that there is no warranty (or else, saying that you provide a
+    warranty) and that users may redistribute the program under these
+    conditions, and telling the user how to view a copy of this General
+    Public License.
+
+    d) You may charge a fee for the physical act of transferring a
+    copy, and you may at your option offer warranty protection in
+    exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+  3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+    a) accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of
+    Paragraphs 1 and 2 above; or,
+
+    b) accompany it with a written offer, valid for at least three
+    years, to give any third party free (except for a nominal charge
+    for the cost of distribution) a complete machine-readable copy of the
+    corresponding source code, to be distributed under the terms of
+    Paragraphs 1 and 2 above; or,
+
+    c) accompany it with the information you received as to where the
+    corresponding source code may be obtained.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it.  For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+  4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License.  However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+  5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions.  You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+  7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+  8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	Appendix: How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+  To do so, attach the following notices to the program.  It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software Foundation,
+    Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) 19xx name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License.  Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  program `Gnomovision' (a program to direct compilers to make passes
+  at assemblers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 2010 by Kaare Rasmussen.
+
+This is free software, licensed under:
+
+  The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+  - "Package" refers to the collection of files distributed by the Copyright
+    Holder, and derivatives of that collection of files created through
+    textual modification. 
+  - "Standard Version" refers to such a Package if it has not been modified,
+    or has been modified in accordance with the wishes of the Copyright
+    Holder. 
+  - "Copyright Holder" is whoever is named in the copyright or copyrights for
+    the package. 
+  - "You" is you, if you're thinking about copying or distributing this Package.
+  - "Reasonable copying fee" is whatever you can justify on the basis of media
+    cost, duplication charges, time of people involved, and so on. (You will
+    not be required to justify it to the Copyright Holder, but only to the
+    computing community at large as a market that must bear the fee.) 
+  - "Freely Available" means that no fee is charged for the item itself, though
+    there may be fees involved in handling the item. It also means that
+    recipients of the item may redistribute it under the same conditions they
+    received it. 
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+  a) place your modifications in the Public Domain or otherwise make them
+     Freely Available, such as by posting said modifications to Usenet or an
+     equivalent medium, or placing the modifications on a major archive site
+     such as ftp.uu.net, or by allowing the Copyright Holder to include your
+     modifications in the Standard Version of the Package.
+
+  b) use the modified Package only within your corporation or organization.
+
+  c) rename any non-standard executables so the names do not conflict with
+     standard executables, which must also be provided, and provide a separate
+     manual page for each non-standard executable that clearly documents how it
+     differs from the Standard Version.
+
+  d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+  a) distribute a Standard Version of the executables and library files,
+     together with instructions (in the manual page or equivalent) on where to
+     get the Standard Version.
+
+  b) accompany the distribution with the machine-readable source of the Package
+     with your modifications.
+
+  c) accompany any non-standard executables with their corresponding Standard
+     Version executables, giving the non-standard executables non-standard
+     names, and clearly documenting the differences in manual pages (or
+     equivalent), together with instructions on where to get the Standard
+     Version.
+
+  d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package.  You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
diff --git a/MANIFEST b/MANIFEST
index f8764b1..317094b 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,8 +1,37 @@
 Build.PL
 Changes
-lib/Padre/Plugin/PerlCritic.pm
-Makefile.PL
-MANIFEST			This list of files
-t/01-load.t
-README
+LICENSE
+MANIFEST
+META.json
 META.yml
+README
+dist.ini
+lib/Padre/Plugin/PerlCritic.pm
+share/locale/Padre__Plugin__PerlCritic-ar.mo
+share/locale/Padre__Plugin__PerlCritic-ar.po
+share/locale/Padre__Plugin__PerlCritic-de.mo
+share/locale/Padre__Plugin__PerlCritic-de.po
+share/locale/Padre__Plugin__PerlCritic-es-es.mo
+share/locale/Padre__Plugin__PerlCritic-es-es.po
+share/locale/Padre__Plugin__PerlCritic-fr-fr.mo
+share/locale/Padre__Plugin__PerlCritic-fr-fr.po
+share/locale/Padre__Plugin__PerlCritic-it-it.mo
+share/locale/Padre__Plugin__PerlCritic-it-it.po
+share/locale/Padre__Plugin__PerlCritic-ja.mo
+share/locale/Padre__Plugin__PerlCritic-ja.po
+share/locale/Padre__Plugin__PerlCritic-nl-nl.mo
+share/locale/Padre__Plugin__PerlCritic-nl-nl.po
+share/locale/Padre__Plugin__PerlCritic-pl.mo
+share/locale/Padre__Plugin__PerlCritic-pl.po
+share/locale/Padre__Plugin__PerlCritic-pt-br.mo
+share/locale/Padre__Plugin__PerlCritic-pt-br.po
+share/locale/Padre__Plugin__PerlCritic-tr.mo
+share/locale/Padre__Plugin__PerlCritic-tr.po
+share/locale/Padre__Plugin__PerlCritic-zh-tw.mo
+share/locale/Padre__Plugin__PerlCritic-zh-tw.po
+share/locale/messages.pot
+t/00-compile.t
+t/01-menu.t
+t/release-check-changes.t
+t/release-eol.t
+t/release-pod-syntax.t
diff --git a/META.json b/META.json
new file mode 100644
index 0000000..ad281c0
--- /dev/null
+++ b/META.json
@@ -0,0 +1,255 @@
+{
+   "abstract" : "Analyze perl files with Perl::Critic",
+   "author" : [
+      "Kaare Rasmussen <kaare at cpan.org>",
+      "Ahmad M. Zawawi <ahmad.zawawi at gmail.com>"
+   ],
+   "dynamic_config" : 0,
+   "generated_by" : "Dist::Zilla version 4.102345, CPAN::Meta::Converter version 2.102400",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Padre-Plugin-PerlCritic",
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "Module::Build" : "0.3601"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "Module::Build" : "0.3601"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Padre" : "0.57",
+            "Perl::Critic" : 0
+         }
+      },
+      "test" : {
+         "requires" : {
+            "Locale::Msgfmt" : "0.15",
+            "Test::More" : 0
+         }
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "homepage" : "http://padre.perlide.org",
+      "repository" : {
+         "url" : "http://svn.perlide.org/padre/trunk/Padre-Plugin-PerlCritic/"
+      }
+   },
+   "version" : "0.12",
+   "x_Dist_Zilla" : {
+      "plugins" : [
+         {
+            "class" : "Dist::Zilla::Plugin::GatherDir",
+            "name" : "@PadrePlugin/@Filter/GatherDir",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PruneCruft",
+            "name" : "@PadrePlugin/@Filter/PruneCruft",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ManifestSkip",
+            "name" : "@PadrePlugin/@Filter/ManifestSkip",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaYAML",
+            "name" : "@PadrePlugin/@Filter/MetaYAML",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::License",
+            "name" : "@PadrePlugin/@Filter/License",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Readme",
+            "name" : "@PadrePlugin/@Filter/Readme",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ExtraTests",
+            "name" : "@PadrePlugin/@Filter/ExtraTests",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ExecDir",
+            "name" : "@PadrePlugin/@Filter/ExecDir",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ShareDir",
+            "name" : "@PadrePlugin/@Filter/ShareDir",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Manifest",
+            "name" : "@PadrePlugin/@Filter/Manifest",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::TestRelease",
+            "name" : "@PadrePlugin/@Filter/TestRelease",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ConfirmRelease",
+            "name" : "@PadrePlugin/@Filter/ConfirmRelease",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::UploadToCPAN",
+            "name" : "@PadrePlugin/@Filter/UploadToCPAN",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::CheckChangeLog",
+            "name" : "@PadrePlugin/CheckChangeLog",
+            "version" : "0.01"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::CheckChangesTests",
+            "name" : "@PadrePlugin/CheckChangesTests",
+            "version" : "1.100900"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::CompileTests",
+            "name" : "@PadrePlugin/CompileTests",
+            "version" : "1.103030"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::EOLTests",
+            "name" : "@PadrePlugin/EOLTests",
+            "version" : "0.02"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PkgVersion",
+            "name" : "@PadrePlugin/PkgVersion",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PodWeaver",
+            "name" : "@PadrePlugin/PodWeaver",
+            "version" : "3.101641"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaResources",
+            "name" : "@PadrePlugin/MetaResources",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaConfig",
+            "name" : "@PadrePlugin/MetaConfig",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaJSON",
+            "name" : "@PadrePlugin/MetaJSON",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::NextRelease",
+            "name" : "@PadrePlugin/NextRelease",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
+            "name" : "@PadrePlugin/PodSyntaxTests",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ModuleBuild",
+            "name" : "@PadrePlugin/ModuleBuild",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::LocaleMsgfmt",
+            "name" : "@PadrePlugin/LocaleMsgfmt",
+            "version" : "1.202"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Prereqs",
+            "config" : {
+               "Dist::Zilla::Plugin::Prereqs" : {
+                  "phase" : "test",
+                  "type" : "requires"
+               }
+            },
+            "name" : "@PadrePlugin/TestMoreDeps",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Prereqs",
+            "config" : {
+               "Dist::Zilla::Plugin::Prereqs" : {
+                  "phase" : "test",
+                  "type" : "requires"
+               }
+            },
+            "name" : "@PadrePlugin/LocaleMsgfmtDeps",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Prereqs",
+            "config" : {
+               "Dist::Zilla::Plugin::Prereqs" : {
+                  "phase" : "runtime",
+                  "type" : "requires"
+               }
+            },
+            "name" : "@PadrePlugin/PadreDeps",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Prereqs",
+            "config" : {
+               "Dist::Zilla::Plugin::Prereqs" : {
+                  "phase" : "runtime",
+                  "type" : "requires"
+               }
+            },
+            "name" : "Prereqs",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":InstallModules",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":TestFiles",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":ExecFiles",
+            "version" : "4.102345"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":ShareFiles",
+            "version" : "4.102345"
+         }
+      ],
+      "zilla" : {
+         "class" : "Dist::Zilla::Dist::Builder",
+         "config" : {
+            "is_trial" : 0
+         },
+         "version" : "4.102345"
+      }
+   }
+}
+
diff --git a/META.yml b/META.yml
index 4627d91..f7c71b2 100644
--- a/META.yml
+++ b/META.yml
@@ -1,23 +1,184 @@
 ---
-name: Padre-Plugin-PerlCritic
-version: 0.06
+abstract: 'Analyze perl files with Perl::Critic'
 author:
   - 'Kaare Rasmussen <kaare at cpan.org>'
-abstract: Analyze perl files with Perl::Critic
+  - 'Ahmad M. Zawawi <ahmad.zawawi at gmail.com>'
+build_requires:
+  Locale::Msgfmt: 0.15
+  Module::Build: 0.3601
+  Test::More: 0
+configure_requires:
+  Module::Build: 0.3601
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.102345, CPAN::Meta::Converter version 2.102400'
 license: perl
-resources:
-  license: http://dev.perl.org/licenses/
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Padre-Plugin-PerlCritic
 requires:
-  Padre: 0.26
+  Padre: 0.57
   Perl::Critic: 0
-  perl: 5.008
-build_requires:
-  Test::More: 0.47
-provides:
-  Padre::Plugin::PerlCritic:
-    file: lib/Padre/Plugin/PerlCritic.pm
-    version: 0.06
-generated_by: Module::Build version 0.280801
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+resources:
+  homepage: http://padre.perlide.org
+  repository: http://svn.perlide.org/padre/trunk/Padre-Plugin-PerlCritic/
+version: 0.12
+x_Dist_Zilla:
+  plugins:
+    -
+      class: Dist::Zilla::Plugin::GatherDir
+      name: '@PadrePlugin/@Filter/GatherDir'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::PruneCruft
+      name: '@PadrePlugin/@Filter/PruneCruft'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::ManifestSkip
+      name: '@PadrePlugin/@Filter/ManifestSkip'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::MetaYAML
+      name: '@PadrePlugin/@Filter/MetaYAML'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::License
+      name: '@PadrePlugin/@Filter/License'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::Readme
+      name: '@PadrePlugin/@Filter/Readme'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::ExtraTests
+      name: '@PadrePlugin/@Filter/ExtraTests'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::ExecDir
+      name: '@PadrePlugin/@Filter/ExecDir'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::ShareDir
+      name: '@PadrePlugin/@Filter/ShareDir'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::Manifest
+      name: '@PadrePlugin/@Filter/Manifest'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::TestRelease
+      name: '@PadrePlugin/@Filter/TestRelease'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::ConfirmRelease
+      name: '@PadrePlugin/@Filter/ConfirmRelease'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::UploadToCPAN
+      name: '@PadrePlugin/@Filter/UploadToCPAN'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::CheckChangeLog
+      name: '@PadrePlugin/CheckChangeLog'
+      version: 0.01
+    -
+      class: Dist::Zilla::Plugin::CheckChangesTests
+      name: '@PadrePlugin/CheckChangesTests'
+      version: 1.100900
+    -
+      class: Dist::Zilla::Plugin::CompileTests
+      name: '@PadrePlugin/CompileTests'
+      version: 1.103030
+    -
+      class: Dist::Zilla::Plugin::EOLTests
+      name: '@PadrePlugin/EOLTests'
+      version: 0.02
+    -
+      class: Dist::Zilla::Plugin::PkgVersion
+      name: '@PadrePlugin/PkgVersion'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::PodWeaver
+      name: '@PadrePlugin/PodWeaver'
+      version: 3.101641
+    -
+      class: Dist::Zilla::Plugin::MetaResources
+      name: '@PadrePlugin/MetaResources'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::MetaConfig
+      name: '@PadrePlugin/MetaConfig'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::MetaJSON
+      name: '@PadrePlugin/MetaJSON'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::NextRelease
+      name: '@PadrePlugin/NextRelease'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::PodSyntaxTests
+      name: '@PadrePlugin/PodSyntaxTests'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::ModuleBuild
+      name: '@PadrePlugin/ModuleBuild'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::LocaleMsgfmt
+      name: '@PadrePlugin/LocaleMsgfmt'
+      version: 1.202
+    -
+      class: Dist::Zilla::Plugin::Prereqs
+      config:
+        Dist::Zilla::Plugin::Prereqs:
+          phase: test
+          type: requires
+      name: '@PadrePlugin/TestMoreDeps'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::Prereqs
+      config:
+        Dist::Zilla::Plugin::Prereqs:
+          phase: test
+          type: requires
+      name: '@PadrePlugin/LocaleMsgfmtDeps'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::Prereqs
+      config:
+        Dist::Zilla::Plugin::Prereqs:
+          phase: runtime
+          type: requires
+      name: '@PadrePlugin/PadreDeps'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::Prereqs
+      config:
+        Dist::Zilla::Plugin::Prereqs:
+          phase: runtime
+          type: requires
+      name: Prereqs
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':InstallModules'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':TestFiles'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':ExecFiles'
+      version: 4.102345
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':ShareFiles'
+      version: 4.102345
+  zilla:
+    class: Dist::Zilla::Dist::Builder
+    config:
+      is_trial: 0
+    version: 4.102345
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644
index 43fe794..0000000
--- a/Makefile.PL
+++ /dev/null
@@ -1,17 +0,0 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
-require 5.008;
-use ExtUtils::MakeMaker;
-WriteMakefile
-(
-          'PL_FILES' => {},
-          'INSTALLDIRS' => 'site',
-          'NAME' => 'Padre::Plugin::PerlCritic',
-          'EXE_FILES' => [],
-          'VERSION_FROM' => 'lib/Padre/Plugin/PerlCritic.pm',
-          'PREREQ_PM' => {
-                           'Test::More' => '0.47',
-                           'Perl::Critic' => 0,
-                           'Padre' => '0.26'
-                         }
-        )
-;
diff --git a/README b/README
index 84fe82b..5cefcf3 100644
--- a/README
+++ b/README
@@ -1,21 +1,13 @@
-NAME
-    Padre::Plugin::PerlCritic - Analyze perl files with Perl::Critic
 
-SYNOPIS
-    This is a simple plugin to run Perl::Critic on your source code.
 
-    Currently there is no configuration for this plugin, so you have to rely
-    on the default .perlcriticrc configuration. See Perl::Critic for
-    details.
+This archive contains the distribution Padre-Plugin-PerlCritic,
+version 0.12:
 
-AUTHOR
-    Kaare Rasmussen
+  Analyze perl files with Perl::Critic
 
-    Kaare Rasmussen <kaare at cpan.org>
+This software is copyright (c) 2010 by Kaare Rasmussen.
 
-COPYRIGHT AND LICENSE
-    Copyright 2008 by Kaare Rasmussen
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
 
-    This library is free software; you can redistribute it and/or modify it
-    under the same terms as Perl itself.
 
diff --git a/dist.ini b/dist.ini
new file mode 100644
index 0000000..dfe6764
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,14 @@
+name             = Padre-Plugin-PerlCritic
+author           = Kaare Rasmussen <kaare at cpan.org>
+author           = Ahmad M. Zawawi <ahmad.zawawi at gmail.com>
+license          = Perl_5
+version          = 0.12
+copyright_holder = Kaare Rasmussen
+
+[@PadrePlugin]
+
+homepage         = http://padre.perlide.org
+repository       = http://svn.perlide.org/padre/trunk/Padre-Plugin-PerlCritic/
+
+[Prereqs]
+Perl::Critic     = 0
diff --git a/lib/Padre/Plugin/PerlCritic.pm b/lib/Padre/Plugin/PerlCritic.pm
index f273db7..494c30e 100644
--- a/lib/Padre/Plugin/PerlCritic.pm
+++ b/lib/Padre/Plugin/PerlCritic.pm
@@ -1,80 +1,134 @@
 package Padre::Plugin::PerlCritic;
+BEGIN {
+  $Padre::Plugin::PerlCritic::VERSION = '0.12';
+}
+
+# ABSTRACT: Analyze perl files with Perl::Critic
 
+use 5.008;
 use strict;
 use warnings;
+use Padre::Wx     ();
+use Padre::Plugin ();
 
-use base 'Padre::Plugin';
-use Wx qw(wxOK wxCENTRE);
+our @ISA = 'Padre::Plugin';
 
-our $VERSION = '0.06';
+sub padre_interfaces {
+	'Padre::Plugin' => '0.47',;
+}
 
-=head1 NAME
+sub plugin_name {
+	Wx::gettext('Perl Critic');
+}
 
-Padre::Plugin::PerlCritic - Analyze perl files with Perl::Critic
+sub menu_plugins_simple {
+	my $self = shift;
+	return $self->plugin_name => [
+		Wx::gettext('Perl::Critic Current Document') => sub {
+			$self->critic(@_);
+			}
+	];
+}
 
-=head1 SYNOPIS
+sub critic {
+	my $self    = shift;
+	my $current = $self->current;
+	$DB::single = 1;
+
+	# Get the document to critique
+	my $document = $current->document or return;
+	unless ( $document->isa('Padre::Document::Perl') ) {
+		return Wx::MessageBox(
+			Wx::gettext('Document is not a Perl document'),
+			Wx::gettext('Error'),
+			Wx::wxOK | Wx::wxCENTRE,
+			$self,
+		);
+	}
+	my $text = $document->text_get;
+	return unless defined $text;
+
+	# Do we have a project-specific configuration
+	my $project           = $document->project;
+	my $config            = $project->config;
+	my $config_perlcritic = $config->config_perlcritic;
+	my @params =
+		$config_perlcritic
+		? ( -profile => $config_perlcritic )
+		: ();
+
+	# Open and start output from the critic run
+	my $main   = $current->main;
+	my $output = $main->output;
+	$output->clear;
+	$main->show_output(1);
+	if (@params) {
+		$output->AppendText(
+			sprintf( Wx::gettext('Perl::Critic running with project-specific configuration %s'), $config_perlcritic )
+				. "\n" );
+	} else {
+		$output->AppendText( Wx::gettext("Perl\::Critic running with default or user configuration") . "\n" );
+	}
 
-This is a simple plugin to run Perl::Critic on your source code.
+	# Hand off to Perl::Critic
+	require Perl::Critic;
+	my $critic     = Perl::Critic->new(@params);
+	my @violations = $critic->critique( \$text );
+
+	# Write the results to the Output window
+	if (@violations) {
+		$output->AppendText( join '', @violations );
+	} else {
+		$output->AppendText( Wx::gettext('Perl::Critic found nothing to say about this code') . "\n" );
+	}
 
-Currently there is no configuration for this plugin, so you have to rely
-on the default .perlcriticrc configuration. See Perl::Critic for details.
+	return;
+}
 
-=cut
+1;
 
-sub padre_interfaces {
-	return 'Padre::Plugin' => '0.23';
-}
 
-sub menu_plugins_simple {
-	return PerlCritic => [
-		Wx::gettext('Run PerlCritic') => \&critic,
-	];
-}
 
-sub critic {
-	my ($self) = @_;
+=pod
 
-	my $doc = $self->current->document;
-	my $src = $doc->text_get;
-	return unless defined $src;
+=head1 NAME
 
-	if ( !$doc->isa('Padre::Document::Perl') ) {
-		return Wx::MessageBox( 'Document is not a Perl document', "Error", wxOK | wxCENTRE, $self );
-	}
+Padre::Plugin::PerlCritic - Analyze perl files with Perl::Critic
 
-	require Perl::Critic;
+=head1 VERSION
 
-	my $critic     = Perl::Critic->new();
-	my @violations = $critic->critique( \$src );
+version 0.12
 
-#    my $main      = Padre->ide->wx->main_window;
-#    my $errorlist = $main->errorlist;
-#    $errorlist->enable;
-#    $errorlist->clear;
-#    my @out = map { [ $_->location, $doc->filename, $_->explanation ] } @violations;
+=head1 SYNOPSIS
 
-	my $output = @violations ? join '', @violations : 'Perl::Critic found nothing to say about this code';
-	Padre::Current->main->output->clear;
+This is a simple plugin to run Perl::Critic on your source code.
 
-	Padre::Current->main->output->AppendText( "$output\n" );
-	Padre::Current->main->show_output(1);
+Currently there is no configuration for this plugin, so you have to rely
+on the default .perlcriticrc configuration. See Perl::Critic for details.
 
-	return;
-}
+=head1 AUTHORS
+
+=over 4
 
-=head1 AUTHOR
+=item *
 
-Kaare Rasmussen
+Kaare Rasmussen <kaare at cpan.org>
 
-Kaare Rasmussen E<lt>kaare at cpan.orgE<gt>
+=item *
+
+Ahmad M. Zawawi <ahmad.zawawi at gmail.com>
+
+=back
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2008 by Kaare Rasmussen
+This software is copyright (c) 2010 by Kaare Rasmussen.
 
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself. 
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
 
 =cut
 
-1;
+
+__END__
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-ar.mo b/share/locale/Padre__Plugin__PerlCritic-ar.mo
new file mode 100644
index 0000000..ff65a4c
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-ar.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-ar.po b/share/locale/Padre__Plugin__PerlCritic-ar.po
new file mode 100644
index 0000000..2cb1847
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-ar.po
@@ -0,0 +1,42 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-25 09:56+0300\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Ahmad M. Zawawi <ahmad.zawawi at gmail.com>\n"
+"Language-Team: Ahmad M. Zawawi <ahmad.zawawi at gmail.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Arabic\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:18
+msgid "Perl Critic"
+msgstr "انتقاد برامج Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:24
+msgid "Perl::Critic Current Document"
+msgstr "الوثيقة الحالية ل Perl::Critic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:39
+msgid "Document is not a Perl document"
+msgstr "الوثيقة ليست وثيقة Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:40
+msgid "Error"
+msgstr "خطأ"
+
+#: lib/Padre/Plugin/PerlCritic.pm:62
+#, perl-format
+msgid "Perl::Critic running with project-specific configuration %s"
+msgstr "تم تشغيل برنامج Perl::Critic باعدادات المشروع %s"
+
+#: lib/Padre/Plugin/PerlCritic.pm:64
+msgid "Perl::Critic running with default or user configuration"
+msgstr "تم تشغيل برنامج Perl::Critic بالافتراضي أو اعدادات المستخدم "
+
+#: lib/Padre/Plugin/PerlCritic.pm:77
+msgid "Perl::Critic found nothing to say about this code"
+msgstr "لم يعثر برنامج Perl::Critic على أي شيء في هذا المصدر"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-de.mo b/share/locale/Padre__Plugin__PerlCritic-de.mo
new file mode 100644
index 0000000..84fbe81
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-de.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-de.po b/share/locale/Padre__Plugin__PerlCritic-de.po
new file mode 100644
index 0000000..9b3150f
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-de.po
@@ -0,0 +1,26 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-19 02:34+0800\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Sebastian Willing\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: German\n"
+"X-Poedit-Country: GERMANY\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "PerlCritic ausführen"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Dokument ist kein Perl-Quellcode"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "Fehler"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-es-es.mo b/share/locale/Padre__Plugin__PerlCritic-es-es.mo
new file mode 100644
index 0000000..7000aa3
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-es-es.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-es-es.po b/share/locale/Padre__Plugin__PerlCritic-es-es.po
new file mode 100644
index 0000000..45367ad
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-es-es.po
@@ -0,0 +1,23 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-25 02:34+0800\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Bruno Vecchi <vecchi.v at gmail>\n"
+"Language-Team: Bruno Vecchi <vecchi.b at gmail.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "Lanzar PerlCritic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "El documento no es un documento Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "Error"
diff --git a/share/locale/Padre__Plugin__PerlCritic-fr-fr.mo b/share/locale/Padre__Plugin__PerlCritic-fr-fr.mo
new file mode 100644
index 0000000..d398c11
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-fr-fr.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-fr-fr.po b/share/locale/Padre__Plugin__PerlCritic-fr-fr.po
new file mode 100644
index 0000000..1788267
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-fr-fr.po
@@ -0,0 +1,26 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-11 20:26+0300\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Jérôme Quelin <jquelin at gmail.com>\n"
+"Language-Team: jérôme quelin <jquelin at cpan.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: French\n"
+"X-Poedit-Country: FRANCE\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "Lancer PerlCritic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Le document n'est pas un document Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "Erreur"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-it-it.mo b/share/locale/Padre__Plugin__PerlCritic-it-it.mo
new file mode 100644
index 0000000..ef15177
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-it-it.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-it-it.po b/share/locale/Padre__Plugin__PerlCritic-it-it.po
new file mode 100644
index 0000000..2f68a7e
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-it-it.po
@@ -0,0 +1,48 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre2It\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-25 09:56+0300\n"
+"PO-Revision-Date: 2010-11-03 15:01+0100\n"
+"Last-Translator: Simone Blandino <simone.blandino at gmail.com>\n"
+"Language-Team:  <simone.blandino at gmail.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Italian\n"
+"X-Poedit-Country: ITALY\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:18
+msgid "Perl Critic"
+msgstr "PerlCritic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:24
+msgid "Perl::Critic Current Document"
+msgstr "Perl::Critic sul documento corrente"
+
+#: lib/Padre/Plugin/PerlCritic.pm:39
+msgid "Document is not a Perl document"
+msgstr "Il doumento non è un documento Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:40
+msgid "Error"
+msgstr "Errore"
+
+#: lib/Padre/Plugin/PerlCritic.pm:62
+#, perl-format
+msgid "Perl::Critic running with project-specific configuration %s"
+msgstr "Perl::Critic è in esecuzione con una configurazione specifica del progetto %s"
+
+#: lib/Padre/Plugin/PerlCritic.pm:64
+msgid "Perl::Critic running with default or user configuration"
+msgstr "Perl::Critic è in esecuzione con la configurazione utente o con quella di default"
+
+#: lib/Padre/Plugin/PerlCritic.pm:77
+msgid "Perl::Critic found nothing to say about this code"
+msgstr "Perl::Critic non ha nulla da ridire su questo codice"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-ja.mo b/share/locale/Padre__Plugin__PerlCritic-ja.mo
new file mode 100644
index 0000000..d9d4cda
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-ja.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-ja.po b/share/locale/Padre__Plugin__PerlCritic-ja.po
new file mode 100644
index 0000000..3345b98
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-ja.po
@@ -0,0 +1,29 @@
+# Japanese translations for PACKAGE package.
+# Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Kenichi Ishigaki <ishigaki at cpan.org>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-19 02:34+0800\n"
+"PO-Revision-Date: 2009-07-27 03:41+0900\n"
+"Last-Translator: Kenichi Ishigaki <ishigaki at cpan.org>\n"
+"Language-Team: Japanese\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "Perl Criticを実行する"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Perlのドキュメントではありません"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "エラー"
diff --git a/share/locale/Padre__Plugin__PerlCritic-nl-nl.mo b/share/locale/Padre__Plugin__PerlCritic-nl-nl.mo
new file mode 100644
index 0000000..a5168bb
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-nl-nl.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-nl-nl.po b/share/locale/Padre__Plugin__PerlCritic-nl-nl.po
new file mode 100644
index 0000000..67a35ef
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-nl-nl.po
@@ -0,0 +1,26 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-11 20:26+0300\n"
+"PO-Revision-Date: \n"
+"Last-Translator: ddn <ddn123456 at gmail.com>\n"
+"Language-Team: ddn <ddn123456 at gmail.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Dutch\n"
+"X-Poedit-Country: Nederland - België\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "Voer PerlCritic uit"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Document is geen Perl document"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "Fout"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-pl.mo b/share/locale/Padre__Plugin__PerlCritic-pl.mo
new file mode 100644
index 0000000..f4f55d4
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-pl.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-pl.po b/share/locale/Padre__Plugin__PerlCritic-pl.po
new file mode 100644
index 0000000..4d53ae1
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-pl.po
@@ -0,0 +1,28 @@
+#
+# Cezary Morga <cm at therek.net>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-11 20:26+0300\n"
+"PO-Revision-Date: 2009-05-13 20:24+0200\n"
+"Last-Translator: Cezary Morga <cm at therek.net>\n"
+"Language-Team: Polish <>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 0.3\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "Uruchom PerlCritic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Bieżący dokument nie jest dokumentem Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "BÅ‚Ä…d"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-pt-br.mo b/share/locale/Padre__Plugin__PerlCritic-pt-br.mo
new file mode 100644
index 0000000..599a33f
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-pt-br.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-pt-br.po b/share/locale/Padre__Plugin__PerlCritic-pt-br.po
new file mode 100644
index 0000000..b76c3c4
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-pt-br.po
@@ -0,0 +1,24 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-25 02:34+0800\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Breno G. de Oliveira <garu at cpan.org>\n"
+"Language-Team: Brazilian Portuguese\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "Executar PerlCritic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Documento não é um documento Perl"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "Erro"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-tr.mo b/share/locale/Padre__Plugin__PerlCritic-tr.mo
new file mode 100644
index 0000000..f88d65f
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-tr.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-tr.po b/share/locale/Padre__Plugin__PerlCritic-tr.po
new file mode 100644
index 0000000..0763d64
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-tr.po
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-19 02:34+0800\n"
+"PO-Revision-Date: 2010-05-17 22:00+0200\n"
+"Last-Translator: Burak Gürsoy <burak at cpan.org>\n"
+"Language-Team: Turkish\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Turkish\n"
+"X-Poedit-Country: TURKEY\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "PerlCritic'i Çalıştır"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "Belge bir Perl belgesi deÄŸil"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "Hata"
+
diff --git a/share/locale/Padre__Plugin__PerlCritic-zh-tw.mo b/share/locale/Padre__Plugin__PerlCritic-zh-tw.mo
new file mode 100644
index 0000000..6e3355d
Binary files /dev/null and b/share/locale/Padre__Plugin__PerlCritic-zh-tw.mo differ
diff --git a/share/locale/Padre__Plugin__PerlCritic-zh-tw.po b/share/locale/Padre__Plugin__PerlCritic-zh-tw.po
new file mode 100644
index 0000000..d177dd5
--- /dev/null
+++ b/share/locale/Padre__Plugin__PerlCritic-zh-tw.po
@@ -0,0 +1,30 @@
+# Chinese translations for Padre-Plugin-PerlCritic package.
+# Copyright (C) 2009 THE Padre-Plugin-PerlCritic'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the Padre-Plugin-PerlCritic package.
+# BlueT - Matthew Lien - 練喆明 <BlueT at bluet.org>, 2009.
+# 
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: Padre-Plugin-PerlCritic\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-19 02:34+0800\n"
+"PO-Revision-Date: 2009-05-19 02:38+0800\n"
+"Last-Translator: BlueT - Matthew Lien - 練喆明 <BlueT at bluet.org>\n"
+"Language-Team: Chinese (traditional) <bluet at ubuntu-tw.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit"
+
+#: lib/Padre/Plugin/PerlCritic.pm:31
+msgid "Run PerlCritic"
+msgstr "執行 PerlCritic"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Document is not a Perl document"
+msgstr "此文件並不是一個 Perl 文件"
+
+#: lib/Padre/Plugin/PerlCritic.pm:43
+msgid "Error"
+msgstr "錯誤"
+
diff --git a/share/locale/messages.pot b/share/locale/messages.pot
new file mode 100644
index 0000000..bd2de07
--- /dev/null
+++ b/share/locale/messages.pot
@@ -0,0 +1,46 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-25 09:56+0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: lib/Padre/Plugin/PerlCritic.pm:18
+msgid "Perl Critic"
+msgstr ""
+
+#: lib/Padre/Plugin/PerlCritic.pm:24
+msgid "Perl::Critic Current Document"
+msgstr ""
+
+#: lib/Padre/Plugin/PerlCritic.pm:39
+msgid "Document is not a Perl document"
+msgstr ""
+
+#: lib/Padre/Plugin/PerlCritic.pm:40
+msgid "Error"
+msgstr ""
+
+#: lib/Padre/Plugin/PerlCritic.pm:62
+#, perl-format
+msgid "Perl::Critic running with project-specific configuration %s"
+msgstr ""
+
+#: lib/Padre/Plugin/PerlCritic.pm:64
+msgid "Perl::Critic running with default or user configuration"
+msgstr ""
+
+#: lib/Padre/Plugin/PerlCritic.pm:77
+msgid "Perl::Critic found nothing to say about this code"
+msgstr ""
diff --git a/t/00-compile.t b/t/00-compile.t
new file mode 100644
index 0000000..26cc48b
--- /dev/null
+++ b/t/00-compile.t
@@ -0,0 +1,54 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+BEGIN {
+    if( not $ENV{DISPLAY} and not $^O eq 'MSWin32' ) {
+        plan skip_all => 'Needs DISPLAY';
+        exit 0;
+    }
+}
+
+
+use File::Find;
+use File::Temp qw{ tempdir };
+
+my @modules;
+find(
+  sub {
+    return if $File::Find::name !~ /\.pm\z/;
+    my $found = $File::Find::name;
+    $found =~ s{^lib/}{};
+    $found =~ s{[/\\]}{::}g;
+    $found =~ s/\.pm$//;
+    # nothing to skip
+    push @modules, $found;
+  },
+  'lib',
+);
+
+my @scripts = glob "bin/*";
+
+my $plan = scalar(@modules) + scalar(@scripts);
+$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
+
+{
+    # fake home for cpan-testers
+    # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
+
+    like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" )
+        for sort @modules;
+
+    SKIP: {
+        eval "use Test::Script 1.05; 1;";
+        skip "Test::Script needed to test script compilation", scalar(@scripts) if $@;
+        foreach my $file ( @scripts ) {
+            my $script = $file;
+            $script =~ s!.*/!!;
+            script_compiles( $file, "$script script compiles" );
+        }
+    }
+}
diff --git a/t/01-load.t b/t/01-load.t
deleted file mode 100644
index 9b95c91..0000000
--- a/t/01-load.t
+++ /dev/null
@@ -1,19 +0,0 @@
-use strict;
-use warnings;
-
-use Test::More;
-my $tests;
-
-plan tests => 3;
-
-use Padre::Plugin::PerlCritic;
-use Padre;
-diag "Padre::Plugin::PerlCritic: $Padre::Plugin::PerlCritic::VERSION";
-diag "Padre: $Padre::VERSION";
-diag "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING();
-{
-    my @menu = Padre::Plugin::PerlCritic->menu_plugins_simple;
-    is @menu, 2, 'one menu item';
-    is $menu[0], 'PerlCritic', 'Plugin name';
-    is $menu[1]->[0], 'Run PerlCritic', 'Menu item 1, Run PerlCritic';
-}
diff --git a/t/01-menu.t b/t/01-menu.t
new file mode 100644
index 0000000..6d8bf95
--- /dev/null
+++ b/t/01-menu.t
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+
+# Test the menu structure of Perl::Critic
+
+use strict;
+use warnings;
+
+use Test::More;
+
+BEGIN {
+	if ( not $ENV{DISPLAY} and not $^O eq 'MSWin32' ) {
+		plan skip_all => 'Needs DISPLAY';
+		exit 0;
+	}
+}
+
+plan tests => 3;
+
+use Padre::Plugin::PerlCritic;
+
+my @menu = Padre::Plugin::PerlCritic->menu_plugins_simple;
+is( @menu,         2,                               'Found one menu item' );
+is( $menu[0],      'Perl Critic',                   'Plugin name' );
+is( $menu[1]->[0], 'Perl::Critic Current Document', 'Menu item 1, Perl::Critic Current Document' );
diff --git a/t/release-check-changes.t b/t/release-check-changes.t
new file mode 100644
index 0000000..065395d
--- /dev/null
+++ b/t/release-check-changes.t
@@ -0,0 +1,16 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+
+use Test::More;
+
+eval "use Test::CheckChanges";
+plan skip_all => "Test::CheckChanges required for testing changes"
+  if $@;
+ok_changes();
diff --git a/t/release-eol.t b/t/release-eol.t
new file mode 100644
index 0000000..4ce4ad8
--- /dev/null
+++ b/t/release-eol.t
@@ -0,0 +1,16 @@
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+use strict;
+use warnings;
+use Test::More;
+
+eval 'use Test::EOL';
+plan skip_all => 'Test::EOL required' if $@;
+
+all_perl_files_ok({ trailing_whitespace => 1 });
diff --git a/t/release-pod-syntax.t b/t/release-pod-syntax.t
new file mode 100644
index 0000000..d46a955
--- /dev/null
+++ b/t/release-pod-syntax.t
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+
+all_pod_files_ok();

-- 
Packaging for padre-plugin-perlcritic



More information about the Pkg-perl-cvs-commits mailing list