mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 19:01:37 +01:00
Add suffix version
This commit is contained in:
parent
7f3dc33cc0
commit
c33675bdb1
1 changed files with 5 additions and 1 deletions
|
@ -24,12 +24,16 @@ module Mastodon
|
|||
'+catstodon'
|
||||
end
|
||||
|
||||
def suffix_version
|
||||
'+1.0.0'
|
||||
end
|
||||
|
||||
def to_a
|
||||
[major, minor, patch].compact
|
||||
end
|
||||
|
||||
def to_s
|
||||
[to_a.join('.'), flags, suffix].join
|
||||
[to_a.join('.'), flags, suffix, suffix_version].join
|
||||
end
|
||||
|
||||
def repository
|
||||
|
|
Loading…
Reference in a new issue