From e1670a9210d461184708217285975a0023afc20b Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 15 Mar 2017 20:18:56 +0100 Subject: [PATCH] Remove `sort` from `each_artifact`. --- Library/Homebrew/cask/lib/hbc/artifact/relocated.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb b/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb index e92b162271..7757d32d07 100644 --- a/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb +++ b/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb @@ -43,8 +43,7 @@ module Hbc end def each_artifact - # the sort is for predictability between Ruby versions - @cask.artifacts[self.class.artifact_dsl_key].sort.each do |artifact| + @cask.artifacts[self.class.artifact_dsl_key].each do |artifact| load_specification(artifact) yield end