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.
Files changed (49) 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/CODE_OF_CONDUCT.md +1 -1
  6. data/Gemfile +0 -2
  7. data/Gemfile.lock +44 -55
  8. data/README.md +19 -8
  9. data/lib/activerecord-ejection_seat/version.rb +1 -1
  10. data/sorbet/rbi/gems/{activerecord@7.0.4.1.rbi → activerecord@7.0.4.3.rbi} +128 -128
  11. data/sorbet/rbi/gems/{activesupport@7.0.4.1.rbi → activesupport@7.0.4.3.rbi} +79 -103
  12. data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.2.2.rbi} +1180 -1267
  13. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
  14. data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
  15. data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +44 -44
  16. data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
  17. data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
  18. data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
  19. data/sorbet/rbi/gems/{parser@3.2.0.0.rbi → parser@3.2.2.1.rbi} +760 -471
  20. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
  21. data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
  22. data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
  23. data/sorbet/rbi/gems/{regexp_parser@2.6.1.rbi → regexp_parser@2.8.0.rbi} +962 -340
  24. data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
  25. data/sorbet/rbi/gems/{rubocop-ast@1.24.1.rbi → rubocop-ast@1.28.1.rbi} +165 -146
  26. data/sorbet/rbi/gems/{rubocop-minitest@0.26.1.rbi → rubocop-minitest@0.31.0.rbi} +456 -248
  27. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
  28. data/sorbet/rbi/gems/{rubocop-sorbet@0.6.11.rbi → rubocop-sorbet@0.7.0.rbi} +153 -124
  29. data/sorbet/rbi/gems/{rubocop@1.43.0.rbi → rubocop@1.51.0.rbi} +3237 -2084
  30. data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
  31. data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
  32. data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
  33. data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
  34. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
  35. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
  36. data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
  37. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
  38. metadata +34 -40
  39. data/activerecord-ejection_seat.gemspec +0 -40
  40. data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
  41. data/sorbet/rbi/gems/language_server-protocol@3.17.0.2.rbi +0 -8
  42. data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
  43. data/sorbet/rbi/gems/ruby-lsp@0.3.8.rbi +0 -14
  44. data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +0 -8
  45. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -8
  46. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
  47. /data/sorbet/rbi/gems/{activemodel@7.0.4.1.rbi → activemodel@7.0.4.3.rbi} +0 -0
  48. /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
  49. /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -6,7 +6,7 @@
6
6
 
7
7
  # An output formatter used internally by the lexer.
8
8
  #
9
- # source://irb//lib/irb/notifier.rb#17
9
+ # source://irb//lib/irb/notifier.rb#11
10
10
  module IRB::Notifier
11
11
  private
12
12
 
@@ -19,7 +19,7 @@ module IRB::Notifier
19
19
  # expressions will be sent directly to STDOUT without any additional
20
20
  # formatting.
21
21
  #
22
- # source://irb//lib/irb/notifier.rb#37
22
+ # source://irb//lib/irb/notifier.rb#31
23
23
  def def_notifier(prefix = T.unsafe(nil), output_method = T.unsafe(nil)); end
24
24
 
25
25
  class << self
@@ -32,7 +32,7 @@ module IRB::Notifier
32
32
  # expressions will be sent directly to STDOUT without any additional
33
33
  # formatting.
34
34
  #
35
- # source://irb//lib/irb/notifier.rb#37
35
+ # source://irb//lib/irb/notifier.rb#31
36
36
  def def_notifier(prefix = T.unsafe(nil), output_method = T.unsafe(nil)); end
37
37
  end
38
38
  end
@@ -41,20 +41,20 @@ end
41
41
  # LeveledNotifier to inherit. It provides several wrapper methods for the
42
42
  # OutputMethod object used by the Notifier.
43
43
  #
44
- # source://irb//lib/irb/notifier.rb#45
44
+ # source://irb//lib/irb/notifier.rb#39
45
45
  class IRB::Notifier::AbstractNotifier
46
46
  # Creates a new Notifier object
47
47
  #
48
48
  # @return [AbstractNotifier] a new instance of AbstractNotifier
49
49
  #
50
- # source://irb//lib/irb/notifier.rb#47
50
+ # source://irb//lib/irb/notifier.rb#41
51
51
  def initialize(prefix, base_notifier); end
