activerecord-ejection_seat 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.tool-versions +1 -1
  4. data/CHANGELOG.md +6 -0
  5. data/Gemfile +0 -2
  6. data/Gemfile.lock +41 -52
  7. data/lib/activerecord-ejection_seat/version.rb +1 -1
  8. data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
  9. data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
  10. data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
  11. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
  12. data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
  13. data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
  14. data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
  15. data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
  16. data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
  17. data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
  18. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
  19. data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
  20. data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
  21. data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
  22. data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
  23. data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
  24. data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
  25. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
  26. data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
  27. data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
  28. data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
  29. data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
  30. data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
  31. data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
  32. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
  33. data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
  34. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
  35. metadata +27 -33
  36. data/activerecord-ejection_seat.gemspec +0 -40
  37. data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
  38. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
  39. data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
  40. data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
  41. data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
  42. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
  43. /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
  44. /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
  45. /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -15,6 +15,8 @@
15
15
  # interesting idea about how to map the hideous, terrible design of DTD
16
16
  # AttlistDecls onto an intuitive Ruby interface, let me know. I'm desperate
17
17
  # for anything to make DTDs more palateable.
18
+ #
19
+ # source://rexml//lib/rexml/attlistdecl.rb#18
18
20
  class REXML::AttlistDecl < ::REXML::Child
19
21
  include ::Enumerable
20
22
 
@@ -67,6 +69,8 @@ end
67
69
  # <element attribute="value"/>. Attributes can be in their own
68
70
  # namespaces. General users of REXML will not interact with the
69
71
  # Attribute class much.
72
+ #
73
+ # source://rexml//lib/rexml/attribute.rb#10
70
74
  class REXML::Attribute
71
75
  include ::REXML::Node
72
76
  include ::REXML::XMLTokens
@@ -221,6 +225,8 @@ end
221
225
 
222
226
  # A class that defines the set of Attributes of an Element and provides
223
227
  # operations for accessing elements in that set.
228
+ #
229
+ # source://rexml//lib/rexml/element.rb#2141
224
230
  class REXML::Attributes < ::Hash
225
231
  # :call-seq:
226
232
  # new(element)
@@ -562,6 +568,7 @@ class REXML::Attributes < ::Hash
562
568
  def to_a; end
563
569
  end
564
570
 
571
+ # source://rexml//lib/rexml/cdata.rb#5
565
572
  class REXML::CData < ::REXML::Text
566
573
  # Constructor. CData is data between <![CDATA[ ... ]]>
567
574
  #
@@ -622,6 +629,8 @@ end
622
629
  # A Child object is something contained by a parent, and this class
623
630
  # contains methods to support that. Most user code will not use this
624
631
  # class directly.
632
+ #
633
+ # source://rexml//lib/rexml/child.rb#9
625
634
  class REXML::Child
626
635
  include ::REXML::Node
627
636
 
@@ -709,6 +718,8 @@ class REXML::Child
709
718
  end
710
719
 
711
720
  # Represents an XML comment; that is, text between \<!-- ... -->
721
+ #
722
+ # source://rexml//lib/rexml/comment.rb#7
712
723
  class REXML::Comment < ::REXML::Child
713
724
  include ::Comparable
714
725
 
@@ -776,10 +787,13 @@ class REXML::Comment < ::REXML::Child
776
787
  def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
777
788
  end
778
789
 
790
+ # source://rexml//lib/rexml/xpath_parser.rb#11
779
791
  module REXML::DClonable; end
780
792
 
781
793
  # This is an abstract class. You never use this directly; it serves as a
782
794
  # parent class for the specific declarations.
795
+ #
796
+ # source://rexml//lib/rexml/doctype.rb#242
783
797
  class REXML::Declaration < ::REXML::Child
784
798
  # @return [Declaration] a new instance of Declaration
785
799
  #
@@ -799,6 +813,8 @@ end
799
813
  # Represents an XML DOCTYPE declaration; that is, the contents of <!DOCTYPE
800
814
  # ... >. DOCTYPES can be used to declare the DTD of a document, as well as
801
815
  # being used to declare entities used in the document.
816
+ #
817
+ # source://rexml//lib/rexml/doctype.rb#51
802
818
  class REXML::DocType < ::REXML::Parent
803
819
  include ::REXML::XMLTokens
804
820
 
