activerecord-ejection_seat 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile +0 -2
- data/Gemfile.lock +44 -55
- data/README.md +19 -8
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.1.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.1.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.2.2.rbi} +1180 -1267
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +44 -44
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.0.0.rbi → parser@3.2.2.1.rbi} +760 -471
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.6.1.rbi → regexp_parser@2.8.0.rbi} +962 -340
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.24.1.rbi → rubocop-ast@1.28.1.rbi} +165 -146
- data/sorbet/rbi/gems/{rubocop-minitest@0.26.1.rbi → rubocop-minitest@0.31.0.rbi} +456 -248
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/{rubocop-sorbet@0.6.11.rbi → rubocop-sorbet@0.7.0.rbi} +153 -124
- data/sorbet/rbi/gems/{rubocop@1.43.0.rbi → rubocop@1.51.0.rbi} +3237 -2084
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +34 -40
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.2.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.3.8.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +0 -8
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.1.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /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
|
|