Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
@@ -16,22 +16,18 @@ module Mastodon
|
||||
2
|
||||
end
|
||||
|
||||
def pre
|
||||
nil
|
||||
end
|
||||
|
||||
def flags
|
||||
''
|
||||
end
|
||||
|
||||
def to_a
|
||||
[major, minor, patch, pre].compact
|
||||
end
|
||||
|
||||
def suffix
|
||||
'+glitch'
|
||||
end
|
||||
|
||||
def to_a
|
||||
[major, minor, patch].compact
|
||||
end
|
||||
|
||||
def to_s
|
||||
[to_a.join('.'), flags, suffix].join
|
||||
end
|
||||
|
Reference in New Issue
Block a user