Loading
style(rate_limit): fix rubocop offenses from cost-aware-incr branch
The 12 offenses split into three groups: - Idiomatic spec cleanups (Style/RedundantException, Style/RedundantConstantBase, Style/Semicolon, RSpec/ReceiveMessages) — pure refactors, no behavior change. - INCR_SCRIPT heredoc .freeze was redundant under frozen_string_literal: true (Style/RedundantFreeze). - INCR_SCRIPT_SHA disables Fips/SHA1 inline: SHA1 is mandated by Redis EVALSHA, not a discretionary hash choice. A targeted disable is more local than adding the file to .rubocop_todo.yml. - test_redis.rb Time.now -> Time.now.utc satisfies Rails/TimeZone without reintroducing the ActiveSupport::TimeWithZone dependency that a51a33d4 removed. Co-Authored-By:Claude Opus 4.7 (1M context) <noreply@anthropic.com>