From 3b05eb800245ef5785a5ac1d018b86d324b48c45 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 5 Sep 2018 11:25:57 +0200 Subject: Add -glitch suffix to version string Fixes #715 --- lib/mastodon/version.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 0442a156d..fc7fa5aca 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -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 -- cgit