西小倉事典
mindia › 西小倉事典 › 単語

gitriousのxmlにgitファイルパスを追加

西小倉パンデイロ · 2011-12-26 更新 · 履歴(1)

app/models/repository.rb

class Repository < ActiveRecord::Base
     super({
       :procs => [info_proc],
-      :only => [:name, :created_at, :ready, :description, :last_pushed_at],
+      :only => [:name, :created_at, :ready, :description, :last_pushed_at, :hashed_path],
       :methods => [:clone_url, :push_url, :parent]
     }.merge(opts))
   end

タグ