lunchmoney 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +1 -0
  3. data/.mdlrc +1 -0
  4. data/Gemfile.lock +36 -37
  5. data/README.md +2 -0
  6. data/lib/lunchmoney/objects/crypto.rb +6 -1
  7. data/lib/lunchmoney/version.rb +1 -1
  8. data/sorbet/rbi/annotations/activesupport.rbi +11 -0
  9. data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.3.2.rbi} +23 -23
  10. data/sorbet/rbi/gems/dotenv@3.1.0.rbi +300 -0
  11. data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.4.rbi} +48 -43
  12. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.22.3.rbi} +19 -18
  13. data/sorbet/rbi/gems/{prism@0.19.0.rbi → prism@0.24.0.rbi} +8266 -7109
  14. data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.0.10.rbi} +83 -83
  15. data/sorbet/rbi/gems/{rbi@0.1.6.rbi → rbi@0.1.9.rbi} +114 -13
  16. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.2.rbi} +61 -50
  17. data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +34 -0
  18. data/sorbet/rbi/gems/{rubocop-rails@2.23.1.rbi → rubocop-rails@2.24.1.rbi} +159 -147
  19. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.8.0.rbi} +24 -42
  20. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.62.1.rbi} +807 -646
  21. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.13.1.rbi} +83 -62
  22. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +89 -50
  23. data/sorbet/rbi/gems/{webmock@3.20.0.rbi → webmock@3.23.0.rbi} +25 -25
  24. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +194 -58
  25. data/sorbet/tapioca/require.rb +1 -0
  26. metadata +22 -21
  27. data/sorbet/rbi/gems/dotenv@2.8.1.rbi +0 -234
  28. /data/sorbet/rbi/gems/{bigdecimal@3.1.6.rbi → bigdecimal@3.1.7.rbi} +0 -0
  29. /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
  30. /data/sorbet/rbi/gems/{rubocop-shopify@2.14.0.rbi → rubocop-shopify@2.15.1.rbi} +0 -0
@@ -2010,7 +2010,7 @@ class Rack::MediaType
2010
2010
  # this method responds with the following Hash:
2011
2011
  # { 'charset' => 'utf-8' }
2012
2012
  #
2013
- # source://rack//lib/rack/media_type.rb#26
2013
+ # source://rack//lib/rack/media_type.rb#30
2014
2014
  def params(content_type); end
2015
2015
 
2016
2016
  # The media type (type/subtype) portion of the CONTENT_TYPE header
@@ -2025,7 +2025,7 @@ class Rack::MediaType
2025
2025
 
2026
2026
  private
2027
2027
 
2028
- # source://rack//lib/rack/media_type.rb#38
2028
+ # source://rack//lib/rack/media_type.rb#43
2029
2029
  def strip_doublequotes(str); end
2030
2030
  end
2031
2031
  end
@@ -2442,10 +2442,10 @@ class Rack::Multipart::Parser
2442
2442
  # source://rack//lib/rack/multipart/parser.rb#205
2443
2443
  def initialize(boundary, tempfile, bufsize, query_parser); end
2444
2444
 
2445
- # source://rack//lib/rack/multipart/parser.rb#220
2445
+ # source://rack//lib/rack/multipart/parser.rb#221
2446
2446
  def parse(io); end
2447
2447
 
2448
- # source://rack//lib/rack/multipart/parser.rb#243
2448
+ # source://rack//lib/rack/multipart/parser.rb#244
2449
2449
  def result; end
2450
2450
 
2451
2451
  # Returns the value of attribute state.
@@ -2460,21 +2460,21 @@ class Rack::Multipart::Parser
2460
2460
  # end of the boundary. If we don't find the start or end of the
2461
2461
  # boundary, clear the buffer and return nil.
2462
2462
  #
2463
- # source://rack//lib/rack/multipart/parser.rb#346
2463
+ # source://rack//lib/rack/multipart/parser.rb#354
2464
2464
  def consume_boundary; end
