activerecord-ejection_seat 0.3.1 → 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 (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
@@ -5,6 +5,8 @@
5
5
  # Please instead update this file by running `bin/tapioca gem irb`.
6
6
 
7
7
  # An output formatter used internally by the lexer.
8
+ #
9
+ # source://irb//lib/irb/notifier.rb#11
8
10
  module IRB::Notifier
9
11
  private
10
12
 
@@ -17,7 +19,7 @@ module IRB::Notifier
17
19
  # expressions will be sent directly to STDOUT without any additional
18
20
  # formatting.
19
21
  #
20
- # source://irb//irb/notifier.rb#37
22
+ # source://irb//lib/irb/notifier.rb#31
21
23
  def def_notifier(prefix = T.unsafe(nil), output_method = T.unsafe(nil)); end
22
24
 
23
25
  class << self
@@ -30,7 +32,7 @@ module IRB::Notifier
30
32
  # expressions will be sent directly to STDOUT without any additional
31
33
  # formatting.
32
34
  #
33
- # source://irb//irb/notifier.rb#37
35
+ # source://irb//lib/irb/notifier.rb#31
34
36
  def def_notifier(prefix = T.unsafe(nil), output_method = T.unsafe(nil)); end
35
37
  end
36
38
  end
@@ -38,19 +40,21 @@ end
38
40
  # An abstract class, or superclass, for CompositeNotifier and
39
41
  # LeveledNotifier to inherit. It provides several wrapper methods for the
40
42
  # OutputMethod object used by the Notifier.
43
+ #
44
+ # source://irb//lib/irb/notifier.rb#39
41
45
  class IRB::Notifier::AbstractNotifier
42
46
  # Creates a new Notifier object
43
47
  #
44
48
  # @return [AbstractNotifier] a new instance of AbstractNotifier
45
49
  #
46
- # source://irb//irb/notifier.rb#47
50
+ # source://irb//lib/irb/notifier.rb#41
47
51
  def initialize(prefix, base_notifier); end
48
52
 
49
53
  # Execute the given block if notifications are enabled.
50
54
  #
51
55
  # @yield [@base_notifier]
52
56
  #
53
- # source://irb//irb/notifier.rb#105
57
+ # source://irb//lib/irb/notifier.rb#99
54
58
  def exec_if; end
55
59
 
56
60
  # A wrapper method used to determine whether notifications are enabled.
@@ -59,14 +63,14 @@ class IRB::Notifier::AbstractNotifier
59
63
  #
60
64
  # @return [Boolean]
61
65
  #
62
- # source://irb//irb/notifier.rb#59
66
+ # source://irb//lib/irb/notifier.rb#53
63
67
  def notify?; end
64
68
 
65
69
  # Same as #ppx, except it uses the #prefix given during object
66
70
  # initialization.
67
71
  # See OutputMethod#ppx for more detail.
68
72
  #
69
- # source://irb//irb/notifier.rb#88
73
+ # source://irb//lib/irb/notifier.rb#82
70
74
  def pp(*objs); end
71
75
 
72
76
  # Same as #pp, except it concatenates the given +prefix+ with the #prefix
@@ -74,33 +78,33 @@ class IRB::Notifier::AbstractNotifier
74
78
  #
75
79
  # See OutputMethod#ppx for more detail.
76
80
  #
77
- # source://irb//irb/notifier.rb#98
81
+ # source://irb//lib/irb/notifier.rb#92
78
82
  def ppx(prefix, *objs); end
79
83
 
80
84
  # The +prefix+ for this Notifier, which is appended to all objects being
81
85
  # inspected during output.
82
86
  #
83
- # source://irb//irb/notifier.rb#54
87
+ # source://irb//lib/irb/notifier.rb#48
84
88
  def prefix; end
85
89
 
86
90
  # See OutputMethod#print for more detail.
87
91
  #
88
- # source://irb//irb/notifier.rb#64
92
+ # source://irb//lib/irb/notifier.rb#58
89
93
  def print(*opts); end
90
94
 
91
95
  # See OutputMethod#printf for more detail.
92
96
  #
93
- # source://irb//irb/notifier.rb#74
97
+ # source://irb//lib/irb/notifier.rb#68
94
98
  def printf(format, *opts); end
95
99
 
96
100
  # See OutputMethod#printn for more detail.
97
101
  #
98
- # source://irb//irb/notifier.rb#69
102
+ # source://irb//lib/irb/notifier.rb#63
99
103
  def printn(*opts); end
100
104
 
101
105
  # See OutputMethod#puts for more detail.
102
106
  #
103
- # source://irb//irb/notifier.rb#79
107
+ # source://irb//lib/irb/notifier.rb#73
104
108
  def puts(*objs); end
105
109
  end
106
110
 
@@ -114,13 +118,15 @@ end
114
118
  # create a new composite notifier. Using the first composite notifier
115
119
  # object you create, sibling notifiers can be initialized with
116
120
  # #def_notifier.
121
+ #
122
+ # source://irb//lib/irb/notifier.rb#114
117
123
  class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
118
124
  # Create a new composite notifier object with the given +prefix+, and
119
125
  # +base_notifier+ to use for output.
120
126
  #
121
127
  # @return [CompositeNotifier] a new instance of CompositeNotifier
122
128
  #
123
- # source://irb//irb/notifier.rb#123
129
+ # source://irb//lib/irb/notifier.rb#117
124
130
  def initialize(prefix, base_notifier); end
125
131
 
126
132
  # Creates a new LeveledNotifier in the composite #notifiers group.
@@ -130,12 +136,12 @@ class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
130
136
  #
131
137
  # This method returns the newly created instance.
132
138
  #
133
- # source://irb//irb/notifier.rb#139
139
+ # source://irb//lib/irb/notifier.rb#133
134
140
  def def_notifier(level, prefix = T.unsafe(nil)); end
135
141
 
136
142
  # Returns the leveled notifier for this object
137
143
  #
138
- # source://irb//irb/notifier.rb#146
144
+ # source://irb//lib/irb/notifier.rb#140
139
145
  def level; end
140
146
 
141
147
  # Sets the leveled notifier for this object.
@@ -153,12 +159,12 @@ class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
153
159
  # found in the existing #notifiers Array, or an instance of
154
160
  # AbstractNotifier
155
161
  #
156
- # source://irb//irb/notifier.rb#163
162
+ # source://irb//lib/irb/notifier.rb#157
157
163
  def level=(value); end
158
164
 
159
165
  # Returns the leveled notifier for this object
160
166
  #
161
- # source://irb//irb/notifier.rb#146
167
+ # source://irb//lib/irb/notifier.rb#140
162
168
  def level_notifier; end
163
169
 
164
170
  # Sets the leveled notifier for this object.
@@ -176,31 +182,35 @@ class IRB::Notifier::CompositeNotifier < ::IRB::Notifier::AbstractNotifier
176
182
  # found in the existing #notifiers Array, or an instance of
177
183
  # AbstractNotifier
178
184
  #
179
- # source://irb//irb/notifier.rb#163
185
+ # source://irb//lib/irb/notifier.rb#157
180
186
  def level_notifier=(value); end
181
187
 
182
188
  # List of notifiers in the group
183
189
  #
184
- # source://irb//irb/notifier.rb#131
190
+ # source://irb//lib/irb/notifier.rb#125
185
191
  def notifiers; end
186
192
  end
187
193
 
194
+ # source://irb//lib/irb/notifier.rb#12
188
195
  class IRB::Notifier::ErrUndefinedNotifier < ::StandardError
189
196
  # @return [ErrUndefinedNotifier] a new instance of ErrUndefinedNotifier
190
197
  #
191
- # source://irb//irb/notifier.rb#19
198
+ # source://irb//lib/irb/notifier.rb#13
192
199
  def initialize(val); end
193
200
  end
194
201
 
202
+ # source://irb//lib/irb/notifier.rb#17
195
203
  class IRB::Notifier::ErrUnrecognizedLevel < ::StandardError
196
204
  # @return [ErrUnrecognizedLevel] a new instance of ErrUnrecognizedLevel
197
205
  #
198
- # source://irb//irb/notifier.rb#24
206
+ # source://irb//lib/irb/notifier.rb#18
199
207
  def initialize(val); end
200
208
  end
201
209
 
202
210
  # A leveled notifier is comparable to the composite group from
203
211
  # CompositeNotifier#notifiers.
212
+ #
213
+ # source://irb//lib/irb/notifier.rb#175
204
214
  class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
205
215
  include ::Comparable
206
216
 
@@ -213,7 +223,7 @@ class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
213
223
  #
214
224
  # @return [LeveledNotifier] a new instance of LeveledNotifier
215
225
  #
216
- # source://irb//irb/notifier.rb#190
226
+ # source://irb//lib/irb/notifier.rb#184
217
227
  def initialize(base, level, prefix); end
218
228
 
219
229
  # Compares the level of this notifier object with the given +other+
@@ -221,12 +231,12 @@ class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
221
231
  #
222
232
  # See the Comparable module for more information.
223
233
  #
224
- # source://irb//irb/notifier.rb#203
234
+ # source://irb//lib/irb/notifier.rb#197
225
235
  def <=>(other); end
226
236
 
227
237
  # The current level of this notifier object
228
238
  #
229
- # source://irb//irb/notifier.rb#197
239
+ # source://irb//lib/irb/notifier.rb#191
230
240
  def level; end
231
241
 
232
242
  # Whether to output messages to the output method, depending on the level
@@ -234,7 +244,7 @@ class IRB::Notifier::LeveledNotifier < ::IRB::Notifier::AbstractNotifier
234
244
  #
235
245
  # @return [Boolean]
236
246
  #
237
- # source://irb//irb/notifier.rb#209
247
+ # source://irb//lib/irb/notifier.rb#203
238
248
  def notify?; end
239
249
  end
240
250
 
@@ -243,12 +253,14 @@ end
243
253
  #
244
254
  # This notifier is used as the +zero+ index, or level +0+, for
245
255
  # CompositeNotifier#notifiers, and will not output messages of any sort.
256
+ #
257
+ # source://irb//lib/irb/notifier.rb#213
246
258
  class IRB::Notifier::NoMsgNotifier < ::IRB::Notifier::LeveledNotifier
247
259
  # Creates a new notifier that should not be used to output messages.
248
260
  #
249
261
  # @return [NoMsgNotifier] a new instance of NoMsgNotifier
250
262
  #
251
- # source://irb//irb/notifier.rb#221
263
+ # source://irb//lib/irb/notifier.rb#215
252
264
  def initialize; end
253
265
 
254
266
  # Ensures notifications are ignored, see AbstractNotifier#notify? for
@@ -256,13 +268,15 @@ class IRB::Notifier::NoMsgNotifier < ::IRB::Notifier::LeveledNotifier
256
268
  #
257
269
  # @return [Boolean]
258
270
  #
259
- # source://irb//irb/notifier.rb#229
271
+ # source://irb//lib/irb/notifier.rb#223
260
272
  def notify?; end
261
273
  end
262
274
 
263
275
  # An abstract output class for IO in irb. This is mainly used internally by
264
276
  # IRB::Notifier. You can define your own output method to use with Irb.new,
265
277
  # or Context.new
278
+ #
279
+ # source://irb//lib/irb/output-method.rb#11
266
280
  class IRB::OutputMethod
267
281
  # Returns an array of the given +format+ and +opts+ to be used by
268
282
  # Kernel#sprintf, if there was a successful Regexp match in the given
@@ -275,14 +289,14 @@ class IRB::OutputMethod
275
289
  # #<length modifier>(hh|h|l|ll|L|q|j|z|t)
276
290
  # <conversion specifier>[diouxXeEfgGcsb%]
277
291
  #
278
- # source://irb//irb/output-method.rb#54
292
+ # source://irb//lib/irb/output-method.rb#48
279
293
  def parse_printf_format(format, opts); end
280
294
 
281
295
  # Prints the given +objs+ calling Object#inspect on each.
282
296
  #
283
297
  # See #puts for more detail.
284
298
  #
285
- # source://irb//irb/output-method.rb#70
299
+ # source://irb//lib/irb/output-method.rb#64
286
300
  def pp(*objs); end
287
301
 
288
302
  # Prints the given +objs+ calling Object#inspect on each and appending the
@@ -290,7 +304,7 @@ class IRB::OutputMethod
290
304
  #
291
305
  # See #puts for more detail.
292
306
  #
293
- # source://irb//irb/output-method.rb#78
307
+ # source://irb//lib/irb/output-method.rb#72
294
308
  def ppx(prefix, *objs); end
295
309
 
296
310
  # Open this method to implement your own output method, raises a
@@ -298,30 +312,31 @@ class IRB::OutputMethod
298
312
  #
299
313
  # @raise [NotImplementedError]
300
314
  #
301
- # source://irb//irb/output-method.rb#26
315
+ # source://irb//lib/irb/output-method.rb#20
302
316
  def print(*opts); end
303
317
 
304
318
  # Extends IO#printf to format the given +opts+ for Kernel#sprintf using
305
319
  # #parse_printf_format
306
320
  #
307
- # source://irb//irb/output-method.rb#37
321
+ # source://irb//lib/irb/output-method.rb#31
308
322
  def printf(format, *opts); end
309
323
 
310
324
  # Prints the given +opts+, with a newline delimiter.
311
325
  #
312
- # source://irb//irb/output-method.rb#31
326
+ # source://irb//lib/irb/output-method.rb#25
313
327
  def printn(*opts); end
314
328
 
315
329
  # Calls #print on each element in the given +objs+, followed by a newline
316
330
  # character.
317
331
  #
318
- # source://irb//irb/output-method.rb#60
332
+ # source://irb//lib/irb/output-method.rb#54
319
333
  def puts(*objs); end
320
334
  end
321
335
 
336
+ # source://irb//lib/irb/output-method.rb#12
322
337
  class IRB::OutputMethod::NotImplementedError < ::StandardError
323
338
  # @return [NotImplementedError] a new instance of NotImplementedError
324
339
  #
325
- # source://irb//irb/output-method.rb#19
340
+ # source://irb//lib/irb/output-method.rb#13
326
341
  def initialize(val); end
327
342
  end