App-GitHooks

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

		'Readonly'              => 0,
		'Storable'              => 0,
		'Term::ANSIColor'       => 0,
		'Term::Encoding'        => 0,
		'Term::ReadKey'         => 0,
		'Test::Exception'       => 0,
		'Test::Git'             => 0,
		'Test::Requires::Git'   => 1.005,
		'Test::More'            => 0,
		'Text::Wrap'            => 0,
		'Try::Tiny'             => 0,
	},
	add_to_cleanup       =>
	[
		'App-GitHooks-*',
	],
	create_makefile_pl   => 'traditional',
	configure_requires   =>
	{
		'Module::Build'         => 0,
	},

META.json  view on Meta::CPAN

            "Readonly" : "0",
            "Storable" : "0",
            "Term::ANSIColor" : "0",
            "Term::Encoding" : "0",
            "Term::ReadKey" : "0",
            "Test::Exception" : "0",
            "Test::Git" : "0",
            "Test::More" : "0",
            "Test::Requires::Git" : "1.005",
            "Text::Wrap" : "0",
            "Try::Tiny" : "0",
            "autodie" : "0",
            "perl" : "5.01"
         }
      }
   },
   "provides" : {
      "App::GitHooks" : {
         "file" : "lib/App/GitHooks.pm",
         "version" : "v1.9.0"
      },

META.yml  view on Meta::CPAN

  Readonly: '0'
  Storable: '0'
  Term::ANSIColor: '0'
  Term::Encoding: '0'
  Term::ReadKey: '0'
  Test::Exception: '0'
  Test::Git: '0'
  Test::More: '0'
  Test::Requires::Git: '1.005'
  Text::Wrap: '0'
  Try::Tiny: '0'
  autodie: '0'
  perl: '5.01'
resources:
  bugtracker: https://github.com/guillaumeaubert/App-GitHooks/issues
  homepage: https://metacpan.org/release/App-GitHooks
  license: http://dev.perl.org/licenses/
  repository: https://github.com/guillaumeaubert/App-GitHooks
version: v1.9.0

Makefile.PL  view on Meta::CPAN

                   'Test::Requires::Git' => '1.005',
                   'autodie' => 0,
                   'File::Spec' => 0,
                   'Data::Section' => 0,
                   'Cwd' => 0,
                   'Test::Deep' => 0,
                   'Term::Encoding' => 0,
                   'Data::Validate::Type' => 0,
                   'Config::Tiny' => 0,
                   'Storable' => 0,
                   'Try::Tiny' => 0,
                   'Test::Exception' => 0,
                   'Readonly' => 0,
                   'Git::Repository' => 0,
                   'Test::Type' => '1.002',
                   'Getopt::Long' => 0,
                   'Text::Wrap' => 0,
                   'Parallel::ForkManager' => 0,
                   'Pod::Usage' => 0,
                   'Test::Git' => 0,
                   'Capture::Tiny' => 0,

bin/githooks  view on Meta::CPAN


# External dependencies.
use App::GitHooks;
use Cwd qw();
use Data::Dumper;
use Data::Section -setup;
use File::Spec;
use Getopt::Long;
use Git::Repository;
use Pod::Usage qw();
use Try::Tiny;
use autodie;


=head1 NAME

githooks - Setup utility for App::GitHooks


=head1 VERSION

lib/App/GitHooks.pm  view on Meta::CPAN

use Config::Tiny qw();
use Data::Validate::Type qw();
use Data::Dumper qw( Dumper );
use File::Basename qw();
use Git::Repository qw();
use Module::Pluggable
	require  => 1,
	sub_name => '_search_plugins';
use Term::ANSIColor qw();
use Text::Wrap qw();
use Try::Tiny qw( try catch finally );
use Storable qw();

# Internal dependencies.
use App::GitHooks::Config;
use App::GitHooks::Constants qw( :HOOK_EXIT_CODES );
use App::GitHooks::Plugin;
use App::GitHooks::StagedChanges;
use App::GitHooks::Terminal;


lib/App/GitHooks/Hook.pm  view on Meta::CPAN

package App::GitHooks::Hook;

use strict;
use warnings;

# External dependencies.
use Carp;
use Try::Tiny;

# Internal dependencies.
use App::GitHooks::Constants qw( :HOOK_EXIT_CODES :PLUGIN_RETURN_CODES );


=head1 NAME

App::GitHooks::Hook - Base class for all git hook handlers.


lib/App/GitHooks/StagedChanges.pm  view on Meta::CPAN

use strict;
use warnings;

# External dependencies.
use Carp qw( croak );
use Data::Dumper;
use Data::Validate::Type;
use File::Basename qw();
use Parallel::ForkManager qw();
use Path::Tiny qw();
use Try::Tiny;

# Internal dependencies.
use App::GitHooks::Constants qw( :PLUGIN_RETURN_CODES );


=head1 NAME

App::GitHooks::StagedChanged - Staged changes in git.


lib/App/GitHooks/Utils.pm  view on Meta::CPAN

package App::GitHooks::Utils;

use strict;
use warnings;

# External dependencies.
use Carp;
use File::Spec;
use Try::Tiny;

# No internal dependencies - keep this as a leaf module in the graph so that we
# can include it everywhere.


=head1 NAME

App::GitHooks::Utils - Support functions for App::GitHooks and its plugins.




( run in 0.757 second using v1.01-cache-2.11-cpan-05444aca049 )