« blib/lib/App/Prove/Elasticsearch/Indexer/DzilDist.pm
↑ Summary
blib/lib/App/Prove/Elasticsearch/Platformer/Default.pm »
| 1 | # ABSTRACT: Determine the responsible party for tests via git for upload to elasticsearch | ||
| 2 | # PODNAME: App::Prove::Elasticsearch::Blamer::Git | ||
| 3 | |||
| 4 | package App::Prove::Elasticsearch::Blamer::Git; | ||
| 5 | 2 | $App::Prove::Elasticsearch::Blamer::Git::VERSION = '0.001'; | |
| 6 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | ▶ | use Git; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | ▶ | sub get_responsible_party { |
|
Subroutine
get_responsible_party: called CC=1 SCAR=0.0
Pod
documented
| |||
| 13 | 1 | my $email = Git::command_oneline('config', 'user.email'); | |
| 14 | 1 | chomp $email; | |
| 15 | 1 | return $email; | |
| 16 | } | ||
| 17 | |||
| 18 | 2 | 1; | |
| 19 | |||
| 20 | __END__ | ||