2465
2465
 
2466
2466
  # From WEBrick::HTTPUtils
2467
2467
  #
2468
- # source://rack//lib/rack/multipart/parser.rb#255
2468
+ # source://rack//lib/rack/multipart/parser.rb#256
2469
2469
  def dequote(str); end
2470
2470
 
2471
- # source://rack//lib/rack/multipart/parser.rb#355
2471
+ # source://rack//lib/rack/multipart/parser.rb#363
2472
2472
  def get_filename(head); end
2473
2473
 
2474
- # source://rack//lib/rack/multipart/parser.rb#290
2474
+ # source://rack//lib/rack/multipart/parser.rb#298
2475
2475
  def handle_consume_token; end
2476
2476
 
2477
- # source://rack//lib/rack/multipart/parser.rb#427
2477
+ # source://rack//lib/rack/multipart/parser.rb#435
2478
2478
  def handle_empty_content!(content); end
2479
2479
 
2480
2480
  # This handles the initial parser state. We read until we find the starting
@@ -2485,19 +2485,19 @@ class Rack::Multipart::Parser
2485
2485
  # boundary. The client would have to deliberately craft a response
2486
2486
  # with the opening boundary beyond the buffer size for that to happen.
2487
2487
  #
2488
- # source://rack//lib/rack/multipart/parser.rb#274
2488
+ # source://rack//lib/rack/multipart/parser.rb#275
2489
2489
  def handle_fast_forward; end
2490
2490
 
2491
- # source://rack//lib/rack/multipart/parser.rb#323
2491
+ # source://rack//lib/rack/multipart/parser.rb#331
2492
2492
  def handle_mime_body; end
2493
2493
 
2494
- # source://rack//lib/rack/multipart/parser.rb#300
2494
+ # source://rack//lib/rack/multipart/parser.rb#308
2495
2495
  def handle_mime_head; end
2496
2496
 
2497
- # source://rack//lib/rack/multipart/parser.rb#261
2497
+ # source://rack//lib/rack/multipart/parser.rb#262
2498
2498
  def read_data(io, outbuf); end
2499
2499
 
2500
- # source://rack//lib/rack/multipart/parser.rb#393
2500
+ # source://rack//lib/rack/multipart/parser.rb#401
2501
2501
  def tag_multipart_encoding(filename, content_type, name, body); end
2502
2502
 
2503
2503
  class << self
@@ -2523,7 +2523,7 @@ class Rack::Multipart::Parser::BoundedIO
2523
2523
  def read(size, outbuf = T.unsafe(nil)); end
2524
2524
  end
2525
2525
 
2526
- # source://rack//lib/rack/multipart/parser.rb#390
2526
+ # source://rack//lib/rack/multipart/parser.rb#398
2527
2527
  Rack::Multipart::Parser::CHARSET = T.let(T.unsafe(nil), String)
2528
2528
 
2529
2529
  # source://rack//lib/rack/multipart/parser.rb#112
@@ -4084,51 +4084,51 @@ module Rack::Response::Helpers
4084
4084
 
4085
4085
  protected
4086
4086
 
4087
- # source://rack//lib/rack/response.rb#351
4087
+ # source://rack//lib/rack/response.rb#353
4088
4088
  def append(chunk); end
4089
4089
 
4090
4090
  # source://rack//lib/rack/response.rb#323
4091
4091
  def buffered_body!; end
4092
4092
  end
4093
4093
 
4094
- # source://rack//lib/rack/response.rb#365
4094
+ # source://rack//lib/rack/response.rb#367
4095
4095
  class Rack::Response::Raw
4096
4096
  include ::Rack::Response::Helpers
4097
4097
 
4098
4098
  # @return [Raw] a new instance of Raw
4099
4099
  #
4100
- # source://rack//lib/rack/response.rb#371
4100
+ # source://rack//lib/rack/response.rb#373
4101
4101
  def initialize(status, headers); end
