gearheads
/
mastodon
Archived
2
0
Fork 0

Remove pre from version, add extra suffix variable (#11407)

gh/stable
Clar Fon 2019-07-26 01:57:27 -04:00 committed by Eugen Rochko
parent d0c25584b8
commit a6b4440115
1 changed files with 6 additions and 6 deletions

View File

@ -16,20 +16,20 @@ module Mastodon
2 2
end end
def pre
nil
end
def flags def flags
'' ''
end end
def suffix
''
end
def to_a def to_a
[major, minor, patch, pre].compact [major, minor, patch].compact
end end
def to_s def to_s
[to_a.join('.'), flags].join [to_a.join('.'), flags, suffix].join
end end
def repository def repository