2 Commits

Author SHA1 Message Date
fauno 9d00fd4126 v0.7.2 2025-11-16 13:12:12 -03:00
fauno e1f899684a fix: prevent build failure 2025-11-16 13:11:44 -03:00
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: "access_log"
version: "0.7.1"
version: "0.7.2"
authors:
- "f <f@sutty.nl>"
targets:
+5 -5
View File
@@ -14,7 +14,7 @@ require "./swd"
require "./asn"
require "./presence"
VERSION = "0.7.1"
VERSION = "0.7.2"
Log.setup_from_env
@@ -125,11 +125,11 @@ query = "insert into access_logs (#{fields.join(",")}) values (#{params.join(","
# regex.
if crawler
crawler_re = Regex.union(crawlers.map { |c| c.pattern })
end
if ai_bots
ai_bot_re = Regex.union(ai_bots.keys)
crawler_re = Regex.union(crawler_re, ai_bot_re)
if ai_bots
ai_bot_re = Regex.union(ai_bots.keys)
crawler_re = Regex.union(crawler_re, ai_bot_re)
end
end
def remove_socket!(socket)