4102
4102
 
4103
- # source://rack//lib/rack/response.rb#388
4103
+ # source://rack//lib/rack/response.rb#390
4104
4104
  def delete_header(key); end
4105
4105
 
4106
- # source://rack//lib/rack/response.rb#380
4106
+ # source://rack//lib/rack/response.rb#382
4107
4107
  def get_header(key); end
4108
4108
 
4109
4109
  # @return [Boolean]
4110
4110
  #
4111
- # source://rack//lib/rack/response.rb#376
4111
+ # source://rack//lib/rack/response.rb#378
4112
4112
  def has_header?(key); end
4113
4113
 
4114
4114
  # Returns the value of attribute headers.
4115
4115
  #
4116
- # source://rack//lib/rack/response.rb#368
4116
+ # source://rack//lib/rack/response.rb#370
4117
4117
  def headers; end
4118
4118
 
4119
- # source://rack//lib/rack/response.rb#384
4119
+ # source://rack//lib/rack/response.rb#386
4120
4120
  def set_header(key, value); end
4121
4121
 
4122
4122
  # Returns the value of attribute status.
4123
4123
  #
4124
- # source://rack//lib/rack/response.rb#369
4124
+ # source://rack//lib/rack/response.rb#371
4125
4125
  def status; end
4126
4126
 
4127
4127
  # Sets the attribute status
4128
4128
  #
4129
4129
  # @param value the value to set the attribute status to.
4130
4130
  #
4131
- # source://rack//lib/rack/response.rb#369
4131
+ # source://rack//lib/rack/response.rb#371
4132
4132
  def status=(_arg0); end
4133
4133
  end
4134
4134
 
@@ -4601,10 +4601,10 @@ end
4601
4601
  module Rack::Utils
4602
4602
  private
4603
4603
 
4604
- # source://rack//lib/rack/utils.rb#254
4604
+ # source://rack//lib/rack/utils.rb#255
4605
4605
  def add_cookie_to_header(header, key, value); end
4606
4606
 
4607
- # source://rack//lib/rack/utils.rb#389
4607
+ # source://rack//lib/rack/utils.rb#390
4608
4608
  def add_remove_cookie_to_header(header, key, value = T.unsafe(nil)); end
4609
4609
 
4610
4610
  # Return best accept value to use, based on the algorithm
@@ -4612,7 +4612,7 @@ module Rack::Utils
4612
4612
  # matches (same specificity and quality), the value returned
4613
4613
  # is arbitrary.
4614
4614
  #
4615
- # source://rack//lib/rack/utils.rb#173
4615
+ # source://rack//lib/rack/utils.rb#174
4616
4616
  def best_q_match(q_value_header, available_mimes); end
4617
4617
 
4618
4618
  # source://rack//lib/rack/utils.rb#127
@@ -4625,10 +4625,10 @@ module Rack::Utils
4625
4625
  # Returns nil if the header is missing or syntactically invalid.
4626
4626
  # Returns an empty array if none of the ranges are satisfiable.
4627
4627
  #
4628
- # source://rack//lib/rack/utils.rb#431
4628
+ # source://rack//lib/rack/utils.rb#432
4629
4629
  def byte_ranges(env, size); end
4630
4630
 
4631
- # source://rack//lib/rack/utils.rb#632
4631
+ # source://rack//lib/rack/utils.rb#636
4632
4632
  def clean_path_info(path_info); end
4633
4633
 
4634
4634
  # :nocov:
@@ -4636,7 +4636,7 @@ module Rack::Utils
4636
4636
  # source://rack//lib/rack/utils.rb#98
4637
4637
  def clock_time; end
4638
4638
 
4639
- # source://rack//lib/rack/utils.rb#383
4639
+ # source://rack//lib/rack/utils.rb#384
4640
4640
  def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end
4641
4641
 
4642
4642
  # :call-seq:
