From 73972b824c354e20da48670f3b1bc7aa68a33e07 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 29 Jan 2011 19:57:05 -0800 Subject: Fix type constraint, import Piny::Auth with rest of Piny. --- libpiny/lib/Piny.pm | 1 + libpiny/lib/Piny/Auth.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libpiny/lib/Piny.pm b/libpiny/lib/Piny.pm index 54a5b00..2a19e5a 100644 --- a/libpiny/lib/Piny.pm +++ b/libpiny/lib/Piny.pm @@ -5,6 +5,7 @@ # That way, you can "use Piny" and import all the Piny packages into your namespace in one fell swoop. # Of course, you don't get to pass arguments to their import functions anymore. +use Piny::Auth; use Piny::Config; use Piny::Email; use Piny::Environment; diff --git a/libpiny/lib/Piny/Auth.pm b/libpiny/lib/Piny/Auth.pm index 2bbf60b..ce4989b 100644 --- a/libpiny/lib/Piny/Auth.pm +++ b/libpiny/lib/Piny/Auth.pm @@ -15,7 +15,7 @@ use Digest::HMAC_SHA1; has 'key' => ( is => 'ro' - , isa => 'String' + , isa => 'Value' , lazy_build => 1 ); -- cgit v1.2.3