From c57c20af08788646b23baefc07dc7b1b5144f2ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Thu, 17 Jan 2019 09:47:33 +0000 Subject: [PATCH 1/2] Bump rubocop from 0.61.1 to 0.63.0 in /Library/Homebrew/test Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.1 to 0.63.0. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.1...v0.63.0) Signed-off-by: dependabot[bot] --- Library/Homebrew/test/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/Gemfile.lock b/Library/Homebrew/test/Gemfile.lock index 489e6417da..0f755e6564 100644 --- a/Library/Homebrew/test/Gemfile.lock +++ b/Library/Homebrew/test/Gemfile.lock @@ -46,7 +46,7 @@ GEM rspec-support (3.8.0) rspec-wait (0.0.9) rspec (>= 3, < 4) - rubocop (0.61.1) + rubocop (0.63.0) jaro_winkler (~> 1.5.1) parallel (~> 1.10) parser (>= 2.5, != 2.5.1.1) From ad1acdc1adfe5cc58590069fa604f884e729d89e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 17 Jan 2019 09:57:50 +0000 Subject: [PATCH 2/2] requirement: fix new RuboCop failures. --- Library/Homebrew/requirement.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index 97c6fe6cb5..cdff3f254e 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -12,8 +12,8 @@ class Requirement attr_reader :tags, :name, :cask, :download def initialize(tags = []) - @cask ||= self.class.cask - @download ||= self.class.download + @cask = self.class.cask + @download = self.class.download tags.each do |tag| next unless tag.is_a? Hash