Class: Homebrew::DevCmd::Bump::VersionBumpInfo Private
- 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
- 
  
    
      #current_version  ⇒ BumpVersionParser 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
current_version. - 
  
    
      #duplicate_pull_requests  ⇒ Array<String>, ... 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
duplicate_pull_requests. - 
  
    
      #maybe_duplicate_pull_requests  ⇒ Array<String>, ... 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
maybe_duplicate_pull_requests. - 
  
    
      #multiple_versions  ⇒ Boolean 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
multiple_versions. - 
  
    
      #new_version  ⇒ BumpVersionParser 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
new_version. - 
  
    
      #newer_than_upstream  ⇒ Hash{Symbol => Boolean} 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
newer_than_upstream. - 
  
    
      #repology_latest  ⇒ String, Version 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
repology_latest. - 
  
    
      #type  ⇒ Symbol 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
type. - 
  
    
      #version_name  ⇒ String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
version_name. 
Instance Method Summary collapse
Constructor Details
#initialize(type:, multiple_versions:, version_name:, current_version:, repology_latest:, new_version:, newer_than_upstream: {}, duplicate_pull_requests: nil, maybe_duplicate_pull_requests: nil) ⇒ void
| 
       | 
    
      # 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 :newer_than_upstream, T::Hash[Symbol, T::Boolean], default: {} 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_version ⇒ BumpVersionParser (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.
| 
       | 
    
      # File '' const :current_version, BumpVersionParser  | 
  
#duplicate_pull_requests ⇒ Array<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.
| 
       | 
    
      # File '' const :duplicate_pull_requests, T.nilable(T.any(T::Array[String], String))  | 
  
#maybe_duplicate_pull_requests ⇒ Array<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.
| 
       | 
    
      # File '' const :maybe_duplicate_pull_requests, T.nilable(T.any(T::Array[String], String))  | 
  
#multiple_versions ⇒ Boolean (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.
| 
       | 
    
      # File '' const :multiple_versions, T::Boolean  | 
  
#new_version ⇒ BumpVersionParser (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.
| 
       | 
    
      # File '' const :new_version, BumpVersionParser  | 
  
#newer_than_upstream ⇒ Hash{Symbol => Boolean} (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.
| 
       | 
    
      # File '' const :newer_than_upstream, T::Hash[Symbol, T::Boolean], default: {}  | 
  
#repology_latest ⇒ String, 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.
| 
       | 
    
      # File '' const :repology_latest, T.any(String, Version)  | 
  
#type ⇒ Symbol (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.
| 
       | 
    
      # File '' const :type, Symbol  | 
  
#version_name ⇒ 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 version_name.
| 
       | 
    
      # File '' const :version_name, String  |