repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb
Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb
cask "local-transmission" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" name "Transmission" desc "BitTorrent client" homepage "https://transmissionbt.com/" app "Transmission.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb
Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb
cask "bad-checksum" do version "1.2.3" sha256 "badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb
cask "with-preflight" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" preflight do # do nothing end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb
cask "with-uninstall-pkgutil" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" uninstall pkgutil: "my.fancy.package.*" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb
cask "with-conditional-caveats" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" # a do block may print and use a DSL caveats do puts "This caveat is conditional" if String("Caffeine") != "Caffeine" end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/arch-arm-only.rb
Library/Homebrew/test/support/fixtures/cask/Casks/arch-arm-only.rb
cask "arch-arm-only" do arch arm: "-arm" version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine#{arch}.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb
cask "with-two-apps-subdir" do version "1.2.3" sha256 "d687c22a21c02bd8f07da9302c8292b93a04df9a929e3f04d09aea6c76f75c65" url "file://#{TEST_FIXTURE_DIR}/cask/caffeines-subdir.zip" homepage "https://brew.sh/" app "Caffeines/Caffeine Mini.app" app "Caffeines/Caffeine Pro.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb
Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb
cask "adobe-illustrator" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "https://brew.sh/TestCask-#{version}.dmg" name "Adobe Illustrator" homepage "https://brew.sh/" app "TestCask.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb
cask "with-uninstall-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"] } end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb
cask "with-zap-delete" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" zap delete: [ "#{TEST_TMPDIR}/absolute_path", "#{TEST_TMPDIR}/glob_path*", "/another/impermissible/../relative/path", "impermissible/relative/path", "~/path_with_tilde", ] end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb
cask "with-installer-script" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-install-script" installer script: "/usr/bin/true", args: ["--flag"] # acceptable alternate form installer script: { executable: "/usr/bin/false", args: ["--flag"], } end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb
cask "with-conflicts-with" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-conflicts-with" conflicts_with cask: "local-caffeine" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb
Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb
cask "no-dsl-version" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "https://brew.sh/TestCask-#{version}.dmg" homepage "https://brew.sh/" app "TestCask.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-livecheck.rb
Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-livecheck.rb
cask "devmate-with-livecheck" do version "1.0" sha256 "a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9" url "https://dl.devmate.com/com.my.fancyapp/app_#{version}.zip" name "DevMate" homepage "https://www.brew.sh/" livecheck do url "https://updates.devmate.com/com.my.fancyapp.app.xml" end app "DevMate.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb
cask "with-depends-on-arch" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-arch" # covers all known hardware; always succeeds depends_on arch: [:intel, :arm64] app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb
Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb
cask "stage-only" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" homepage "https://brew.sh/stage-only" stage_only true end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb
cask "with-non-executable-binary" do version "1.2.3" sha256 "306c6ca7407560340797866e077e053627ad409277d1b9da58106fce4cf717cb" url "file://#{TEST_FIXTURE_DIR}/cask/naked_non_executable" homepage "https://brew.sh/with-binary" binary "naked_non_executable" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb
cask "with-zap-quit" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap quit: "my.fancy.package.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-only-on-upgrade.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-only-on-upgrade.rb
cask "with-uninstall-quit-only-on-upgrade" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall quit: "my.fancy.package.app", signal: [["TERM", "my.fancy.package.app"]], on_upgrade: :quit end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb
cask "with-suite" do version "1.2.3" sha256 "d95dcc12d4e5be0bc3cb9793c4b7e7f69a25f0b3c7418494b0c883957e6eeae4" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine-suite.zip" name "Caffeine" homepage "https://brew.sh/with-suite" suite "Caffeine" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb
cask "with-zap-trash" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" zap trash: [ "#{TEST_TMPDIR}/absolute_path", "#{TEST_TMPDIR}/glob_path*", "/another/impermissible/../relative/path", "impermissible/relative/path", "~/path_with_tilde", ] end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb
Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb
cask "latest-with-auto-updates" do version :latest sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" name "Latest with Auto-Updates" desc "Unversioned cask which auto-updates" homepage "https://brew.sh/latest-with-auto-updates" auto_updates true app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb
Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb
cask "generic-artifact-absolute-target" do artifact "Caffeine.app", target: "#{appdir}/Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-many-languages.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-many-languages.rb
cask "with-many-languages" do version "1.2.3" language "en", default: true do sha256 :no_check "en" end language "cs" do sha256 :no_check "cs" end language "es-AR" do sha256 :no_check "es-AR" end language "ff" do sha256 :no_check "ff" end language "fi" do sha256 :no_check "fi" end language "gn" do sha256 :no_check "gn" end language "gu" do sha256 :no_check "gu" end language "ko" do sha256 :no_check "ko" end language "ru" do sha256 :no_check "ru" end language "sv" do sha256 :no_check "sv" end language "th" do sha256 :no_check "th" end url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" name "Caffeine" desc "Keep your computer awake" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb
cask "with-uninstall-rmdir" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall rmdir: "#{TEST_TMPDIR}/empty_directory_path" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb
Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb
cask "no-checksum" do version "1.2.3" sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb
cask "with-uninstall-script-app" do version "1.2.3" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/MyFancyApp" app "MyFancyApp/MyFancyApp.app" postflight do File.write "#{appdir}/MyFancyApp.app/uninstall.sh", <<~SH #!/bin/sh /bin/rm -r "#{appdir}/MyFancyApp.app" SH end uninstall script: { executable: "#{appdir}/MyFancyApp.app/uninstall.sh", sudo: false, sudo_as_root: false, } end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb
Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb
cask "sourceforge-version-latest-correct-url-format" do version :latest url "https://sourceforge.net/projects/something/files/latest/download" homepage "https://sourceforge.net/projects/something/" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb
cask "with-languages" do version "1.2.3" language "zh" do sha256 "abc123" "zh-CN" end language "en-US", default: true do sha256 "xyz789" "en-US" end url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb
cask "with-uninstall-trash" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" uninstall trash: [ "#{TEST_TMPDIR}/absolute_path", "#{TEST_TMPDIR}/glob_path*", "/another/impermissible/../relative/path", "impermissible/relative/path", "~/path_with_tilde", ] end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb
cask "with-zap-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap rmdir: "#{TEST_TMPDIR}/empty_directory_path" zap delete: "#{TEST_TMPDIR}/empty_directory_path" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb
cask "with-depends-on-formula-multiple" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-formula-multiple" depends_on formula: "unar" depends_on formula: "fileutils" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb
cask "container-gzip" do version "1.2.3" sha256 "fa4ebb5246583c4b6e62e1df4e3b71b4e38a1d7d91c025665827195d36214b20" url "file://#{TEST_FIXTURE_DIR}/cask/container.gz" homepage "https://brew.sh/container-gzip" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb
Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb
cask "sourceforge-correct-url-format" do version "1.2.3" url "https://downloads.sourceforge.net/something/Something-1.2.3.dmg" homepage "https://sourceforge.net/projects/something/" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb
# frozen_string_literal: true cask "with-depends-on-macos-comparison" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-macos-comparison" depends_on macos: ">= :catalina" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb
cask "with-zap-login-item" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap login_item: "Fancy" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb
cask "with-postflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" postflight do # do nothing end postflight do # do nothing end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb
Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb
cask "test-opera" do version "19.0.1326.47" sha256 "7b91f20ab754f7b3fef8dc346e0393917e11676b74c8f577408841619f76040a" url "https://get.geo.opera.com/pub/opera/desktop/19.0.1326.47/mac/Opera_19.0.1326.47_Setup.dmg" homepage "https://www.opera.com/" app "Opera.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb
Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb
cask "nested-app" do version "1.2.3" sha256 "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216" url "file://#{TEST_FIXTURE_DIR}/cask/NestedApp.dmg.zip" homepage "https://brew.sh/nested-app" container nested: "NestedApp.dmg" app "MyNestedApp.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb
Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb
cask "basic-cask" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "https://brew.sh/TestCask-#{version}.dmg" name "Basic Cask" desc "Cask for testing basic functionality" homepage "https://brew.sh/" app "TestCask.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb
cask "with-choices" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg", choices: [ { "choiceIdentifier" => "choice1", "choiceAttribute" => "selected", "attributeSetting" => 1, }, ] end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb
cask "with-uninstall-quit" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall quit: "my.fancy.package.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb
cask "with-zap-early-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap early_script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"] } end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck-skip.rb
Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck-skip.rb
cask "latest-with-livecheck-skip" do version :latest sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-livecheck-skip" livecheck do skip "no version information available" end app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb
cask "with-depends-on-formula" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-formula" depends_on formula: "unar" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb
cask "with-uninstall-preflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall_preflight do # do nothing end uninstall_preflight do # do nothing end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb
cask "with-uninstall-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall rmdir: "#{TEST_TMPDIR}/empty_directory_path" uninstall delete: "#{TEST_TMPDIR}/empty_directory_path" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb
cask "with-zap-rmdir" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap rmdir: "#{TEST_TMPDIR}/empty_directory_path" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb
cask "container-cab" do version "1.2.3" sha256 "c267f5cebb14814c8e612a8b7d2bda02aec913f869509b6f1d3883427c0f552b" url "file://#{TEST_FIXTURE_DIR}/cask/container.cab" homepage "https://brew.sh/container-cab" depends_on formula: "cabextract" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb
Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb
cask "installer-with-uninstall" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" installer manual: "Caffeine.app" uninstall delete: "/Applications/Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-both-on-upgrade.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-both-on-upgrade.rb
cask "with-uninstall-both-on-upgrade" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall quit: "my.fancy.package.app", signal: [["TERM", "my.fancy.package.app"]], on_upgrade: [:quit, :signal] end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb
cask "container-pkg" do version "1.2.3" sha256 "611c50c8a2a2098951d2cd0fd54787ed81b92cd97b4b08bd7cba17f1e1d8e40b" url "file://#{TEST_FIXTURE_DIR}/cask/container.pkg" homepage "https://brew.sh/container-pkg" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb
Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb
cask "missing-url" do version "1.2.3" homepage "https://brew.sh/" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb
cask "with-depends-on-everything" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-everything" depends_on arch: [:intel, :arm64] depends_on cask: "local-caffeine" depends_on cask: "with-depends-on-cask" depends_on formula: "unar" depends_on macos: ">= :catalina" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb
Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb
cask "sourceforge-incorrect-url-format" do version "1.2.3" url "https://sourceforge.net/projects/something/files/Something-1.2.3.dmg/download" homepage "https://sourceforge.net/projects/something/" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb
Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb
cask "missing-sha256" do version "1.2.3" url "https://localhost/something.dmg" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/version-colon.rb
Library/Homebrew/test/support/fixtures/cask/Casks/version-colon.rb
cask "version-colon" do version "1.2.3:1003" sha256 :no_check end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/placeholders.rb
Library/Homebrew/test/support/fixtures/cask/Casks/placeholders.rb
cask "placeholders" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" homepage "https://brew.sh/placeholders" binary "#{appdir}/some/path" caveats "#{HOMEBREW_PREFIX} and #{Dir.home}" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb
Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb
cask "missing-version" do url "https://brew.sh/TestCask.dmg" homepage "https://brew.sh/" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb
cask "with-zap-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"] } end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb
cask "with-uninstall-postflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall_postflight do # do nothing end uninstall_postflight do # do nothing end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/renamed-app.rb
Library/Homebrew/test/support/fixtures/cask/Casks/renamed-app.rb
cask "renamed-app" do version "2.0.0" sha256 "9f88a6f3d8a7977cd3c116c56ee7a20a3c69e838a1d4946f815a926a57883299" url "file://#{TEST_FIXTURE_DIR}/cask/new-app.tar.gz" homepage "https://brew.sh/" app "NewApp.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/everything.rb
Library/Homebrew/test/support/fixtures/cask/Casks/everything.rb
# Used to test cask hash generation. cask "everything" do version "1.2.3" language "en", default: true do sha256 "c64c05bdc0be845505d6e55e69e696a7f50d40846e76155f0c85d5ff5e7bbb84" "en-US" end language "eo" do sha256 "e8ffa07370a7fb7e1696b04c269e01d3459725965a32facdd54629a95d148908" "eo" end url "https://cachefly.everything.app/releases/Everything_#{version}.zip", user_agent: :fake, cookies: { "ALL" => "1234" } name "Everything" desc "Little bit of everything" homepage "https://www.everything.app/" auto_updates true conflicts_with cask: "nothing" depends_on cask: "something" container type: :naked rename "Foobar.app", "Foo.app" rename "Foo.app", "Bar.app" app "Everything.app" installer script: { executable: "~/just/another/path/install.sh", args: ["--mode=silent"], sudo: true, print_stderr: false, } uninstall launchctl: "com.every.thing.agent", signal: [ ["TERM", "com.every.thing.controller#{version.major}"], ["TERM", "com.every.thing.bin"], ], kext: "com.every.thing.driver", delete: "/Library/EverythingHelperTools" zap trash: [ "~/.everything", "~/Library/Everything", ] caveats "Installing everything might take a while..." end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb
cask "with-pkgutil-zap" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" zap launchctl: "my.fancy.package.service", kext: "my.fancy.package.kernelextension", pkgutil: "my.fancy.package.*" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb
cask "with-preflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" preflight do # do nothing end preflight do # do nothing end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb
cask "with-uninstall-preflight" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall_preflight do # do nothing end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb
cask "with-shellcompletion-long" do version "1.2.3" sha256 "957978d9b30adfda8e1f914ba8c8019e016545c8f7e16c6ab0234d189fac8146" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithShellCompletion.zip" homepage "https://brew.sh/with-autodetected-manpage-section" bash_completion "test.bash-completion" fish_completion "test.fish-completion" zsh_completion "test.zsh-completion" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb
cask "with-installable" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall quit: "my.fancy.package.app", login_item: "Fancy", script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"] }, delete: [ "#{TEST_TMPDIR}/absolute_path", "#{TEST_TMPDIR}/glob_path*", "/another/impermissible/../relative/path", "impermissible/relative/path", "~/path_with_tilde", ], rmdir: "#{TEST_TMPDIR}/empty_directory_path" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/osdn-urls.rb
Library/Homebrew/test/support/fixtures/cask/Casks/osdn-urls.rb
cask "osdn-urls" do version "1.2.3" url "https://user.dl.osdn.jp/something/id/Something-1.2.3.dmg" homepage "https://osdn.jp/projects/something/" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl-wildcard.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl-wildcard.rb
cask "with-zap-launchctl-wildcard" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/fancy" app "Fancy.app" zap launchctl: "my.fancy.package.service.*" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb
cask "with-autodetected-manpage-section" do version "1.2.3" sha256 "1f078d5fbbaf44b05d0389b14a15f6704e0e5f8f663bc38153a4d685e38baad5" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithManpage.zip" homepage "https://brew.sh/with-autodetected-manpage-section" manpage "manpage.1" manpage "gzpage.1.gz" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb
Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb
cask "generic-artifact-relative-target" do version "1.2.3" sha256 "d5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithBinary.zip" name "With Binary" desc "Cask with a binary stanza" homepage "https://brew.sh/with-binary" artifact "Caffeine.app", target: "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb
# frozen_string_literal: true cask "with-depends-on-macos-array" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-macos-array" # since all OS releases are included, this should always pass depends_on macos: [:catalina, MacOS.version.to_sym] app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb
Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb
cask "version-latest" do version :latest sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" name "Version Latest" desc "Unversioned cask" homepage "https://brew.sh/" app "Caffeine Mini.app" app "Caffeine Pro.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb
cask "with-depends-on-cask" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-cask" depends_on cask: "local-transmission-zip" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb
Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb
cask "naked-executable" do version "1.2.3" sha256 "306c6ca7407560340797866e077e053627ad409277d1b9da58106fce4cf717cb" url "file://#{TEST_FIXTURE_DIR}/cask/naked_executable" homepage "https://brew.sh/naked-executable" container type: :naked end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb
cask "with-alt-target" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app", target: "AnotherName.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb
cask "with-uninstall-login-item" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall login_item: "Fancy" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb
Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb
cask "adobe-air" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "https://brew.sh/TestCask-#{version}.dmg" name "Adobe AIR" desc "Cross-platform application runtime" homepage "https://brew.sh/" app "TestCask.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-arch.rb
Library/Homebrew/test/support/fixtures/cask/Casks/sha256-arch.rb
cask "sha256-arch" do arch arm: "arm", intel: "intel" version "1.2.3" sha256 arm: "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94", intel: "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine-#{arch}.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb
cask "with-uninstall-kext" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" uninstall kext: "my.fancy.package.kernelextension" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb
Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb
cask "bad-checksum2" do version "1.2.3" sha256 "badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb" url "file://#{TEST_FIXTURE_DIR}/cask/container.tar.gz" homepage "https://brew.sh/container-tar-gz" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb
cask "with-uninstall-delete" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" uninstall delete: [ "#{TEST_TMPDIR}/absolute_path", "#{TEST_TMPDIR}/glob_path*", "/another/impermissible/../relative/path", "impermissible/relative/path", "~/path_with_tilde", ] end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb
Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb
cask "missing-name" do version "1.2.3" url "https://localhost/something.dmg" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb
cask "with-embedded-binary" do version "1.2.3" sha256 "fe052d3e77d92676775fd916ddb8942e72a565b844ea7f6d055474c99bb4e47b" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithEmbeddedBinary.zip" homepage "https://brew.sh/with-binary" app "App.app" binary "#{appdir}/App.app/Contents/MacOS/App/binary" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb
cask "with-zap" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall quit: "my.fancy.package.app.from.uninstall" zap quit: "my.fancy.package.app", login_item: "Fancy", script: { executable: "MyFancyPkg/FancyUninstaller.tool", args: ["--please"], }, delete: "~/Library/Preferences/my.fancy.app.plist" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/multiple-versions.rb
Library/Homebrew/test/support/fixtures/cask/Casks/multiple-versions.rb
cask "multiple-versions" do arch arm: "arm", intel: "intel" platform = on_arch_conditional arm: "darwin-arm64", intel: "darwin" on_catalina :or_older do version "1.0.0" sha256 "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216" end on_big_sur do version "1.2.0" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" end on_monterey :or_newer do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" end url "file://#{TEST_FIXTURE_DIR}/cask/caffeine/#{platform}/#{version}/#{arch}.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb
cask "with-generic-artifact" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-generic-artifact" artifact "Caffeine.app", target: "#{appdir}/Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-user-relative.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-user-relative.rb
cask "with-uninstall-script-user-relative" do version "1.2.3" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/MyFancyApp" app "MyFancyApp/MyFancyApp.app", target: "~/MyFancyApp.app" postflight do File.write "#{Dir.home}/MyFancyApp.app/uninstall.sh", <<~SH #!/bin/sh /bin/rm -r "#{Dir.home}/MyFancyApp.app" SH end uninstall script: { executable: "~/MyFancyApp.app/uninstall.sh", sudo: false, sudo_as_root: false, } end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-livecheck.rb
Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-livecheck.rb
cask "hockeyapp-with-livecheck" do version "1.0,123" sha256 "a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9" url "https://rink.hockeyapp.net/api/2/apps/67503a7926431872c4b6c1549f5bd6b1/app_versions/#{version.csv.second}?format=zip" name "HockeyApp" homepage "https://www.brew.sh/" livecheck do url "https://rink.hockeyapp.net/api/2/apps/67503a7926431872c4b6c1549f5bd6b1" end app "HockeyApp.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb
cask "with-caveats" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" # simple string is evaluated at compile-time caveats <<~EOS Here are some things you might want to know. EOS # do block is evaluated at install-time caveats do "Cask token: #{token}" end # a do block may print and use a DSL caveats do puts "Custom text via puts followed by DSL-generated text:" path_environment_variable("/custom/path/bin") end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb
cask "with-depends-on-cask-cyclic-helper" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-cask-cyclic-helper" depends_on cask: "with-depends-on-cask-cyclic" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb
cask "with-zap-kext" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" zap kext: "my.fancy.package.kernelextension" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb
cask "container-dmg" do version "1.2.3" sha256 "74d89d4fa5cef175cf43666ce11fefa3741aa1522114042ac75e656be37141a1" url "file://#{TEST_FIXTURE_DIR}/cask/container.dmg" homepage "https://brew.sh/container-dmg" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb
cask "with-binary" do version "1.2.3" sha256 "d5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithBinary.zip" name "With Binary" desc "Cask with a binary stanza" homepage "https://brew.sh/with-binary" app "App.app" binary "binary" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb
cask "container-bzip2" do version "1.2.3" sha256 "eaf67b3a62cb9275f96e45d05c70b94bef9ef1dae344083e93eda6b0b388a61c" url "file://#{TEST_FIXTURE_DIR}/cask/container.bz2" homepage "https://brew.sh/container-bzip2" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb
cask "with-macosx-dir" do version "1.2.3" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/MyFancyApp" app "MyFancyApp/MyFancyApp.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb
Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb
cask "without-languages" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb
cask "with-auto-updates" do version "1.0" sha256 "e5be907a51cd0d5b128532284afe1c913608c584936a5e55d94c75a9f48c4322" url "https://brew.sh/autoupdates_#{version}.zip" name "AutoUpdates" homepage "https://brew.sh/autoupdates" auto_updates true app "AutoUpdates.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb
cask "with-zap-launchctl" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/fancy" app "Fancy.app" zap launchctl: "my.fancy.package.service" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false