Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dzilify distribution

  • Loading branch information...
commit 990735c27689159516828c7a89b86ef66a84edba 1 parent 650d257
@dagolden dagolden authored
View
2  .gitignore
@@ -0,0 +1,2 @@
+/Parse-CPAN-Meta*
+/.build
View
50 CONTRIBUTING
@@ -0,0 +1,50 @@
+CONTRIBUTING
+
+Thank you for considering contributing to this distribution. This file
+contains instructions that will help you work with the source code.
+
+The distribution is managed with Dist::Zilla. This means than many of the
+usual files you might expect are not in the repository, but are generated
+at release time (e.g. Makefile.PL).
+
+However, you can run tests directly using the 'prove' tool:
+
+ $ prove -l
+ $ prove -lv t/some_test_file.t
+
+For most distributions, 'prove' is entirely sufficent for you to test any
+patches you have.
+
+You may need to satisfy some dependencies. See the included META.json
+file for a list. If you install App::mymeta_requires from CPAN, it's easy
+to satisfy any that you are missing by piping the output to your favorite
+CPAN client:
+
+ $ mymeta-requires | cpanm
+ $ cpan `mymeta-requires`
+
+Likewise, much of the documentation Pod is generated at release time.
+Depending on the distribution, some documentation may be written in a Pod
+dialect called WikiDoc. (See Pod::WikiDoc on CPAN.) If you would like to
+submit a documentation edit, please limit yourself to the documentation you
+see.
+
+If you see typos or documentation issues in the generated docs, please
+email or open a bug ticket instead of patching.
+
+Dist::Zilla is a very powerful authoring tool, but requires a number of
+author-specific plugins. If you would like to use it for contributing,
+install it from CPAN, then run one of the following commands, depending on
+your CPAN client:
+
+ $ cpan `dzil authordeps`
+ $ dzil authordeps | cpanm
+
+Once installed, here are some dzil commands you might try:
+
+ $ dzil build
+ $ dzil test
+ $ dzil xtest
+
+You can learn more about Dist::Zilla at http://dzil.org/
+
View
3  Changes
@@ -1,5 +1,8 @@
Changes for Perl programming language extension Parse-CPAN-Meta
+{{$NEXT}}
+
+
1.4404 Sun Apr 05 2012
- Protected tests from user PERL_YAML/JSON_BACKEND
View
35 MANIFEST.SKIP
@@ -1,35 +0,0 @@
-^diff_to_blead\.pl$
-
-t/data/utf_16_le_bom.yml$
-
-# Default section:
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-,v$
-\B\.svn\b
-
-# Avoid Makemaker generated and utility files.
-\bMakefile$
-\bblib
-\bMakeMaker-\d
-\bpm_to_blib$
-\bblibdirs$
-^MANIFEST\.SKIP$
-^Parse-CPAN-Meta
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build
-
-# Avoid temp and backup files.
-~$
-\.tmp$
-\.old$
-\.bak$
-\#$
-\b\.#
-\b\..*\.sw[op]$
-errors.err$
-\.error.err$
-
View
23 Makefile.PL
@@ -1,23 +0,0 @@
-use strict;
-require 5.003_96;
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
- NAME => 'Parse::CPAN::Meta',
- PREREQ_PM => {
- 'File::Spec' => '0.80',
- 'Test::More' => '0.47',
- 'JSON::PP' => '2.27200',
- 'CPAN::Meta::YAML' => '0.008',
- },
- ($] >= 5.005 ? (
- AUTHOR => 'Adam Kennedy <adamk@cpan.org>',
- ABSTRACT_FROM => 'lib/Parse/CPAN/Meta.pm',
- VERSION_FROM => 'lib/Parse/CPAN/Meta.pm',
- ) : ()),
- ($ExtUtils::MakeMaker::VERSION ge '6.30_00' ? (
- LICENSE => 'perl',
- ) : ()),
- (INSTALLDIRS => ($] ge '5.010001' && $] lt '5.012') ? 'perl' : 'site'),
-);
-
View
18 dist.ini
@@ -0,0 +1,18 @@
+name = Parse-CPAN-Meta
+author = Adam Kennedy <adamk@cpan.org>
+license = Perl_5
+copyright_holder = Adam Kennedy and Contributors
+
+[@DAGOLDEN]
+:version = 0.043
+AutoMetaResources.repository.github = 0
+no_critic = 0
+auto_prereq = 1
+
+[MetaResources]
+repository.url = git://github.com/Perl-Toolchain-Gang/Parse-CPAN-Meta.git
+repository.web = http://github.com/Perl-Toolchain-Gang/Parse-CPAN-Meta
+repository.type = git
+
+[DualLife]
+entered_core=5.010001
View
27 lib/Parse/CPAN/Meta.pm
@@ -1,4 +1,6 @@
package Parse::CPAN::Meta;
+# ABSTRACT: Parse META.yml and META.json CPAN metadata files
+# VERSION
use strict;
use Carp 'croak';
@@ -17,7 +19,6 @@ BEGIN {
# Class structure
require 5.004;
require Exporter;
- $Parse::CPAN::Meta::VERSION = '1.4404';
@Parse::CPAN::Meta::ISA = qw{ Exporter };
@Parse::CPAN::Meta::EXPORT_OK = qw{ Load LoadFile };
}
@@ -127,10 +128,6 @@ __END__
=pod
-=head1 NAME
-
-Parse::CPAN::Meta - Parse META.yml and META.json CPAN metadata files
-
=head1 SYNOPSIS
#############################################
@@ -255,24 +252,4 @@ as a module to use for deserialization. The given module must be installed,
must load correctly and must implement the C<Load()> function or an exception
will be thrown.
-=head1 SUPPORT
-
-Bugs should be reported via the CPAN bug tracker at
-
-L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parse-CPAN-Meta>
-
-=head1 AUTHOR
-
-Adam Kennedy E<lt>adamk@cpan.orgE<gt>
-
-=head1 COPYRIGHT
-
-Copyright 2006 - 2010 Adam Kennedy.
-
-This program is free software; you can redistribute
-it and/or modify it under the same terms as Perl itself.
-
-The full text of the license can be found in the
-LICENSE file included with this module.
-
=cut
View
23 perlcritic.rc
@@ -0,0 +1,23 @@
+severity = 5
+verbose = 8
+
+[Variables::ProhibitPunctuationVars]
+allow = $@ $!
+
+[TestingAndDebugging::ProhibitNoStrict]
+allow = refs
+
+# Turn these off
+[-BuiltinFunctions::ProhibitStringyEval]
+[-ControlStructures::ProhibitPostfixControls]
+[-ControlStructures::ProhibitUnlessBlocks]
+[-Documentation::RequirePodSections]
+[-InputOutput::ProhibitInteractiveTest]
+[-References::ProhibitDoubleSigils]
+[-RegularExpressions::RequireExtendedFormatting]
+[-InputOutput::ProhibitTwoArgOpen]
+[-Modules::ProhibitEvilModules]
+
+# Turn this on
+[Lax::ProhibitStringyEval::ExceptForRequire]
+
Please sign in to comment.
Something went wrong with that request. Please try again.