Class: Homebrew::DevCmd::Bump::VersionBumpInfo

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

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)

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)

Returns the value of prop current_version.

Returns:



# File ''

const :current_version, BumpVersionParser

#multiple_versionsBoolean (readonly)

Returns the value of prop multiple_versions.

Returns:

  • (Boolean)


# File ''

const :multiple_versions, T::Boolean

#new_versionBumpVersionParser (readonly)

Returns the value of prop new_version.

Returns:



# File ''

const :new_version, BumpVersionParser

#open_pull_requestsArray<String>, ... (readonly)

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)

Returns the value of prop repology_latest.

Returns:



# File ''

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

#typeSymbol (readonly)

Returns the value of prop type.

Returns:



# File ''

const :type, Symbol

#version_nameString (readonly)

Returns the value of prop version_name.

Returns:



# File ''

const :version_name, String