class Release

Defined in:

release.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(version : String, revision_info : RevisionInfo, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false) #

[View source]
def self.new(version : String, released_at : Time, revision_info : RevisionInfo | Nil = nil, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false, id : Int64 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def crystal : String | Nil #

[View source]
def description : String | Nil #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def id : Int64 #

def id=(id : Int64) #

[View source]
def id? : Int64 | Nil #

def latest? : Bool #

[View source]
def license : String | Nil #

[View source]
def released_at : Time #

[View source]
def released_at=(released_at : Time) #

[View source]
def revision_identifier #

[View source]
def revision_info : RevisionInfo | Nil #

def revision_info=(revision_info : RevisionInfo | Nil) #

[View source]
def revision_info? : RevisionInfo | Nil | Nil #

def spec : Hash(String, JSON::Any) #

[View source]
def version : String #

[View source]
def version=(version : String) #

[View source]
def yanked? : Bool #

[View source]
def yanked_at=(yanked_at : Time | Nil) #

[View source]
def yanked_at? : Time | Nil #

[View source]