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:, duplicate_pull_requests: nil, maybe_duplicate_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 :duplicate_pull_requests, T.nilable(T.any(T::Array[String], String))
const :maybe_duplicate_pull_requests, T.nilable(T.any(T::Array[String], String))

Instance Attribute Details

#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

#duplicate_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 duplicate_pull_requests.

Returns:



# File ''

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

#maybe_duplicate_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 maybe_duplicate_pull_requests.

Returns:



# File ''

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

#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

#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