@@ -929,6 +945,8 @@ end
929
945
  # {tasks pages}[../doc/rexml/tasks/tocs/master_toc_rdoc.html],
930
946
  # and in particular, the
931
947
  # {tasks page for documents}[../doc/rexml/tasks/tocs/document_toc_rdoc.html].
948
+ #
949
+ # source://rexml//lib/rexml/document.rb#35
932
950
  class REXML::Document < ::REXML::Element
933
951
  # :call-seq:
934
952
  # new(string = nil, context = {}) -> new_document
@@ -1558,6 +1576,8 @@ end
1558
1576
  # #elements:: Returns the REXML::Elements object for the element.
1559
1577
  # #attributes:: Returns the REXML::Attributes object for the element.
1560
1578
  # #context:: Returns or sets the context hash for the element.
1579
+ #
1580
+ # source://rexml//lib/rexml/element.rb#279
1561
1581
  class REXML::Element < ::REXML::Parent
1562
1582
  include ::REXML::XMLTokens
1563
1583
  include ::REXML::Namespace
@@ -2593,6 +2613,7 @@ class REXML::Element < ::REXML::Parent
2593
2613
  def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
2594
2614
  end
2595
2615
 
2616
+ # source://rexml//lib/rexml/doctype.rb#261
2596
2617
  class REXML::ElementDecl < ::REXML::Declaration
2597
2618
  # @return [ElementDecl] a new instance of ElementDecl
2598
2619
  #
@@ -2641,6 +2662,8 @@ end
2641
2662
  # d = REXML::Document.new(xml_string)
2642
2663
  # elements = d.root.elements
2643
2664
  # elements # => #<REXML::Elements @element=<bookstore> ... </>>
2665
+ #
2666
+ # source://rexml//lib/rexml/element.rb#1595
2644
2667
  class REXML::Elements
2645
2668
  include ::Enumerable
2646
2669
 
@@ -3167,6 +3190,7 @@ class REXML::Elements
3167
3190
  def literalize(name); end
3168
3191
  end
3169
3192
 
3193
+ # source://rexml//lib/rexml/encoding.rb#4
3170
3194
  module REXML::Encoding
3171
3195
  # source://rexml//lib/rexml/encoding.rb#29
3172
3196
  def decode(string); end
@@ -3188,6 +3212,7 @@ module REXML::Encoding
3188
3212
  def find_encoding(name); end
3189
3213
  end
3190
3214
 
3215
+ # source://rexml//lib/rexml/entity.rb#7
3191
3216
  class REXML::Entity < ::REXML::Child
3192
3217
  include ::REXML::XMLTokens
3193
3218
 
@@ -3284,6 +3309,7 @@ class REXML::Entity < ::REXML::Child
3284
3309
  end
3285
3310
  end
3286
3311
 
3312
+ # source://rexml//lib/rexml/doctype.rb#267
3287
3313
  class REXML::ExternalEntity < ::REXML::Child
3288
3314
  # @return [ExternalEntity] a new instance of ExternalEntity
3289
3315
  #
@@ -3297,6 +3323,7 @@ class REXML::ExternalEntity < ::REXML::Child
3297
3323
  def write(output, indent); end
3298
3324
  end
3299
3325
 
3326
+ # source://rexml//lib/rexml/formatters/default.rb#5
3300
3327
  class REXML::Formatters::Default
3301
3328
  # Prints out the XML document with no formatting -- except if ie_hack is
3302
3329
  # set.
@@ -3346,6 +3373,8 @@ end
3346
3373
  # and will insert carriage returns and indentations.
3347
3374
  #
3348
3375
  # TODO: Add an option to print attributes on new lines
3376
+ #
3377
+ # source://rexml//lib/rexml/formatters/pretty.rb#10
3349
3378
  class REXML::Formatters::Pretty < ::REXML::Formatters::Default
3350
3379
  # Create a new pretty printer.
3351
3380
  #
@@ -3415,6 +3444,8 @@ end
3415
3444
 
3416
3445
  # A Source that wraps an IO. See the Source class for method
3417
3446
  # documentation
3447
+ #
3448
+ # source://rexml//lib/rexml/source.rb#159
3418
3449
  class REXML::IOSource < ::REXML::Source
3419
3450
  # block_size has been deprecated
3420
3451
  #
@@ -3459,6 +3490,8 @@ end
3459
3490
 
3460
3491
  # Represents an XML Instruction; IE, <? ... ?>
