class

Release

Inherits Reference < Object

Constructors

new(version : String, revision_info : RevisionInfo, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false)
Source
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)
Source

Instance methods

==(other : self)

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

crystal
Source
description
Source
hash(hasher)

See Object#hash(hasher)

id=(id : Int64)
Source
latest?
Source
license
Source
released_at
Source
released_at=(released_at : Time)
Source
revision_identifier
Source
revision_info
Source
revision_info=(revision_info : RevisionInfo | Nil)
Source
revision_info?
Source
spec
Source
version
Source
version=(version : String)
Source
yanked?
Source
yanked_at=(yanked_at : Time | Nil)
Source
yanked_at?
Source

Nested types