Skip to content

Commit

Permalink
Remove uninitialized constants (#173)
Browse files Browse the repository at this point in the history
These constants were removed from Rack in rack/rack#1720
  • Loading branch information
albertski authored Jun 25, 2024
1 parent 5f8e5ce commit b786b5c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions lib/lamby/rack_alb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ def env_base
::Rack::RACK_URL_SCHEME => headers['x-forwarded-proto'],
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
::Rack::RACK_MULTITHREAD => false,
::Rack::RACK_MULTIPROCESS => false,
::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
Expand Down
3 changes: 0 additions & 3 deletions lib/lamby/rack_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def env_base
::Rack::RACK_URL_SCHEME => 'https',
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
::Rack::RACK_MULTITHREAD => false,
::Rack::RACK_MULTIPROCESS => false,
::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
Expand Down
3 changes: 0 additions & 3 deletions lib/lamby/rack_rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ def env_base
::Rack::RACK_URL_SCHEME => 'https',
::Rack::RACK_INPUT => StringIO.new(body || ''),
::Rack::RACK_ERRORS => $stderr,
::Rack::RACK_MULTITHREAD => false,
::Rack::RACK_MULTIPROCESS => false,
::Rack::RACK_RUNONCE => false,
LAMBDA_EVENT => event,
LAMBDA_CONTEXT => context
}.tap do |env|
Expand Down

0 comments on commit b786b5c

Please sign in to comment.