Revision history for App-Codeowners.
+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.
+
0.43 2019-11-13 10:12:01-07:00 MST7MDT
* Fix "create" and "update" commands... to actually work.
"provides" : {
"App::Codeowners" : {
"file" : "lib/App/Codeowners.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter" : {
"file" : "lib/App/Codeowners/Formatter.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter::CSV" : {
"file" : "lib/App/Codeowners/Formatter/CSV.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter::JSON" : {
"file" : "lib/App/Codeowners/Formatter/JSON.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter::String" : {
"file" : "lib/App/Codeowners/Formatter/String.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter::TSV" : {
"file" : "lib/App/Codeowners/Formatter/TSV.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter::Table" : {
"file" : "lib/App/Codeowners/Formatter/Table.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Formatter::YAML" : {
"file" : "lib/App/Codeowners/Formatter/YAML.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Options" : {
"file" : "lib/App/Codeowners/Options.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Util" : {
"file" : "lib/App/Codeowners/Util.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"App::Codeowners::Util::Process" : {
"file" : "lib/App/Codeowners/Util.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"File::Codeowners" : {
"file" : "lib/File/Codeowners.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"Test::File::Codeowners" : {
"file" : "lib/Test/File/Codeowners.pm",
- "version" : "0.43"
+ "version" : "0.44"
}
},
"release_status" : "stable",
"web" : "https://github.com/chazmcgarvey/git-codeowners"
}
},
- "version" : "0.43",
+ "version" : "0.44",
"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.43'
+ version: '0.44'
App::Codeowners::Formatter:
file: lib/App/Codeowners/Formatter.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Formatter::CSV:
file: lib/App/Codeowners/Formatter/CSV.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Formatter::JSON:
file: lib/App/Codeowners/Formatter/JSON.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Formatter::String:
file: lib/App/Codeowners/Formatter/String.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Formatter::TSV:
file: lib/App/Codeowners/Formatter/TSV.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Formatter::Table:
file: lib/App/Codeowners/Formatter/Table.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Formatter::YAML:
file: lib/App/Codeowners/Formatter/YAML.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Options:
file: lib/App/Codeowners/Options.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Util:
file: lib/App/Codeowners/Util.pm
- version: '0.43'
+ version: '0.44'
App::Codeowners::Util::Process:
file: lib/App/Codeowners/Util.pm
- version: '0.43'
+ version: '0.44'
File::Codeowners:
file: lib/File/Codeowners.pm
- version: '0.43'
+ version: '0.44'
Test::File::Codeowners:
file: lib/Test/File/Codeowners.pm
- version: '0.43'
+ version: '0.44'
recommends:
Term::Detect::Software: '0'
Unicode::GCString: '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.43'
+version: '0.44'
x_authority: cpan:CCM
x_generated_by_perl: v5.28.0
x_serialization_backend: 'YAML::Tiny version 1.73'
"Test::Exit" => 0,
"Test::More" => 0
},
- "VERSION" => "0.43",
+ "VERSION" => "0.44",
"test" => {
"TESTS" => "t/*.t"
}
VERSION
- version 0.43
+ version 0.44
SYNOPSIS
use App::Codeowners;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
App::Codeowners->main(@ARGV);
=head1 VERSION
-version 0.43
+version 0.44
=head1 SYNOPSIS
use File::Codeowners;
use Path::Tiny;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
sub main {
=head1 VERSION
-version 0.43
+version 0.44
=head1 METHODS
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use Module::Load;
=head1 VERSION
-version 0.43
+version 0.44
=head1 SYNOPSIS
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use parent 'App::Codeowners::Formatter';
my $text = shift;
my $rgb = shift or return $text;
- return $text if $ENV{NO_COLOR};
+ return $text if $ENV{NO_COLOR} || (defined $ENV{COLOR_DEPTH} && !$ENV{COLOR_DEPTH});
$rgb =~ s/^(.)(.)(.)$/$1$1$2$2$3$3/;
if ($rgb !~ m/^[0-9a-fA-F]{6}$/) {
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use parent 'App::Codeowners::Formatter::CSV';
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use warnings;
use strict;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
use parent 'App::Codeowners::Formatter';
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use Path::Tiny;
use Pod::Usage;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
sub early_options {
return {
=head1 VERSION
-version 0.43
+version 0.44
=head1 METHODS
zip
);
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
sub find_nearest_codeowners {
=head1 VERSION
-version 0.43
+version 0.44
=head1 DESCRIPTION
use Scalar::Util qw(openhandle);
use Text::Gitignore qw(build_gitignore_matcher);
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
sub _croak { require Carp; Carp::croak(@_); }
sub _usage { _croak("Usage: @_\n") }
=head1 VERSION
-version 0.43
+version 0.44
=head1 METHODS
use File::Codeowners;
use Test::Builder;
-our $VERSION = '0.43'; # VERSION
+our $VERSION = '0.44'; # VERSION
my $Test = Test::Builder->new;
=head1 VERSION
-version 0.43
+version 0.44
=head1 SYNOPSIS
my $repodir =_setup_git_repo();
my $r = App::Codeowners::Util::git_toplevel($repodir);
- is($r, $repodir, 'found toplevel directory from toplevel');
+ is($r->canonpath, $repodir->canonpath, 'found toplevel directory from toplevel');
$r = App::Codeowners::Util::git_toplevel($repodir->child('a/b'));
- is($r, $repodir, 'found toplevel directory');
+ is($r->canonpath, $repodir->canonpath, 'found toplevel directory');
};
subtest 'find_nearest_codeowners' => sub {
my $can_git = _can_git();
-# Set progname so that pod2usage knows how to find the script after we chdir
-$0 = path($Bin)->parent->child('bin/git-codeowners')->absolute;
+# Set progname so that pod2usage knows how to find the script after we chdir.
+$0 = path($Bin)->parent->child('bin/git-codeowners')->absolute->stringify;
$ENV{NO_COLOR} = 1;