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/formula_support_spec.rb
Library/Homebrew/test/formula_support_spec.rb
require "formula_support" describe KegOnlyReason do describe "#to_s" do it "returns the reason provided" do r = described_class.new :provided_by_macos, "test" expect(r.to_s).to eq("test") end it "returns a default message when no reason is provided" do r = described_class.new :provided...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/missing_formula_spec.rb
Library/Homebrew/test/missing_formula_spec.rb
require "missing_formula" describe Homebrew::MissingFormula do describe "::reason" do subject { described_class.reason("gem") } it { is_expected.not_to be_nil } end describe "::blacklisted_reason" do matcher :be_blacklisted do match do |expected| described_class.blacklisted_reason(exp...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/messages_spec.rb
Library/Homebrew/test/messages_spec.rb
require "messages" require "spec_helper" describe Messages do let(:messages) { described_class.new } let(:test_formula) { formula("foo") { url("https://brew.sh/foo-0.1.tgz") } } let(:elapsed_time) { 1.1 } describe "#record_caveats" do it "adds a caveat" do expect { messages.record_caveats(te...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cleanup_spec.rb
Library/Homebrew/test/cleanup_spec.rb
require "test/support/fixtures/testball" require "cleanup" require "cask/cache" require "fileutils" using CleanupRefinement describe CleanupRefinement do describe "::prune?" do alias_matcher :be_pruned, :be_prune subject(:path) { HOMEBREW_CACHE/"foo" } before do path.mkpath end it "retu...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/formula_installer_spec.rb
Library/Homebrew/test/formula_installer_spec.rb
require "formula" require "formula_installer" require "keg" require "tab" require "test/support/fixtures/testball" require "test/support/fixtures/testball_bottle" require "test/support/fixtures/failball" describe FormulaInstaller do define_negated_matcher :need_bottle, :be_bottle_unneeded alias_matcher :have_disab...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/lazy_object_spec.rb
Library/Homebrew/test/lazy_object_spec.rb
require "lazy_object" describe LazyObject do describe "#initialize" do it "does not evaluate the block" do expect { |block| described_class.new(&block) }.not_to yield_control end end describe "when receiving a message" do it "evaluates the block" do expect(described_class.n...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/descriptions_spec.rb
Library/Homebrew/test/descriptions_spec.rb
require "descriptions" describe Descriptions do subject { described_class.new(descriptions_hash) } let(:descriptions_hash) { {} } it "can print description for a core Formula" do descriptions_hash["homebrew/core/foo"] = "Core foo" expect { subject.print }.to output("foo: Core foo\n").to_stdout 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/download_strategies_spec.rb
Library/Homebrew/test/download_strategies_spec.rb
require "download_strategy" describe AbstractDownloadStrategy do subject { described_class.new(url, name, version, **specs) } let(:specs) { {} } let(:name) { "foo" } let(:url) { "https://example.com/foo.tar.gz" } let(:version) { nil } let(:args) { %w[foo bar baz] } specify "#source_modified_time" 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/bash_spec.rb
Library/Homebrew/test/bash_spec.rb
require "open3" describe "Bash" do matcher :have_valid_bash_syntax do match do |file| stdout, stderr, status = Open3.capture3("/bin/bash", "-n", file) @actual = [file, stderr] stdout.empty? && status.success? end failure_message do |(file, stderr)| "expected that #{file} is a v...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/unpack_strategy_spec.rb
Library/Homebrew/test/unpack_strategy_spec.rb
describe UnpackStrategy do describe "#extract_nestedly" do subject(:strategy) { described_class.detect(path) } let(:unpack_dir) { mktmpdir } context "when extracting a GZIP nested in a BZIP2" do let(:file_name) { "file" } let(:path) { dir = mktmpdir (dir/"file").write "This ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/ARGV_spec.rb
Library/Homebrew/test/ARGV_spec.rb
require "extend/ARGV" describe HomebrewArgvExtension do subject { argv.extend(described_class) } let(:argv) { ["mxcl"] } describe "#formulae" do it "raises an error when a Formula is unavailable" do expect { subject.formulae }.to raise_error FormulaUnavailableError end context "when there ar...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/PATH_spec.rb
Library/Homebrew/test/PATH_spec.rb
require "PATH" describe PATH do describe "#initialize" do it "can take multiple arguments" do expect(described_class.new("/path1", "/path2")).to eq("/path1:/path2") end it "can parse a mix of arrays and arguments" do expect(described_class.new(["/path1", "/path2"], "/path3")).to eq("/path1:/...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/cache_store_spec.rb
Library/Homebrew/test/cache_store_spec.rb
require "cache_store" describe CacheStoreDatabase do subject { described_class.new(:sample) } describe "self.use" do let(:type) { :test } it "creates a new `DatabaseCache` instance" do cache_store = double("cache_store", close_if_open!: nil) expect(described_class).to receive(:new).with(type)...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/pkg_version_spec.rb
Library/Homebrew/test/pkg_version_spec.rb
require "pkg_version" describe PkgVersion do describe "::parse" do it "parses versions from a string" do expect(described_class.parse("1.0_1")).to eq(described_class.new(Version.create("1.0"), 1)) expect(described_class.parse("1.0_1")).to eq(described_class.new(Version.create("1.0"), 1)) 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/system_command_result_spec.rb
Library/Homebrew/test/system_command_result_spec.rb
require "system_command" describe SystemCommand::Result do subject(:result) { described_class.new([], output_array, instance_double(Process::Status, exitstatus: 0, success?: true)) } let(:output_array) { [ [:stdout, "output\n"], [:stderr, "error\n"], ] } describe "#to_ary" do it...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/dependency_expansion_spec.rb
Library/Homebrew/test/dependency_expansion_spec.rb
require "dependency" describe Dependency do def build_dep(name, tags = [], deps = []) dep = described_class.new(name.to_s, tags) allow(dep).to receive(:to_formula).and_return(double(deps: deps, name: name)) dep end let(:foo) { build_dep(:foo) } let(:bar) { build_dep(:bar) } let(:baz) { build_dep...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/java_requirement_spec.rb
Library/Homebrew/test/java_requirement_spec.rb
require "requirements/java_requirement" describe JavaRequirement do subject { described_class.new([]) } before do ENV["JAVA_HOME"] = nil end describe "#message" do its(:message) { is_expected.to match(/Java is required to install this formula./) } end describe "#inspect" do subject { describ...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/build_environment_spec.rb
Library/Homebrew/test/build_environment_spec.rb
require "build_environment" describe BuildEnvironment do alias_matcher :use_userpaths, :be_userpaths let(:env) { described_class.new } describe "#<<" do it "returns itself" do expect(env << :foo).to be env end end describe "#merge" do it "returns itself" do expect(env.merge([])).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/resource_spec.rb
Library/Homebrew/test/resource_spec.rb
require "resource" describe Resource do subject { described_class.new("test") } describe "#url" do it "sets the URL" do subject.url("foo") expect(subject.url).to eq("foo") end it "can set the URL with specifications" do subject.url("foo", branch: "master") expect(subject.url)....
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/checksum_verification_spec.rb
Library/Homebrew/test/checksum_verification_spec.rb
require "formula" describe Formula do def formula(&block) super do url "file://#{TEST_FIXTURE_DIR}/tarballs/testball-0.1.tbz" instance_eval(&block) end end describe "#brew" do it "does not raise an error when the checksum matches" do expect { f = formula do sha256...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/spec_helper.rb
Library/Homebrew/test/spec_helper.rb
if ENV["HOMEBREW_TESTS_COVERAGE"] require "simplecov" formatters = [SimpleCov::Formatter::HTMLFormatter] if ENV["HOMEBREW_COVERALLS_REPO_TOKEN"] require "coveralls" if !ENV["HOMEBREW_COLOR"] && (ENV["HOMEBREW_NO_COLOR"] || !$stdout.tty?) Coveralls::Output.no_color end formatters << Covera...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/formula_pin_spec.rb
Library/Homebrew/test/formula_pin_spec.rb
require "formula_pin" describe FormulaPin do subject { described_class.new(formula) } let(:name) { "double" } let(:formula) { double(Formula, name: name, rack: HOMEBREW_CELLAR/name) } before do formula.rack.mkpath allow(formula).to receive(:installed_prefixes) do formula.rack.directory? ? form...
ruby
BSD-2-Clause
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/sandbox_spec.rb
Library/Homebrew/test/sandbox_spec.rb
require "sandbox" describe Sandbox do define_negated_matcher :not_matching, :matching let(:dir) { mktmpdir } let(:file) { dir/"foo" } before do skip "Sandbox not implemented." unless described_class.available? end specify "#formula?" do f = formula { url "foo-1.0" } expect(described_class).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/options_spec.rb
Library/Homebrew/test/options_spec.rb
require "options" describe Option do subject { described_class.new("foo") } specify "#to_s" do expect(subject.to_s).to eq("--foo") end specify "equality" do foo = described_class.new("foo") bar = described_class.new("bar") expect(subject).to eq(foo) expect(subject).not_to eq(bar) expe...
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/no_seed_progress_formatter.rb
Library/Homebrew/test/support/no_seed_progress_formatter.rb
require "rspec/core/formatters/progress_formatter" class NoSeedProgressFormatter < RSpec::Core::Formatters::ProgressFormatter RSpec::Core::Formatters.register self, :seed def seed(notification); 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/failball.rb
Library/Homebrew/test/support/fixtures/failball.rb
class Failball < Formula def initialize(name = "failball", path = Pathname.new(__FILE__).expand_path, spec = :stable, alias_path: nil) self.class.instance_eval do stable.url "file://#{TEST_FIXTURE_DIR}/tarballs/testball-0.1.tbz" stable.sha256 TESTBALL_SHA256 end super end def install ...
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/testball_bottle.rb
Library/Homebrew/test/support/fixtures/testball_bottle.rb
class TestballBottle < Formula def initialize(name = "testball_bottle", path = Pathname.new(__FILE__).expand_path, spec = :stable, alias_path: nil) self.class.instance_eval do stable.url "file://#{TEST_FIXTURE_DIR}/tarballs/testball-0.1.tbz" stable.sha256 TESTBALL_SHA256 stable.bottle 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/testball.rb
Library/Homebrew/test/support/fixtures/testball.rb
class Testball < Formula def initialize(name = "testball", path = Pathname.new(__FILE__).expand_path, spec = :stable, alias_path: nil) self.class.instance_eval do stable.url "file://#{TEST_FIXTURE_DIR}/tarballs/testball-0.1.tbz" stable.sha256 TESTBALL_SHA256 end super end def install ...
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/auto-updates.rb
Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb
cask 'auto-updates' do version '2.61' 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/will-fail-if-upgraded.rb
Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb
cask 'will-fail-if-upgraded' do version '1.2.3' sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" homepage 'https://brew.sh' 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/pkg-without-uninstall.rb
Library/Homebrew/test/support/fixtures/cask/Casks/pkg-without-uninstall.rb
cask 'pkg-without-uninstall' do version '1.2.3' sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b' url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage 'https://brew.sh/fancy-pkg' pkg 'Fancy.pkg' 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/test-opera-mail.rb
Library/Homebrew/test/support/fixtures/cask/Casks/test-opera-mail.rb
cask 'test-opera-mail' do version '1.0' sha256 'afd192e308f8ea8ddb3d426fd6663d97078570417ee78b8e1fa15f515ae3d677' url 'https://get-ash-1.opera.com/pub/opera/mail/1.0/mac/Opera-Mail-1.0-1040.i386.dmg' homepage 'https://www.opera.com/computer/mail' app 'Opera Mail.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-homepage.rb
Library/Homebrew/test/support/fixtures/cask/Casks/missing-homepage.rb
cask 'missing-homepage' 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-uninstall-postflight.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight.rb
cask 'with-uninstall-postflight' 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 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-postflight.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight.rb
cask 'with-postflight' 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 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/appdir-interpolation.rb
Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb
cask 'appdir-interpolation' do version '2.61' sha256 'e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68' url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" homepage 'https://brew.sh/appdir-interpolation' binary "#{appdir}/some/path" 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-string.rb
Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-string.rb
cask 'version-latest-string' do version 'latest' sha256 :no_check 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-multiple.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb
cask 'with-depends-on-cask-multiple' do version '1.2.3' sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage 'https://brew.sh/with-depends-on-cask-multiple' depends_on cask: 'local-caffeine' depends_on cask: 'local-transmissi...
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/github-without-appcast.rb
Library/Homebrew/test/support/fixtures/cask/Casks/github-without-appcast.rb
cask 'github-without-appcast' do version '1.0' sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9' url "https://github.com/user/project/releases/download/#{version}/github.pkg" name 'github' homepage 'https://github.com/user/project' pkg 'github.pkg' uninstall pkgutil: 'com.github...
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-installer-manual.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb
cask 'with-installer-manual' do version '1.2.3' sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage 'https://brew.sh' installer manual: '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-sha256.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid-sha256.rb
cask 'invalid-sha256' do version '1.2.3' sha256 'not a valid shasum' 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-xar.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-xar.rb
cask 'container-xar' do version '1.2.3' sha256 '5bb8e09a6fc630ebeaf266b1fd2d15e2ae7d32d7e4da6668a8093426fa1ba509' url "file://#{TEST_FIXTURE_DIR}/cask/container.xar" homepage 'https://brew.sh/container-xar' 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/container-tar-gz.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-tar-gz.rb
cask 'container-tar-gz' do version '1.2.3' 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/with-depends-on-macos-symbol.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb
cask 'with-depends-on-macos-symbol' do version '1.2.3' sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage 'https://brew.sh/with-depends-on-macos-symbol' depends_on macos: MacOS.version.to_sym 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/sha256-for-empty-string.rb
Library/Homebrew/test/support/fixtures/cask/Casks/sha256-for-empty-string.rb
cask 'sha256-for-empty-string' do version '1.2.3' sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' 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-checksum.rb
Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb
cask 'missing-checksum' do version '1.2.3' 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-launchctl.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb
cask 'with-uninstall-launchctl' do version '1.2.3' sha256 '8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b' url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage 'https://brew.sh/fancy' app 'Fancy.app' uninstall 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-uninstall-early-script.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb
cask 'with-uninstall-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' uninstall early_script: { executable: 'MyFancyPkg/FancyUnins...
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-transmission.rb
Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb
cask 'local-transmission' do name 'Transmission' version '2.61' 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/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
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.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 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/hockeyapp-with-appcast.rb
Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-appcast.rb
cask 'hockeyapp-with-appcast' do version '1.0,123' sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9' # rink.hockeyapp.net/api/2/apps/67503a7926431872c4b6c1549f5bd6b1 was verified as official when first introduced to the cask url "https://rink.hockeyapp.net/api/2/apps/67503a7926431872c4b...
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-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
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-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 conditio...
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-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
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-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'...
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-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", '~/pa...
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-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 alterna...
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-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
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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.dmg' homepage 'https://brew.sh/' app 'TestCask.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-incorrect-url-format.rb
Library/Homebrew/test/support/fixtures/cask/Casks/osdn-incorrect-url-format.rb
cask 'osdn-incorrect-url-format' do version '1.2.3' url 'https://osdn.jp/projects/something/files/Something-1.2.3.dmg/download' 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-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 app 'Caffeine....
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/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
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-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 'd5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2' url "file://#{TEST_FIXTURE_DIR}/cask/naked_non_executable" homepage 'https://brew.sh/with-binary' binary "naked_non_executable" 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/hockeyapp-without-appcast.rb
Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-without-appcast.rb
cask 'hockeyapp-without-appcast' do version '1.0,123' sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9' # rink.hockeyapp.net/api/2/apps/67503a7926431872c4b6c1549f5bd6b1 was verified as official when first introduced to the cask url "https://rink.hockeyapp.net/api/2/apps/67503a7926431872...
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-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
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-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
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-string.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-string.rb
cask 'with-depends-on-macos-string' do version '1.2.3' sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94' url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage 'https://brew.sh/with-depends-on-macos-string' depends_on macos: MacOS.version.to_s 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-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", '~/path_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/devmate-with-appcast.rb
Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-appcast.rb
cask 'devmate-with-appcast' do version '1.0' sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9' # dl.devmate.com/com.my.fancyapp was verified as official when first introduced to the cask url "https://dl.devmate.com/com.my.fancyapp/app_#{version}.zip" appcast 'https://updates.devmate.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/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" homepage 'https://brew.sh/latest-with-auto-updates' auto_updates 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/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
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-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
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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
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-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 IO.write "#{appdir}/MyFancyApp.app/uni...
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/devmate-without-appcast.rb
Library/Homebrew/test/support/fixtures/cask/Casks/devmate-without-appcast.rb
cask 'devmate-without-appcast' do version '1.0' sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9' # dl.devmate.com/com.my.fancyapp was verified as official when first introduced to the cask url "https://dl.devmate.com/com.my.fancyapp/app_#{version}.zip" name 'DevMate' homepage 'http...
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-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
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-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
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-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", ...
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-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_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/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' ...
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-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
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-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
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-comparison.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb
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: '>= 10.5' 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-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
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-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 end postflight 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/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
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/Library/Homebrew/test/support/fixtures/cask/Casks/github-with-appcast.rb
Library/Homebrew/test/support/fixtures/cask/Casks/github-with-appcast.rb
cask 'github-with-appcast' do version '1.0' sha256 'a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9' url "https://github.com/user/project/releases/download/#{version}/github.pkg" appcast 'https://github.com/user/project/releases.atom' name 'github' homepage 'https://github.com/user/project...
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/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
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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.dmg' homepage 'https://brew.sh/' app 'TestCask.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-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' => ...
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-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
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-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'...
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-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
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-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 end uninstall_preflight 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-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...
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-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
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-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
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false
Linuxbrew/brew
https://github.com/Linuxbrew/brew/blob/93389fde63974f096156344e281610acec44130c/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
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-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
93389fde63974f096156344e281610acec44130c
2026-01-04T15:53:38.399858Z
false