diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-24 16:21:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 16:21:08 +0200 |
commit | a549d1ae6b33d93743a0c0c3fb1575f07a58492a (patch) | |
tree | 9cfba6348695547fb6fd33a6a1ab36c9760312bc /lib | |
parent | 467456f7a19371fe4d50f25751a1d32a63e9f75c (diff) |
Bump to 1.5.0rc1 (#4318)
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 |