# frozen_string_literal: true
# Dependency manifest for the Helpdesk backend's PostgreSQL layer.
#
# The app is intentionally near-zero-gem (stdlib + WEBrick + Net::HTTP) and is launched with plain
# `ruby components/backend/server.rb` — no bundler required for local dev, where the two gems below are
# already present via `gem install --user-install`. The versions are ALSO pinned at the require site in
# lib/helpdesk/pg_store.rb, so they are enforced on every boot whether or not bundler is used.
#
# This Gemfile exists so a server deploy can get a reproducible install with:
#   gem install bundler && bundle install
# (or `gem install pg -v 1.5.9 sequel -v 5.106.0` without bundler at all).
#
# Only loaded when HELPDESK_DATABASE_URL is set (PgStore path); the JSON-store fallback needs neither gem.
source "https://rubygems.org"

ruby ">= 3.2"

gem "pg", "~> 1.5"       # tested on 1.5.9 — libpq client
gem "sequel", "~> 5.106" # tested on 5.106.0 — threaded connection pool + pg_json