3461
3492
  # TODO: Add parent arg (3rd arg) to constructor
3493
+ #
3494
+ # source://rexml//lib/rexml/instruction.rb#9
3462
3495
  class REXML::Instruction < ::REXML::Child
3463
3496
  # Constructs a new Instruction
3464
3497
  # the target of this instruction is set to this. If an Instruction,
@@ -3521,6 +3554,7 @@ class REXML::Instruction < ::REXML::Child
3521
3554
  def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
3522
3555
  end
3523
3556
 
3557
+ # source://rexml//lib/rexml/doctype.rb#280
3524
3558
  class REXML::NotationDecl < ::REXML::Child
3525
3559
  # @return [NotationDecl] a new instance of NotationDecl
3526
3560
  #
@@ -3565,6 +3599,7 @@ class REXML::NotationDecl < ::REXML::Child
3565
3599
  def write(output, indent = T.unsafe(nil)); end
3566
3600
  end
3567
3601
 
3602
+ # source://rexml//lib/rexml/output.rb#5
3568
3603
  class REXML::Output
3569
3604
  include ::REXML::Encoding
3570
3605
 
@@ -3588,6 +3623,8 @@ end
3588
3623
  # A parent has children, and has methods for accessing them. The Parent
3589
3624
  # class is never encountered except as the superclass for some other
3590
3625
  # object.
3626
+ #
3627
+ # source://rexml//lib/rexml/parent.rb#8
3591
3628
  class REXML::Parent < ::REXML::Child
3592
3629
  include ::Enumerable
3593
3630
 
@@ -3716,6 +3753,7 @@ class REXML::Parent < ::REXML::Child
3716
3753
  def unshift(object); end
3717
3754
  end
3718
3755
 
3756
+ # source://rexml//lib/rexml/parseexception.rb#3
3719
3757
  class REXML::ParseException < ::RuntimeError
3720
3758
  # @return [ParseException] a new instance of ParseException
3721
3759
  #
@@ -3790,6 +3828,8 @@ end
3790
3828
  # end
3791
3829
  #
3792
3830
  # Nat Price gave me some good ideas for the API.
3831
+ #
3832
+ # source://rexml//lib/rexml/parsers/baseparser.rb#29
3793
3833
  class REXML::Parsers::BaseParser
3794
3834
  # @return [BaseParser] a new instance of BaseParser
3795
3835
  #
@@ -3899,6 +3939,7 @@ REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
3899
3939
  # source://rexml//lib/rexml/parsers/baseparser.rb#37
3900
3940
  REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
3901
3941
 
3942
+ # source://rexml//lib/rexml/parsers/streamparser.rb#6
3902
3943
  class REXML::Parsers::StreamParser
3903
3944
  # @return [StreamParser] a new instance of StreamParser
3904
3945
  #
@@ -3912,6 +3953,7 @@ class REXML::Parsers::StreamParser
3912
3953
  def parse; end
3913
3954
  end
3914
3955
 
3956
+ # source://rexml//lib/rexml/parsers/treeparser.rb#7
3915
3957
  class REXML::Parsers::TreeParser
3916
3958
  # @return [TreeParser] a new instance of TreeParser
3917
3959
  #
@@ -3929,6 +3971,8 @@ end
3929
3971
  # for this class. Believe me. You don't want to poke around in here.
3930
3972
  # There is strange, dark magic at work in this code. Beware. Go back! Go
3931
3973
  # back while you still can!
3974
+ #
3975
+ # source://rexml//lib/rexml/parsers/xpathparser.rb#11
3932
3976
  class REXML::Parsers::XPathParser
3933
3977
  include ::REXML::XMLTokens
3934
3978
 
@@ -4065,6 +4109,7 @@ REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
4065
4109
  # source://rexml//lib/rexml/parsers/xpathparser.rb#288
4066
4110
  REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
4067
4111
 
4112
+ # source://rexml//lib/rexml/doctype.rb#10
4068
4113
  class REXML::ReferenceWriter
4069
4114
  # @return [ReferenceWriter] a new instance of ReferenceWriter
4070
4115
  #
@@ -4077,6 +4122,8 @@ end
4077
4122
 
4078
4123
  # A Source can be searched for patterns, and wraps buffers and other
4079
4124
  # objects and provides consumption of text
4125
+ #
4126
+ # source://rexml//lib/rexml/source.rb#31
4080
4127
  class REXML::Source
