aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes5
-rw-r--r--Makefile.PL4
-rw-r--r--README.markdown2
-rwxr-xr-xbin/runcrypt7
-rw-r--r--lib/Mail/Run/Crypt.pm4
-rw-r--r--t/custom-name.t2
-rw-r--r--t/encrypt-explicit.t2
-rw-r--r--t/encrypt-sign.t2
-rw-r--r--t/encrypt.t2
-rw-r--r--t/require-key-data.t2
-rw-r--r--t/require-mailto.t2
11 files changed, 17 insertions, 17 deletions
diff --git a/Changes b/Changes
index f22ba3f..c906bf1 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,11 @@ Revision history for Perl module Mail::Run::Crypt
This project began life as a monolithic Perl script. It does much the
same thing now but it's refactored out into an application and a module.
+0.11 2018-02-21
+
+ - Remove unneeded File::Stat dependency
+ - Begin signing distributions with Module::Signature
+
0.10 2017-12-04
- Switch to translatable shebang for binscript
diff --git a/Makefile.PL b/Makefile.PL
index dba409c..7ec9943 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -4,6 +4,7 @@ use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
+ (MM->can('signature_target') ? (SIGN => 1) : ()),
NAME => 'Mail::Run::Crypt',
AUTHOR => q{Tom Ryder <tom@sanctum.geek.nz>},
VERSION_FROM => 'lib/Mail/Run/Crypt.pm',
@@ -20,7 +21,6 @@ WriteMakefile(
PREREQ_PM => {
'Carp' => 0,
'English' => 0,
- 'File::stat' => 0,
'Getopt::Long::Descriptive' => 0,
'IPC::Run3' => 0,
'Mail::GnuPG' => 0,
@@ -31,7 +31,7 @@ WriteMakefile(
'meta-spec' => { version => 2 },
provides => {
'Mail::Run::Crypt' => {
- version => '0.10',
+ version => '0.11',
file => 'lib/Mail/Run/Crypt.pm',
},
},
diff --git a/README.markdown b/README.markdown
index 30f1396..ad0c4a9 100644
--- a/README.markdown
+++ b/README.markdown
@@ -4,7 +4,7 @@ Mail::Run::Crypt - Encrypt and mail output from command runs
# VERSION
-Version 0.10
+Version 0.11
# DESCRIPTION
diff --git a/bin/runcrypt b/bin/runcrypt
index 1e2def6..9a7e6d9 100755
--- a/bin/runcrypt
+++ b/bin/runcrypt
@@ -11,12 +11,11 @@ use 5.008_001;
# Import required modules
use English '-no_match_vars';
-use File::stat;
use Getopt::Long::Descriptive;
use Mail::Run::Crypt;
# Specify package version
-our $VERSION = '0.10';
+our $VERSION = '0.11';
# Name ourselves
our $SELF = 'runcrypt';
@@ -259,10 +258,6 @@ L<English|English>
=item *
-L<File::stat|File::stat>
-
-=item *
-
L<Getopt::Long::Descriptive|Getopt::Long::Descriptive>
=item *
diff --git a/lib/Mail/Run/Crypt.pm b/lib/Mail/Run/Crypt.pm
index d808e6d..9e1539a 100644
--- a/lib/Mail/Run/Crypt.pm
+++ b/lib/Mail/Run/Crypt.pm
@@ -16,7 +16,7 @@ use Mail::GnuPG;
use MIME::Entity;
# Specify package verson
-our $VERSION = '0.10';
+our $VERSION = '0.11';
# Default exit value
our $DEFAULT_EXIT = 127; ## no critic (ProhibitMagicNumbers)
@@ -138,7 +138,7 @@ Mail::Run::Crypt - Encrypt and mail output from command runs
=head1 VERSION
-Version 0.10
+Version 0.11
=head1 DESCRIPTION
diff --git a/t/custom-name.t b/t/custom-name.t
index 57dc90b..b43976c 100644
--- a/t/custom-name.t
+++ b/t/custom-name.t
@@ -8,7 +8,7 @@ use Test::More tests => 2;
use Mail::Run::Crypt;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
my $name = 'mrc_custom';
my %opts = (
diff --git a/t/encrypt-explicit.t b/t/encrypt-explicit.t
index 1ab526a..7944c7a 100644
--- a/t/encrypt-explicit.t
+++ b/t/encrypt-explicit.t
@@ -8,7 +8,7 @@ use Test::More tests => 2;
use Mail::Run::Crypt;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
my %opts = ( mailto => 'nobody@example.com', encrypt => 1 );
my $mrc = Mail::Run::Crypt->new(%opts);
diff --git a/t/encrypt-sign.t b/t/encrypt-sign.t
index 926f00d..e137bf0 100644
--- a/t/encrypt-sign.t
+++ b/t/encrypt-sign.t
@@ -8,7 +8,7 @@ use Test::More tests => 10;
use Mail::Run::Crypt;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
my %opts = (
mailto => 'nobody@example.com',
diff --git a/t/encrypt.t b/t/encrypt.t
index 0a790f7..973a59f 100644
--- a/t/encrypt.t
+++ b/t/encrypt.t
@@ -8,7 +8,7 @@ use Test::More tests => 10;
use Mail::Run::Crypt;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
my %opts = ( mailto => 'nobody@example.com' );
my $mrc = Mail::Run::Crypt->new(%opts);
diff --git a/t/require-key-data.t b/t/require-key-data.t
index 9806bf8..2a00a29 100644
--- a/t/require-key-data.t
+++ b/t/require-key-data.t
@@ -9,7 +9,7 @@ use Test::More tests => 4;
use Mail::Run::Crypt;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
{
my $mrc;
diff --git a/t/require-mailto.t b/t/require-mailto.t
index 451b51d..5db57dc 100644
--- a/t/require-mailto.t
+++ b/t/require-mailto.t
@@ -9,7 +9,7 @@ use Test::More tests => 2;
use Mail::Run::Crypt;
-our $VERSION = '0.10';
+our $VERSION = '0.11';
my $mrc;
my $error;