Skip to content

Commit f28203a

Browse files
committed
Require Crypt::AuthEnc::GCM 0.062 or higher
Also remove the VERSION from the repo and use OurPkgVersion
1 parent 0b77ac1 commit f28203a

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

Makefile.PL

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ my %WriteMakefileArgs = (
1717
"NAME" => "XML::Enc",
1818
"PREREQ_PM" => {
1919
"Carp" => 0,
20-
"Crypt::AuthEnc::GCM" => 0,
20+
"Crypt::AuthEnc::GCM" => "0.062",
2121
"Crypt::Mode::CBC" => 0,
2222
"Crypt::OpenSSL::Bignum" => 0,
2323
"Crypt::OpenSSL::RSA" => 0,
@@ -34,7 +34,7 @@ my %WriteMakefileArgs = (
3434
"File::Which" => 0,
3535
"Test::More" => 0
3636
},
37-
"VERSION" => "0.05",
37+
"VERSION" => "0.06",
3838
"test" => {
3939
"TESTS" => "t/*.t"
4040
}
@@ -43,7 +43,7 @@ my %WriteMakefileArgs = (
4343

4444
my %FallbackPrereqs = (
4545
"Carp" => 0,
46-
"Crypt::AuthEnc::GCM" => 0,
46+
"Crypt::AuthEnc::GCM" => "0.062",
4747
"Crypt::Mode::CBC" => 0,
4848
"Crypt::OpenSSL::Bignum" => 0,
4949
"Crypt::OpenSSL::RSA" => 0,

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ NAME
22
XML::Enc - XML::Enc Encryption Support
33

44
VERSION
5-
version 0.05
5+
version 0.06
66

77
SYNOPSIS
88
my $decrypter = XML::Enc->new(

cpanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
22

33
requires "Carp" => "0";
4-
requires "Crypt::AuthEnc::GCM" => "0";
4+
requires "Crypt::AuthEnc::GCM" => "0.062";
55
requires "Crypt::Mode::CBC" => "0";
66
requires "Crypt::OpenSSL::Bignum" => "0";
77
requires "Crypt::OpenSSL::RSA" => "0";

dist.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ MIME::Base64 = 0
2020
XML::LibXML = 0
2121
Crypt::Mode::CBC = 0
2222
Crypt::Random = 0
23-
Crypt::AuthEnc::GCM = 0
23+
Crypt::AuthEnc::GCM = 0.062
2424

2525
[Prereqs / TestRequires]
2626
Test::More = 0
@@ -83,7 +83,7 @@ filename = Changes
8383
first_version = 0.01 ; this is the default
8484
version_by_branch = 0 ; this is the default
8585
version_regexp = ^(0.\d+)$ ; this is the default
86-
[WriteVersion]
86+
[OurPkgVersion]
8787

8888
[Git::Tag]
8989
tag_format = %V ; this is the default

lib/XML/Enc.pm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@ use strict;
22
use warnings;
33

44
package XML::Enc;
5+
# VERSION
56

67
# ABSTRACT: XML::Enc Encryption Support
78

89
use Carp;
910
use XML::LibXML;
1011
use Crypt::OpenSSL::RSA;
1112
use Crypt::Mode::CBC;
12-
use Crypt::AuthEnc::GCM;
13+
use Crypt::AuthEnc::GCM 0.062;
1314
use MIME::Base64 qw/decode_base64 encode_base64/;
1415
use Crypt::Random qw( makerandom_octet );
1516

1617
use vars qw($VERSION @EXPORT_OK %EXPORT_TAGS $DEBUG);
1718

18-
our $VERSION = '0.05';
19-
2019
our $DEBUG = 0;
2120

2221
=head1 NAME

0 commit comments

Comments
 (0)