4081
4128
  include ::REXML::Encoding
4082
4129
 
@@ -4170,6 +4217,8 @@ class REXML::Source
4170
4217
  end
4171
4218
 
4172
4219
  # Represents text nodes in an XML document
4220
+ #
4221
+ # source://rexml//lib/rexml/text.rb#11
4173
4222
  class REXML::Text < ::REXML::Child
4174
4223
  include ::Comparable
4175
4224
 
@@ -4372,6 +4421,7 @@ class REXML::Text < ::REXML::Child
4372
4421
  end
4373
4422
  end
4374
4423
 
4424
+ # source://rexml//lib/rexml/undefinednamespaceexception.rb#4
4375
4425
  class REXML::UndefinedNamespaceException < ::REXML::ParseException
4376
4426
  # @return [UndefinedNamespaceException] a new instance of UndefinedNamespaceException
4377
4427
  #
@@ -4379,6 +4429,7 @@ class REXML::UndefinedNamespaceException < ::REXML::ParseException
4379
4429
  def initialize(prefix, source, parser); end
4380
4430
  end
4381
4431
 
4432
+ # source://rexml//lib/rexml/validation/validationexception.rb#4
4382
4433
  class REXML::Validation::ValidationException < ::RuntimeError
4383
4434
  # @return [ValidationException] a new instance of ValidationException
4384
4435
  #
@@ -4387,6 +4438,8 @@ class REXML::Validation::ValidationException < ::RuntimeError
4387
4438
  end
4388
4439
 
4389
4440
  # NEEDS DOCUMENTATION
4441
+ #
4442
+ # source://rexml//lib/rexml/xmldecl.rb#8
4390
4443
  class REXML::XMLDecl < ::REXML::Child
4391
4444
  include ::REXML::Encoding
4392
4445
 
@@ -4489,6 +4542,8 @@ class REXML::XMLDecl < ::REXML::Child
4489
4542
  end
4490
4543
 
4491
4544
  # @private
4545
+ #
4546
+ # source://rexml//lib/rexml/xpath_parser.rb#959
4492
4547
  class REXML::XPathNode
4493
4548
  # @return [XPathNode] a new instance of XPathNode
4494
4549
  #
@@ -4513,6 +4568,8 @@ end
4513
4568
  # for this class. Believe me. You don't want to poke around in here.
4514
4569
  # There is strange, dark magic at work in this code. Beware. Go back! Go
4515
4570
  # back while you still can!
4571
+ #
4572
+ # source://rexml//lib/rexml/xpath_parser.rb#54
4516
4573
  class REXML::XPathParser
4517
4574
  include ::REXML::XMLTokens
4518
4575
 
@@ -420,18 +420,18 @@ class RuboCop::AST::Builder < ::Parser::Builders::Default
420
420
  #
421
421
  # @return [Node] the generated node
422
422
  #
423
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#97
423
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#98
424
424
  def n(type, children, source_map); end
425
425
 
426
426
  # TODO: Figure out what to do about literal encoding handling...
427
427
  # More details here https://github.com/whitequark/parser/issues/283
428
428
  #
429
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#103
429
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#104
430
430
  def string_value(token); end
431
431
 
432
432
  private
433
433
 
434
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#109
434
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#110
435
435
  def node_klass(type); end
436
436
  end
437
437
 
@@ -1373,8 +1373,8 @@ module RuboCop::AST::Ext::Range
1373
1373
  # :bar
1374
1374
  # ]
1375
1375
  #
1376
- # node.loc.begin.line_span # => 1..1
1377
- # node.loc.expression.line_span(exclude_end: true) # => 1...4
1376
+ # node.loc.begin.line_span # => 1..1
1377
+ # node.source_range.line_span(exclude_end: true) # => 1...4
1378
1378
  #
1379
1379
  # @return [Range] the range of line numbers for the node
1380
1380
  #
@@ -1961,9 +1961,9 @@ class RuboCop::AST::IntNode < ::RuboCop::AST::Node
1961
1961
  include ::RuboCop::AST::NumericNode
1962
1962
  end
1963
1963
 
1964
- # A node extension for `kwsplat` nodes. This will be used in place of a
1965
- # plain node when the builder constructs the AST, making its methods
1966
- # available to all `kwsplat` nodes within RuboCop.
1964
+ # A node extension for `kwsplat` and `forwarded_kwrestarg` nodes. This will be used in
1965
+ # place of a plain node when the builder constructs the AST, making its methods available to
1966
+ # all `kwsplat` and `forwarded_kwrestarg` nodes within RuboCop.
1967
1967
  #
