Browse Source

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

master^2
Clar Fon 4 years ago
committed by Eugen Rochko
parent
commit
a6b4440115
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      lib/mastodon/version.rb

+ 5
- 5
lib/mastodon/version.rb View File

@@ -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


Loading…
Cancel
Save