Class: Homebrew::DevCmd::Bump::VersionBumpInfo 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(type:, multiple_versions:, version_name:, current_version:, repology_latest:, new_version:, open_pull_requests: nil, closed_pull_requests: nil) ⇒ void

Parameters:



# File ''

const :type, Symbol
const :multiple_versions, T::Boolean
const :version_name, String
const :current_version, BumpVersionParser
const :repology_latest, T.any(String, Version)
const :new_version, BumpVersionParser
const :open_pull_requests, T.nilable(T.any(T::Array[String], String))
const :closed_pull_requests, T.nilable(T.any(T::Array[String], String))

Instance Attribute Details

#closed_pull_requestsArray<String>, ... (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 closed_pull_requests.

Returns:



# File ''

const :closed_pull_requests, T.nilable(T.any(T::Array[String], String))

#current_versionBumpVersionParser (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, BumpVersionParser

#multiple_versionsBoolean (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 multiple_versions.

Returns:

  • (Boolean)


# File ''

const :multiple_versions, T::Boolean

#new_versionBumpVersionParser (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 new_version.

Returns:



# File ''

const :new_version, BumpVersionParser

#open_pull_requestsArray<String>, ... (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 open_pull_requests.

Returns:



# File ''

const :open_pull_requests, T.nilable(T.any(T::Array[String], String))

#repology_latestString, Version (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 repology_latest.

Returns:



# File ''

const :repology_latest, T.any(String, Version)

#typeSymbol (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 type.

Returns:



# File ''

const :type, Symbol

#version_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 version_name.

Returns:



# File ''

const :version_name, String