diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/version.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 3c92ce417..07969aff4 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -9,23 +9,27 @@ module Mastodon end def minor - 4 + 5 end def patch - 7 + 0 end def pre nil end + def flags + 'rc1' + end + def to_a [major, minor, patch, pre].compact end def to_s - to_a.join('.') + [to_a.join('.'), flags].join end end end |