lib/caboodle/kits/github/github.rb in caboodle-0.2.13 vs lib/caboodle/kits/github/github.rb in caboodle-0.2.14
- old
+ new
@@ -1,8 +1,10 @@
module Caboodle
class Github < Caboodle::Kit
+ description "A single page which links to all of a Github account's public repos"
+
menu "Code", "/code" do
@title = "Code"
@repos = GithubAPI.repositories
@repos.sort!{|a, b| a.watchers <=> b.watchers}.reverse!
@@ -14,13 +16,11 @@
haml :github
end
required [:github_username]
-
- defaults []
-
- credit "http://gitbhu.com/#{Site.github_username}"
+
+ credit "http://github.com/#{Site.github_username}"
end
class GithubAPI < Weary::Base
declare "repositories" do |r|
\ No newline at end of file