Remove pre from version, add extra suffix variable (#11407)
This commit is contained in:
		@@ -16,20 +16,20 @@ module Mastodon
 | 
			
		||||
      2
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    def pre
 | 
			
		||||
      nil
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    def flags
 | 
			
		||||
      ''
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user