Merge pull request #7551 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.83.0
build(deps): bump rubocop from 0.82.0 to 0.83.0 in /Library/Homebrew
This commit is contained in:
		
						commit
						fdbf935364
					
				@ -25,7 +25,6 @@ GEM
 | 
			
		||||
      domain_name (~> 0.5)
 | 
			
		||||
    i18n (1.8.2)
 | 
			
		||||
      concurrent-ruby (~> 1.0)
 | 
			
		||||
    jaro_winkler (1.5.4)
 | 
			
		||||
    json (2.3.0)
 | 
			
		||||
    mechanize (2.7.6)
 | 
			
		||||
      domain_name (~> 0.5, >= 0.5.1)
 | 
			
		||||
@ -81,8 +80,7 @@ GEM
 | 
			
		||||
    rspec-support (3.9.3)
 | 
			
		||||
    rspec-wait (0.0.9)
 | 
			
		||||
      rspec (>= 3, < 4)
 | 
			
		||||
    rubocop (0.82.0)
 | 
			
		||||
      jaro_winkler (~> 1.5.1)
 | 
			
		||||
    rubocop (0.83.0)
 | 
			
		||||
      parallel (~> 1.10)
 | 
			
		||||
      parser (>= 2.7.0.1)
 | 
			
		||||
      rainbow (>= 2.2.2, < 4.0)
 | 
			
		||||
 | 
			
		||||
@ -228,7 +228,7 @@ module Cask
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def run(*)
 | 
			
		||||
        exec @path, *ARGV[1..-1]
 | 
			
		||||
        exec @path, *ARGV[1..]
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -37,6 +37,7 @@ module Cask
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      attr_accessor :args
 | 
			
		||||
 | 
			
		||||
      private :args=
 | 
			
		||||
 | 
			
		||||
      def initialize(*args)
 | 
			
		||||
 | 
			
		||||
@ -33,9 +33,11 @@ module Cask
 | 
			
		||||
      option "--inspect", :inspect, false
 | 
			
		||||
 | 
			
		||||
      attr_accessor :format
 | 
			
		||||
 | 
			
		||||
      private :format, :format=
 | 
			
		||||
 | 
			
		||||
      attr_accessor :stanza
 | 
			
		||||
 | 
			
		||||
      private :stanza, :stanza=
 | 
			
		||||
 | 
			
		||||
      def initialize(*)
 | 
			
		||||
 | 
			
		||||
@ -7,11 +7,6 @@ module Cask
 | 
			
		||||
      option "--versions", :versions, false
 | 
			
		||||
      option "--full-name", :full_name, false
 | 
			
		||||
 | 
			
		||||
      option "-l", (lambda do |*|
 | 
			
		||||
        one = true # rubocop:disable Lint/UselessAssignment
 | 
			
		||||
        opoo "Option -l is obsolete! Implying option -1."
 | 
			
		||||
      end)
 | 
			
		||||
 | 
			
		||||
      def run
 | 
			
		||||
        args.any? ? list : list_installed
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
@ -23,6 +23,7 @@ class AbstractDownloadStrategy
 | 
			
		||||
 | 
			
		||||
  attr_reader :cache, :cached_location, :url
 | 
			
		||||
  attr_reader :meta, :name, :version, :shutup
 | 
			
		||||
 | 
			
		||||
  private :meta, :name, :version, :shutup
 | 
			
		||||
 | 
			
		||||
  def initialize(url, name, version, **meta)
 | 
			
		||||
 | 
			
		||||
@ -80,7 +80,7 @@ module Hardware
 | 
			
		||||
      # Compatibility with Mac method, which returns lowercase symbols
 | 
			
		||||
      # instead of strings
 | 
			
		||||
      def features
 | 
			
		||||
        @features ||= flags[1..-1].map(&:intern)
 | 
			
		||||
        @features ||= flags[1..].map(&:intern)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      %w[aes altivec avx avx2 lm ssse3 sse4_2].each do |flag|
 | 
			
		||||
 | 
			
		||||
@ -126,6 +126,7 @@ class Formula
 | 
			
		||||
  # The currently active {SoftwareSpec}.
 | 
			
		||||
  # @see #determine_active_spec
 | 
			
		||||
  attr_reader :active_spec
 | 
			
		||||
 | 
			
		||||
  protected :active_spec
 | 
			
		||||
 | 
			
		||||
  # A symbol to indicate currently active {SoftwareSpec}.
 | 
			
		||||
