Revision history for App-Codeowners.
+0.45 2019-11-14 22:30:14-07:00 MST7MDT
+ * Pod::Usage is now optional for the benefit of Git for Windows.
+
0.44 2019-11-14 21:33:01-07:00 MST7MDT
* Attempt to fix more compatibility issues (thanks CPAN testers).
* Honor COLOR_DEPTH=0 to disable ANSI color codes.
},
"runtime" : {
"recommends" : {
+ "Pod::Usage" : "0",
"Term::Detect::Software" : "0",
"Unicode::GCString" : "0"
},
"IPC::Open2" : "0",
"Module::Load" : "0",
"Path::Tiny" : "0",
- "Pod::Usage" : "0",
"Scalar::Util" : "0",
"Test::Builder" : "0",
"Text::Gitignore" : "0",
"provides" : {
"App::Codeowners" : {
"file" : "lib/App/Codeowners.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter" : {
"file" : "lib/App/Codeowners/Formatter.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter::CSV" : {
"file" : "lib/App/Codeowners/Formatter/CSV.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter::JSON" : {
"file" : "lib/App/Codeowners/Formatter/JSON.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter::String" : {
"file" : "lib/App/Codeowners/Formatter/String.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter::TSV" : {
"file" : "lib/App/Codeowners/Formatter/TSV.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter::Table" : {
"file" : "lib/App/Codeowners/Formatter/Table.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Formatter::YAML" : {
"file" : "lib/App/Codeowners/Formatter/YAML.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Options" : {
"file" : "lib/App/Codeowners/Options.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Util" : {
"file" : "lib/App/Codeowners/Util.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"App::Codeowners::Util::Process" : {
"file" : "lib/App/Codeowners/Util.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"File::Codeowners" : {
"file" : "lib/File/Codeowners.pm",
- "version" : "0.44"
+ "version" : "0.45"
},
"Test::File::Codeowners" : {
"file" : "lib/Test/File/Codeowners.pm",
- "version" : "0.44"
+ "version" : "0.45"
}
},
"release_status" : "stable",
"web" : "https://github.com/chazmcgarvey/git-codeowners"
}
},
- "version" : "0.44",
+ "version" : "0.45",
"x_authority" : "cpan:CCM",
"x_generated_by_perl" : "v5.28.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.15"
provides:
App::Codeowners:
file: lib/App/Codeowners.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter:
file: lib/App/Codeowners/Formatter.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter::CSV:
file: lib/App/Codeowners/Formatter/CSV.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter::JSON:
file: lib/App/Codeowners/Formatter/JSON.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter::String:
file: lib/App/Codeowners/Formatter/String.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter::TSV:
file: lib/App/Codeowners/Formatter/TSV.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter::Table:
file: lib/App/Codeowners/Formatter/Table.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Formatter::YAML:
file: lib/App/Codeowners/Formatter/YAML.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Options:
file: lib/App/Codeowners/Options.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Util:
file: lib/App/Codeowners/Util.pm
- version: '0.44'
+ version: '0.45'
App::Codeowners::Util::Process:
file: lib/App/Codeowners/Util.pm
- version: '0.44'
+ version: '0.45'
File::Codeowners:
file: lib/File/Codeowners.pm
- version: '0.44'
+ version: '0.45'
Test::File::Codeowners:
file: lib/Test/File/Codeowners.pm
- version: '0.44'
+ version: '0.45'
recommends:
+ Pod::Usage: '0'
Term::Detect::Software: '0'
Unicode::GCString: '0'
requires:
IPC::Open2: '0'
Module::Load: '0'
Path::Tiny: '0'
- Pod::Usage: '0'
Scalar::Util: '0'
Test::Builder: '0'
Text::Gitignore: '0'
bugtracker: https://github.com/chazmcgarvey/git-codeowners/issues
homepage: https://github.com/chazmcgarvey/git-codeowners
repository: https://github.com/chazmcgarvey/git-codeowners.git
-version: '0.44'
+version: '0.45'
x_authority: cpan:CCM
x_generated_by_perl: v5.28.0
x_serialization_backend: 'YAML::Tiny version 1.73'
"IPC::Open2" => 0,
"Module::Load" => 0,
"Path::Tiny" => 0,
- "Pod::Usage" => 0,
"Scalar::Util" => 0,
"Test::Builder" => 0,
"Text::Gitignore" => 0,
"Test::Exit" => 0,
"Test::More" => 0
},
- "VERSION" => "0.44",
+ "VERSION" => "0.45",
"test" => {
"TESTS" => "t/*.t"
}
"IPC::Open3" => 0,
"Module::Load" => 0,
"Path::Tiny" => 0,
- "Pod::Usage" => 0,
"Scalar::Util" => 0,
"Test::Builder" => 0,
"Test::Exit" => 0,
VERSION
- version 0.44
+ version 0.45
SYNOPSIS
use App::Codeowners;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
App::Codeowners->main(@ARGV);
=head1 VERSION
-version 0.44
+version 0.45
=head1 SYNOPSIS
use File::Codeowners;
use Path::Tiny;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
sub main {
=head1 VERSION
-version 0.44
+version 0.45
=head1 METHODS
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use Module::Load;
=head1 VERSION
-version 0.44
+version 0.45
=head1 SYNOPSIS
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use parent 'App::Codeowners::Formatter::CSV';
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
package App::Codeowners::Options;
# ABSTRACT: Getopt and shell completion for App::Codeowners
+use v5.10.1;
use warnings;
use strict;
use Getopt::Long 2.39 ();
use Path::Tiny;
-use Pod::Usage;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
+
+sub pod2usage {
+ eval { require Pod::Usage };
+ if ($@) {
+ my $ref = $VERSION eq '9999.999' ? 'master' : "v$VERSION";
+ my $exit = (@_ == 1 && $_[0] =~ /^\d+$/ && $_[0]) //
+ (@_ % 2 == 0 && {@_}->{'-exitval'}) // 2;
+ print STDERR <<END;
+Online documentation is available at:
+
+ https://github.com/chazmcgarvey/git-codeowners/blob/$ref/README.md
+
+Tip: To enable inline documentation, install the Pod::Usage module.
+
+END
+ exit $exit;
+ }
+ else {
+ Pod::Usage::pod2usage(@_);
+ }
+}
sub early_options {
return {
=head1 VERSION
-version 0.44
+version 0.45
=head1 METHODS
zip
);
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
sub find_nearest_codeowners {
=head1 VERSION
-version 0.44
+version 0.45
=head1 DESCRIPTION
use Scalar::Util qw(openhandle);
use Text::Gitignore qw(build_gitignore_matcher);
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
sub _croak { require Carp; Carp::croak(@_); }
sub _usage { _croak("Usage: @_\n") }
=head1 VERSION
-version 0.44
+version 0.45
=head1 METHODS
use File::Codeowners;
use Test::Builder;
-our $VERSION = '0.44'; # VERSION
+our $VERSION = '0.45'; # VERSION
my $Test = Test::Builder->new;
=head1 VERSION
-version 0.44
+version 0.45
=head1 SYNOPSIS
},
'runtime' => {
'recommends' => {
+ 'Pod::Usage' => '0',
'Term::Detect::Software' => '0',
'Unicode::GCString' => '0'
},
'IPC::Open2' => '0',
'Module::Load' => '0',
'Path::Tiny' => '0',
- 'Pod::Usage' => '0',
'Scalar::Util' => '0',
'Test::Builder' => '0',
'Text::Gitignore' => '0',