1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test/worker_gem_independence_test/old_json/config.ru
Chris LaRose 5f8b5fc407
Remove use of json gem from WorkerHandle#ping! (#2473)
* Add test to change the version of nio4r gem in phased restart

* Add test to change the version of json gem in phased restart

* Remove use of json gem when handling worker stats messages

* DRY up gem change phased restart tests

* Add History entry
2020-11-01 15:09:31 -07:00

2 lines
91 B
Ruby

require 'json'
run lambda { |env| [200, {'Content-Type'=>'text/plain'}, [JSON::VERSION]] }