Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rack RBS to 2.2.4 #215

Merged
merged 3 commits into from
Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions gems/rack/2.2.2/rack.rbs → gems/rack/2.2/rack.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,9 @@ module Rack
class InvalidParameterError < ArgumentError
end

class ParamsTooDeepError < RangeError
end

class Params
def initialize: (Integer limit) -> void
def []: (String? key) -> ((Array[(Array[nil] | Hash[String?, untyped] | Params | String)?] | Hash[String?, (Array[untyped] | Hash[String?, untyped] | Params | String)?] | Params | String)?)
Expand All @@ -1116,6 +1119,8 @@ module Rack
module Utils
DEFAULT_SEP: Regexp
COMMON_SEP: Hash[String, Regexp]
RFC2822_DAY_NAME: Array[String]
RFC2822_MONTH_NAME: Array[String]
ESCAPE_HTML: Hash[String, String]
ESCAPE_HTML_PATTERN: Regexp
HTTP_STATUS_CODES: Hash[Integer, String]
Expand Down Expand Up @@ -1219,8 +1224,7 @@ module Rack
TOKEN: Regexp
CONDISP: Regexp
VALUE: Regexp
BROKEN_QUOTED: Regexp
BROKEN_UNQUOTED: Regexp
BROKEN: Regexp
MULTIPART_CONTENT_TYPE: Regexp
MULTIPART_CONTENT_DISPOSITION: Regexp
MULTIPART_CONTENT_ID: Regexp
Expand Down