зеркало из https://github.com/github/grit.git
added sha() def to commit object
This commit is contained in:
Родитель
4a904d7960
Коммит
8fcb2081e8
|
@ -1,6 +1,6 @@
|
|||
Gem::Specification.new do |s|
|
||||
s.name = "grit"
|
||||
s.version = "0.9.1"
|
||||
s.version = "0.9.3"
|
||||
s.date = "2008-04-24"
|
||||
s.summary = "Object model interface to a git repo"
|
||||
s.email = "tom@rubyisawesome.com"
|
||||
|
|
|
@ -182,6 +182,10 @@ module Grit
|
|||
def to_s
|
||||
@id
|
||||
end
|
||||
|
||||
def sha
|
||||
@id
|
||||
end
|
||||
|
||||
# Pretty object inspection
|
||||
def inspect
|
||||
|
|
Загрузка…
Ссылка в новой задаче