[Moose-commits] r7433 - in MooseX-GlobRef-Object/trunk: . eg xt
dexter at code2.0beta.co.uk
dexter at code2.0beta.co.uk
Fri Jan 30 19:33:47 GMT 2009
Author: dexter
Date: 2009-01-30 11:33:46 -0800 (Fri, 30 Jan 2009)
New Revision: 7433
Added:
MooseX-GlobRef-Object/trunk/xt/cover.pl
Removed:
MooseX-GlobRef-Object/trunk/xt/cover.sh
Modified:
MooseX-GlobRef-Object/trunk/
MooseX-GlobRef-Object/trunk/Build.PL
MooseX-GlobRef-Object/trunk/MANIFEST
MooseX-GlobRef-Object/trunk/eg/extends_object.pl
MooseX-GlobRef-Object/trunk/eg/use_metaclass.pl
MooseX-GlobRef-Object/trunk/xt/consistent_version_numbers.t
MooseX-GlobRef-Object/trunk/xt/copyright.t
MooseX-GlobRef-Object/trunk/xt/distribution.t
Log:
* Clean up.
Property changes on: MooseX-GlobRef-Object/trunk
___________________________________________________________________
Name: svn:ignore
+ *.bak
*.bat
*.deb
*.gz
*.ppd
*.tgz
*.tmp
.includepath
.project
.settings
Build
Debian_CPANTS.txt
IO-Moose-*
LICENSE
META.yml
Makefile.PL
README
_build
blib
cover_db
Modified: MooseX-GlobRef-Object/trunk/Build.PL
===================================================================
--- MooseX-GlobRef-Object/trunk/Build.PL 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/Build.PL 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,35 +1,58 @@
#!/usr/bin/perl
-use 5.006;
-use Module::Build;
+use 5.008;
use strict;
use warnings;
+use Module::Build;
+
+my $module = 'MooseX::GlobRef::Object';
+
+(my $dist = $module) =~ s/::/-/g;
+
my $build = Module::Build->new(
- module_name => 'MooseX::GlobRef::Object',
- dist_author => 'Piotr Roszatycki <dexter at debian.org>',
+ module_name => $module,
license => 'perl',
requires => {
- 'perl' => 5.006,
- 'Moose' => 0.56,
- 'parent' => 0,
+ 'perl' => 5.008,
+ 'constant::boolean' => 0,
+ 'maybe' => 0,
+ 'Exception::Argument' => 0,
+ 'Exception::Base' => 0.21,
+ 'Exception::Died' => 0,
+ 'Exception::Fatal' => 0,
+ 'Exception::System' => 0.11,
+ 'File::Stat::Moose' => 0.03,
+ 'MooseX::GlobRef::Object' => 0.03,
+ 'Task::Weaken' => 0,
+ 'Test::Assert' => 0.04,
},
optional => {
+ 'Smart::Comments' => 0,
},
build_requires => {
- 'Test::Unit::Lite' => 0.11,
- 'Test::Assert' => 0,
+ 'parent' => 0,
+ 'Exception::Warning' => 0,
+ 'Taint::Runtime' => 0,
+ 'Test::Unit::Lite' => 0.11,
},
create_makefile_pl => 'traditional',
create_readme => 1,
+ create_license => 1,
+ sign => 1,
recursive_test_files => 1,
add_to_cleanup => [
- 'META.yml', '*.bak', '*.gz', '*.tgz', '*.ppd', '*.deb', '*.bat',
- 'Makefile.PL', 'Makefile', 'pm_to_blib', 'README', 'cover_db',
- 'Debian_CPANTS.txt',
- 'MooseX-GlobRef-Object-*',
+ '*.bak', '*.gz', '*.tgz', '*.ppd', '*.ppmx', '*.deb', '*.bat',
+ 'Makefile', 'pm_to_blib', 'cover_db', 'Debian_CPANTS.txt',
+ "$dist-*",
],
+ meta_merge => {
+ resources => {
+ bugtracker => "http://rt.cpan.org/NoAuth/Bugs.html?Dist=$dist",
+ repository => "http://dexter-cpan.googlecode.com/svn/$dist",
+ },
+ },
);
$build->create_build_script;
Modified: MooseX-GlobRef-Object/trunk/MANIFEST
===================================================================
--- MooseX-GlobRef-Object/trunk/MANIFEST 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/MANIFEST 2009-01-30 19:33:46 UTC (rev 7433)
@@ -21,7 +21,7 @@
t/tlib/MooseX/GlobRef/ObjectTestSuite.pm
xt/consistent_version_numbers.t
xt/copyright.t
-xt/cover.sh
+xt/cover.pl
xt/distribution.t
xt/kwalitee.t
xt/minimumversion.t
Modified: MooseX-GlobRef-Object/trunk/eg/extends_object.pl
===================================================================
--- MooseX-GlobRef-Object/trunk/eg/extends_object.pl 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/eg/extends_object.pl 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,5 +1,7 @@
-#!/usr/bin/perl -I../lib
+#!/usr/bin/perl
+use lib 'lib', '../lib';
+
package My::IO;
use Moose;
Modified: MooseX-GlobRef-Object/trunk/eg/use_metaclass.pl
===================================================================
--- MooseX-GlobRef-Object/trunk/eg/use_metaclass.pl 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/eg/use_metaclass.pl 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,5 +1,7 @@
-#!/usr/bin/perl -I../lib
+#!/usr/bin/perl
+use lib 'lib', '../lib';
+
package My::IO;
use metaclass 'Moose::Meta::Class' => (
Modified: MooseX-GlobRef-Object/trunk/xt/consistent_version_numbers.t
===================================================================
--- MooseX-GlobRef-Object/trunk/xt/consistent_version_numbers.t 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/xt/consistent_version_numbers.t 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
use strict;
use warnings;
Modified: MooseX-GlobRef-Object/trunk/xt/copyright.t
===================================================================
--- MooseX-GlobRef-Object/trunk/xt/copyright.t 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/xt/copyright.t 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
use strict;
use warnings;
@@ -67,7 +67,7 @@
my @copyright_years = $content =~ m<
(?: copyright(?:\s\(c\))? | \(c\) )
\s*
- (?: \d{4} \\? [-,]\s*)?
+ (?: \d{4} \\? [-,]\s*)*
(\d{4})
>gixms;
if (0 < grep {$_ ne $this_year} @copyright_years) {
Copied: MooseX-GlobRef-Object/trunk/xt/cover.pl (from rev 7432, MooseX-GlobRef-Object/trunk/xt/cover.sh)
===================================================================
--- MooseX-GlobRef-Object/trunk/xt/cover.pl (rev 0)
+++ MooseX-GlobRef-Object/trunk/xt/cover.pl 2009-01-30 19:33:46 UTC (rev 7433)
@@ -0,0 +1,19 @@
+#!/usr/bin/perl
+
+use 5.008;
+use strict;
+no warnings;
+
+use File::Basename;
+use File::Spec;
+use Cwd;
+
+BEGIN {
+ chdir dirname(__FILE__) or die "$!";
+ chdir '..' or die "$!";
+};
+
+do "./Build.PL";
+
+local @ARGV = (@ARGV, 'testcover');
+do "./Build";
Property changes on: MooseX-GlobRef-Object/trunk/xt/cover.pl
___________________________________________________________________
Name: svn:executable
+ *
Deleted: MooseX-GlobRef-Object/trunk/xt/cover.sh
===================================================================
--- MooseX-GlobRef-Object/trunk/xt/cover.sh 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/xt/cover.sh 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,6 +0,0 @@
-cd $(dirname $0)
-cd ..
-perl Build.PL
-cover -delete
-HARNESS_PERL_SWITCHES=-MDevel::Cover ./Build test
-cover
Modified: MooseX-GlobRef-Object/trunk/xt/distribution.t
===================================================================
--- MooseX-GlobRef-Object/trunk/xt/distribution.t 2009-01-30 17:15:40 UTC (rev 7432)
+++ MooseX-GlobRef-Object/trunk/xt/distribution.t 2009-01-30 19:33:46 UTC (rev 7433)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
use strict;
use warnings;
@@ -6,4 +6,5 @@
our $VERSION = '0.999_001';
# No POD coverage due to complaints about builtins when using Fatal.
-use Test::Distribution ( distversion => 1, not => 'podcover' );
+use Test::Distribution ();
+Test::Distribution->import( distversion => 1, not => [ 'pod', 'podcover', 'prereq' ] );
More information about the Moose-commits
mailing list