r66493 - in /trunk/libpath-class-perl: Changes MANIFEST META.yml Makefile.PL SIGNATURE debian/changelog dist.ini lib/Path/Class.pm lib/Path/Class/Dir.pm lib/Path/Class/Entity.pm lib/Path/Class/File.pm t/01-basic.t t/file-spec-tests
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Mon Dec 27 09:43:41 UTC 2010
Author: carnil
Date: Mon Dec 27 09:43:33 2010
New Revision: 66493
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66493
Log:
New upstream release
Added:
trunk/libpath-class-perl/dist.ini
- copied unchanged from r66492, branches/upstream/libpath-class-perl/current/dist.ini
trunk/libpath-class-perl/t/file-spec-tests
- copied unchanged from r66492, branches/upstream/libpath-class-perl/current/t/file-spec-tests
Modified:
trunk/libpath-class-perl/Changes
trunk/libpath-class-perl/MANIFEST
trunk/libpath-class-perl/META.yml
trunk/libpath-class-perl/Makefile.PL
trunk/libpath-class-perl/SIGNATURE
trunk/libpath-class-perl/debian/changelog
trunk/libpath-class-perl/lib/Path/Class.pm
trunk/libpath-class-perl/lib/Path/Class/Dir.pm
trunk/libpath-class-perl/lib/Path/Class/Entity.pm
trunk/libpath-class-perl/lib/Path/Class/File.pm
trunk/libpath-class-perl/t/01-basic.t
Modified: trunk/libpath-class-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/Changes?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/Changes (original)
+++ trunk/libpath-class-perl/Changes Mon Dec 27 09:43:33 2010
@@ -1,4 +1,15 @@
Revision history for Perl extension Path::Class.
+
+0.23 - Sun Dec 26 13:35:53 CST 2010
+
+ - Fixed a bunch of problems with the distribution (e.g. in META.yml)
+ that I introduced in the switch to Dist::Zilla. No code changes
+ from 0.22.
+
+0.22 - Sat Dec 25 22:59:20 CST 2010
+
+ - Added a basename() method for directory objects. [CLKAO, jloverso,
+ THEPLER, ZUMMO]
0.21 - Tue Aug 17 19:13:13 CDT 2010
Modified: trunk/libpath-class-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/MANIFEST?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/MANIFEST (original)
+++ trunk/libpath-class-perl/MANIFEST Mon Dec 27 09:43:33 2010
@@ -1,16 +1,18 @@
Build.PL
Changes
INSTALL
+MANIFEST
+META.yml
+Makefile.PL
+README
+SIGNATURE
+dist.ini
lib/Path/Class.pm
lib/Path/Class/Dir.pm
lib/Path/Class/Entity.pm
lib/Path/Class/File.pm
-Makefile.PL
-MANIFEST
-META.yml
-README
t/01-basic.t
t/02-foreign.t
t/03-filesystem.t
t/04-subclass.t
-SIGNATURE Added here by Module::Build
+t/file-spec-tests
Modified: trunk/libpath-class-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/META.yml?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/META.yml (original)
+++ trunk/libpath-class-perl/META.yml Mon Dec 27 09:43:33 2010
@@ -1,18 +1,19 @@
---
-name: Path-Class
-version: 0.21
+abstract: 'Cross-platform path specification manipulation'
author:
- - 'Ken Williams, KWILLIAMS at cpan.org'
-abstract: Cross-platform path specification manipulation
-license: perl
-resources:
- bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Path-Class
- homepage: http://code.google.com/p/perl-path-class
- license: http://dev.perl.org/licenses/
- repository: http://perl-path-class.googlecode.com/svn/trunk
+ - 'Ken Williams <kwilliams at cpan.org>'
build_requires:
File::Temp: 0
Test::More: 0
+configure_requires:
+ ExtUtils::MakeMaker: 6.31
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Path-Class
requires:
Cwd: 0
File::Path: 0
@@ -22,22 +23,7 @@
IO::Dir: 0
IO::File: 0
overload: 0
-configure_requires:
- Module::Build: 0.34
-provides:
- Path::Class:
- file: lib/Path/Class.pm
- version: 0.21
- Path::Class::Dir:
- file: lib/Path/Class/Dir.pm
- version: 0.21
- Path::Class::Entity:
- file: lib/Path/Class/Entity.pm
- version: 0.21
- Path::Class::File:
- file: lib/Path/Class/File.pm
- version: 0.21
-generated_by: Module::Build version 0.34
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+resources:
+ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Path-Class
+ repository: http://perl-path-class.googlecode.com/svn/trunk
+version: 0.23
Modified: trunk/libpath-class-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/Makefile.PL?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/Makefile.PL (original)
+++ trunk/libpath-class-perl/Makefile.PL Mon Dec 27 09:43:33 2010
@@ -1,23 +1,61 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.34
-use ExtUtils::MakeMaker;
-WriteMakefile
-(
- 'NAME' => 'Path::Class',
- 'VERSION_FROM' => 'lib/Path/Class.pm',
- 'PREREQ_PM' => {
- 'Cwd' => '0',
- 'File::Path' => '0',
- 'File::Spec' => '0.87',
- 'File::Spec::Mac' => '1.3',
- 'File::Temp' => '0',
- 'File::stat' => '0',
- 'IO::Dir' => '0',
- 'IO::File' => '0',
- 'Test::More' => '0',
- 'overload' => '0'
- },
- 'INSTALLDIRS' => 'site',
- 'EXE_FILES' => [],
- 'PL_FILES' => {}
- )
-;
+
+use strict;
+use warnings;
+
+
+
+use ExtUtils::MakeMaker 6.31;
+
+
+
+my %WriteMakefileArgs = (
+ 'ABSTRACT' => 'Cross-platform path specification manipulation',
+ 'AUTHOR' => 'Ken Williams <kwilliams at cpan.org>',
+ 'BUILD_REQUIRES' => {
+ 'File::Temp' => '0',
+ 'Test::More' => '0'
+ },
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'DISTNAME' => 'Path-Class',
+ 'EXE_FILES' => [],
+ 'LICENSE' => 'perl',
+ 'NAME' => 'Path::Class',
+ 'PREREQ_PM' => {
+ 'Cwd' => '0',
+ 'File::Path' => '0',
+ 'File::Spec' => '0.87',
+ 'File::Spec::Mac' => '1.3',
+ 'File::stat' => '0',
+ 'IO::Dir' => '0',
+ 'IO::File' => '0',
+ 'overload' => '0'
+ },
+ 'VERSION' => '0.23',
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ }
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
Modified: trunk/libpath-class-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/SIGNATURE?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/SIGNATURE (original)
+++ trunk/libpath-class-perl/SIGNATURE Mon Dec 27 09:43:33 2010
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.55.
+signed via the Module::Signature module, version 0.66.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -15,24 +15,26 @@
Hash: SHA1
SHA1 3e94b50826015fe7ac1e769cadd656b53317d4ab Build.PL
-SHA1 71955300716dfe44d6e6320b7652a4ba77065cba Changes
+SHA1 1923d4e05cce842d978a78536a958388a3675873 Changes
SHA1 066a2dba8084a0c2a7e4b6996ad21872bc16beb5 INSTALL
-SHA1 a0a13d88e63cfd5b6f8a6ce1d23838c407b747e0 MANIFEST
-SHA1 acbbdb1d11eb4a93bad7190e7406858265ca8c77 META.yml
-SHA1 13ec5ef969c9758358bdd8b5cd6b71e7e9d775d9 Makefile.PL
+SHA1 f4f533d5ba595558e925934701b6a624c1ae263a MANIFEST
+SHA1 8d450b38f6346a82944f17f0b25be8c8d2a49df7 META.yml
+SHA1 c56ae13703aa3a30404e13a4b321818fc865b8f2 Makefile.PL
SHA1 a7b1cdcddb8679dff993b475939abcfb73076afb README
-SHA1 644839019a1d8a8bb8d05730b088cc07cb8eb9d8 lib/Path/Class.pm
-SHA1 eb19dfa31e8efe0c557f881de8dfd8c995932d30 lib/Path/Class/Dir.pm
-SHA1 1f960c7f06203dbaf7b8c6cdcf38480d43a0c5a0 lib/Path/Class/Entity.pm
-SHA1 e181b5d22ff222ff935ffd343feffbe89ec9fc74 lib/Path/Class/File.pm
-SHA1 97e2033418d3819f5ebf199d79bf7e87371bf164 t/01-basic.t
+SHA1 b40373e05544adc4447c5fad2509368fc6213b03 dist.ini
+SHA1 e3b4393203382a6a4194a6ec852942f8898c8a61 lib/Path/Class.pm
+SHA1 1aa682b45c70d04aecc6ba2b9cf7402650abbf5a lib/Path/Class/Dir.pm
+SHA1 16c0113abd50b90bb9aa739fa5ee4b549e0ffbe1 lib/Path/Class/Entity.pm
+SHA1 0ea60757f1483cb4287adcdf33c4c8233ba3fd90 lib/Path/Class/File.pm
+SHA1 212c128d87fa012c36016210e6e9213112fc3c23 t/01-basic.t
SHA1 a42f4b07e4c42e7a59b960b13c5466d7cd82e17a t/02-foreign.t
SHA1 ff702cdbf0bb4c25959cbc5a5c7db17772b7aa5b t/03-filesystem.t
SHA1 a163d4cf70142b45974ed39c78571e7ce2ba5a7f t/04-subclass.t
+SHA1 2c32aa5691540466533ae7c06753160f020818e9 t/file-spec-tests
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
-iD8DBQFMayXSgrvMBLfvlHYRAkB3AJ4r87RaKT15C1QaKhBsLq0recnG8QCg093p
-s1PCp3v64TPCHdPPkqVK0so=
-=FmKX
+iD8DBQFNF5rDgrvMBLfvlHYRAvbMAJ98sj5UZ5yLj0FkiXyu7P/NHq0vGACgnry1
+iuQgkpeJgSCL7Ljh0hfJRcQ=
+=Fky1
-----END PGP SIGNATURE-----
Modified: trunk/libpath-class-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/debian/changelog?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/debian/changelog (original)
+++ trunk/libpath-class-perl/debian/changelog Mon Dec 27 09:43:33 2010
@@ -1,7 +1,8 @@
-libpath-class-perl (0.21-2) UNRELEASED; urgency=low
+libpath-class-perl (0.23-1) UNRELEASED; urgency=low
[ Salvatore Bonaccorso ]
* Update my email address.
+ * New upstream release
[ Ansgar Burchardt ]
* Update my email address.
Modified: trunk/libpath-class-perl/lib/Path/Class.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/lib/Path/Class.pm?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/lib/Path/Class.pm (original)
+++ trunk/libpath-class-perl/lib/Path/Class.pm Mon Dec 27 09:43:33 2010
@@ -1,6 +1,8 @@
package Path::Class;
+BEGIN {
+ $Path::Class::VERSION = '0.23';
+}
-$VERSION = '0.21';
@ISA = qw(Exporter);
@EXPORT = qw(file dir);
@EXPORT_OK = qw(file dir foreign_file foreign_dir);
@@ -22,6 +24,10 @@
=head1 NAME
Path::Class - Cross-platform path specification manipulation
+
+=head1 VERSION
+
+version 0.23
=head1 SYNOPSIS
@@ -174,4 +180,4 @@
Path::Class::Dir, Path::Class::File, File::Spec
-=cut
+=cut
Modified: trunk/libpath-class-perl/lib/Path/Class/Dir.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/lib/Path/Class/Dir.pm?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/lib/Path/Class/Dir.pm (original)
+++ trunk/libpath-class-perl/lib/Path/Class/Dir.pm Mon Dec 27 09:43:33 2010
@@ -1,6 +1,7 @@
package Path::Class::Dir;
-
-$VERSION = '0.21';
+BEGIN {
+ $Path::Class::Dir::VERSION = '0.23';
+}
use strict;
use Path::Class::File;
@@ -70,6 +71,8 @@
local $Path::Class::Foreign = $_[0]->{file_spec_class} if $_[0]->{file_spec_class};
return $_[0]->file_class->new(@_);
}
+
+sub basename { shift()->{dirs}[-1] }
sub dir_list {
my $self = shift;
@@ -258,6 +261,10 @@
Path::Class::Dir - Objects representing directories
+=head1 VERSION
+
+version 0.23
+
=head1 SYNOPSIS
use Path::Class qw(dir); # Export a short constructor
@@ -650,4 +657,4 @@
Path::Class, Path::Class::File, File::Spec
-=cut
+=cut
Modified: trunk/libpath-class-perl/lib/Path/Class/Entity.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/lib/Path/Class/Entity.pm?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/lib/Path/Class/Entity.pm (original)
+++ trunk/libpath-class-perl/lib/Path/Class/Entity.pm Mon Dec 27 09:43:33 2010
@@ -1,6 +1,7 @@
package Path::Class::Entity;
-
-$VERSION = '0.21';
+BEGIN {
+ $Path::Class::Entity::VERSION = '0.23';
+}
use strict;
use File::Spec;
@@ -84,3 +85,27 @@
sub lstat { File::stat::lstat("$_[0]") }
1;
+__END__
+
+=head1 NAME
+
+Path::Class:Entity - Base class for files and directories
+
+=head1 VERSION
+
+version 0.23
+
+=head1 DESCRIPTION
+
+This class is the base class for C<Path::Class::File> and
+C<Path::Class::Dir>, it is not used directly by callers.
+
+=head1 AUTHOR
+
+Ken Williams, kwilliams at cpan.org
+
+=head1 SEE ALSO
+
+Path::Class
+
+=cut
Modified: trunk/libpath-class-perl/lib/Path/Class/File.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/lib/Path/Class/File.pm?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/lib/Path/Class/File.pm (original)
+++ trunk/libpath-class-perl/lib/Path/Class/File.pm Mon Dec 27 09:43:33 2010
@@ -1,6 +1,7 @@
package Path::Class::File;
-
-$VERSION = '0.21';
+BEGIN {
+ $Path::Class::File::VERSION = '0.23';
+}
use strict;
use Path::Class::Dir;
@@ -100,6 +101,10 @@
Path::Class::File - Objects representing files
+=head1 VERSION
+
+version 0.23
+
=head1 SYNOPSIS
use Path::Class qw(file); # Export a short constructor
@@ -346,4 +351,4 @@
Path::Class, Path::Class::Dir, File::Spec
-=cut
+=cut
Modified: trunk/libpath-class-perl/t/01-basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpath-class-perl/t/01-basic.t?rev=66493&op=diff
==============================================================================
--- trunk/libpath-class-perl/t/01-basic.t (original)
+++ trunk/libpath-class-perl/t/01-basic.t Mon Dec 27 09:43:33 2010
@@ -7,7 +7,7 @@
use Path::Class;
use Cwd;
-plan tests => 66;
+plan tests => 68;
ok(1);
my $file1 = Path::Class::File->new('foo.txt');
@@ -25,6 +25,7 @@
my $dir = dir('tmp');
ok $dir, 'tmp';
ok $dir->is_absolute, '';
+ok $dir->basename, 'tmp';
my $dir2 = dir('/tmp');
ok $dir2, '/tmp';
@@ -47,6 +48,7 @@
$cat = $dir2->subdir('foo');
ok $cat, '/tmp/foo';
ok $cat->isa('Path::Class::Dir');
+ok $cat->basename, 'foo';
my $file = file('/foo//baz/./foo')->cleanup;
ok $file, '/foo/baz/foo';
More information about the Pkg-perl-cvs-commits
mailing list