Skip to content

Commit

Permalink
fix: stop referencing deprecated Rack::VERSION (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovitt authored Jan 9, 2025
1 parent e9adf09 commit 4145eb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/evil/client/resolver/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def environment
"SERVER_NAME" => uri.host,
"SERVER_PORT" => uri.port,
"HTTP_Variables" => headers,
"rack.version" => Rack::VERSION,
"rack.version" => Rack.release,
"rack.url_scheme" => uri.scheme,
"rack.input" => Formatter.call(body, format, boundary: boundary),
"rack.multithread" => false,
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"Authorization" => "Bearer eoiqopr==",
"Content-Type" => "application/json"
},
"rack.version" => Rack::VERSION,
"rack.version" => Rack.release,
"rack.input" => "name=Andrew&age=46",
"rack.url_scheme" => "https",
"rack.multithread" => false,
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/resolver/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Authorization" => "Bearer eoiqopr==",
"Content-Type" => "application/json"
},
"rack.version" => Rack::VERSION,
"rack.version" => Rack.release,
"rack.input" => '{"version":"v77"}',
"rack.url_scheme" => "https",
"rack.multithread" => false,
Expand Down

0 comments on commit 4145eb8

Please sign in to comment.