activerecord-ejection_seat 0.3.0 → 0.3.1

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