Bash-Completion-Plugins-cpanm
view release on metacpan or search on metacpan
],
'dist_name' => 'Bash-Completion-Plugins-cpanm',
'dist_version' => '0.0.2',
'license' => 'bsd',
'module_name' => 'Bash::Completion::Plugins::cpanm',
'recommends' => {},
'recursive_test_files' => 1,
'requires' => {
'Bash::Completion::Plugin' => '0',
'Bash::Completion::Utils' => '0',
'HTTP::Request::Common' => '0',
'JSON' => '0',
'LWP::UserAgent' => '0'
},
'script_files' => []
);
my $build = Module::Build->new(%module_build_args);
$build->create_build_script;
},
"configure" : {
"requires" : {
"Module::Build" : "0.3601"
}
},
"runtime" : {
"requires" : {
"Bash::Completion::Plugin" : 0,
"Bash::Completion::Utils" : 0,
"HTTP::Request::Common" : 0,
"JSON" : 0,
"LWP::UserAgent" : 0
}
},
"test" : {
"requires" : {
"File::Find" : 0,
"File::Temp" : 0,
"Test::More" : "0.88"
}
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Bash-Completion-Plugins-cpanm
provides:
Bash::Completion::Plugins::cpanm:
file: lib/Bash/Completion/Plugins/cpanm.pm
version: v0.0.2
requires:
Bash::Completion::Plugin: 0
Bash::Completion::Utils: 0
HTTP::Request::Common: 0
JSON: 0
LWP::UserAgent: 0
resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Bash-Completion-Plugins-cpanm
homepage: http://search.cpan.org/dist/Bash-Completion-Plugins-cpanm/
repository: git://github.com/monken/p5-bash-completion-plugins-cpanm.git
version: 0.0.2
x_Dist_Zilla:
plugins:
-
package Bash::Completion::Plugins::cpanm;
# ABSTRACT: Bash completion for cpanm and cpanf
use strict;
use warnings;
use base 'Bash::Completion::Plugin';
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
use JSON;
use Bash::Completion::Utils qw( command_in_path );
sub should_activate {
my @commands = qw( cpanm cpanf cpan );
return [ grep { command_in_path($_) } @commands ];
}
lib/Bash/Completion/Plugins/cpanm.pm view on Meta::CPAN
package Bash::Completion::Plugins::cpanm;
BEGIN {
$Bash::Completion::Plugins::cpanm::VERSION = '0.0.2';
}
# ABSTRACT: Bash completion for cpanm and cpanf
use strict;
use warnings;
use base 'Bash::Completion::Plugin';
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
use JSON;
use Bash::Completion::Utils qw( command_in_path );
sub should_activate {
my @commands = qw( cpanm cpanf cpan );
return [ grep { command_in_path($_) } @commands ];
}
t/000-report-versions-tiny.t view on Meta::CPAN
}
# So, we should be good, right?
return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
}
eval { $v .= pmver('Bash::Completion::Plugin','any version') };
eval { $v .= pmver('Bash::Completion::Utils','any version') };
eval { $v .= pmver('File::Find','any version') };
eval { $v .= pmver('File::Temp','any version') };
eval { $v .= pmver('HTTP::Request::Common','any version') };
eval { $v .= pmver('JSON','any version') };
eval { $v .= pmver('LWP::UserAgent','any version') };
eval { $v .= pmver('Module::Build','0.3601') };
eval { $v .= pmver('Test::More','0.88') };
# All done.
$v .= <<'EOT';
( run in 0.821 second using v1.01-cache-2.11-cpan-de7293f3b23 )