summaryrefslogtreecommitdiff
path: root/lib/StarGit
diff options
context:
space:
mode:
Diffstat (limited to 'lib/StarGit')
-rw-r--r--lib/StarGit/Info.pm8
1 files changed, 4 insertions, 4 deletions
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",
};
}