about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-09-05 11:25:57 +0200
committerThibG <thib@sitedethib.com>2018-09-26 11:11:30 +0200
commit3b05eb800245ef5785a5ac1d018b86d324b48c45 (patch)
tree9cac063b24e244ec4dcfcfb6781505ea1977f337 /lib
parent23e7c1c765f5e500d369fcef9f020e4eb5b337d5 (diff)
Add -glitch suffix to version string
Fixes #715
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/version.rb6
1 files changed, 5 insertions, 1 deletions
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