Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 300 Bytes
module RepoDepot
class Depot
def self.load name
events = read_events(name).sort_by(&:date)
events = events.select {|e| e.class_name =~ /^[A-Z]/ }
events = events.reject {|e| e.method_name == "none" }
weave(events)
Repository.new(name, events)
end
end
end