@@ -4653,7 +4653,7 @@ module Rack::Utils
4653
4653
  # delete_set_cookie_header("myname")
4654
4654
  # # => "myname=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT"
4655
4655
  #
4656
- # source://rack//lib/rack/utils.rb#373
4656
+ # source://rack//lib/rack/utils.rb#374
4657
4657
  def delete_set_cookie_header(key, value = T.unsafe(nil)); end
4658
4658
 
4659
4659
  # :call-seq:
@@ -4674,7 +4674,7 @@ module Rack::Utils
4674
4674
  # header
4675
4675
  # # => ["mycookie=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT"]
4676
4676
  #
4677
- # source://rack//lib/rack/utils.rb#413
4677
+ # source://rack//lib/rack/utils.rb#414
4678
4678
  def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end
4679
4679
 
4680
4680
  # URI escapes. (CGI style space to +)
@@ -4684,7 +4684,7 @@ module Rack::Utils
4684
4684
 
4685
4685
  # Escape ampersands, brackets and quotes to their HTML/XML entities.
4686
4686
  #
4687
- # source://rack//lib/rack/utils.rb#198
4687
+ # source://rack//lib/rack/utils.rb#199
4688
4688
  def escape_html(string); end
4689
4689
 
4690
4690
  # Like URI escaping, but with %20 instead of +. Strictly speaking this is
@@ -4696,10 +4696,10 @@ module Rack::Utils
4696
4696
  # source://rack//lib/rack/utils.rb#156
4697
4697
  def forwarded_values(forwarded_header); end
4698
4698
 
4699
- # source://rack//lib/rack/utils.rb#435
4699
+ # source://rack//lib/rack/utils.rb#436
4700
4700
  def get_byte_ranges(http_range, size); end
4701
4701
 
4702
- # source://rack//lib/rack/utils.rb#377
4702
+ # source://rack//lib/rack/utils.rb#378
4703
4703
  def make_delete_cookie_header(header, key, value); end
4704
4704
 
4705
4705
  # :call-seq:
@@ -4711,7 +4711,7 @@ module Rack::Utils
4711
4711
  # parse_cookies({'HTTP_COOKIE' => 'myname=myvalue'})
4712
4712
  # # => {'myname' => 'myvalue'}
4713
4713
  #
4714
- # source://rack//lib/rack/utils.rb#278
4714
+ # source://rack//lib/rack/utils.rb#279
4715
4715
  def parse_cookies(env); end
4716
4716
 
4717
4717
  # :call-seq:
@@ -4724,7 +4724,7 @@ module Rack::Utils
4724
4724
  # parse_cookies_header('myname=myvalue; max-age=0')
4725
4725
  # # => {"myname"=>"myvalue", "max-age"=>"0"}
4726
4726
  #
4727
- # source://rack//lib/rack/utils.rb#244
4727
+ # source://rack//lib/rack/utils.rb#245
4728
4728
  def parse_cookies_header(value); end
4729
4729
 
4730
4730
  # source://rack//lib/rack/utils.rb#113
@@ -4736,15 +4736,15 @@ module Rack::Utils
4736
4736
  # source://rack//lib/rack/utils.rb#145
4737
4737
  def q_values(q_value_header); end
4738
4738
 
4739
- # source://rack//lib/rack/utils.rb#424
4739
+ # source://rack//lib/rack/utils.rb#425
4740
4740
  def rfc2822(time); end
4741
4741
 
4742
4742
  # :nocov:
4743
4743
  #
4744
- # source://rack//lib/rack/utils.rb#472
4744
+ # source://rack//lib/rack/utils.rb#476
4745
4745
  def secure_compare(a, b); end
4746
4746
 
4747
- # source://rack//lib/rack/utils.rb#202
4747
+ # source://rack//lib/rack/utils.rb#203
4748
4748
  def select_best_encoding(available_encodings, accept_encoding); end
4749
4749
 
4750
4750
  # :call-seq:
