From 0f26d7580a7fc0cdd17ace7f8a94de1f607ceb14 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Sat, 4 Apr 2026 09:22:06 -0600 Subject: [PATCH] Updated to Sequel 5.103.0 link:https://sequel.jeremyevans.net/rdoc/files/doc/release_notes/5_103_0_txt.html[Details]. The DB provider is configured to make use of the new `lit_require_frozen` extension which disallows the use of unfrozen strings for literal use in SQL queries. This picks up the following updates as well: * link:https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#addressable-290-[Addressable]. * Parallel * link:https://github.com/sparklemotion/http-cookie/blob/master/CHANGELOG.md#112-2026-04-06[HTTP Cookie] An update to the Parallel gem is included as well. Milestone: minor --- Gemfile.lock | 20 ++++++++++---------- config/providers/db.rb | 5 ++++- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1978aa70..e54c3ceb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.9) + addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) amazing_print (2.0.0) ast (2.4.3) @@ -257,7 +257,7 @@ GEM http-cookie (~> 1.0) http-form_data (~> 2.2) llhttp-ffi (~> 0.5.0) - http-cookie (1.1.0) + http-cookie (1.1.2) domain_name (~> 0.5) http-fake (5.1.0) http (~> 5.3) @@ -332,7 +332,7 @@ GEM nori (2.7.1) bigdecimal optparse (0.8.1) - parallel (1.27.0) + parallel (1.28.0) parser (3.3.11.1) ast (~> 2.4.1) racc @@ -388,7 +388,7 @@ GEM rainbow (>= 2.0, < 4.0) rexml (~> 3.1) refinements (14.2.0) - regexp_parser (2.11.3) + regexp_parser (2.12.0) reline (0.6.3) io-console (~> 0.5) repl_type_completor (0.1.15) @@ -502,7 +502,7 @@ GEM sanitize (7.0.0) crass (~> 1.0.2) nokogiri (>= 1.16.8) - sequel (5.102.0) + sequel (5.103.0) bigdecimal shrine (3.6.0) content_disposition (~> 1.0) @@ -665,7 +665,7 @@ DEPENDENCIES wholeable (~> 2.1) CHECKSUMS - addressable (2.8.9) sha256=cc154fcbe689711808a43601dee7b980238ce54368d23e127421753e46895485 + addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af amazing_print (2.0.0) sha256=2e36aba46ac78d37ed27ca0e2056afe3583183bb5c64f157c246b267355e5d6a ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383 base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b @@ -747,7 +747,7 @@ CHECKSUMS hansi (0.2.1) sha256=7e27dfd729f1692a3a7690fc0ef3af9d5e3cfc0285bb135cae7e56180e4805db htmx (3.1.0) sha256=96ad95f7a54727e9eca9c84c621a2f8be10dae7060cd9ef4dc1bfd1935396f21 http (5.3.1) sha256=c50802d8e9be3926cb84ac3b36d1a31fbbac383bc4cbecdce9053cb604231d7d - http-cookie (1.1.0) sha256=38a5e60d1527eebc396831b8c4b9455440509881219273a6c99943d29eadbb19 + http-cookie (1.1.2) sha256=0fd9642c201836f145ad9dcb72fe300327dd5cfe0b3e91c9de462039946fa28b http-fake (5.1.0) sha256=99483183f8a41c4e9e9643c543758157b162bdcb23d3505018937922db69e5f1 http-form_data (2.3.0) sha256=cc4eeb1361d9876821e31d7b1cf0b68f1cf874b201d27903480479d86448a5f3 i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5 @@ -785,7 +785,7 @@ CHECKSUMS nokogiri (1.19.2-x86_64-linux-musl) sha256=93128448e61a9383a30baef041bf1f5817e22f297a1d400521e90294445069a8 nori (2.7.1) sha256=6166cd336959854762073e2fbae888593809cac1b3e904f4fb009313d7226861 optparse (0.8.1) sha256=42bea10d53907ccff4f080a69991441d611fbf8733b60ed1ce9ee365ce03bd1a - parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130 + parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970 parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54 petail (1.1.0) sha256=71f0b0131e96b33d0eb1dfaf34497871ae044eeb0ea48950d5431d77273e0e02 pg (1.6.3) sha256=1388d0563e13d2758c1089e35e973a3249e955c659592d10e5b77c468f628a99 @@ -811,7 +811,7 @@ CHECKSUMS redis-client (0.28.0) sha256=888892f9cd8787a41c0ece00bdf5f556dfff7770326ce40bb2bc11f1bfec824b reek (6.5.0) sha256=d26d3a492773b2bbc228888067a21afe33ac07954a17dbd64cdeae42c4c69be1 refinements (14.2.0) sha256=0d69befeb1bf118087584e7a111e763528e46961b22da0e404d71e4c8df5ca0f - regexp_parser (2.11.3) sha256=ca13f381a173b7a93450e53459075c9b76a10433caadcb2f1180f2c741fc55a4 + regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835 repl_type_completor (0.1.15) sha256=dec24c45fffefa3b55b19115fee20b3446c2f75c7605f579ab6047e931edd335 rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142 @@ -847,7 +847,7 @@ CHECKSUMS rufus-scheduler (3.9.2) sha256=55fa9e4db0ff69d7f38c804f17baba0c9bce5cba39984ae3c5cf6c039d1323b9 runcom (13.1.0) sha256=58a4dd848408fa0fb342f4489c13074a8013ff0af74d0d04c16383a3d3f05ce5 sanitize (7.0.0) sha256=269d1b9d7326e69307723af5643ec032ff86ad616e72a3b36d301ac75a273984 - sequel (5.102.0) sha256=c25bb85a44ae59b3ed41ca7c32c33316cf81a6fcaeabedb4036ba141dde70919 + sequel (5.103.0) sha256=51bf23374cc585724fc51a2ae8b95283422c97ca4585ce28f3db27a26ce55a69 shrine (3.6.0) sha256=d361b7e5a452d65d900f3326ed99fe343d0d3b2ce17e012fc04ae85b0373358c sidekiq (8.1.2) sha256=4a1266f22bb1dad675d77bf32e8d4c04e990640e3b271650f47ea7299c38fceb sidekiq-scheduler (6.0.1) sha256=e1fc04e851a3e2d9896bc6ab00f03d790fef8923bb56915e5b141804bca34062 diff --git a/config/providers/db.rb b/config/providers/db.rb index 5ddbd90a..b6e55957 100644 --- a/config/providers/db.rb +++ b/config/providers/db.rb @@ -1,3 +1,6 @@ # frozen_string_literal: true -Hanami.app.configure_provider(:db) { Sequel.default_timezone = :utc } +Hanami.app.configure_provider :db do + Sequel.default_timezone = :utc + Sequel.extension :lit_require_frozen +end