Add -glitch suffix to version string

Fixes #715
master
Thibaut Girka 6 years ago committed by ThibG
parent 23e7c1c765
commit 3b05eb8002
  1. 6
      lib/mastodon/version.rb

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

Loading…
Cancel
Save