@@ -4770,7 +4770,7 @@ module Rack::Utils
4770
4770
  # set_cookie_header("myname", {value: "myvalue", max_age: 10})
4771
4771
  # # => "myname=myvalue; max-age=10"
4772
4772
  #
4773
- # source://rack//lib/rack/utils.rb#305
4773
+ # source://rack//lib/rack/utils.rb#306
4774
4774
  def set_cookie_header(key, value); end
4775
4775
 
4776
4776
  # :call-seq:
@@ -4782,10 +4782,10 @@ module Rack::Utils
4782
4782
  # If the headers already contains a +set-cookie+ key, it will be converted
4783
4783
  # to an +Array+ if not already, and appended to.
4784
4784
  #
4785
- # source://rack//lib/rack/utils.rb#347
4785
+ # source://rack//lib/rack/utils.rb#348
4786
4786
  def set_cookie_header!(headers, key, value); end
4787
4787
 
4788
- # source://rack//lib/rack/utils.rb#622
4788
+ # source://rack//lib/rack/utils.rb#626
4789
4789
  def status_code(status); end
4790
4790
 
4791
4791
  # Unescapes a URI escaped string with +encoding+. +encoding+ will be the
@@ -4800,14 +4800,14 @@ module Rack::Utils
4800
4800
  # source://rack//lib/rack/utils.rb#50
4801
4801
  def unescape_path(s); end
4802
4802
 
4803
- # source://rack//lib/rack/utils.rb#649
4803
+ # source://rack//lib/rack/utils.rb#653
4804
4804
  def valid_path?(path); end
4805
4805
 
4806
4806
  class << self
4807
- # source://rack//lib/rack/utils.rb#254
4807
+ # source://rack//lib/rack/utils.rb#255
4808
4808
  def add_cookie_to_header(header, key, value); end
4809
4809
 
4810
- # source://rack//lib/rack/utils.rb#389
4810
+ # source://rack//lib/rack/utils.rb#390
4811
4811
  def add_remove_cookie_to_header(header, key, value = T.unsafe(nil)); end
4812
4812
 
4813
4813
  # Return best accept value to use, based on the algorithm
@@ -4815,7 +4815,7 @@ module Rack::Utils
4815
4815
  # matches (same specificity and quality), the value returned
4816
4816
  # is arbitrary.
4817
4817
  #
4818
- # source://rack//lib/rack/utils.rb#173
4818
+ # source://rack//lib/rack/utils.rb#174
4819
4819
  def best_q_match(q_value_header, available_mimes); end
4820
4820
 
4821
4821
  # source://rack//lib/rack/utils.rb#127
@@ -4828,10 +4828,10 @@ module Rack::Utils
4828
4828
  # Returns nil if the header is missing or syntactically invalid.
4829
4829
  # Returns an empty array if none of the ranges are satisfiable.
4830
4830
  #
4831
- # source://rack//lib/rack/utils.rb#431
4831
+ # source://rack//lib/rack/utils.rb#432
4832
4832
  def byte_ranges(env, size); end
4833
4833
 
4834
- # source://rack//lib/rack/utils.rb#632
4834
+ # source://rack//lib/rack/utils.rb#636
4835
4835
  def clean_path_info(path_info); end
4836
4836
 
4837
4837
  # source://rack//lib/rack/utils.rb#98
@@ -4849,7 +4849,7 @@ module Rack::Utils
4849
4849
  # source://rack//lib/rack/utils.rb#28
4850
4850
  def default_query_parser=(_arg0); end
4851
4851
 
4852
- # source://rack//lib/rack/utils.rb#383
4852
+ # source://rack//lib/rack/utils.rb#384
4853
4853
  def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end
4854
4854
 
4855
4855
  # :call-seq:
@@ -4866,7 +4866,7 @@ module Rack::Utils
4866
4866
  # delete_set_cookie_header("myname")
4867
4867
  # # => "myname=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT"
4868
4868
  #
