From a339456f18a8bf7dfaccebbd900f7b6527cbadad Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 18 Jun 2011 17:07:25 +0200 Subject: default for some informations Signed-off-by: franck cuny --- lib/StarGit/Info.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/StarGit') diff --git a/lib/StarGit/Info.pm b/lib/StarGit/Info.pm index c7b82c7..0435409 100644 --- a/lib/StarGit/Info.pm +++ b/lib/StarGit/Info.pm @@ -20,11 +20,11 @@ sub get { return { login => $self->login, name => $profile->{name} || $self->login, - website => $profile->{blog}, + website => $profile->{blog} || "none", gravatar => $profile->{gravatar_id}, - indegree => $profile->{indegree}, - country => $profile->{country} || "", - language => $profile->{language} || "", + indegree => $profile->{indegree} || 0, + country => $profile->{country} || "unknown", + language => $profile->{language} || "unknown", }; } -- cgit v1.2.3