Add -glitch suffix to version string

Fixes #715
lolsob-rspec
Thibaut Girka 2018-09-05 11:25:57 +02:00 committed by ThibG
parent 840cf21a3c
commit 855a69c2cd
1 changed files with 5 additions and 1 deletions

View File

@ -28,8 +28,12 @@ module Mastodon
[major, minor, patch, pre].compact
end
def suffix
'+glitch'
end
def to_s
[to_a.join('.'), flags].join
[to_a.join('.'), flags, suffix].join
end
def repository