gems: workaround meta_request failure in Rails 6.1.

meta_request fails in Rails 6.1 with a `SystemStackError: stack level
too deep` error. Switch to a patched fork until the mainline gem is
fixed.

* hxxps://www.github.com/dejan/rails_panel/pull/177
* hxxps://www.github.com/dejan/rails_panel/issues/178
This commit is contained in:
evazion
2021-01-24 19:26:25 -06:00
parent 7ed4523152
commit 2c06766c9e
2 changed files with 13 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ end
group :development do
gem 'rubocop'
gem 'rubocop-rails'
# gem 'meta_request' # hangs on Rails 6.1
gem 'meta_request', git: "https://github.com/alpaca-tc/rails_panel", branch: "support_rails6_1"
gem 'rack-mini-profiler'
gem 'stackprof'
gem 'flamegraph'

View File

@@ -1,3 +1,12 @@
GIT
remote: https://github.com/alpaca-tc/rails_panel
revision: 4133c4ee18d5bf6a98c5893c8cbe09c26b78a9de
branch: support_rails6_1
specs:
meta_request (0.7.2)
rack-contrib (>= 1.1, < 3)
railties (>= 3.0.0, < 7)
GIT
remote: https://github.com/danbooru/http-cookie
revision: 382d8a641e4df226e0e7b0d2bfaeadb2fe71dd84
@@ -258,6 +267,8 @@ GEM
activesupport (>= 3.0.0)
racc (1.5.2)
rack (2.2.3)
rack-contrib (2.3.0)
rack (~> 2.0)
rack-mini-profiler (2.3.0)
rack (>= 1.2.0)
rack-proxy (0.6.5)
@@ -429,6 +440,7 @@ DEPENDENCIES
mail
memoist
memory_profiler
meta_request!
minitest-ci
minitest-reporters
mocha