From bf2c3260087efac8a7fd78d780325ef5b3ed4524 Mon Sep 17 00:00:00 2001 From: Bartlomiej Olczak Date: Thu, 13 Aug 2026 10:55:25 +0200 Subject: [PATCH] Relax activesupport/activemodel upper bound to allow Rails 8 xdr caps both at < 8.0 with no newer release (latest is 3.0.3, 2022; upstream main is 10 commits ahead but never touched this constraint either) -- the same abandoned-pin pattern as stellar-sdk/stellar-base, which depend on this gem and are the reason chat can't move to Rails 8. Verified empirically, not just by inspection: installed real activesupport 8.0.0 and activemodel 8.0.0 in an isolated sandbox and ran xdr's full RSpec suite against them (via a temporary Gemfile pin, not committed) -- 122 examples, 0 failures. ActiveSupport::OrderedHash, which this gem relies on and which looked like a plausible removal candidate for a major version bump, is still present and functional in 8.0.0 (confirmed by reading activesupport's own source, not assumed). Widen to < 9.0, matching the same ceiling used for stellar-sdk's own activesupport relax. --- xdr.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xdr.gemspec b/xdr.gemspec index fd76fcf..cd99db1 100644 --- a/xdr.gemspec +++ b/xdr.gemspec @@ -25,6 +25,6 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.4.0" - spec.add_dependency "activesupport", ">= 4.2", "< 8.0" - spec.add_dependency "activemodel", ">= 4.2", "< 8.0" + spec.add_dependency "activesupport", ">= 4.2", "< 9.0" + spec.add_dependency "activemodel", ">= 4.2", "< 9.0" end