StandardRB

This commit is contained in:
2024-02-21 21:48:44 +11:00
parent 0a14ae1204
commit 6f663722ab
37 changed files with 43 additions and 41 deletions

View File

@@ -9,7 +9,7 @@ module Adamantium
youtube.com
bsky.app
bsky.social
github.com]
github.com].freeze
def call(content)
links = URI::DEFAULT_PARSER.extract(content)

View File

@@ -8,7 +8,7 @@ module Adamantium
return cached_content if cached_content
rendered_content = content_proc.()
rendered_content = content_proc.call
data = JSON.generate(expire: expiry.to_i, content: rendered_content)