@@ -32,11 +32,13 @@
},
"runtime" : {
"requires" : {
- "Dancer2" : "0.151",
+ "Dancer2" : "0.153002",
"Data::Entropy" : "0.007",
"Digest::Bcrypt" : "0",
"Digest::SHA" : "5.74",
- "Test::More" : "0"
+ "Module::Pluggable" : "5.1",
+ "Test::More" : "0",
+ "perl" : "5.010001"
}
}
},
@@ -50,5 +52,5 @@
"url" : "https://github.com/hvoers/Dancer2-Plugin-Passphrase"
}
},
- "version" : "v2.0.3"
+ "version" : "v2.0.4"
}
@@ -18,13 +18,15 @@ no_index:
- t
- inc
requires:
- Dancer2: 0.151
+ Dancer2: 0.153002
Data::Entropy: 0.007
Digest::Bcrypt: 0
Digest::SHA: 5.74
+ Module::Pluggable: 5.1
Test::More: 0
+ perl: 5.010001
resources:
bugtracker: https://github.com/hvoers/Dancer2-Plugin-Passphrase/issues
homepage: https://github.com/hvoers/Dancer2-Plugin-Passphrase/
repository: https://github.com/hvoers/Dancer2-Plugin-Passphrase
-version: v2.0.3
+version: v2.0.4
@@ -7,13 +7,15 @@ WriteMakefile(
AUTHOR => q{Henk van Oers <hvo.pm@xs4all.nl>},
VERSION_FROM => 'lib/Dancer2/Plugin/Passphrase.pm',
ABSTRACT_FROM => 'lib/Dancer2/Plugin/Passphrase.pm',
- ($ExtUtils::MakeMaker::VERSION >= 6.3002
+ ($ExtUtils::MakeMaker::VERSION >= 6.48
? ('LICENSE'=> 'perl')
: ()),
+ MIN_PERL_VERSION => 5.010001,
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
- 'Dancer2' => 0.151000,
+ 'Dancer2' => 0.153002,
+ 'Module::Pluggable' => 5.1,
'Digest::Bcrypt' => 0,
'Digest::SHA' => 5.74,
'Data::Entropy' => 0.007,
@@ -9,3 +9,4 @@ copyright_year = 2012
Digest::Bcrypt = 0
Digest::SHA = 5.74
Data::Entropy = 0.007
+Module::Pluggable = 5.1
@@ -1,5 +1,9 @@
package Dancer2::Plugin::Passphrase;
+use 5.010001;
+use strict;
+use warnings;
+
# ABSTRACT: Passphrases and Passwords as objects for Dancer2
=head1 NAME
@@ -51,8 +55,6 @@ You can add extra checks in your "MyWebService".
=cut
-use strict;
-
use Dancer2::Plugin;
use Carp qw(carp croak);
@@ -61,7 +63,7 @@ use Digest;
use MIME::Base64 qw(decode_base64 encode_base64);
use Scalar::Util qw(blessed);
-our $VERSION = '2.0.3';
+our $VERSION = '2.0.4';
# Auto stringifies and returns the RFC 2307 representation
# of the object unless we are calling a method on it