52
52
 
53
53
  # Execute the given block if notifications are enabled.
54
54
  #
55
55
  # @yield [@base_notifier]
56
56
  #
57
- # source://irb//lib/irb/notifier.rb#105
57
+ # source://irb//lib/irb/notifier.rb#99
58
58
  def exec_if; end
59
59
 
60
60
  # A wrapper method used to determine whether notifications are enabled.
@@ -63,14 +63,14 @@ class IRB::Notifier::AbstractNotifier
63
63
  #
64
64
  # @return [Boolean]
65
65
  #
66
- # source://irb//lib/irb/notifier.rb#59
66
+ # source://irb//lib/irb/notifier.rb#53
67
67
  def notify?; end
68
68
 
69
69
  # Same as #ppx, except it uses the #prefix given during object
70
70
  # initialization.
71
71
  # See OutputMethod#ppx for more detail.
72
72
  #
73
- # source://irb//lib/irb/notifier.rb#88
73
+ # source://irb//lib/irb/notifier.rb#82
74
74
  def pp(*objs); end
75
75
 
76
76
  # Same as #pp, except it concatenates the given +prefix+ with the #prefix
@@ -78,33 +78,33 @@ class IRB::Notifier::AbstractNotifier
78
78
  #
79
79
  # See OutputMethod#ppx for more detail.
80
80
  #
81
- # source://irb//lib/irb/notifier.rb#98
81
+ # source://irb//lib/irb/notifier.rb#92
82
82
  def ppx(prefix, *objs); end
83
83
 
84
84
  # The +prefix+ for this Notifier, which is appended to all objects being
85
85
  # inspected during output.
86
86
  #
87
- # source://irb//lib/irb/notifier.rb#54
87
+ # source://irb//lib/irb/notifier.rb#48
88
88
  def prefix; end
89
89
 
90
90
  # See OutputMethod#print for more detail.
91
91
  #
92
- # source://irb//lib/irb/notifier.rb#64
92
+ # source://irb//lib/irb/notifier.rb#58
93
93
  def print(*opts); end
94
94
 
95
95
  # See OutputMethod#printf for more detail.
96
96
  #
97
- # source://irb//lib/irb/notifier.rb#74
97
+ # source://irb//lib/irb/notifier.rb#68
98
98
  def printf(format, *opts); end
99
99
 
100
100
  # See OutputMethod#printn for more detail.
101
101
  #
102
- # source://irb//lib/irb/notifier.rb#69
102
+ # source://irb//lib/irb/notifier.rb#63
103
103
  def printn(*opts); end
104
104
 
105
105
  # See OutputMethod#puts for more detail.
106
106
  #
107
- # source://irb//lib/irb/notifier.rb#79
107
+ # source://irb//lib/irb/notifier.rb#73
108
108
  def puts(*objs); end
109
109
  end
110
110
 
@@ -119,14 +119,14 @@ end
119
119
  # object you create, sibling notifiers can be initialized with
120
120
  # #def_notifier.
121
121
  #
122
- # source://irb//lib/irb/notifier.rb#122
122
+ # source://irb//lib/irb/notifier.rb#114
123
123
  class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
124
124
  # Create a new composite notifier object with the given +prefix+, and
125
125
  # +base_notifier+ to use for output.
126
126
  #
127
127
  # @return [CompositeNotifier] a new instance of CompositeNotifier
128
128
  #
129
- # source://irb//lib/irb/notifier.rb#123
129
+ # source://irb//lib/irb/notifier.rb#117
130
130
  def initialize(prefix, base_notifier); end
131
131
 
132
132
  # Creates a new LeveledNotifier in the composite #notifiers group.
@@ -136,12 +136,12 @@ class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
136
136
  #
137
137
  # This method returns the newly created instance.
138
138
  #
139
- # source://irb//lib/irb/notifier.rb#139
139
+ # source://irb//lib/irb/notifier.rb#133
140
140
  def def_notifier(level, prefix = T.unsafe(nil)); end
141
141
 
142
142
  # Returns the leveled notifier for this object
143
143
  #
144
- # source://irb//lib/irb/notifier.rb#146
144
+ # source://irb//lib/irb/notifier.rb#140
145
145
  def level; end
146
146
 
147
147
  # Sets the leveled notifier for this object.
