Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tools/xdr-generator/Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
source "https://rubygems.org"

# Soneso fork requires concurrent-ruby >= 1.3.7 (fixes GHSA-h8w8-99g7-qmvj and
# two further advisories) and provides logger; switch back to stellar/xdrgen
# master once https://github.com/stellar/xdrgen/pull/231 is merged.
gem "xdrgen", git: "https://github.com/Soneso/xdrgen", ref: "99390b91b0f15c1f0ef7a55b6cf12d0700531336"
# The Soneso fork carries activesupport 8.1.4.1 or later (GHSA-8474-xrp6-wh69)
# and concurrent-ruby 1.3.7 or later, until stellar/xdrgen ships both.
gem "xdrgen", git: "https://github.com/Soneso/xdrgen", ref: "ef4590880e978dc9b662e5f9863979ef0f4c590d"

# Ruby 3.4 removed these from stdlib -- must be explicit
gem "base64"
Expand Down
26 changes: 18 additions & 8 deletions tools/xdr-generator/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
GIT
remote: https://github.com/Soneso/xdrgen
revision: 99390b91b0f15c1f0ef7a55b6cf12d0700531336
ref: 99390b91b0f15c1f0ef7a55b6cf12d0700531336
revision: ef4590880e978dc9b662e5f9863979ef0f4c590d
ref: ef4590880e978dc9b662e5f9863979ef0f4c590d
specs:
xdrgen (0.1.3)
activesupport (~> 6)
activesupport (>= 8.1.4.1, < 9)
concurrent-ruby (>= 1.3.7)
logger
memoist (~> 0.11.0)
Expand All @@ -14,19 +14,28 @@ GIT
GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.7.10)
concurrent-ruby (~> 1.0, >= 1.0.2)
activesupport (8.1.4.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
json
logger (>= 1.4.2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
base64 (0.3.0)
benchmark (0.5.0)
bigdecimal (4.1.3)
concurrent-ruby (1.3.7)
connection_pool (3.0.2)
drb (2.2.3)
i18n (1.15.2)
concurrent-ruby (~> 1.0)
json (3.1.0)
logger (1.7.0)
memoist (0.11.0)
minitest (6.0.6)
Expand All @@ -35,12 +44,13 @@ GEM
mutex_m (0.3.0)
polyglot (0.3.5)
prism (1.9.0)
securerandom (0.4.1)
slop (3.6.0)
treetop (1.5.3)
polyglot (~> 0.3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.8.2)
uri (1.1.2)

PLATFORMS
aarch64-linux
Expand Down
2 changes: 1 addition & 1 deletion tools/xdr-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Generates PHP XDR types from Stellar's `.x` definition files using the [xdrgen](

- Docker (for Makefile targets)
- Ruby, PHP, and the Composer dependencies in `vendor/` on the host, for the SEP-51 round-trip test emission that `make xdr-update` runs outside Docker
- Ruby 3.x and Bundler (only if running the generator without Docker)
- Ruby 3.2 or later and Bundler (only if running the generator without Docker)

## Usage

Expand Down
Loading