Add delete this Page based on .com.

Match short sha commit message of .com for edit and delete.
Update tests.
This commit is contained in:
bootstraponline
2012-07-21 15:33:43 -06:00
parent 77fb5ec3cb
commit e0b7009bff
6 changed files with 52 additions and 13 deletions
+7
View File
@@ -259,6 +259,13 @@ module Gollum
end
end
# Public: The first 7 characters of the current version.
#
# Returns the first 7 characters of the current version.
def version_short
version.to_s[0,7]
end
# Public: The header Page.
#
# Returns the header Page or nil if none exists.