1968
1968
  # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#8
1969
1969
  class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node
@@ -1985,6 +1985,13 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node
1985
1985
  # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#18
1986
1986
  def hash_rocket?; end
1987
1987
 
1988
+ # This provides `forwarded_kwrestarg` node to return true to be compatible with `kwsplat` node.
1989
+ #
1990
+ # @return [true]
1991
+ #
1992
+ # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#48
1993
+ def kwsplat_type?; end
1994
+
1988
1995
  # Custom destructuring method. This is used to normalize the branches
1989
1996
  # for `pair` and `kwsplat` nodes, to add duck typing to `hash` elements.
1990
1997
  #
@@ -4695,6 +4702,9 @@ class RuboCop::AST::NodePattern::Node < ::Parser::AST::Node
4695
4702
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#19
4696
4703
  def rest?; end
4697
4704
 
4705
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#78
4706
+ def source_range; end
4707
+
4698
4708
  # @return [Boolean] returns whether it matches a variable number of elements
4699
4709
  #
4700
4710
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#58
@@ -4706,67 +4716,67 @@ end
4706
4716
 
4707
4717
  # Node class for `<int str ...>`
4708
4718
  #
4709
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#176
4719
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#180
4710
4720
  class RuboCop::AST::NodePattern::Node::AnyOrder < ::RuboCop::AST::NodePattern::Node
4711
4721
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4712
4722
 
4713
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#194
4723
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#198
4714
4724
  def arity; end
4715
4725
 
4716
4726
  # @return [Boolean]
4717
4727
  #
4718
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#186
4728
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#190
4719
4729
  def ends_with_rest?; end
4720
4730
 
4721
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#190
4731
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#194
4722
4732
  def rest_node; end
4723
4733
 
4724
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#182
4734
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#186
4725
4735
  def term_nodes; end
4726
4736
  end
4727
4737
 
4728
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#179
4738
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#183
4729
4739
  RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash)
4730
4740
 
4731
4741
  # Node class for `$something`
4732
4742
  #
4733
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#93
4743
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#97
4734
4744
  class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node
4735
4745
  # source://forwardable/1.3.3/forwardable.rb#231
4736
4746
  def arity(*args, **_arg1, &block); end
4737
4747
 
4738
4748
  # @return [Boolean]
4739
4749
  #
4740
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#97
4750
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#101
4741
4751
  def capture?; end
4742
4752
 
4743
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#105
4753
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#109
4744
4754
  def in_sequence_head; end
4745
4755
 
4746
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#101
4756
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#105
4747
4757
  def nb_captures; end
4748
4758
 
4749
4759
  # source://forwardable/1.3.3/forwardable.rb#231
4750
4760
  def rest?(*args, **_arg1, &block); end
4751
4761
  end
4752
4762
 
4753
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#82
4763
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86
4754
4764
  module RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4755
4765
  # @raise [NodePattern::Invalid]
4756
4766
  #
4757
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#83
4767
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#87
4758
4768
  def in_sequence_head; end
4759
4769
  end
4760
4770
 
4761
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#136
4771
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#140
4762
4772
  RuboCop::AST::NodePattern::Node::FunctionCall = RuboCop::AST::NodePattern::Node::Predicate
4763
4773
 
4764
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#78
4774
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#82
4765
4775
  RuboCop::AST::NodePattern::Node::INT_TO_RANGE = T.let(T.unsafe(nil), Hash)
4766
4776
 
4767
4777
  # Registry
4768
4778
  #
4769
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#246
4779
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#250
4770
4780
  RuboCop::AST::NodePattern::Node::MAP = T.let(T.unsafe(nil), Hash)
4771
4781
 
4772
4782
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#12
@@ -4774,83 +4784,83 @@ RuboCop::AST::NodePattern::Node::MATCHES_WITHIN_SET = T.let(T.unsafe(nil), Set)
4774
4784
 
4775
4785
  # Node class for `predicate?(:arg, :list)`
4776
4786
  #
4777
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#127
4787
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131
4778
4788
  class RuboCop::AST::NodePattern::Node::Predicate < ::RuboCop::AST::NodePattern::Node
