From d18ce63b0721e9ad327c98d9cf24a36bccc9ea3e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 21 Feb 2018 16:36:45 +1300 Subject: Remove unneeded File::stat dependency This was added in b8625a2, likely as part of an aborted experiment in checking that the permissions of the "passfile" for runcrypt(1) were acceptably limited. --- Makefile.PL | 1 - bin/runcrypt | 5 ----- 2 files changed, 6 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index dba409c..5e4dc93 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -20,7 +20,6 @@ WriteMakefile( PREREQ_PM => { 'Carp' => 0, 'English' => 0, - 'File::stat' => 0, 'Getopt::Long::Descriptive' => 0, 'IPC::Run3' => 0, 'Mail::GnuPG' => 0, diff --git a/bin/runcrypt b/bin/runcrypt index 1e2def6..96a9a73 100755 --- a/bin/runcrypt +++ b/bin/runcrypt @@ -11,7 +11,6 @@ use 5.008_001; # Import required modules use English '-no_match_vars'; -use File::stat; use Getopt::Long::Descriptive; use Mail::Run::Crypt; @@ -259,10 +258,6 @@ L =item * -L - -=item * - L =item * -- cgit v1.2.3 From f8185b85fe8ca2a578944fafd68b6357f3bb58d8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 21 Feb 2018 16:47:52 +1300 Subject: Add Module::Signature line to Makefile.PL --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index 5e4dc93..e7728d0 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 }, VERSION_FROM => 'lib/Mail/Run/Crypt.pm', -- cgit v1.2.3 From 0b42cce5dbbfd7446a768e415e486529cc784969 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 21 Feb 2018 16:43:15 +1300 Subject: Update CHANGES --- Changes | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3 From 011ceab03bd160e499f777a1f4e4bd99c470b0b2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 21 Feb 2018 16:41:21 +1300 Subject: Bump VERSION to 0.11 --- Makefile.PL | 2 +- README.markdown | 2 +- bin/runcrypt | 2 +- lib/Mail/Run/Crypt.pm | 4 ++-- t/custom-name.t | 2 +- t/encrypt-explicit.t | 2 +- t/encrypt-sign.t | 2 +- t/encrypt.t | 2 +- t/require-key-data.t | 2 +- t/require-mailto.t | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index e7728d0..7ec9943 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 96a9a73..9a7e6d9 100755 --- a/bin/runcrypt +++ b/bin/runcrypt @@ -15,7 +15,7 @@ use Getopt::Long::Descriptive; use Mail::Run::Crypt; # Specify package version -our $VERSION = '0.10'; +our $VERSION = '0.11'; # Name ourselves our $SELF = 'runcrypt'; 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; -- cgit v1.2.3