Class: Homebrew::DevCmd::Bump::ResourceVersionInfo Private

Inherits:
T::Struct
  • Object
show all
Defined in:
dev-cmd/bump.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, current_version:, latest_version: nil, outdated:, newer_than_upstream:) ⇒ void

Parameters:

  • name (String)
  • current_version (String)
  • latest_version (String, nil) (defaults to: nil)
  • outdated (Boolean)
  • newer_than_upstream (Boolean)


# File ''

const :name, String
const :current_version, String
const :latest_version, T.nilable(String)
const :outdated, T::Boolean
const :newer_than_upstream, T::Boolean

Instance Attribute Details

#current_versionString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop current_version.

Returns:



# File ''

const :current_version, String

#latest_versionString? (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop latest_version.

Returns:



# File ''

const :latest_version, T.nilable(String)

#nameString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop name.

Returns:



# File ''

const :name, String

#newer_than_upstreamBoolean (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop newer_than_upstream.

Returns:

  • (Boolean)


# File ''

const :newer_than_upstream, T::Boolean

#outdatedBoolean (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop outdated.

Returns:

  • (Boolean)


# File ''

const :outdated, T::Boolean