Hooks/Mailer.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 33 CC 1 SCAR 6.9
CC
1
Cov
0%
_deprecated
2.0
EMAIL_CONFIG
2.0
EMAIL_COMMIT
2.0
CRAP 2.0
1 package SVN::Hooks::Mailer;
2 # ABSTRACT: Send emails after successful commits.
3 $SVN::Hooks::Mailer::VERSION = '1.35';
4 use strict;
5 use warnings;
6  
7 use Carp;
8 use SVN::Hooks;
9  
10 use Exporter qw/import/;
11 my $HOOK = 'MAILER';
12 our @EXPORT = qw/EMAIL_CONFIG EMAIL_COMMIT/;
13  
14  
15 sub _deprecated {
16 croak <<"EOS";
17 DEPRECATED: The SVN::Hooks::Mailer plugin was deprecated in 2008 and
18 became nonoperational in version 1.08. You must edit your hook
19 configuration to remove the directives EMAIL_CONFIG and
20 EMAIL_COMMIT. You may use the new SVN::Hooks::Notify plugin for
21 sending email notifications.
22 EOS
23 }
24  
25  
26 sub EMAIL_CONFIG {
27 _deprecated();
28 }
29  
30  
31 sub EMAIL_COMMIT {
32 _deprecated();
33 }
34  
35  
36 1; # End of SVN::Hooks::Mailer
37  
38 __END__