12 years ago"defined $x ? $x : undef" better written as "$x"
Vincent Pit [Mon, 30 Jul 2012 15:46:53 +0000]
"defined $x ? $x : undef" better written as "$x"

12 years agoDon't skip lines beginning by # in POD
Vincent Pit [Mon, 30 Jul 2012 15:36:16 +0000]
Don't skip lines beginning by # in POD

They are only comments in code.

12 years agoDon't collect "=cut" at the end of a POD section
Vincent Pit [Mon, 30 Jul 2012 15:26:06 +0000]
Don't collect "=cut" at the end of a POD section

12 years agoA couple of tests about commented versions
Vincent Pit [Mon, 30 Jul 2012 14:57:53 +0000]
A couple of tests about commented versions

12 years agoPOD tweaks
Vincent Pit [Mon, 30 Jul 2012 14:33:32 +0000]
POD tweaks

12 years agoProperly handle BOMs at the beginning of the file
Vincent Pit [Mon, 30 Jul 2012 13:53:49 +0000]
Properly handle BOMs at the beginning of the file

This applies to new_from_file and new_from_module, but not new_from_handle.

This fixes RT #78434.

12 years agoBump version to 1.0.10 and update Changes release_1.0.10
Vincent Pit [Sun, 29 Jul 2012 19:16:01 +0000]
Bump version to 1.0.10 and update Changes

12 years agoPortability fix-ups for new_from_module()
Craig A. Berry [Sun, 29 Jul 2012 17:58:38 +0000]
Portability fix-ups for new_from_module()

This fixes test failures on VMS, and resolves RT #76030.

12 years agoTest package_versions_from_directory with regard to case-sensitivity
Vincent Pit [Sun, 29 Jul 2012 17:54:33 +0000]
Test package_versions_from_directory with regard to case-sensitivity

12 years agoFix t/metadata.t failure under Cygwin
Jerry D. Hedden [Sun, 29 Jul 2012 17:35:02 +0000]
Fix t/metadata.t failure under Cygwin

This fixes RT #78376.

12 years agoOnly compile $PKG_REGEXP and $VERS_REGEXP once
Vincent Pit [Sun, 29 Jul 2012 10:02:35 +0000]
Only compile $PKG_REGEXP and $VERS_REGEXP once

These regexps are static and so can benefit from the /o modifier.
Profiling shows that this gives a 15% speedup for _parse_fh().

12 years agoOnly call _parse_version_expression() for lines that contain VERSION
Vincent Pit [Sat, 28 Jul 2012 17:22:11 +0000]
Only call _parse_version_expression() for lines that contain VERSION

This saves a method call for each source line that does not contain
'VERSION', yielding a whopping 30% speedup for _parse_fh().

12 years agoOptimize POD section handling in _parse_fh()
Vincent Pit [Sat, 28 Jul 2012 17:11:29 +0000]
Optimize POD section handling in _parse_fh()

This is one of the hot spots that NYTProf points out for _parse_fh().
Avoiding the negative lookahead and the redundant regexp match for /^=cut/
yields a 10% speedup.

12 years agogitignore: MANIFEST and dist tarball/dir
David Golden [Tue, 3 Apr 2012 20:07:23 +0000]
gitignore: MANIFEST and dist tarball/dir

12 years agoBump version to 1.000009 and prep Changes for release release_1.0.9
David Golden [Wed, 8 Feb 2012 16:58:39 +0000]
Bump version to 1.000009 and prep Changes for release

12 years agoMake all prereqs explicit in Makefile.PL
David Golden [Wed, 8 Feb 2012 16:57:32 +0000]
Make all prereqs explicit in Makefile.PL

12 years agouse croak instead of die
David Golden [Wed, 8 Feb 2012 16:53:49 +0000]
use croak instead of die

12 years agoadd required 'version' arg to provides()
David Golden [Wed, 8 Feb 2012 16:41:58 +0000]
add required 'version' arg to provides()

