update M::I
This commit is contained in:
@@ -7,11 +7,11 @@ build_requires:
|
|||||||
ExtUtils::MakeMaker: 6.59
|
ExtUtils::MakeMaker: 6.59
|
||||||
Test::More: 0.88
|
Test::More: 0.88
|
||||||
configure_requires:
|
configure_requires:
|
||||||
DBIx::Class: 0.082801
|
DBIx::Class: '0.082801'
|
||||||
ExtUtils::MakeMaker: 6.59
|
ExtUtils::MakeMaker: 6.59
|
||||||
distribution_type: module
|
distribution_type: module
|
||||||
dynamic_config: 1
|
dynamic_config: 1
|
||||||
generated_by: 'Module::Install version 1.06'
|
generated_by: 'Module::Install version 1.12'
|
||||||
license: bsd
|
license: bsd
|
||||||
meta-spec:
|
meta-spec:
|
||||||
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
||||||
@@ -39,7 +39,7 @@ requires:
|
|||||||
DBIx::Class: 0.08281
|
DBIx::Class: 0.08281
|
||||||
DBIx::Class::Helpers: 2.024
|
DBIx::Class::Helpers: 2.024
|
||||||
Daemon::Control: 0.001006
|
Daemon::Control: 0.001006
|
||||||
Dancer: 1.3132
|
Dancer: '1.3132'
|
||||||
Dancer::Plugin::Auth::Extensible: 0.3
|
Dancer::Plugin::Auth::Extensible: 0.3
|
||||||
Dancer::Plugin::DBIC: 0.2001
|
Dancer::Plugin::DBIC: 0.2001
|
||||||
Dancer::Plugin::Passphrase: 2.0.1
|
Dancer::Plugin::Passphrase: 2.0.1
|
||||||
@@ -68,7 +68,7 @@ requires:
|
|||||||
Plack::Middleware::ReverseProxy: 0.15
|
Plack::Middleware::ReverseProxy: 0.15
|
||||||
Role::Tiny: 1.002005
|
Role::Tiny: 1.002005
|
||||||
SNMP::Info: 3.18
|
SNMP::Info: 3.18
|
||||||
SQL::Translator: 0.11018
|
SQL::Translator: '0.11018'
|
||||||
Sereal: 0
|
Sereal: 0
|
||||||
Socket6: 0.23
|
Socket6: 0.23
|
||||||
Starman: 0.4008
|
Starman: 0.4008
|
||||||
@@ -91,4 +91,4 @@ resources:
|
|||||||
homepage: http://netdisco.org/
|
homepage: http://netdisco.org/
|
||||||
license: http://opensource.org/licenses/bsd-license.php
|
license: http://opensource.org/licenses/bsd-license.php
|
||||||
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
|
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
|
||||||
version: 2.029014
|
version: '2.029014'
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ package Module::Install;
|
|||||||
# 3. The ./inc/ version of Module::Install loads
|
# 3. The ./inc/ version of Module::Install loads
|
||||||
# }
|
# }
|
||||||
|
|
||||||
use 5.005;
|
use 5.006;
|
||||||
use strict 'vars';
|
use strict 'vars';
|
||||||
use Cwd ();
|
use Cwd ();
|
||||||
use File::Find ();
|
use File::Find ();
|
||||||
@@ -31,7 +31,7 @@ BEGIN {
|
|||||||
# This is not enforced yet, but will be some time in the next few
|
# This is not enforced yet, but will be some time in the next few
|
||||||
# releases once we can make sure it won't clash with custom
|
# releases once we can make sure it won't clash with custom
|
||||||
# Module::Install extensions.
|
# Module::Install extensions.
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
|
|
||||||
# Storage for the pseudo-singleton
|
# Storage for the pseudo-singleton
|
||||||
$MAIN = undef;
|
$MAIN = undef;
|
||||||
@@ -156,10 +156,10 @@ END_DIE
|
|||||||
sub autoload {
|
sub autoload {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $who = $self->_caller;
|
my $who = $self->_caller;
|
||||||
my $cwd = Cwd::cwd();
|
my $cwd = Cwd::getcwd();
|
||||||
my $sym = "${who}::AUTOLOAD";
|
my $sym = "${who}::AUTOLOAD";
|
||||||
$sym->{$cwd} = sub {
|
$sym->{$cwd} = sub {
|
||||||
my $pwd = Cwd::cwd();
|
my $pwd = Cwd::getcwd();
|
||||||
if ( my $code = $sym->{$pwd} ) {
|
if ( my $code = $sym->{$pwd} ) {
|
||||||
# Delegate back to parent dirs
|
# Delegate back to parent dirs
|
||||||
goto &$code unless $cwd eq $pwd;
|
goto &$code unless $cwd eq $pwd;
|
||||||
@@ -239,7 +239,7 @@ sub new {
|
|||||||
|
|
||||||
# ignore the prefix on extension modules built from top level.
|
# ignore the prefix on extension modules built from top level.
|
||||||
my $base_path = Cwd::abs_path($FindBin::Bin);
|
my $base_path = Cwd::abs_path($FindBin::Bin);
|
||||||
unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) {
|
unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) {
|
||||||
delete $args{prefix};
|
delete $args{prefix};
|
||||||
}
|
}
|
||||||
return $args{_self} if $args{_self};
|
return $args{_self} if $args{_self};
|
||||||
@@ -338,7 +338,7 @@ sub find_extensions {
|
|||||||
if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
|
if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) {
|
||||||
my $content = Module::Install::_read($subpath . '.pm');
|
my $content = Module::Install::_read($subpath . '.pm');
|
||||||
my $in_pod = 0;
|
my $in_pod = 0;
|
||||||
foreach ( split //, $content ) {
|
foreach ( split /\n/, $content ) {
|
||||||
$in_pod = 1 if /^=\w/;
|
$in_pod = 1 if /^=\w/;
|
||||||
$in_pod = 0 if /^=cut/;
|
$in_pod = 0 if /^=cut/;
|
||||||
next if ($in_pod || /^=cut/); # skip pod text
|
next if ($in_pod || /^=cut/); # skip pod text
|
||||||
@@ -434,7 +434,7 @@ END_OLD
|
|||||||
|
|
||||||
# _version is for processing module versions (eg, 1.03_05) not
|
# _version is for processing module versions (eg, 1.03_05) not
|
||||||
# Perl versions (eg, 5.8.1).
|
# Perl versions (eg, 5.8.1).
|
||||||
sub _version ($) {
|
sub _version {
|
||||||
my $s = shift || 0;
|
my $s = shift || 0;
|
||||||
my $d =()= $s =~ /(\.)/g;
|
my $d =()= $s =~ /(\.)/g;
|
||||||
if ( $d >= 2 ) {
|
if ( $d >= 2 ) {
|
||||||
@@ -450,12 +450,12 @@ sub _version ($) {
|
|||||||
return $l + 0;
|
return $l + 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub _cmp ($$) {
|
sub _cmp {
|
||||||
_version($_[1]) <=> _version($_[2]);
|
_version($_[1]) <=> _version($_[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Cloned from Params::Util::_CLASS
|
# Cloned from Params::Util::_CLASS
|
||||||
sub _CLASS ($) {
|
sub _CLASS {
|
||||||
(
|
(
|
||||||
defined $_[0]
|
defined $_[0]
|
||||||
and
|
and
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ package Module::Install::Base;
|
|||||||
use strict 'vars';
|
use strict 'vars';
|
||||||
use vars qw{$VERSION};
|
use vars qw{$VERSION};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
}
|
}
|
||||||
|
|
||||||
# Suspend handler for "redefined" warnings
|
# Suspend handler for "redefined" warnings
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use Module::Install::Base ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use Module::Install::Base ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
@@ -133,7 +133,7 @@ sub makemaker_args {
|
|||||||
return $args;
|
return $args;
|
||||||
}
|
}
|
||||||
|
|
||||||
# For mm args that take multiple space-seperated args,
|
# For mm args that take multiple space-separated args,
|
||||||
# append an argument to the current list.
|
# append an argument to the current list.
|
||||||
sub makemaker_append {
|
sub makemaker_append {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use Module::Install::Base ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
@@ -347,7 +347,7 @@ sub name_from {
|
|||||||
^ \s*
|
^ \s*
|
||||||
package \s*
|
package \s*
|
||||||
([\w:]+)
|
([\w:]+)
|
||||||
\s* ;
|
[\s|;]*
|
||||||
/ixms
|
/ixms
|
||||||
) {
|
) {
|
||||||
my ($name, $module_name) = ($1, $1);
|
my ($name, $module_name) = ($1, $1);
|
||||||
@@ -705,7 +705,7 @@ sub _write_mymeta_data {
|
|||||||
my @yaml = Parse::CPAN::Meta::LoadFile('META.yml');
|
my @yaml = Parse::CPAN::Meta::LoadFile('META.yml');
|
||||||
my $meta = $yaml[0];
|
my $meta = $yaml[0];
|
||||||
|
|
||||||
# Overwrite the non-configure dependency hashs
|
# Overwrite the non-configure dependency hashes
|
||||||
delete $meta->{requires};
|
delete $meta->{requires};
|
||||||
delete $meta->{build_requires};
|
delete $meta->{build_requires};
|
||||||
delete $meta->{recommends};
|
delete $meta->{recommends};
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use Module::Install::Base ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use ExtUtils::Manifest ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use Module::Install::Base ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = 'Module::Install::Base';
|
@ISA = 'Module::Install::Base';
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use Module::Install::Base ();
|
|||||||
|
|
||||||
use vars qw{$VERSION @ISA $ISCORE};
|
use vars qw{$VERSION @ISA $ISCORE};
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$VERSION = '1.06';
|
$VERSION = '1.12';
|
||||||
@ISA = qw{Module::Install::Base};
|
@ISA = qw{Module::Install::Base};
|
||||||
$ISCORE = 1;
|
$ISCORE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user