Fix compass version in the docs.
This commit is contained in:
parent
c8cb9f2e39
commit
1d32683b5d
@ -130,7 +130,7 @@ end
|
|||||||
|
|
||||||
def compass_version
|
def compass_version
|
||||||
v = Compass.version
|
v = Compass.version
|
||||||
"#{v[:major]}.#{v[:minor]}#{"."+v[:state] if v[:state]}.#{v[:build]}"
|
"#{v[:major]}.#{v[:minor]}#{"."+v[:state] if v[:state]}.#{v[:build] || v[:patch]}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def long_compass_version
|
def long_compass_version
|
||||||
|
Loading…
Reference in New Issue
Block a user