Permalink
Browse files

render project commits separately

  • Loading branch information...
1 parent 4aa9d6a commit 7490289a5737d4ef9e8764728e0e64fa9bf98da2 @igrigorik committed Jan 23, 2009
Showing with 12 additions and 8 deletions.
  1. +3 −0 README
  2. +2 −1 gitter.rb
  3. +7 −7 swarm.config
View
@@ -2,6 +2,9 @@ To build and install codeswarm you will need JDK, Ant, and GIT, of course. For
full instructions check the Readme file:
- http://github.com/rictic/code_swarm/tree/master
+Alternatively, you can try the pure Ruby version (using Cairo):
+ - http://github.com/felipec/codeswarm.rb/tree/master
+
= Great examples of code_swarm in action
Wikipedia / Obama's Page: http://vimeo.com/2177573
View
@@ -60,6 +60,7 @@ def to_rfc2822
commitdata = JSON.parse(open("http://github.com/api/v1/json/#{username}/#{repo["name"]}/commit/#{commit["id"]}").read)["commit"]
commit["committed_date"] = DateTime.parse(commit["committed_date"])
+ commit["repository"] = repo["name"]
commit["details"] = commitdata
user_commits.push commit
@@ -70,7 +71,7 @@ def to_rfc2822
user_commits.each do |commit|
history.write("\n\n------------------------------------------------------------------------\n")
- history.write("r#{commit["id"][0,7]} | #{commit["committer"]["email"]} | ")
+ history.write("r#{commit["id"][0,7]} | #{commit["repository"]} | ")
history.write("#{commit["committed_date"].strftime("%Y-%m-%d %H:%M:%S %Z")} ")
history.write("(#{commit["committed_date"].to_rfc2822}) | ")
history.write("x lines\n")
View
@@ -77,12 +77,9 @@ DrawNamesSharp=true
DrawNamesHalos=false
# Draw files (combinatory) :
-# Draw sharp files
-DrawFilesSharp=false
-# Draw fuzzy files
+DrawFilesSharp=true
DrawFilesFuzzy=true
-# Draw jelly files
-DrawFilesJelly=false
+DrawFilesJelly=true
# Show the Legend at start
ShowLegend=true
@@ -94,7 +91,7 @@ ShowHistory=true
ShowDate=true
# Show edges between authors and files, mostly for debug purpose
-#ShowEdges=true
+ShowEdges=true
# Turn on Debug counts.
ShowDebug=true
@@ -129,7 +126,10 @@ PersonLife=500
# This is the amount of time that the person or
# file will be highlighted.
HighlightPct=10
-
+
+# Uncomment to not use avatars
+AvatarFetcher=NoAvatar
+
## Physics engine selection and configuration
# Directory physics engine config files reside in.
PhysicsEngineConfigDir=physics_engine

0 comments on commit 7490289

Please sign in to comment.