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 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)