@ -176,6 +177,7 @@ class Formula
 | 
			
		||||
  # Defaults to true.
 | 
			
		||||
  # @return [Boolean]
 | 
			
		||||
  attr_accessor :follow_installed_alias
 | 
			
		||||
 | 
			
		||||
  alias follow_installed_alias? follow_installed_alias
 | 
			
		||||
 | 
			
		||||
  # @private
 | 
			
		||||
 | 
			
		||||
@ -25,6 +25,7 @@ class FormulaInstaller
 | 
			
		||||
 | 
			
		||||
  def self.mode_attr_accessor(*names)
 | 
			
		||||
    attr_accessor(*names)
 | 
			
		||||
 | 
			
		||||
    private(*names)
 | 
			
		||||
    names.each do |name|
 | 
			
		||||
      predicate = "#{name}?"
 | 
			
		||||
@ -38,6 +39,7 @@ class FormulaInstaller
 | 
			
		||||
  attr_reader :formula
 | 
			
		||||
  attr_accessor :options, :build_bottle
 | 
			
		||||
  attr_accessor :installed_as_dependency, :installed_on_request, :link_keg
 | 
			
		||||
 | 
			
		||||
  mode_attr_accessor :show_summary_heading, :show_header
 | 
			
		||||
  mode_attr_accessor :build_from_source, :force_bottle, :include_test
 | 
			
		||||
  mode_attr_accessor :ignore_deps, :only_deps, :interactive, :git
 | 
			
		||||
 | 
			
		||||
@ -184,6 +184,7 @@ class Keg
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  attr_reader :path, :name, :linked_keg_record, :opt_record
 | 
			
		||||
 | 
			
		||||
  protected :path
 | 
			
		||||
 | 
			
		||||
  extend Forwardable
 | 
			
		||||
 | 
			
		||||
@ -151,6 +151,7 @@ class Requirement
 | 
			
		||||
    include BuildEnvironment::DSL
 | 
			
		||||
 | 
			
		||||
    attr_reader :env_proc, :build
 | 
			
		||||
 | 
			
		||||
    attr_rw :fatal, :cask, :download
 | 
			
		||||
 | 
			
		||||
    def satisfy(options = nil, &block)
 | 
			
		||||
 | 
			
		||||
@ -40,6 +40,7 @@ module RuboCop
 | 
			
		||||
        private
 | 
			
		||||
 | 
			
		||||
        attr_reader :cask_block
 | 
			
		||||
 | 
			
		||||
        def_delegators :cask_block, :cask_node, :toplevel_stanzas,
 | 
			
		||||
                       :sorted_toplevel_stanzas
 | 
			
		||||
 | 
			
		||||
@ -141,10 +142,10 @@ module RuboCop
 | 
			
		||||
          end
 | 
			
		||||
          home = homepage.downcase
 | 
			
		||||
          if (split_host = host.split(".")).length >= 3
 | 
			
		||||
            host = split_host[-2..-1].join(".")
 | 
			
		||||
            host = split_host[-2..].join(".")
 | 
			
		||||
          end
 | 
			
		||||
          if (split_home = homepage.split(".")).length >= 3
 | 
			
		||||
            home = split_home[-2..-1].join(".")
 | 
			
		||||
            home = split_home[-2..].join(".")
 | 
			
		||||
          end
 | 
			
		||||
          host == home
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
@ -19,6 +19,7 @@ module RuboCop
 | 
			
		||||
        private
 | 
			
		||||
 | 
			
		||||
        attr_reader :cask_block
 | 
			
		||||
 | 
			
		||||
        def_delegators :cask_block,
 | 
			
		||||
                       :toplevel_stanzas
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
@ -39,6 +39,7 @@ module RuboCop
 | 
			
		||||
        private
 | 
			
		||||
 | 
			
		||||
        attr_reader :cask_block, :line_ops
 | 
			
		||||
 | 
			
		||||
        def_delegators :cask_block, :cask_node, :toplevel_stanzas
 | 
			
		||||
 | 
			
		||||
        def add_offenses
 | 
			
		||||
 | 
			
		||||
@ -31,6 +31,7 @@ module RuboCop
 | 
			
		||||
        private
 | 
			
		||||
 | 
			
		||||
        attr_reader :cask_block
 | 
			
		||||
 | 
			
		||||
        def_delegators :cask_block, :cask_node, :toplevel_stanzas,
 | 
			
		||||
                       :sorted_toplevel_stanzas
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,7 @@ module RuboCop
 | 
			
		||||
      include RangeHelp
 | 
			
		||||
 | 
			
		||||
      attr_accessor :file_path
 | 
			
		||||
 | 
			
		||||
      @registry = Cop.registry
 | 
			
		||||
 | 
			
		||||
      # This method is called by RuboCop and is the main entry point
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user