1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test
Jacob Herrington ff6f08c87a Add support for APP_ENV environment variable
Using APP_ENV to set the environment is supported by Sinatra and
Sidekiq, so it makes sense to support the same behavior in Puma.

Like Sidekiq, APP_ENV will take precedence over RACK_ENV and RAILS_ENV.
APP_ENV defers to any argument passed via the --environment flag.

Closes https://github.com/puma/puma/issues/2692
2021-09-20 10:12:38 -05:00
..
bundle_app_config_test Preserve BUNDLE_APP_CONFIG on worker fork (#2688) 2021-09-03 10:52:35 -07:00
bundle_preservation_test
config Allow specifying the desired IO selector backend for nio4r (#2522) 2021-01-12 09:39:33 -07:00
helpers More elaborate exception handling. (#2700) 2021-09-16 10:54:14 -06:00
minitest
rackup More elaborate exception handling. (#2700) 2021-09-16 10:54:14 -06:00
worker_gem_independence_test Remove use of json gem (#2479) 2020-11-10 10:16:42 -07:00
helper.rb Test Fixes (#2693) 2021-09-07 16:02:00 -06:00
test_app_status.rb
test_binder.rb Update docs for low_latency option and fix parsing issue (#2631) 2021-05-20 10:17:34 -06:00
test_busy_worker.rb Fix CI (#2561) 2021-03-02 08:56:11 -07:00
test_cli.rb Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
test_config.rb Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
test_error_logger.rb Avoid mutating stdout and stderr (#2486) 2020-12-02 10:43:53 -07:00
test_events.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
test_http10.rb
test_http11.rb Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
test_integration_cluster.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_integration_pumactl.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_integration_single.rb More elaborate exception handling. (#2700) 2021-09-16 10:54:14 -06:00
test_integration_ssl.rb Remove accept_nonblock.rb, add test_integration_ssl.rb (#2448) 2020-10-25 16:15:20 -06:00
test_integration_systemd.rb systemd - fix event firing (#2591) 2021-05-04 20:14:33 -06:00
test_iobuffer.rb
test_json_serialization.rb Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
test_launcher.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_minissl.rb
test_null_io.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
test_out_of_band_server.rb Updates for non MRI CI stablity [changelog skip] (#2434) 2020-10-19 09:22:28 -06:00
test_persistent.rb Updates for non MRI CI stablity [changelog skip] (#2434) 2020-10-19 09:22:28 -06:00
test_plugin.rb
test_preserve_bundler_env.rb Preserve BUNDLE_APP_CONFIG on worker fork (#2688) 2021-09-03 10:52:35 -07:00
test_puma_localhost_authority.rb Test Fixes (#2693) 2021-09-07 16:02:00 -06:00
test_puma_server.rb add support for the PROXY protocol (v1 only) (#2654) 2021-09-07 07:21:03 -06:00
test_puma_server_ssl.rb Test Fixes (#2693) 2021-09-07 16:02:00 -06:00
test_pumactl.rb Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
test_rack_handler.rb test_rack_handler.rb - fix intermittent JRuby CI failures 2021-04-16 19:25:25 -05:00
test_rack_server.rb
test_redirect_io.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_response_header.rb Make illegal header matching more stringent (#2510) 2020-12-10 08:15:25 -07:00
test_thread_pool.rb Better names for thread pool threads (#2657) 2021-07-13 12:58:34 -06:00
test_unix_socket.rb Add support for Linux's abstract sockets (#2564) 2021-04-24 17:24:44 -06:00
test_web_server.rb
test_worker_gem_independence.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00