gems: add pg, sequel, prawn, aws-sdk-s3 for invoicing

- pg + sequel: connect to the storage stack's Postgres.
- prawn + prawn-table: render invoice PDFs.
- aws-sdk-s3: upload PDFs to MinIO and mint presigned download URLs.

Also pulls libpq-dev into the Docker build (for the pg gem) and the
postgresql client lib into the Nix dev shell.
This commit is contained in:
Sergei Poljanski 2026-05-26 17:29:21 +03:00
commit 2ea46b12e6
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
4 changed files with 54 additions and 0 deletions

View file

@ -1,7 +1,27 @@
GEM
remote: https://rubygems.org/
specs:
aws-eventstream (1.4.0)
aws-partitions (1.1253.0)
aws-sdk-core (3.249.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
base64
bigdecimal
jmespath (~> 1, >= 1.6.1)
logger
aws-sdk-kms (1.128.0)
aws-sdk-core (~> 3, >= 3.248.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.224.0)
aws-sdk-core (~> 3, >= 3.248.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.12.1)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.3.0)
bigdecimal (3.3.1)
date (3.5.1)
dotenv (3.2.0)
erubi (1.13.1)
@ -16,6 +36,7 @@ GEM
ffi (1.17.4-x86_64-darwin)
ffi (1.17.4-x86_64-linux-gnu)
ffi (1.17.4-x86_64-linux-musl)
jmespath (1.6.2)
listen (3.10.0)
logger
rb-fsevent (~> 0.10, >= 0.10.3)
@ -27,6 +48,7 @@ GEM
net-imap
net-pop
net-smtp
matrix (0.4.3)
mini_mime (1.1.5)
multi_json (1.21.1)
mustermann (3.1.1)
@ -40,6 +62,20 @@ GEM
net-smtp (0.5.1)
net-protocol
nio4r (2.7.5)
pdf-core (0.10.0)
pg (1.6.3)
pg (1.6.3-aarch64-linux)
pg (1.6.3-aarch64-linux-musl)
pg (1.6.3-arm64-darwin)
pg (1.6.3-x86_64-darwin)
pg (1.6.3-x86_64-linux)
pg (1.6.3-x86_64-linux-musl)
prawn (2.5.0)
matrix (~> 0.4)
pdf-core (~> 0.10.0)
ttfunk (~> 1.8)
prawn-table (0.2.2)
prawn (>= 1.3.0, < 3.0.0)
puma (6.6.1)
nio4r (~> 2.0)
rack (3.2.6)
@ -57,6 +93,8 @@ GEM
ffi (~> 1.0)
rerun (0.14.0)
listen (~> 3.0)
sequel (5.104.0)
bigdecimal
sinatra (4.2.1)
logger (>= 1.6.0)
mustermann (~> 3.0)
@ -72,6 +110,8 @@ GEM
tilt (~> 2.0)
tilt (2.7.0)
timeout (0.6.1)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
PLATFORMS
aarch64-linux-gnu
@ -87,15 +127,20 @@ PLATFORMS
x86_64-linux-musl
DEPENDENCIES
aws-sdk-s3 (~> 1.170)
dotenv (~> 3.1)
erubi (~> 1.13)
mail (~> 2.8)
pg (~> 1.5)
prawn (~> 2.5)
prawn-table (~> 0.2)
puma (~> 6.6)
rack (~> 3.2)
rack-protection (~> 4.2)
rack-session (~> 2.1)
rackup (~> 2.3)
rerun (~> 0.14)
sequel (~> 5.86)
sinatra (~> 4.2)
sinatra-contrib (~> 4.2)