1
0
Fork 1

Run bundle:update, and work around bug in latest protocol-rack

It's been a while, time to update all our minor/patch versions!

When I first ran this, the dev server stopped working entirely, saying:

```
NoMethodError: undefined method `ip_address' for an instance of Socket
```

I traced this back to what seems to be a bug introduced in
`protocol-rack` version `0.11.0`, so I modified the Gemfile to hold us
back from that version in particular. After that, everything is looking
good!
This commit is contained in:
Emi Matchu 2025-01-12 13:07:14 -08:00
parent 8eb3f73deb
commit 39fe53c51f
135 changed files with 83 additions and 78 deletions
GemfileGemfile.lock
vendor/cache
async-2.17.0.gemasync-2.21.1.gemasync-pool-0.10.2.gemasync-pool-0.8.1.gembenchmark-0.3.0.gembenchmark-0.4.0.gembigdecimal-3.1.8.gembigdecimal-3.1.9.gemconnection_pool-2.4.1.gemconnection_pool-2.5.0.gemconsole-1.27.0.gemconsole-1.29.2.gemcsv-3.3.0.gemcsv-3.3.2.gemdate-3.3.4.gemdate-3.4.1.gemerubi-1.13.0.gemerubi-1.13.1.gemexecjs-2.10.0.gemexecjs-2.9.1.gemfalcon-0.48.2.gemfalcon-0.48.4.gemfaraday-2.12.0.gemfaraday-2.12.2.gemfaraday-net_http-3.3.0.gemfaraday-net_http-3.4.0.gemffi-1.17.0-aarch64-linux-gnu.gemffi-1.17.0-x86_64-linux-gnu.gemffi-1.17.1-x86_64-linux-gnu.gemio-console-0.7.2.gemio-console-0.8.0.gemio-endpoint-0.13.1.gemio-endpoint-0.14.0.gemio-event-1.6.5.gemio-event-1.7.5.gemio-stream-0.4.1.gemio-stream-0.6.1.gemirb-1.14.1.gemirb-1.14.3.gemjson-2.7.2.gemjson-2.9.1.gemjson-jwt-1.16.6.gemjson-jwt-1.16.7.gemkramdown-2.4.0.gemkramdown-2.5.1.gemlogger-1.6.1.gemlogger-1.6.5.gemloofah-2.22.0.gemloofah-2.24.0.gemmetrics-0.10.2.gemminitest-5.25.1.gemminitest-5.25.4.gemmsgpack-1.7.2.gemmsgpack-1.7.5.gemnet-http-0.4.1.gemnet-http-0.6.0.gemnet-imap-0.4.16.gemnet-imap-0.5.5.gemnokogiri-1.16.7-aarch64-linux.gemnokogiri-1.16.7-x86_64-linux.gemnokogiri-1.18.1-x86_64-linux-gnu.gemopenid_connect-2.3.0.gemopenid_connect-2.3.1.gemopenssl-3.2.0.gemopenssl-3.3.0.gemparser-3.3.5.0.gemparser-3.3.6.0.gemprotocol-http-0.37.0.gemprotocol-http-0.47.1.gemprotocol-http1-0.27.0.gemprotocol-http1-0.28.1.gemprotocol-http2-0.19.1.gemprotocol-http2-0.22.0.gemprotocol-rack-0.10.0.gemprotocol-rack-0.10.1.gempsych-5.1.2.gempsych-5.2.2.gemrack-3.1.7.gemrack-3.1.8.gemrack-protection-4.0.0.gemrack-protection-4.1.1.gemrack-session-2.0.0.gemrack-session-2.1.0.gemrack-test-2.1.0.gemrack-test-2.2.0.gemrackup-2.1.0.gemrackup-2.2.1.gemrails-html-sanitizer-1.6.0.gemrails-html-sanitizer-1.6.2.gemrdoc-6.10.0.gemrdoc-6.7.0.gemregexp_parser-2.10.0.gemregexp_parser-2.9.2.gemreline-0.5.10.gemreline-0.6.0.gemrexml-3.3.7.gemrexml-3.4.0.gemrspec-rails-7.0.1.gem

View file

@ -6,6 +6,9 @@ gem 'rails', '~> 8.0', '>= 8.0.1'
# The HTTP server running the Rails instance.
gem 'falcon', '~> 0.48.0'
# HACK: Workaround for https://github.com/socketry/protocol-rack/issues/20
gem 'protocol-rack', '~> 0.10.0', '< 0.11.0'
# Our database is MySQL, in both development and production.
gem 'mysql2', '~> 0.5.5'

View file

@ -82,8 +82,8 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
aes_key_wrap (1.1.0)
ast (2.4.2)
async (2.17.0)
console (~> 1.26)
async (2.21.1)
console (~> 1.29)
fiber-annotation
io-event (~> 1.6, >= 1.6.5)
async-container (0.18.3)
@ -99,9 +99,8 @@ GEM
traces (>= 0.10)
async-http-cache (0.4.4)
async-http (~> 0.56)
async-pool (0.8.1)
async-pool (0.10.2)
async (>= 1.25)
metrics
traces
async-service (0.12.0)
async
@ -114,8 +113,8 @@ GEM
backport (1.2.0)
base64 (0.2.0)
bcrypt (3.1.20)
benchmark (0.3.0)
bigdecimal (3.1.8)
benchmark (0.4.0)
bigdecimal (3.1.9)
bindata (2.5.0)
bindex (0.8.1)
bootsnap (1.18.4)
@ -124,8 +123,8 @@ GEM
childprocess (5.1.0)
logger (~> 1.5)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
console (1.27.0)
connection_pool (2.5.0)
console (1.29.2)
fiber-annotation
fiber-local (~> 1.1)
json
@ -133,8 +132,8 @@ GEM
bigdecimal
rexml
crass (1.0.6)
csv (3.3.0)
date (3.3.4)
csv (3.3.2)
date (3.4.1)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
@ -155,9 +154,9 @@ GEM
e2mmap (0.1.0)
email_validator (2.2.4)
activemodel
erubi (1.13.0)
execjs (2.9.1)
falcon (0.48.2)
erubi (1.13.1)
execjs (2.10.0)
falcon (0.48.4)
async
async-container (~> 0.18)
async-http (~> 0.75)
@ -170,15 +169,15 @@ GEM
protocol-http (~> 0.31)
protocol-rack (~> 0.7)
samovar (~> 2.3)
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.3.0)
net-http
ffi (1.17.0)
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.1)
fiber-annotation (0.2.0)
fiber-local (1.1.0)
fiber-storage
@ -198,26 +197,26 @@ GEM
multi_xml (>= 0.5.2)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
io-endpoint (0.13.1)
io-event (1.6.5)
io-stream (0.4.1)
irb (1.14.1)
io-console (0.8.0)
io-endpoint (0.14.0)
io-event (1.7.5)
io-stream (0.6.1)
irb (1.14.3)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
jaro_winkler (1.6.0)
jsbundling-rails (1.3.1)
railties (>= 6.0.0)
json (2.7.2)
json-jwt (1.16.6)
json (2.9.1)
json-jwt (1.16.7)
activesupport (>= 4.2)
aes_key_wrap
base64
bindata
faraday (~> 2.0)
faraday-follow_redirects
kramdown (2.4.0)
rexml
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.3)
@ -227,8 +226,8 @@ GEM
letter_opener (1.10.0)
launchy (>= 2.2, < 4)
localhost (1.3.1)
logger (1.6.1)
loofah (2.22.0)
logger (1.6.5)
loofah (2.24.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
@ -239,17 +238,16 @@ GEM
mapping (1.1.1)
marcel (1.0.4)
memory_profiler (1.1.0)
metrics (0.10.2)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
minitest (5.25.1)
msgpack (1.7.2)
mini_portile2 (2.8.8)
minitest (5.25.4)
msgpack (1.7.5)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
mysql2 (0.5.6)
net-http (0.4.1)
net-http (0.6.0)
uri
net-imap (0.4.16)
net-imap (0.5.5)
date
net-protocol
net-pop (0.1.2)
@ -259,7 +257,7 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.4)
nokogiri (1.16.7)
nokogiri (1.18.1)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
omniauth (2.1.2)
@ -272,7 +270,7 @@ GEM
omniauth_openid_connect (0.7.1)
omniauth (>= 1.9, < 3)
openid_connect (~> 2.2)
openid_connect (2.3.0)
openid_connect (2.3.1)
activemodel
attr_required (>= 1.0.0)
email_validator
@ -285,10 +283,10 @@ GEM
tzinfo
validate_url
webfinger (~> 2.0)
openssl (3.2.0)
openssl (3.3.0)
orm_adapter (0.5.0)
parallel (1.26.3)
parser (3.3.5.0)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
process-metrics (0.3.0)
@ -296,20 +294,21 @@ GEM
json (~> 2)
samovar (~> 2.1)
protocol-hpack (1.5.1)
protocol-http (0.37.0)
protocol-http1 (0.27.0)
protocol-http (0.47.1)
protocol-http1 (0.28.1)
protocol-http (~> 0.22)
protocol-http2 (0.19.1)
protocol-http2 (0.22.0)
protocol-hpack (~> 1.4)
protocol-http (~> 0.18)
protocol-rack (0.10.0)
protocol-rack (0.10.1)
protocol-http (~> 0.37)
rack (>= 1.0)
psych (5.1.2)
psych (5.2.2)
date
stringio
public_suffix (6.0.1)
racc (1.8.1)
rack (3.1.7)
rack (3.1.8)
rack-attack (6.7.0)
rack (>= 1.0, < 4)
rack-mini-profiler (3.3.1)
@ -321,16 +320,17 @@ GEM
faraday-follow_redirects
json-jwt (>= 1.11.0)
rack (>= 2.1.0)
rack-protection (4.0.0)
rack-protection (4.1.1)
base64 (>= 0.1.0)
logger (>= 1.6.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack-session (2.1.0)
base64 (>= 0.1.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack-test (2.2.0)
rack (>= 1.3)
rackup (2.1.0)
rackup (2.2.1)
rack (>= 3)
webrick (~> 1.8)
rails (8.0.1)
actioncable (= 8.0.1)
actionmailbox (= 8.0.1)
@ -349,9 +349,9 @@ GEM
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
rails-html-sanitizer (1.6.2)
loofah (~> 2.21)
nokogiri (~> 1.14)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
rails-i18n (8.0.1)
i18n (>= 0.7, < 2)
railties (>= 8.0.0, < 9)
@ -367,7 +367,7 @@ GEM
rake (13.2.1)
rbs (2.8.4)
rdiscount (2.2.7.3)
rdoc (6.7.0)
rdoc (6.10.0)
psych (>= 4.0.0)
react-rails (2.7.1)
babel-transpiler (>= 0.7.0)
@ -375,15 +375,15 @@ GEM
execjs
railties (>= 3.2)
tilt
regexp_parser (2.9.2)
reline (0.5.10)
regexp_parser (2.10.0)
reline (0.6.0)
io-console (~> 0.5)
responders (3.1.1)
actionpack (>= 5.2)
railties (>= 5.2)
reverse_markdown (2.1.1)
nokogiri
rexml (3.3.7)
rexml (3.4.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
@ -392,7 +392,7 @@ GEM
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (7.0.1)
rspec-rails (7.1.0)
actionpack (>= 7.0)
activesupport (>= 7.0)
railties (>= 7.0)
@ -400,18 +400,18 @@ GEM
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.66.1)
rspec-support (3.13.2)
rubocop (1.70.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
samovar (2.3.0)
@ -430,11 +430,11 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
securerandom (0.3.1)
sentry-rails (5.19.0)
securerandom (0.4.1)
sentry-rails (5.22.1)
railties (>= 5.0)
sentry-ruby (~> 5.19.0)
sentry-ruby (5.19.0)
sentry-ruby (~> 5.22.1)
sentry-ruby (5.22.1)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
shell (0.8.1)
@ -467,7 +467,7 @@ GEM
activesupport (>= 6.1)
sprockets (>= 3.0.0)
stackprof (0.2.26)
stringio (3.1.1)
stringio (3.1.2)
swd (2.0.3)
activesupport (>= 3)
attr_required (>= 0.0.5)
@ -475,21 +475,23 @@ GEM
faraday-follow_redirects
sync (0.5.0)
temple (0.10.3)
terser (1.2.3)
terser (1.2.4)
execjs (>= 0.3.0, < 3)
thor (1.3.2)
thread-local (1.1.0)
tilt (2.4.0)
timeout (0.4.1)
traces (0.13.1)
turbo-rails (2.0.10)
tilt (2.5.0)
timeout (0.4.3)
traces (0.14.1)
turbo-rails (2.0.11)
actionpack (>= 6.0.0)
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
uri (0.13.1)
useragent (0.16.10)
unicode-display_width (3.1.3)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.2)
useragent (0.16.11)
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
@ -508,14 +510,13 @@ GEM
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.2)
websocket-driver (0.7.7)
base64
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
will_paginate (4.0.1)
yard (0.9.37)
zeitwerk (2.6.18)
zeitwerk (2.7.1)
PLATFORMS
ruby
@ -543,6 +544,7 @@ DEPENDENCIES
omniauth-rails_csrf_protection (~> 1.0)
omniauth_openid_connect (~> 0.7.1)
parallel (~> 1.23)
protocol-rack (~> 0.10.0, < 0.11.0)
rack-attack (~> 6.7)
rack-mini-profiler (~> 3.1)
rails (~> 8.0, >= 8.0.1)

Binary file not shown.

BIN
vendor/cache/async-2.21.1.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/async-pool-0.10.2.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/benchmark-0.4.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/bigdecimal-3.1.9.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/connection_pool-2.5.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/console-1.29.2.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/csv-3.3.2.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/date-3.4.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/erubi-1.13.1.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/execjs-2.10.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/falcon-0.48.4.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/faraday-2.12.2.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/faraday-net_http-3.4.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/io-console-0.8.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/io-endpoint-0.14.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/io-event-1.7.5.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/io-stream-0.6.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/irb-1.14.3.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/json-2.9.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/json-jwt-1.16.7.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/kramdown-2.5.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/logger-1.6.5.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/loofah-2.24.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/minitest-5.25.4.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/msgpack-1.7.5.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/net-http-0.6.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/net-imap-0.5.5.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/openid_connect-2.3.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/openssl-3.3.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/parser-3.3.6.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/protocol-http-0.47.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/protocol-http1-0.28.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/protocol-http2-0.22.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/protocol-rack-0.10.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/psych-5.2.2.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rack-3.1.8.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rack-protection-4.1.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rack-session-2.1.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rack-test-2.2.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rackup-2.2.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rdoc-6.10.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/regexp_parser-2.10.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/reline-0.6.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rexml-3.4.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more