@@ -159,12 +159,12 @@ class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
159
159
  # found in the existing #notifiers Array, or an instance of
160
160
  # AbstractNotifier
161
161
  #
162
- # source://irb//lib/irb/notifier.rb#163
162
+ # source://irb//lib/irb/notifier.rb#157
163
163
  def level=(value); end
164
164
 
165
165
  # Returns the leveled notifier for this object
166
166
  #
167
- # source://irb//lib/irb/notifier.rb#146
167
+ # source://irb//lib/irb/notifier.rb#140
168
168
  def level_notifier; end
169
169
 
170
170
  # Sets the leveled notifier for this object.
@@ -182,35 +182,35 @@ class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
182
182
  # found in the existing #notifiers Array, or an instance of
183
183
  # AbstractNotifier
184
184
  #
185
- # source://irb//lib/irb/notifier.rb#163
185
+ # source://irb//lib/irb/notifier.rb#157
186
186
  def level_notifier=(value); end
187
187
 
188
188
  # List of notifiers in the group
189
189
  #
190
- # source://irb//lib/irb/notifier.rb#131
190
+ # source://irb//lib/irb/notifier.rb#125
191
191
  def notifiers; end
192
192
  end
193
193
 
194
- # source://irb//lib/irb/notifier.rb#18
194
+ # source://irb//lib/irb/notifier.rb#12
195
195
  class IRB::Notifier::ErrUndefinedNotifier < ::StandardError
196
196
  # @return [ErrUndefinedNotifier] a new instance of ErrUndefinedNotifier
197
197
  #
198
- # source://irb//lib/irb/notifier.rb#19
198
+ # source://irb//lib/irb/notifier.rb#13
199
199
  def initialize(val); end
200
200
  end
201
201
 
202
- # source://irb//lib/irb/notifier.rb#23
202
+ # source://irb//lib/irb/notifier.rb#17
203
203
  class IRB::Notifier::ErrUnrecognizedLevel < ::StandardError
204
204
  # @return [ErrUnrecognizedLevel] a new instance of ErrUnrecognizedLevel
205
205
  #
206
- # source://irb//lib/irb/notifier.rb#24
206
+ # source://irb//lib/irb/notifier.rb#18
207
207
  def initialize(val); end
208
208
  end
209
209
 
210
210
  # A leveled notifier is comparable to the composite group from
211
211
  # CompositeNotifier#notifiers.
212
212
  #
213
- # source://irb//lib/irb/notifier.rb#181
213
+ # source://irb//lib/irb/notifier.rb#175
214
214
  class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
215
215
  include ::Comparable
216
216
 
@@ -223,7 +223,7 @@ class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
223
223
  #
224
224
  # @return [LeveledNotifier] a new instance of LeveledNotifier
225
225
  #
226
- # source://irb//lib/irb/notifier.rb#190
226
+ # source://irb//lib/irb/notifier.rb#184
227
227
  def initialize(base, level, prefix); end
228
228
 
229
229
  # Compares the level of this notifier object with the given +other+
@@ -231,12 +231,12 @@ class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
231
231
  #
232
232
  # See the Comparable module for more information.
233
233
  #
234
- # source://irb//lib/irb/notifier.rb#203
234
+ # source://irb//lib/irb/notifier.rb#197
235
235
  def <=>(other); end
236
236
 
237
237
  # The current level of this notifier object
238
238
  #
239
- # source://irb//lib/irb/notifier.rb#197
239
+ # source://irb//lib/irb/notifier.rb#191
240
240
  def level; end
241
241
 
242
242
  # Whether to output messages to the output method, depending on the level
@@ -244,7 +244,7 @@ class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
244
244
  #
245
245
  # @return [Boolean]
246
246
  #
247
- # source://irb//lib/irb/notifier.rb#209
247
+ # source://irb//lib/irb/notifier.rb#203
248
248
  def notify?; end
249
249
  end
250
250
 
@@ -254,13 +254,13 @@ end
254
254
  # This notifier is used as the +zero+ index, or level +0+, for
255
255
  # CompositeNotifier#notifiers, and will not output messages of any sort.
256
256
  #
257
- # source://irb//lib/irb/notifier.rb#220
257
+ # source://irb//lib/irb/notifier.rb#213
258
258
  class IRB::Notifier::NoMsgNotifier < ::IRB::Notifier::LeveledNotifier
