Skip to content

fix(stint): modernize depends_on macos + brew style cleanup - #16

Merged
mariomeyer merged 1 commit into
mainfrom
fix/depends-on-macos-deprecation
Jun 17, 2026
Merged

fix(stint): modernize depends_on macos + brew style cleanup#16
mariomeyer merged 1 commit into
mainfrom
fix/depends-on-macos-deprecation

Conversation

@mariomeyer

Copy link
Copy Markdown
Member

Why

brew outdated, brew upgrade, and friends emit a deprecation warning on every run:

Calling string comparison format for depends_on macos: is deprecated! Use depends_on macos: :ventura instead.

Homebrew deprecated the string-comparison form. The bare symbol carries the same "this version or newer" minimum-version semantics.

Change

  • depends_on macos: ">= :ventura"depends_on macos: :ventura
  • Folded in brew style --fix autocorrections in the same file (cosmetic, no behavior change):
    • uninstall methods alphabetized (launchctl before quit)
    • zap trash array sorted alphabetically

Verification

$ brew style Casks/stint.rb
1 file inspected, no offenses detected

🤖 Generated with Claude Code

Homebrew deprecated the string-comparison form of depends_on macos.
`depends_on macos: ">= :ventura"` now warns on every brew invocation
(outdated, upgrade, etc). The bare symbol form carries the same
"this version or newer" semantics, so:

  depends_on macos: ">= :ventura"  →  depends_on macos: :ventura

Also applied `brew style --fix` autocorrections in the same file
(purely cosmetic, no behavior change):
  - uninstall methods ordered alphabetically (launchctl before quit)
  - zap trash array sorted alphabetically

`brew style Casks/stint.rb` now reports no offenses.
@mariomeyer
mariomeyer merged commit 503a6b8 into main Jun 17, 2026
1 check passed
@mariomeyer
mariomeyer deleted the fix/depends-on-macos-deprecation branch June 17, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant