about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/mastodon/version.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb
index 47eac2432..3db57ceaa 100644
--- a/lib/mastodon/version.rb
+++ b/lib/mastodon/version.rb
@@ -16,20 +16,20 @@ module Mastodon
       2
     end
 
-    def pre
-      nil
+    def flags
+      ''
     end
 
-    def flags
+    def suffix
       ''
     end
 
     def to_a
-      [major, minor, patch, pre].compact
+      [major, minor, patch].compact
     end
 
     def to_s
-      [to_a.join('.'), flags].join
+      [to_a.join('.'), flags, suffix].join
     end
 
     def repository