refactor: Move top level constants to it's own modules

This commit is contained in:
Fijxu
2026-01-16 16:01:57 -03:00
committed by Émilien (perso)
parent ffd9f4b112
commit 067a426235
7 changed files with 34 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
require "./macros"
TEST_IDS = {"AgbeGFYluEA", "BaW_jenozKc", "a9LDPn-MO4I", "ddFvjfvPnqk", "iqKdEhx-dD4"}
struct Nonce
include DB::Serializable

View File

@@ -1,3 +1,5 @@
PUBSUB_URL = URI.parse("https://pubsubhubbub.appspot.com")
# See http://www.evanmiller.org/how-not-to-sort-by-average-rating.html
def ci_lower_bound(pos, n)
if n == 0