Commit Graph
5 Commits
Author SHA1 Message Date
Mike McQuaid 204ea7e964 Make tests use public APIs and enable their cops
- Make every statically-poked method public and call it directly,
  keeping `public_send` only for dynamically-named public methods.
- Read and write state through public `attr_*` accessors instead of
  instance variable reflection.
- Enable `Homebrew/NoSendInTests` and
  `Homebrew/NoInstanceVariableAccessInTests` now the test suite is
  clean, so neither pattern creeps back in.
- Keep rare justified disables, e.g. `Module#remove_const` is
  private core Ruby and raw memoisation state has no accessor.
2026-07-27 08:11:46 +01:00
Patrick Linnane 28f7d94a53 Redact GitHub token in bump dry-run output
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-06-24 18:59:58 -07:00
botantony 0cdb79d665 bump: require "tap.rb"
Now this code fails with `uninitialized constant` error, see
https://github.com/Homebrew/brew/pull/22014#issuecomment-4244012844

Signed-off-by: botantony <antonsm21@gmail.com>
2026-04-14 15:03:50 +02:00
Mike McQuaidandGitHub 777a04cfec bump: remove T.must. 2026-04-14 08:37:24 +01:00
Bo Anderson 4765741ac7 Refactor GitHub.create_bump_pr 2026-04-14 05:32:36 +01:00