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 |
|---|---|---|---|---|---|---|---|---|
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-x11-false.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-x11-false.rb | cask 'with-depends-on-x11-false' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/with-depends-on-x11-false'
depends_on x11: false
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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://localhost/something.dmg'
homepage 'https://brew.sh'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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: %w[-... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-x11.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-x11.rb | cask 'with-depends-on-x11' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/with-depends-on-x11'
depends_on x11: true
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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
end
uninstall_postflight do... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 pkgutil: 'my.fancy.package.*',
kext: 'my.fancy.package.kernelexte... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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
end
preflight do
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 script: { executable: 'MyFancyPkg/FancyUninstaller.tool',... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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
artifact 'Caffeine.app', target: 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/osdn-correct-url-format.rb | Library/Homebrew/test/support/fixtures/cask/Casks/osdn-correct-url-format.rb | cask 'osdn-correct-url-format' 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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 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... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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"
homepage 'https://brew.sh'
app 'Caffeine Mini.app'
app 'Caffeine Pro.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-appcast.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-appcast.rb | cask 'with-appcast' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 'https://brew.sh/appcast.xml'
homepage 'https://brew.sh/with-appcast'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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",
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-appcast.rb | Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-appcast.rb | cask 'latest-with-appcast' do
version :latest
sha256 :no_check
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 'https://brew.sh/appcast.xml'
homepage 'https://brew.sh/with-appcast'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 script: {
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 migh... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 'Caffe... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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"
homepage 'https://brew.sh/with-binary'
app 'App.app'
binary 'binary'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb | cask 'with-allow-untrusted' do
version '1.2.3'
sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b'
url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip"
homepage 'https://brew.sh/fancy-pkg'
pkg 'Fancy.pkg', allow_untrusted: true
uninstall pkgutil: 'my.fancy.package.*'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb | cask 'with-depends-on-macos-failure' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/with-depends-on-macos-failure'
# guarantee a mismatched release
depends_on macos: MacOS.version.to_... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb | cask 'with-zap-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'
zap pkgutil: 'my.fancy.package.*'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb | cask 'with-depends-on-cask-cyclic' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/with-depends-on-cask-cyclic'
depends_on cask: 'local-caffeine'
depends_on cask: 'with-depends-on-cask... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/booby-trap.rb | Library/Homebrew/test/support/fixtures/cask/Casks/booby-trap.rb | cask 'booby-trap' do
version '0.0.7'
url do
# to be lazily evaluated
fail 'Boom'
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-appcast.rb | Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-appcast.rb | cask 'sourceforge-with-appcast' do
version '1.2.3'
url 'https://downloads.sourceforge.net/something/Something-1.2.3.dmg'
appcast 'https://sourceforge.net/projects/something/rss'
homepage 'https://sourceforge.net/projects/something/'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb | Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb | cask 'container-7z' do
version '1.2.3'
sha256 '3f9542ace85ed5f88549e2d0ea82210f8ddc87e0defbb78469d3aed719b3c964'
url "file://#{TEST_FIXTURE_DIR}/cask/container.7z"
homepage 'https://brew.sh/container-7z'
depends_on formula: 'unar'
app 'container'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb | Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb | cask 'version-latest-with-checksum' do
version :latest
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb | cask 'with-two-apps-correct' do
version '1.2.3'
sha256 '3178fbfd1ea5d87a2a0662a4eb599ebc9a03888e73f37538d9f3f6ee69d2368e'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip"
homepage 'https://brew.sh'
app 'Caffeine Mini.app'
app 'Caffeine Pro.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb | cask 'with-zap-signal' 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 signal: [
['TERM', 'my.fancy.package.app'],
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb | Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb | cask 'local-caffeine' 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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb | Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb | cask 'with-uninstall-signal' 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 signal: [
['TERM', 'my.fancy.packa... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb | cask 'invalid-depends-on-macos-bad-release' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/invalid-depends-on-macos-bad-release'
depends_on macos: :no_such_release
app 'Caffeine.app'... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb | cask 'invalid-depends-on-macos-conflicting-forms' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/invalid-depends-on-macos-conflicting-forms'
depends_on macos: :yosemite
depends_on mac... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-appcast-url.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-appcast-url.rb | cask 'invalid-appcast-url' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 1
homepage 'https://brew.sh/invalid-appcast-url'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb | cask 'invalid-two-homepage' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh'
homepage 'https://www.brew.sh/local-caffeine'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb | cask 'invalid-header-version' 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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb | cask 'invalid-stage-only-conflict' do
version '2.61'
sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68'
url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg"
homepage 'https://brew.sh/invalid-stage-only-conflict'
app 'Transmission.app'
stage_only true
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb | cask 'invalid-two-url' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
url 'https://brew.sh/caffeine.zip'
homepage 'https://brew.sh'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb | cask 'invalid-generic-artifact-no-target' 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'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb | cask 'invalid-header-token-mismatch-this-text-does-not-belong' 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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-x11-value.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-x11-value.rb | cask 'invalid-depends-on-x11-value' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/invalid-depends-on-x11-value'
depends_on x11: :no_such_value
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb | cask 'invalid-depends-on-arch-value' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/invalid-depends-on-arch-value'
depends_on arch: :no_such_arch
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb | cask => 'invalid-header-format' 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 | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb | cask 'invalid-conflicts-with-key' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/invalid-conflicts-with-key'
conflicts_with no_such_key: 'unar'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb | cask 'invalid-depends-on-key' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh/invalid-depends-on-key'
depends_on no_such_key: 'unar'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-appcast-multiple.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-appcast-multiple.rb | cask 'invalid-appcast-multiple' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
appcast 'https://brew.sh/appcast1.xml'
appcast 'https://brew.sh/appcast2.xml'
homepage 'https://brew.sh/invalid-appcast-multiple'
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb | Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb | cask 'invalid-two-version' do
version '1.2.3'
version '2.0'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb | Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb | cask 'auto-updates' do
version '2.57'
sha256 '5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d'
url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip"
homepage 'https://brew.sh/MyFancyApp'
auto_updates true
app 'MyFancyApp/MyFancyApp.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb | Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb | cask 'will-fail-if-upgraded' do
version '1.2.2'
sha256 'fab685fabf73d5a9382581ce8698fce9408f5feaa49fa10d9bc6c510493300f5'
url "file://#{TEST_FIXTURE_DIR}/cask/container.tar.gz"
homepage 'https://brew.sh/container-tar-gz'
app 'container'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb | Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb | cask 'local-transmission' do
version '2.60'
sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68'
url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg"
homepage 'https://brew.sh'
app 'Transmission.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb | Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb | cask 'bad-checksum' do
version '1.2.2'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb | Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb | cask 'version-latest' do
version :latest
sha256 :no_check
url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip"
homepage 'https://brew.sh'
app 'Caffeine Mini.app'
app 'Caffeine Pro.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb | Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb | cask 'local-caffeine' do
version '1.2.2'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://brew.sh'
app 'Caffeine.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb | Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb | cask 'third-party-cask' do
version '1.2.3'
sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b'
url 'https://brew.sh/ThirdParty.dmg'
homepage 'https://brew.sh/'
app 'ThirdParty.app'
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/fixtures.rb | Library/Homebrew/test/support/helper/fixtures.rb | module Test
module Helper
module Fixtures
def dylib_path(name)
Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.dylib")
end
def bundle_path(name)
Pathname.new("#{TEST_FIXTURE_DIR}/mach/#{name}.bundle")
end
def cask_path(name)
Pathname.new("#{TEST_FIXTURE_DIR}/... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/mktmpdir.rb | Library/Homebrew/test/support/helper/mktmpdir.rb | module Test
module Helper
module MkTmpDir
def mktmpdir(prefix_suffix = nil)
new_dir = Pathname.new(Dir.mktmpdir(prefix_suffix, HOMEBREW_TEMP))
return yield new_dir if block_given?
new_dir
end
end
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/integration_mocks.rb | Library/Homebrew/test/support/helper/integration_mocks.rb | module Homebrew
module Diagnostic
class Checks
def check_integration_test
"This is an integration test" if ENV["HOMEBREW_INTEGRATION_TEST"]
end
end
end
def exec(*args)
if ENV["HOMEBREW_TESTS_COVERAGE"] && ENV["HOMEBREW_INTEGRATION_TEST"]
# Ensure we get coverage results befo... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/output_as_tty.rb | Library/Homebrew/test/support/helper/output_as_tty.rb | require "delegate"
module Test
module Helper
module OutputAsTTY
# This is a custom wrapper for the `output` matcher,
# used for testing output to a TTY:
#
# expect {
# print "test" if $stdout.tty?
# }.to output("test").to_stdout.as_tty
#
# expect {
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/formula.rb | Library/Homebrew/test/support/helper/formula.rb | require "formulary"
module Test
module Helper
module Formula
def formula(name = "formula_name", path: Formulary.core_path(name), spec: :stable, alias_path: nil, &block)
Class.new(::Formula, &block).new(name, path, spec, alias_path: alias_path)
end
# Use a stubbed {Formulary::FormulaLoa... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/cask/install_helper.rb | Library/Homebrew/test/support/helper/cask/install_helper.rb | module InstallHelper
module_function
def self.install_without_artifacts(cask)
Cask::Installer.new(cask).tap do |i|
i.download
i.extract_primary_container
end
end
def self.install_without_artifacts_with_caskfile(cask)
Cask::Installer.new(cask).tap do |i|
i.download
i.extract... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/cask/fake_system_command.rb | Library/Homebrew/test/support/helper/cask/fake_system_command.rb | def sudo(*args)
["/usr/bin/sudo", "-E", "--"] + args.flatten
end
class FakeSystemCommand
def self.responses
@responses ||= {}
end
def self.expectations
@expectations ||= {}
end
def self.system_calls
@system_calls ||= Hash.new(0)
end
def self.clear
@responses = nil
@expectation... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb | Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb | require "system_command"
class NeverSudoSystemCommand < SystemCommand
def self.run(command, options = {})
super(command, options.merge(sudo: false))
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb | Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb | require "open3"
RSpec::Matchers.define_negated_matcher :be_a_failure, :be_a_success
RSpec.shared_context "integration test" do
extend RSpec::Matchers::DSL
matcher :be_a_success do
match do |actual|
status = actual.is_a?(Proc) ? actual.call : actual
status.respond_to?(:success?) && status.success?... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb | Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb | require "cask/all"
require "test/support/helper/cask/fake_system_command"
require "test/support/helper/cask/install_helper"
require "test/support/helper/cask/never_sudo_system_command"
HOMEBREW_CASK_DIRS = {
appdir: Pathname.new(TEST_TMPDIR).join("cask-appdir"),
prefpanedir: Pathname.new(TEST_TMPDIR).join("c... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/lib/config.rb | Library/Homebrew/test/support/lib/config.rb | unless ENV["HOMEBREW_BREW_FILE"]
raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!"
end
require "pathname"
HOMEBREW_BREW_FILE = Pathname.new(ENV["HOMEBREW_BREW_FILE"])
TEST_TMPDIR = ENV.fetch("HOMEBREW_TEST_TMPDIR") do |k|
dir = Dir.mktmpdir("homebrew-tests-", ENV["HOMEBREW_TEMP"] || "/t... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/search_spec.rb | Library/Homebrew/test/cmd/search_spec.rb | require "cmd/search"
describe "brew search", :integration_test do
before do
setup_test_formula "testball"
end
it "lists all available Formulae when no argument is given" do
expect { brew "search" }
.to output(/testball/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/--cache_spec.rb | Library/Homebrew/test/cmd/--cache_spec.rb | describe "brew --cache", :integration_test do
it "print the location of Homebrew's cache when no argument is given" do
expect { brew "--cache" }
.to output("#{HOMEBREW_CACHE}\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
it "prints all cache files for a given Formula" do
... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/desc_spec.rb | Library/Homebrew/test/cmd/desc_spec.rb | describe "brew desc", :integration_test do
it "shows a given Formula's description" do
setup_test_formula "testball"
expect { brew "desc", "testball" }
.to output("testball: Some test\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/pin_spec.rb | Library/Homebrew/test/cmd/pin_spec.rb | describe "brew pin", :integration_test do
it "pins a Formula's version" do
setup_test_formula "testball"
(HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath
expect { brew "pin", "testball" }.to be_a_success
expect { brew "upgrade" }.to be_a_failure
expect(HOMEBREW_CELLAR/"testball/0.1").not_to be_a_di... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/unpin_spec.rb | Library/Homebrew/test/cmd/unpin_spec.rb | describe "brew unpin", :integration_test do
it "unpins a Formula's version" do
setup_test_formula "testball"
(HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath
expect { brew "pin", "testball" }.to be_a_success
expect { brew "unpin", "testball" }.to be_a_success
expect { brew "upgrade" }.to be_a_succes... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/doctor_spec.rb | Library/Homebrew/test/cmd/doctor_spec.rb | describe "brew doctor", :integration_test do
specify "check_integration_test" do
expect { brew "doctor", "check_integration_test" }
.to output(/This is an integration test/).to_stderr
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/install_spec.rb | Library/Homebrew/test/cmd/install_spec.rb | describe "brew install", :integration_test do
it "installs Formulae" do
setup_test_formula "testball1"
expect { brew "install", "testball1" }
.to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}).to_stdout
.and not_to_output.to_stderr
.and be_a_success
expect { brew "install", "testball1" ... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/bundle_spec.rb | Library/Homebrew/test/cmd/bundle_spec.rb | describe "brew bundle", :integration_test, :needs_test_cmd_taps do
describe "check" do
it "checks if a Brewfile's dependencies are satisfied", :needs_network do
setup_remote_tap "homebrew/bundle"
HOMEBREW_REPOSITORY.cd do
system "git", "init"
system "git", "commit", "--allow-empty", "... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/--version_spec.rb | Library/Homebrew/test/cmd/--version_spec.rb | describe "brew --version", :integration_test do
it "prints the Homebrew version" do
expect { brew "--version" }
.to output(/^Homebrew #{Regexp.escape(HOMEBREW_VERSION)}\n/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/style_spec.rb | Library/Homebrew/test/cmd/style_spec.rb | require "cmd/style"
describe "brew style" do
around do |example|
begin
FileUtils.ln_s HOMEBREW_LIBRARY_PATH, HOMEBREW_LIBRARY/"Homebrew"
FileUtils.ln_s HOMEBREW_LIBRARY_PATH.parent/".rubocop.yml", HOMEBREW_LIBRARY/".rubocop_audit.yml"
FileUtils.ln_s HOMEBREW_LIBRARY_PATH.parent/".rubocop_shared... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/--repository_spec.rb | Library/Homebrew/test/cmd/--repository_spec.rb | describe "brew --repository", :integration_test do
it "prints the path of the Homebrew repository" do
expect { brew "--repository" }
.to output("#{HOMEBREW_REPOSITORY}\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
it "prints the path of a given Tap" do
expect { brew "... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/sh_spec.rb | Library/Homebrew/test/cmd/sh_spec.rb | describe "brew sh", :integration_test do
it "runs a shell with the Homebrew environment" do
expect { brew "sh", "SHELL" => which("true") }
.to output(/Your shell has been configured/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/irb_spec.rb | Library/Homebrew/test/cmd/irb_spec.rb | describe "brew irb", :integration_test do
it "starts an interactive Homebrew shell session" do
setup_test_formula "testball"
irb_test = HOMEBREW_TEMP/"irb-test.rb"
irb_test.write <<~RUBY
"testball".f
:testball.f
exit
RUBY
expect { brew "irb", irb_test }
.to output(/Intera... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/--prefix_spec.rb | Library/Homebrew/test/cmd/--prefix_spec.rb | describe "brew --prefix", :integration_test do
it "prints the Homebrew prefix when no argument is given" do
expect { brew "--prefix" }
.to output("#{HOMEBREW_PREFIX}\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
it "prints a given Formula's prefix" do
expect { brew "-... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/cask_spec.rb | Library/Homebrew/test/cmd/cask_spec.rb | describe "brew cask", :integration_test, :needs_macos, :needs_network do
describe "list" do
it "returns a list of installed Casks" do
setup_remote_tap "homebrew/cask"
expect { brew "cask", "list" }.to be_a_success
end
end
end
| ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Linuxbrew/brew | https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cmd/migrate_spec.rb | Library/Homebrew/test/cmd/migrate_spec.rb | describe "brew migrate", :integration_test do
before do
setup_test_formula "testball1"
setup_test_formula "testball2"
end
it "migrates a renamed Formula" do
install_and_rename_coretap_formula "testball1", "testball2"
expect { brew "migrate", "testball1" }
.to output(/Processing testball1 f... | ruby | BSD-2-Clause | 93389fde63974f096156344e281610acec44130c | 2026-01-04T15:53:38.399858Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.