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
@@ -4,8 +4,10 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `diff-lcs` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem diff-lcs`.
|
6
6
|
|
7
|
+
# source://diff-lcs//lib/diff/lcs.rb#3
|
7
8
|
module Diff; end
|
8
9
|
|
10
|
+
# source://diff-lcs//lib/diff/lcs.rb#51
|
9
11
|
module Diff::LCS
|
10
12
|
# Returns the difference set between +self+ and +other+. See Diff::LCS#diff.
|
11
13
|
#
|
@@ -391,6 +393,8 @@ Diff::LCS::BalancedCallbacks = Diff::LCS::DefaultCallbacks
|
|
391
393
|
# A block is an operation removing, adding, or changing a group of items.
|
392
394
|
# Basically, this is just a list of changes, where each change adds or
|
393
395
|
# deletes a single item. Used by bin/ldiff.
|
396
|
+
#
|
397
|
+
# source://diff-lcs//lib/diff/lcs/block.rb#6
|
394
398
|
class Diff::LCS::Block
|
395
399
|
# @return [Block] a new instance of Block
|
396
400
|
#
|
@@ -422,6 +426,8 @@ end
|
|
422
426
|
# Represents a simplistic (non-contextual) change. Represents the removal or
|
423
427
|
# addition of an element from either the old or the new sequenced
|
424
428
|
# enumerable.
|
429
|
+
#
|
430
|
+
# source://diff-lcs//lib/diff/lcs/change.rb#6
|
425
431
|
class Diff::LCS::Change
|
426
432
|
include ::Comparable
|
427
433
|
|
@@ -515,6 +521,8 @@ Diff::LCS::Change::VALID_ACTIONS = T.let(T.unsafe(nil), Array)
|
|
515
521
|
# Represents a contextual change. Contains the position and values of the
|
516
522
|
# elements in the old and the new sequenced enumerables as well as the action
|
517
523
|
# taken.
|
524
|
+
#
|
525
|
+
# source://diff-lcs//lib/diff/lcs/change.rb#100
|
518
526
|
class Diff::LCS::ContextChange < ::Diff::LCS::Change
|
519
527
|
# @return [ContextChange] a new instance of ContextChange
|
520
528
|
#
|
@@ -640,6 +648,8 @@ end
|
|
640
648
|
#
|
641
649
|
# require 'pp'
|
642
650
|
# pp diffs.map { |e| e.map { |f| f.to_a } }
|
651
|
+
#
|
652
|
+
# source://diff-lcs//lib/diff/lcs/callbacks.rb#223
|
643
653
|
class Diff::LCS::ContextDiffCallbacks < ::Diff::LCS::DiffCallbacks
|
644
654
|
# source://diff-lcs//lib/diff/lcs/callbacks.rb#232
|
645
655
|
def change(event); end
|
@@ -659,6 +669,8 @@ end
|
|
659
669
|
# Note that this is intended to be called as is, e.g.,
|
660
670
|
#
|
661
671
|
# Diff::LCS.LCS(seq1, seq2, Diff::LCS::DefaultCallbacks)
|
672
|
+
#
|
673
|
+
# source://diff-lcs//lib/diff/lcs/callbacks.rb#14
|
662
674
|
class Diff::LCS::DefaultCallbacks
|
663
675
|
class << self
|
664
676
|
# Called when both the old and new values have changed.
|
@@ -736,6 +748,8 @@ end
|
|
736
748
|
#
|
737
749
|
# require 'pp'
|
738
750
|
# pp diffs.map { |e| e.map { |f| f.to_a } }
|
751
|
+
#
|
752
|
+
# source://diff-lcs//lib/diff/lcs/callbacks.rb#106
|
739
753
|
class Diff::LCS::DiffCallbacks
|
740
754
|
# :yields self:
|
741
755
|
#
|
@@ -773,6 +787,8 @@ end
|
|
773
787
|
# A Hunk is a group of Blocks which overlap because of the context surrounding
|
774
788
|
# each block. (So if we're not using context, every hunk will contain one
|
775
789
|
# block.) Used in the diff program (bin/ldiff).
|
790
|
+
#
|
791
|
+
# source://diff-lcs//lib/diff/lcs/hunk.rb#8
|
776
792
|
class Diff::LCS::Hunk
|
777
793
|
# Create a hunk using references to both the old and new data, as well as the
|
778
794
|
# piece of data.
|
@@ -897,6 +913,7 @@ Diff::LCS::Hunk::ED_DIFF_OP_ACTION = T.let(T.unsafe(nil), Hash)
|
|
897
913
|
# source://diff-lcs//lib/diff/lcs/hunk.rb#9
|
898
914
|
Diff::LCS::Hunk::OLD_DIFF_OP_ACTION = T.let(T.unsafe(nil), Hash)
|
899
915
|
|
916
|
+
# source://diff-lcs//lib/diff/lcs/internals.rb#29
|
900
917
|
module Diff::LCS::Internals
|
901
918
|
class << self
|
902
919
|
# This method will analyze the provided patchset to provide a single-pass
|
@@ -1024,6 +1041,8 @@ end
|
|
1024
1041
|
#
|
1025
1042
|
# require 'pp'
|
1026
1043
|
# pp diffs.map { |e| e.to_a }
|
1044
|
+
#
|
1045
|
+
# source://diff-lcs//lib/diff/lcs/callbacks.rb#301
|
1027
1046
|
class Diff::LCS::SDiffCallbacks
|
1028
1047
|
# :yields self:
|
1029
1048
|
#
|