[Bps-public-commit] GnuPG-Interface branch, master, updated. 8860a674572aa0a3b34a5f8b44ddf4103b46a90f
sartak at bestpractical.com
sartak at bestpractical.com
Tue Apr 21 05:58:19 EDT 2009
The branch, master has been updated
via 8860a674572aa0a3b34a5f8b44ddf4103b46a90f (commit)
from 12374689e9c3f8d05ae73b51fbb2cdf70a33f3a1 (commit)
Summary of changes:
Makefile.PL | 2 +-
lib/GnuPG/Fingerprint.pm | 2 +-
lib/GnuPG/Handles.pm | 2 +-
lib/GnuPG/HashInit.pm | 3 +--
lib/GnuPG/Interface.pm | 4 ++--
lib/GnuPG/Key.pm | 2 +-
lib/GnuPG/Options.pm | 2 +-
lib/GnuPG/PrimaryKey.pm | 2 +-
lib/GnuPG/PublicKey.pm | 2 +-
lib/GnuPG/SecretKey.pm | 2 +-
lib/GnuPG/Signature.pm | 2 +-
lib/GnuPG/SubKey.pm | 2 +-
lib/GnuPG/UserId.pm | 2 +-
13 files changed, 14 insertions(+), 15 deletions(-)
- Log -----------------------------------------------------------------
commit 8860a674572aa0a3b34a5f8b44ddf4103b46a90f
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Apr 21 05:58:13 2009 -0400
Convert to Any::Moose
diff --git a/Makefile.PL b/Makefile.PL
index 0d06293..f14ec71 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -16,7 +16,7 @@ WriteMakefile
NAME => 'GnuPG::Interface',
VERSION_FROM => 'lib/GnuPG/Interface.pm',
PREREQ_PM => {
- 'Moose' => 0.61,
+ 'Any::Moose' => '0.04',
},
clean => { FILES => "test/*-keys*/*.out test/random_seed test/trustdb.gpg test/temp" }
);
diff --git a/lib/GnuPG/Fingerprint.pm b/lib/GnuPG/Fingerprint.pm
index 731bae3..630d802 100644
--- a/lib/GnuPG/Fingerprint.pm
+++ b/lib/GnuPG/Fingerprint.pm
@@ -14,7 +14,7 @@
#
package GnuPG::Fingerprint;
-use Moose;
+use Any::Moose;
with qw(GnuPG::HashInit);
has as_hex_string => (
diff --git a/lib/GnuPG/Handles.pm b/lib/GnuPG/Handles.pm
index c8bd20d..af001d3 100644
--- a/lib/GnuPG/Handles.pm
+++ b/lib/GnuPG/Handles.pm
@@ -14,7 +14,7 @@
#
package GnuPG::Handles;
-use Moose;
+use Any::Moose;
with qw(GnuPG::HashInit);
use constant HANDLES => qw(
diff --git a/lib/GnuPG/HashInit.pm b/lib/GnuPG/HashInit.pm
index 5995c4a..9daa6a9 100644
--- a/lib/GnuPG/HashInit.pm
+++ b/lib/GnuPG/HashInit.pm
@@ -1,5 +1,5 @@
package GnuPG::HashInit;
-use Moose::Role;
+use Any::Moose 'Role';
sub hash_init {
my ($self, %args) = @_;
@@ -8,6 +8,5 @@ sub hash_init {
}
}
-no Moose::Role;
1;
__END__
diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
index f63808c..22f9811 100644
--- a/lib/GnuPG/Interface.pm
+++ b/lib/GnuPG/Interface.pm
@@ -12,7 +12,7 @@
#
package GnuPG::Interface;
-use Moose;
+use Any::Moose;
with qw(GnuPG::HashInit);
use English qw( -no_match_vars );
@@ -744,7 +744,7 @@ decryption, verification, and key-listing parsing.
=head2 How Data Member Accessor Methods are Created
Each module in the GnuPG::Interface bundle relies
-on Moose to generate the get/set methods
+on Any::Moose to generate the get/set methods
used to set the object's data members.
I<This is very important to realize.> This means that
any data member which is a list has special
diff --git a/lib/GnuPG/Key.pm b/lib/GnuPG/Key.pm
index b87fcda..2e47bfa 100644
--- a/lib/GnuPG/Key.pm
+++ b/lib/GnuPG/Key.pm
@@ -14,7 +14,7 @@
#
package GnuPG::Key;
-use Moose;
+use Any::Moose;
with qw(GnuPG::HashInit);
has [
diff --git a/lib/GnuPG/Options.pm b/lib/GnuPG/Options.pm
index 71c0b24..a641aa5 100644
--- a/lib/GnuPG/Options.pm
+++ b/lib/GnuPG/Options.pm
@@ -14,7 +14,7 @@
#
package GnuPG::Options;
-use Moose;
+use Any::Moose;
with qw(GnuPG::HashInit);
use constant BOOLEANS => qw(
diff --git a/lib/GnuPG/PrimaryKey.pm b/lib/GnuPG/PrimaryKey.pm
index 6709060..76e93fd 100644
--- a/lib/GnuPG/PrimaryKey.pm
+++ b/lib/GnuPG/PrimaryKey.pm
@@ -14,7 +14,7 @@
#
package GnuPG::PrimaryKey;
-use Moose;
+use Any::Moose;
BEGIN { extends qw( GnuPG::Key ) }
diff --git a/lib/GnuPG/PublicKey.pm b/lib/GnuPG/PublicKey.pm
index 63dd210..2fa5b24 100644
--- a/lib/GnuPG/PublicKey.pm
+++ b/lib/GnuPG/PublicKey.pm
@@ -14,7 +14,7 @@
#
package GnuPG::PublicKey;
-use Moose;
+use Any::Moose;
BEGIN { extends qw( GnuPG::PrimaryKey ) }
diff --git a/lib/GnuPG/SecretKey.pm b/lib/GnuPG/SecretKey.pm
index b3a7570..b54139a 100644
--- a/lib/GnuPG/SecretKey.pm
+++ b/lib/GnuPG/SecretKey.pm
@@ -14,7 +14,7 @@
#
package GnuPG::SecretKey;
-use Moose;
+use Any::Moose;
BEGIN { extends qw( GnuPG::PrimaryKey ) }
diff --git a/lib/GnuPG/Signature.pm b/lib/GnuPG/Signature.pm
index fd8161b..88e8ded 100644
--- a/lib/GnuPG/Signature.pm
+++ b/lib/GnuPG/Signature.pm
@@ -14,7 +14,7 @@
#
package GnuPG::Signature;
-use Moose;
+use Any::Moose;
has [qw( algo_num hex_id user_id_string date_string )] => (
isa => 'Any',
diff --git a/lib/GnuPG/SubKey.pm b/lib/GnuPG/SubKey.pm
index fa40bcf..56cc726 100644
--- a/lib/GnuPG/SubKey.pm
+++ b/lib/GnuPG/SubKey.pm
@@ -14,7 +14,7 @@
#
package GnuPG::SubKey;
-use Moose;
+use Any::Moose;
BEGIN { extends qw( GnuPG::Key ) }
has [qw( validity owner_trust local_id signature )] => (
diff --git a/lib/GnuPG/UserId.pm b/lib/GnuPG/UserId.pm
index 9ccf5ec..1f06a28 100644
--- a/lib/GnuPG/UserId.pm
+++ b/lib/GnuPG/UserId.pm
@@ -14,7 +14,7 @@
#
package GnuPG::UserId;
-use Moose;
+use Any::Moose;
has [qw( validity as_string )] => (
isa => 'Any',
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list