aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/container
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-14 20:33:16 +0200
committerMarkus Reiter2016-10-23 14:32:04 +0200
commitad8ae33c1f2bf09cf70944aba0708000adce93e1 (patch)
tree855ff4c86c4d08af0bb6b40d5d3d055f5e7ae993 /Library/Homebrew/cask/lib/hbc/container
parent2b7e6c1dcb2e1aa8416b9b26d1a3d77b68f65013 (diff)
downloadbrew-ad8ae33c1f2bf09cf70944aba0708000adce93e1.tar.bz2
Fix spacing and indentation.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/container')
-rw-r--r--Library/Homebrew/cask/lib/hbc/container/dmg.rb26
1 files changed, 13 insertions, 13 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/container/dmg.rb b/Library/Homebrew/cask/lib/hbc/container/dmg.rb
index 492a9d632..4e2c4e1e3 100644
--- a/Library/Homebrew/cask/lib/hbc/container/dmg.rb
+++ b/Library/Homebrew/cask/lib/hbc/container/dmg.rb
@@ -91,19 +91,19 @@ module Hbc
end
# unnecessary DMG metadata
- DMG_METADATA_FILES = %w[
- .background
- .com.apple.timemachine.donotpresent
- .com.apple.timemachine.supported
- .DocumentRevisions-V100
- .DS_Store
- .fseventsd
- .MobileBackups
- .Spotlight-V100
- .TemporaryItems
- .Trashes
- .VolumeIcon.icns
- ].to_set.freeze
+ DMG_METADATA_FILES = Set.new %w[
+ .background
+ .com.apple.timemachine.donotpresent
+ .com.apple.timemachine.supported
+ .DocumentRevisions-V100
+ .DS_Store
+ .fseventsd
+ .MobileBackups
+ .Spotlight-V100
+ .TemporaryItems
+ .Trashes
+ .VolumeIcon.icns
+ ].freeze
def dmg_metadata?(path)
relative_root = path.sub(%r{/.*}, "")