4869
- # source://rack//lib/rack/utils.rb#373
4869
+ # source://rack//lib/rack/utils.rb#374
4870
4870
  def delete_set_cookie_header(key, value = T.unsafe(nil)); end
4871
4871
 
4872
4872
  # :call-seq:
@@ -4887,7 +4887,7 @@ module Rack::Utils
4887
4887
  # header
4888
4888
  # # => ["mycookie=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT"]
4889
4889
  #
4890
- # source://rack//lib/rack/utils.rb#413
4890
+ # source://rack//lib/rack/utils.rb#414
4891
4891
  def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end
4892
4892
 
4893
4893
  # URI escapes. (CGI style space to +)
@@ -4897,7 +4897,7 @@ module Rack::Utils
4897
4897
 
4898
4898
  # Escape ampersands, brackets and quotes to their HTML/XML entities.
4899
4899
  #
4900
- # source://rack//lib/rack/utils.rb#198
4900
+ # source://rack//lib/rack/utils.rb#199
4901
4901
  def escape_html(string); end
4902
4902
 
4903
4903
  # Like URI escaping, but with %20 instead of +. Strictly speaking this is
@@ -4909,7 +4909,7 @@ module Rack::Utils
4909
4909
  # source://rack//lib/rack/utils.rb#156
4910
4910
  def forwarded_values(forwarded_header); end
4911
4911
 
4912
- # source://rack//lib/rack/utils.rb#435
4912
+ # source://rack//lib/rack/utils.rb#436
4913
4913
  def get_byte_ranges(http_range, size); end
4914
4914
 
4915
4915
  # source://rack//lib/rack/utils.rb#88
@@ -4918,7 +4918,7 @@ module Rack::Utils
4918
4918
  # source://rack//lib/rack/utils.rb#93
4919
4919
  def key_space_limit=(v); end
4920
4920
 
4921
- # source://rack//lib/rack/utils.rb#377
4921
+ # source://rack//lib/rack/utils.rb#378
4922
4922
  def make_delete_cookie_header(header, key, value); end
4923
4923
 
4924
4924
  # Returns the value of attribute multipart_file_limit.
@@ -4974,7 +4974,7 @@ module Rack::Utils
4974
4974
  # parse_cookies({'HTTP_COOKIE' => 'myname=myvalue'})
4975
4975
  # # => {'myname' => 'myvalue'}
4976
4976
  #
4977
- # source://rack//lib/rack/utils.rb#278
4977
+ # source://rack//lib/rack/utils.rb#279
4978
4978
  def parse_cookies(env); end
4979
4979
 
4980
4980
  # :call-seq:
@@ -4987,7 +4987,7 @@ module Rack::Utils
4987
4987
  # parse_cookies_header('myname=myvalue; max-age=0')
4988
4988
  # # => {"myname"=>"myvalue", "max-age"=>"0"}
4989
4989
  #
4990
- # source://rack//lib/rack/utils.rb#244
4990
+ # source://rack//lib/rack/utils.rb#245
4991
4991
  def parse_cookies_header(value); end
4992
4992
 
4993
4993
  # source://rack//lib/rack/utils.rb#113
@@ -4999,13 +4999,13 @@ module Rack::Utils
4999
4999
  # source://rack//lib/rack/utils.rb#145
5000
5000
  def q_values(q_value_header); end
5001
5001
 
5002
- # source://rack//lib/rack/utils.rb#424
5002
+ # source://rack//lib/rack/utils.rb#425
5003
5003
  def rfc2822(time); end
5004
5004
 
5005
- # source://rack//lib/rack/utils.rb#472
5005
+ # source://rack//lib/rack/utils.rb#476
5006
5006
  def secure_compare(a, b); end
5007
5007
 
5008
- # source://rack//lib/rack/utils.rb#202
5008
+ # source://rack//lib/rack/utils.rb#203
5009
5009
  def select_best_encoding(available_encodings, accept_encoding); end
5010
5010
 
