Skip to content

Manual formula update for release 0.1.4#1

Merged
pthurlow merged 1 commit intomainfrom
v0.1.4-release
Mar 17, 2026
Merged

Manual formula update for release 0.1.4#1
pthurlow merged 1 commit intomainfrom
v0.1.4-release

Conversation

@pthurlow
Copy link
Collaborator

No description provided.

}.freeze
"x86_64-apple-darwin": {},
"x86_64-unknown-linux-gnu": {}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: .freeze was removed from this constant. Freezing constants prevents accidental mutation at runtime — worth restoring.

Suggested change
}
}.freeze

Comment on lines +49 to +60
if OS.mac? && Hardware::CPU.arm?
bin.install "hotdata"
end
if OS.mac? && Hardware::CPU.intel?
bin.install "hotdata"
end
if OS.linux? && Hardware::CPU.arm?
bin.install "hotdata"
end
if OS.linux? && Hardware::CPU.intel?
bin.install "hotdata"
end
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All four branches do the same thing. Since every supported OS/CPU combination installs the same binary, these can be collapsed to a single unconditional call:

Suggested change
if OS.mac? && Hardware::CPU.arm?
bin.install "hotdata"
end
if OS.mac? && Hardware::CPU.intel?
bin.install "hotdata"
end
if OS.linux? && Hardware::CPU.arm?
bin.install "hotdata"
end
if OS.linux? && Hardware::CPU.intel?
bin.install "hotdata"
end
bin.install "hotdata"

@pthurlow pthurlow merged commit 4331a89 into main Mar 17, 2026
1 check passed
@pthurlow pthurlow deleted the v0.1.4-release branch March 17, 2026 21:42
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