4779
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#132
4789
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#136
4780
4790
  def arg_list; end
4781
4791
 
4782
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#128
4792
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#132
4783
4793
  def method_name; end
4784
4794
  end
4785
4795
 
4786
4796
  # Node class for `int+`
4787
4797
  #
4788
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#139
4798
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#143
4789
4799
  class RuboCop::AST::NodePattern::Node::Repetition < ::RuboCop::AST::NodePattern::Node
4790
4800
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4791
4801
 
4792
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#152
4802
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#156
4793
4803
  def arity; end
4794
4804
 
4795
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#142
4805
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#146
4796
4806
  def operator; end
4797
4807
  end
4798
4808
 
4799
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#146
4809
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#150
4800
4810
  RuboCop::AST::NodePattern::Node::Repetition::ARITIES = T.let(T.unsafe(nil), Hash)
4801
4811
 
4802
4812
  # Node class for `...`
4803
4813
  #
4804
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#158
4814
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
4805
4815
  class RuboCop::AST::NodePattern::Node::Rest < ::RuboCop::AST::NodePattern::Node
4806
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#166
4816
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#170
4807
4817
  def arity; end
4808
4818
 
4809
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#170
4819
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#174
4810
4820
  def in_sequence_head; end
4811
4821
 
4812
4822
  # @return [Boolean]
4813
4823
  #
4814
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
4824
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#166
4815
4825
  def rest?; end
4816
4826
  end
4817
4827
 
4818
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#159
4828
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#163
4819
4829
  RuboCop::AST::NodePattern::Node::Rest::ARITY = T.let(T.unsafe(nil), Range)
4820
4830
 
4821
4831
  # Node class for `(type first second ...)`
4822
4832
  #
4823
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#114
4833
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#118
4824
4834
  class RuboCop::AST::NodePattern::Node::Sequence < ::RuboCop::AST::NodePattern::Node
4825
4835
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4826
4836
 
4827
4837
  # @return [Sequence] a new instance of Sequence
4828
4838
  #
4829
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#117
4839
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#121
4830
4840
  def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
4831
4841
  end
4832
4842
 
4833
4843
  # A list (potentially empty) of nodes; part of a Union
4834
4844
  #
4835
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#202
4845
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#206
4836
4846
  class RuboCop::AST::NodePattern::Node::Subsequence < ::RuboCop::AST::NodePattern::Node
4837
4847
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4838
4848
 
4839
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#205
4849
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#209
4840
4850
  def arity; end
4841
4851
 
4842
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#210
4852
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#214
4843
4853
  def in_sequence_head; end
4844
4854
  end
4845
4855
 
4846
4856
  # Node class for `{ ... }`
4847
4857
  #
4848
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#220
4858
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224
4849
4859
  class RuboCop::AST::NodePattern::Node::Union < ::RuboCop::AST::NodePattern::Node
4850
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#221
4860
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#225
4851
4861
  def arity; end
4852
4862
 
4853
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#228
4863
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#232
4854
4864
  def in_sequence_head; end
4855
4865
  end
4856
4866
 
@@ -5050,15 +5060,15 @@ RuboCop::AST::NodePattern::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil),
5050
5060
  class RuboCop::AST::NodePattern::Parser::WithMeta < ::RuboCop::AST::NodePattern::Parser
5051
5061
  # Returns the value of attribute comments.
5052
5062
  #
5053
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#99
5063
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#98
5054
5064
  def comments; end
5055
5065
 
5056
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#101
5066
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#100
5057
5067
  def do_parse; end
5058
5068
 
5059
5069
  # Returns the value of attribute tokens.
5060
5070
  #
5061
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#99
5071
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#98
5062
5072
  def tokens; end
5063
5073
  end
5064
5074
 
@@ -5089,7 +5099,7 @@ class RuboCop::AST::NodePattern::Parser::WithMeta::Builder < ::RuboCop::AST::Nod
5089
5099
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#71
5090
5100
  def n(type, children, source_map); end
5091
5101
 
5092
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#86
5102
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#85
5093
5103
  def source_map(token_or_range, begin_t: T.unsafe(nil), end_t: T.unsafe(nil), operator_t: T.unsafe(nil), selector_t: T.unsafe(nil)); end
5094
5104
  end
5095
5105
 
