Add actionpack-xml_parser for Queenbee sync request support (#2563)

Queenbee sends account sync/cancel/etc requests as XML via
ActiveResource, including the queenbee_signature in the XML body.
Rails removed built-in XML parameter parsing in Rails 4.0, so without
this gem the XML body is silently ignored and the signature check
always fails with 403.
This commit is contained in:
Jeremy Daer
2026-02-17 20:34:33 -08:00
committed by GitHub
parent b2b8465ae8
commit 475fb63c6d
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -5,5 +5,6 @@ git_source(:bc) { |repo| "https://github.com/basecamp/#{repo}" }
gem "queenbee", bc: "queenbee-plugin", ref: "14312a940471e20617b38cdec7c092a01567d18b"
gem "rails_structured_logging", bc: "rails-structured-logging"
gem "activeresource", require: "active_resource" # needed by queenbee
gem "actionpack-xml_parser" # needed by queenbee for XML request body parsing
gem "rubocop-rails-omakase", require: false
+4
View File
@@ -51,6 +51,9 @@ GEM
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionpack-xml_parser (2.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
actiontext (8.1.1)
action_text-trix (~> 2.1.15)
actionpack (= 8.1.1)
@@ -282,6 +285,7 @@ PLATFORMS
x86_64-linux-musl
DEPENDENCIES
actionpack-xml_parser
activeresource
queenbee!
rails_structured_logging!