Remove pre from version, add extra suffix variable (#11407)

master
Clar Fon 5 years ago committed by Eugen Rochko
parent d0c25584b8
commit a6b4440115
  1. 10
      lib/mastodon/version.rb

@ -16,20 +16,20 @@ module Mastodon
2 2
end end
def pre def flags
nil ''
end end
def flags def suffix
'' ''
end end
def to_a def to_a
[major, minor, patch, pre].compact [major, minor, patch].compact
end end
def to_s def to_s
[to_a.join('.'), flags].join [to_a.join('.'), flags, suffix].join
end end
def repository def repository

Loading…
Cancel
Save