@@ -5225,6 +5235,12 @@ RuboCop::AST::NodePattern::Sets::SET_FILETEST_FILE_DIR_SHELL = T.let(T.unsafe(ni
5225
5235
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5226
5236
  RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set)
5227
5237
 
5238
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5239
+ RuboCop::AST::NodePattern::Sets::SET_FILE_FILETEST = T.let(T.unsafe(nil), Set)
5240
+
5241
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5242
+ RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
5243
+
5228
5244
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5229
5245
  RuboCop::AST::NodePattern::Sets::SET_FIRST_LAST__ETC = T.let(T.unsafe(nil), Set)
5230
5246
 
@@ -5267,6 +5283,9 @@ RuboCop::AST::NodePattern::Sets::SET_LOAD_RESTORE = T.let(T.unsafe(nil), Set)
5267
5283
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5268
5284
  RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set)
5269
5285
 
5286
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5287
+ RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set)
5288
+
5270
5289
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5271
5290
  RuboCop::AST::NodePattern::Sets::SET_NEW_ = T.let(T.unsafe(nil), Set)
5272
5291
 
@@ -5303,11 +5322,14 @@ RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL = T.let(T.unsafe(nil), Set)
5303
5322
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5304
5323
  RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL_THROW_ETC = T.let(T.unsafe(nil), Set)
5305
5324
 
5325
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5326
+ RuboCop::AST::NodePattern::Sets::SET_READ_BINREAD = T.let(T.unsafe(nil), Set)
5327
+
5306
5328
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5307
5329
  RuboCop::AST::NodePattern::Sets::SET_REDUCE_INJECT = T.let(T.unsafe(nil), Set)
5308
5330
 
5309
5331
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5310
- RuboCop::AST::NodePattern::Sets::SET_REJECT_REJECT = T.let(T.unsafe(nil), Set)
5332
+ RuboCop::AST::NodePattern::Sets::SET_REJECT_DELETE_IF_REJECT = T.let(T.unsafe(nil), Set)
5311
5333
 
5312
5334
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5313
5335
  RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set)
@@ -5336,9 +5358,6 @@ RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set)
5336
5358
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5337
5359
  RuboCop::AST::NodePattern::Sets::SET_TASK_NAMESPACE = T.let(T.unsafe(nil), Set)
5338
5360
 
5339
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5340
- RuboCop::AST::NodePattern::Sets::SET_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
5341
-
5342
5361
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5343
5362
  RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set)
5344
5363
 
@@ -5393,6 +5412,12 @@ RuboCop::AST::NodePattern::Sets::SET___6 = T.let(T.unsafe(nil), Set)
5393
5412
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5394
5413
  RuboCop::AST::NodePattern::Sets::SET___7 = T.let(T.unsafe(nil), Set)
5395
5414
 
5415
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5416
+ RuboCop::AST::NodePattern::Sets::SET___8 = T.let(T.unsafe(nil), Set)
5417
+
5418
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5419
+ RuboCop::AST::NodePattern::Sets::SET___9 = T.let(T.unsafe(nil), Set)
5420
+
5396
5421
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5397
5422
  RuboCop::AST::NodePattern::Sets::SET___EQL_ETC = T.let(T.unsafe(nil), Set)
5398
5423
 
@@ -5414,6 +5439,9 @@ RuboCop::AST::NodePattern::Sets::SET____ETC_2 = T.let(T.unsafe(nil), Set)
5414
5439
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5415
5440
  RuboCop::AST::NodePattern::Sets::SET____ETC_3 = T.let(T.unsafe(nil), Set)
5416
5441
 
5442
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5443
+ RuboCop::AST::NodePattern::Sets::SET____ETC_4 = T.let(T.unsafe(nil), Set)
5444
+
5417
5445
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5418
5446
  RuboCop::AST::NodePattern::Sets::SET_____2 = T.let(T.unsafe(nil), Set)
5419
5447
 
@@ -7023,12 +7051,3 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
7023
7051
  # source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#16
7024
7052
  def node_parts; end
7025
7053
  end
7026
-
7027
- # source://rubocop/1.45.1/lib/rubocop/ast_aliases.rb#5
7028
- RuboCop::NodePattern = RuboCop::AST::NodePattern
7029
-
7030
- # source://rubocop/1.45.1/lib/rubocop/ast_aliases.rb#6
7031
- RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
7032
-
7033
- # source://rubocop/1.45.1/lib/rubocop/ast_aliases.rb#7
7034
- RuboCop::Token = RuboCop::AST::Token