diff options
| author | franck cuny <franck@lumberjaph.net> | 2011-06-18 17:07:25 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2011-06-18 17:07:25 +0200 |
| commit | a339456f18a8bf7dfaccebbd900f7b6527cbadad (patch) | |
| tree | 47b218992d2339d693eaf2d8907e1e6160993fa4 /lib/StarGit | |
| parent | two new routes: /about and /api (diff) | |
| download | stargit-a339456f18a8bf7dfaccebbd900f7b6527cbadad.tar.gz | |
default for some informations
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to 'lib/StarGit')
| -rw-r--r-- | lib/StarGit/Info.pm | 8 |
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", }; } |
