diff options
author | Russ Allbery <eagle@eyrie.org> | 2016-01-17 12:25:15 -0800 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2016-01-17 12:25:15 -0800 |
commit | 4feab8a987a345e38c44077d1042bf05ec03f0eb (patch) | |
tree | 87dee3d0eee63af440cd76fb705240785413766e /perl/lib/Wallet/Object/Duo.pm | |
parent | 8c9c420553c4f9a1573d5c7ecabd41148f9e49e1 (diff) |
Standardize Perl module versions
The versions of all of the wallet Perl modules now match the overall
package version except for Wallet::Schema, which is used to version
the database schema.
Import the test from rra-c-util 5.10 and exclude Wallet::Schema from
the tests.
Go through all Perl modules and standardize the syntax for setting the
version and indicating the required version of Perl. Fix a few other
syntax issues while I'm in there.
Diffstat (limited to 'perl/lib/Wallet/Object/Duo.pm')
-rw-r--r-- | perl/lib/Wallet/Object/Duo.pm | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/perl/lib/Wallet/Object/Duo.pm b/perl/lib/Wallet/Object/Duo.pm index 378c123..1aca979 100644 --- a/perl/lib/Wallet/Object/Duo.pm +++ b/perl/lib/Wallet/Object/Duo.pm @@ -12,23 +12,18 @@ ############################################################################## package Wallet::Object::Duo; -require 5.006; +use 5.008; use strict; use warnings; -use vars qw(@ISA $VERSION); use JSON; use Perl6::Slurp qw(slurp); -use Wallet::Config (); +use Wallet::Config; use Wallet::Object::Base; -@ISA = qw(Wallet::Object::Base); - -# This version should be increased on any code change to this module. Always -# use two digits for the minor version with a leading zero if necessary so -# that it will sort properly. -$VERSION = '0.03'; +our @ISA = qw(Wallet::Object::Base); +our $VERSION = '1.03'; # Mappings from our types into what Duo calls the integration types. our %DUO_TYPES = ( |