5011
5011
  # :call-seq:
@@ -5031,7 +5031,7 @@ module Rack::Utils
5031
5031
  # set_cookie_header("myname", {value: "myvalue", max_age: 10})
5032
5032
  # # => "myname=myvalue; max-age=10"
5033
5033
  #
5034
- # source://rack//lib/rack/utils.rb#305
5034
+ # source://rack//lib/rack/utils.rb#306
5035
5035
  def set_cookie_header(key, value); end
5036
5036
 
5037
5037
  # :call-seq:
@@ -5043,10 +5043,10 @@ module Rack::Utils
5043
5043
  # If the headers already contains a +set-cookie+ key, it will be converted
5044
5044
  # to an +Array+ if not already, and appended to.
5045
5045
  #
5046
- # source://rack//lib/rack/utils.rb#347
5046
+ # source://rack//lib/rack/utils.rb#348
5047
5047
  def set_cookie_header!(headers, key, value); end
5048
5048
 
5049
- # source://rack//lib/rack/utils.rb#622
5049
+ # source://rack//lib/rack/utils.rb#626
5050
5050
  def status_code(status); end
5051
5051
 
5052
5052
  # Unescapes a URI escaped string with +encoding+. +encoding+ will be the
@@ -5063,7 +5063,7 @@ module Rack::Utils
5063
5063
 
5064
5064
  # @return [Boolean]
5065
5065
  #
5066
- # source://rack//lib/rack/utils.rb#649
5066
+ # source://rack//lib/rack/utils.rb#653
5067
5067
  def valid_path?(path); end
5068
5068
  end
5069
5069
  end
@@ -5077,40 +5077,40 @@ Rack::Utils::COMMON_SEP = T.let(T.unsafe(nil), Hash)
5077
5077
  # would be the request environment. The second of which would be the rack
5078
5078
  # application that the request would be forwarded to.
5079
5079
  #
5080
- # source://rack//lib/rack/utils.rb#495
5080
+ # source://rack//lib/rack/utils.rb#499
5081
5081
  class Rack::Utils::Context
5082
5082
  # @return [Context] a new instance of Context
5083
5083
  #
5084
- # source://rack//lib/rack/utils.rb#498
5084
+ # source://rack//lib/rack/utils.rb#502
5085
5085
  def initialize(app_f, app_r); end
5086
5086
 
5087
5087
  # Returns the value of attribute app.
5088
5088
  #
5089
- # source://rack//lib/rack/utils.rb#496
5089
+ # source://rack//lib/rack/utils.rb#500
5090
5090
  def app; end
5091
5091
 
5092
- # source://rack//lib/rack/utils.rb#503
5092
+ # source://rack//lib/rack/utils.rb#507
5093
5093
  def call(env); end
5094
5094
 
5095
- # source://rack//lib/rack/utils.rb#511
5095
+ # source://rack//lib/rack/utils.rb#515
5096
5096
  def context(env, app = T.unsafe(nil)); end
5097
5097
 
5098
5098
  # Returns the value of attribute for.
5099
5099
  #
5100
- # source://rack//lib/rack/utils.rb#496
5100
+ # source://rack//lib/rack/utils.rb#500
5101
5101
  def for; end
5102
5102
 
5103
- # source://rack//lib/rack/utils.rb#507
5103
+ # source://rack//lib/rack/utils.rb#511
5104
5104
  def recontext(app); end
5105
5105
  end
5106
5106
 
5107
5107
  # source://rack//lib/rack/utils.rb#23
5108
5108
  Rack::Utils::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp)
5109
5109
 
5110
- # source://rack//lib/rack/utils.rb#186
5110
+ # source://rack//lib/rack/utils.rb#187
5111
5111
  Rack::Utils::ESCAPE_HTML = T.let(T.unsafe(nil), Hash)
5112
5112
 