259
259
  # Creates a new notifier that should not be used to output messages.
260
260
  #
261
261
  # @return [NoMsgNotifier] a new instance of NoMsgNotifier
262
262
  #
263
- # source://irb//lib/irb/notifier.rb#221
263
+ # source://irb//lib/irb/notifier.rb#215
264
264
  def initialize; end
265
265
 
266
266
  # Ensures notifications are ignored, see AbstractNotifier#notify? for
@@ -268,7 +268,7 @@ class IRB::Notifier::NoMsgNotifier < ::IRB::Notifier::LeveledNotifier
268
268
  #
269
269
  # @return [Boolean]
270
270
  #
271
- # source://irb//lib/irb/notifier.rb#229
271
+ # source://irb//lib/irb/notifier.rb#223
272
272
  def notify?; end
273
273
  end
274
274
 
@@ -276,7 +276,7 @@ end
276
276
  # IRB::Notifier. You can define your own output method to use with Irb.new,
277
277
  # or Context.new
278
278
  #
279
- # source://irb//lib/irb/output-method.rb#17
279
+ # source://irb//lib/irb/output-method.rb#11
280
280
  class IRB::OutputMethod
281
281
  # Returns an array of the given +format+ and +opts+ to be used by
282
282
  # Kernel#sprintf, if there was a successful Regexp match in the given
@@ -289,14 +289,14 @@ class IRB::OutputMethod
289
289
  # #<length modifier>(hh|h|l|ll|L|q|j|z|t)
290
290
  # <conversion specifier>[diouxXeEfgGcsb%]
291
291
  #
292
- # source://irb//lib/irb/output-method.rb#54
292
+ # source://irb//lib/irb/output-method.rb#48
293
293
  def parse_printf_format(format, opts); end
294
294
 
295
295
  # Prints the given +objs+ calling Object#inspect on each.
296
296
  #
297
297
  # See #puts for more detail.
298
298
  #
299
- # source://irb//lib/irb/output-method.rb#70
299
+ # source://irb//lib/irb/output-method.rb#64
300
300
  def pp(*objs); end
301
301
 
302
302
  # Prints the given +objs+ calling Object#inspect on each and appending the
@@ -304,7 +304,7 @@ class IRB::OutputMethod
304
304
  #
305
305
  # See #puts for more detail.
306
306
  #
307
- # source://irb//lib/irb/output-method.rb#78
307
+ # source://irb//lib/irb/output-method.rb#72
308
308
  def ppx(prefix, *objs); end
309
309
 
310
310
  # Open this method to implement your own output method, raises a
@@ -312,31 +312,31 @@ class IRB::OutputMethod
312
312
  #
313
313
  # @raise [NotImplementedError]
314
314
  #
315
- # source://irb//lib/irb/output-method.rb#26
315
+ # source://irb//lib/irb/output-method.rb#20
316
316
  def print(*opts); end
317
317
 
318
318
  # Extends IO#printf to format the given +opts+ for Kernel#sprintf using
319
319
  # #parse_printf_format
320
320
  #
321
- # source://irb//lib/irb/output-method.rb#37
321
+ # source://irb//lib/irb/output-method.rb#31
322
322
  def printf(format, *opts); end
323
323
 
324
324
  # Prints the given +opts+, with a newline delimiter.
325
325
  #
326
- # source://irb//lib/irb/output-method.rb#31
326
+ # source://irb//lib/irb/output-method.rb#25
327
327
  def printn(*opts); end
328
328
 
329
329
  # Calls #print on each element in the given +objs+, followed by a newline
330
330
  # character.
331
331
  #
332
- # source://irb//lib/irb/output-method.rb#60
332
+ # source://irb//lib/irb/output-method.rb#54
333
333
  def puts(*objs); end
334
334
  end
335
335
 
336
- # source://irb//lib/irb/output-method.rb#18
336
+ # source://irb//lib/irb/output-method.rb#12
337
337
  class IRB::OutputMethod::NotImplementedError < ::StandardError
338
338
  # @return [NotImplementedError] a new instance of NotImplementedError
339
339
  #
340
- # source://irb//lib/irb/output-method.rb#19
340
+ # source://irb//lib/irb/output-method.rb#13
341
341
  def initialize(val); end
342
342
  end