aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorVítor Galvão2017-03-16 02:05:55 +0000
committerGitHub2017-03-16 02:05:55 +0000
commit0f35f4ca1e01d18824831727ad08e93bc3f9160b (patch)
tree5d51e1484f3cd9c410899650e441a9e391dbe41f /Library
parent4d88cc4c41113be2d5bf11c11fa671c763705a64 (diff)
parente1670a9210d461184708217285975a0023afc20b (diff)
downloadbrew-0f35f4ca1e01d18824831727ad08e93bc3f9160b.tar.bz2
Merge pull request #2347 from reitermarkus/fix-each_artifact
Remove `sort` from `each_artifact`.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/artifact/relocated.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb b/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb
index e92b16227..7757d32d0 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