5113
- # source://rack//lib/rack/utils.rb#195
5113
+ # source://rack//lib/rack/utils.rb#196
5114
5114
  Rack::Utils::ESCAPE_HTML_PATTERN = T.let(T.unsafe(nil), Regexp)
5115
5115
 
5116
5116
  # Every standard HTTP code mapped to the appropriate message.
@@ -5119,7 +5119,7 @@ Rack::Utils::ESCAPE_HTML_PATTERN = T.let(T.unsafe(nil), Regexp)
5119
5119
  # ruby -ne 'm = /^(\d{3}),(?!Unassigned|\(Unused\))([^,]+)/.match($_) and \
5120
5120
  # puts "#{m[1]} => \x27#{m[2].strip}\x27,"'
5121
5121
  #
5122
- # source://rack//lib/rack/utils.rb#549
5122
+ # source://rack//lib/rack/utils.rb#553
5123
5123
  Rack::Utils::HTTP_STATUS_CODES = T.let(T.unsafe(nil), Hash)
5124
5124
 
5125
5125
  # A wrapper around Headers
@@ -5127,23 +5127,23 @@ Rack::Utils::HTTP_STATUS_CODES = T.let(T.unsafe(nil), Hash)
5127
5127
  #
5128
5128
  # @api private
5129
5129
  #
5130
- # source://rack//lib/rack/utils.rb#520
5130
+ # source://rack//lib/rack/utils.rb#524
5131
5131
  class Rack::Utils::HeaderHash < ::Hash
5132
5132
  class << self
5133
5133
  # @api private
5134
5134
  #
5135
- # source://rack//lib/rack/utils.rb#521
5135
+ # source://rack//lib/rack/utils.rb#525
5136
5136
  def [](headers); end
5137
5137
 
5138
5138
  # @api private
5139
5139
  # @raise [TypeError]
5140
5140
  #
5141
- # source://rack//lib/rack/utils.rb#539
5141
+ # source://rack//lib/rack/utils.rb#543
5142
5142
  def allocate; end
5143
5143
 
5144
5144
  # @api private
5145
5145
  #
5146
- # source://rack//lib/rack/utils.rb#532
5146
+ # source://rack//lib/rack/utils.rb#536
5147
5147
  def new(hash = T.unsafe(nil)); end
5148
5148
  end
5149
5149
  end
@@ -5154,10 +5154,10 @@ Rack::Utils::InvalidParameterError = Rack::QueryParser::InvalidParameterError
5154
5154
  # source://rack//lib/rack/utils.rb#25
5155
5155
  Rack::Utils::KeySpaceConstrainedParams = Rack::QueryParser::Params
5156
5156
 
5157
- # source://rack//lib/rack/utils.rb#647
5157
+ # source://rack//lib/rack/utils.rb#651
5158
5158
  Rack::Utils::NULL_BYTE = T.let(T.unsafe(nil), String)
5159
5159
 
5160
- # source://rack//lib/rack/utils.rb#630
5160
+ # source://rack//lib/rack/utils.rb#634
5161
5161
  Rack::Utils::PATH_SEPS = T.let(T.unsafe(nil), Regexp)
5162
5162
 
5163
5163
  # source://rack//lib/rack/utils.rb#20
@@ -5168,10 +5168,10 @@ Rack::Utils::ParamsTooDeepError = Rack::QueryParser::ParamsTooDeepError
5168
5168
 
5169
5169
  # Responses with HTTP status codes that should not have an entity body
5170
5170
  #
5171
- # source://rack//lib/rack/utils.rb#616
5171
+ # source://rack//lib/rack/utils.rb#620
5172
5172
  Rack::Utils::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash)
5173
5173
 
5174
- # source://rack//lib/rack/utils.rb#618
5174
+ # source://rack//lib/rack/utils.rb#622
5175
5175
  Rack::Utils::SYMBOL_TO_STATUS_CODE = T.let(T.unsafe(nil), Hash)
5176
5176
 
5177
5177
  # The Rack protocol version number implemented.