12 years agoupdated Changes release_1.0.8
David Golden [Wed, 8 Feb 2012 03:30:50 +0000]
updated Changes

12 years agobump version to 1.0.8
David Golden [Tue, 7 Feb 2012 22:03:58 +0000]
bump version to 1.0.8

12 years agodocument that packages_inside is unfiltered
David Golden [Tue, 7 Feb 2012 22:03:28 +0000]
document that packages_inside is unfiltered

12 years agoadd "provides" method for correct CPAN META field generation
David Golden [Tue, 7 Feb 2012 21:58:23 +0000]
add "provides" method for correct CPAN META field generation

12 years agotest package_versions_from_directory
David Golden [Tue, 7 Feb 2012 19:37:52 +0000]
test package_versions_from_directory

13 years agoBump version to 1.0.7 release_1.0.7
David Golden [Wed, 7 Sep 2011 16:00:42 +0000]
Bump version to 1.0.7

13 years agoBackport VMS fixes from blead [RT #70781]
David Golden [Wed, 7 Sep 2011 15:58:31 +0000]
Backport VMS fixes from blead [RT #70781]

Dot is the directory delimiter on VMS, so it's awkward at best to use it
in directory names.  Blead commit 4eb81ef279, "Update Module-Metadata to
CPAN version 1.000005" introduced two new directories with dots in the
name, which confused the manifest checker and broke the build on VMS.

13 years agoBump version to 1.0.6 and update Changes release_1.0.6
David Golden [Mon, 29 Aug 2011 19:46:56 +0000]
Bump version to 1.0.6 and update Changes

13 years agoSupport "package NAME BLOCK" and "package NAME VERSION BLOCK"
Vincent Pit [Mon, 29 Aug 2011 19:20:05 +0000]
Support "package NAME BLOCK" and "package NAME VERSION BLOCK"

13 years agoIgnore MYMETA.json
Vincent Pit [Mon, 29 Aug 2011 19:06:32 +0000]
Ignore MYMETA.json

13 years agoTest undefined $VERSION
Vincent Pit [Mon, 29 Aug 2011 18:05:19 +0000]
Test undefined $VERSION

13 years agoEdited documentation release_1.0.5
David Golden [Wed, 3 Aug 2011 01:38:30 +0000]
Edited documentation

13 years agoAdd new_from_handle method [RT #68875]
David Golden [Wed, 3 Aug 2011 01:17:27 +0000]
Add new_from_handle method [RT #68875]

13 years agoFix references to ModuleInfo [RT #66133]
David Golden [Wed, 3 Aug 2011 00:34:54 +0000]
Fix references to ModuleInfo [RT #66133]

13 years agobump version to 1.000005
David Golden [Wed, 3 Aug 2011 00:25:07 +0000]
bump version to 1.000005

13 years agoupdate Changes for release
David Golden [Wed, 3 Aug 2011 00:24:13 +0000]
update Changes for release

13 years agolocal $package::VERSION should now actually work
Tatsuhiko Miyagawa [Sun, 26 Jun 2011 05:12:29 +0000]
local $package::VERSION should now actually work

Signed-off-by: David Golden <dagolden@cpan.org>

13 years agobump version to 1.00004 and update Changes release_1.0.4
David Golden [Thu, 3 Feb 2011 07:55:21 +0000]
bump version to 1.00004 and update Changes

13 years agoFind Module/Metadata.pm in blib/arch before chdir() [RT #65380]
Josh Jore [Thu, 3 Feb 2011 01:00:36 +0000]
Find Module/Metadata.pm in blib/arch before chdir() [RT #65380]

Signed-off-by: David Golden <dagolden@cpan.org>

13 years agobump version to 1.000003 and timestamp Changes release_1.0.3
David Golden [Fri, 7 Jan 2011 02:34:58 +0000]
bump version to 1.000003 and timestamp Changes

13 years agodocumentation cleanup
David Golden [Fri, 7 Jan 2011 02:31:58 +0000]
documentation cleanup

13 years agoadd LICENSE when generating META.yml release_1.0.2
David Golden [Fri, 10 Dec 2010 17:07:49 +0000]
add LICENSE when generating META.yml

13 years agobump version and CHANGES for 1.000002
David Golden [Fri, 10 Dec 2010 17:01:05 +0000]
bump version and CHANGES for 1.000002

13 years agoMunge non-lax versions when possible
David Golden [Fri, 10 Dec 2010 15:33:11 +0000]
Munge non-lax versions when possible

Older version of version.pm allowed various forms that
failed even the "lax" rules. The new version.pm module
conforms to the Perl 5.12 rules, so this commit adds some
munging to try to cope with some non-lax versions
strings like "1.23-alpha"

13 years agoFix up some comments about version manipulation
David Golden [Fri, 10 Dec 2010 14:26:43 +0000]
Fix up some comments about version manipulation

13 years agoswitch from Module::Metadata::Version to version.pm
David Golden [Fri, 10 Dec 2010 14:20:10 +0000]
switch from Module::Metadata::Version to version.pm

13 years agoadd a gitignore file
David Golden [Fri, 10 Dec 2010 14:17:09 +0000]
add a gitignore file

14 years agofactor out author targets into a plain Makefile.include
Matt S Trout [Sat, 10 Jul 2010 20:25:51 +0000]
factor out author targets into a plain Makefile.include

14 years agoChanges file and 1.000001 version bump for release release_1.0.1
Matt S Trout [Thu, 8 Jul 2010 23:58:02 +0000]
Changes file and 1.000001 version bump for release

14 years agofixup version bump to nuke Makefile, make Makefile.PL use new location of maint include
Matt S Trout [Thu, 8 Jul 2010 23:57:30 +0000]
fixup version bump to nuke Makefile, make Makefile.PL use new location of maint include

14 years agomove Author.PL to maint/Makefile.PL.include to prevent it being run at build time
Matt S Trout [Thu, 8 Jul 2010 23:26:46 +0000]
move Author.PL to maint/Makefile.PL.include to prevent it being run at build time

14 years agoadd bump-version utility for author-side work
Matt S Trout [Thu, 8 Jul 2010 23:23:05 +0000]
add bump-version utility for author-side work

14 years agobump Module::Metadata version to 1.0.0 release_1.0.0
Matt S Trout [Tue, 6 Jul 2010 21:16:11 +0000]
bump Module::Metadata version to 1.0.0

14 years agosquelch warning in Author.PL
Matt S Trout [Tue, 6 Jul 2010 21:15:55 +0000]
squelch warning in Author.PL

14 years agoinclude xt/ in MANIFEST since we want the dist to be as close to reh repo as possible
Matt S Trout [Tue, 6 Jul 2010 01:30:05 +0000]
include xt/ in MANIFEST since we want the dist to be as close to reh repo as possible

14 years agoPOD test plus POD changes to make it pass
Matt S Trout [Tue, 6 Jul 2010 01:28:08 +0000]
POD test plus POD changes to make it pass

14 years agoMakefile.PL and Author.PL
Matt S Trout [Tue, 6 Jul 2010 01:27:55 +0000]
Makefile.PL and Author.PL

14 years agotests from dagolden (xdg)
Matt S Trout [Tue, 6 Jul 2010 01:27:30 +0000]
tests from dagolden (xdg)

14 years agomake fallback actually work
Matt S Trout [Sun, 21 Mar 2010 12:36:54 +0000]
make fallback actually work

14 years agono dep
Matt S Trout [Sun, 21 Mar 2010 11:42:11 +0000]
no dep

14 years agoimport Module::Metadata
Matt S Trout [Wed, 3 Mar 2010 01:01:44 +0000]
import Module::Metadata