ruby-lsp-rake 0.3.4 → 0.3.5

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +13 -0
  3. data/Rakefile +5 -1
  4. data/lib/ruby_lsp/ruby_lsp_rake/addon.rb +15 -29
  5. data/lib/ruby_lsp/ruby_lsp_rake/code_lens.rb +5 -11
  6. data/lib/ruby_lsp/ruby_lsp_rake/definition.rb +9 -18
  7. data/lib/ruby_lsp/ruby_lsp_rake/hover.rb +10 -16
  8. data/lib/ruby_lsp/ruby_lsp_rake/indexing_enhancement.rb +13 -11
  9. data/lib/ruby_lsp_rake/version.rb +1 -1
  10. data/sorbet/config +1 -0
  11. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +34 -34
  12. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  13. data/sorbet/rbi/gems/{erubi@1.13.0.rbi → erubi@1.13.1.rbi} +27 -22
  14. data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.12.0.rbi} +355 -205
  15. data/sorbet/rbi/gems/{language_server-protocol@3.17.0.3.rbi → language_server-protocol@3.17.0.5.rbi} +2693 -2687
  16. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
  17. data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.7.0.rbi} +120 -77
  18. data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.5.rbi} +397 -391
  19. data/sorbet/rbi/gems/{parallel@1.26.3.rbi → parallel@1.27.0.rbi} +72 -72
  20. data/sorbet/rbi/gems/{parser@3.3.6.0.rbi → parser@3.3.8.0.rbi} +1080 -1064
  21. data/sorbet/rbi/gems/{prism@1.2.0.rbi → prism@1.4.0.rbi} +8503 -5856
  22. data/sorbet/rbi/gems/{rbi@0.2.1.rbi → rbi@0.3.3.rbi} +3175 -968
  23. data/sorbet/rbi/gems/{rbs@3.6.1.rbi → rbs@3.9.3.rbi} +1857 -1736
  24. data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.10.0.rbi} +1037 -1014
  25. data/sorbet/rbi/gems/rexml@3.4.1.rbi +5240 -0
  26. data/sorbet/rbi/gems/{rubocop-ast@1.36.2.rbi → rubocop-ast@1.44.1.rbi} +1771 -1625
  27. data/sorbet/rbi/gems/{rubocop@1.69.0.rbi → rubocop@1.75.5.rbi} +12342 -9764
  28. data/sorbet/rbi/gems/ruby-lsp@0.23.19.rbi +7453 -0
  29. data/sorbet/rbi/gems/{spoom@1.5.0.rbi → spoom@1.6.3.rbi} +3098 -1045
  30. data/sorbet/rbi/gems/{tapioca@0.16.5.rbi → tapioca@0.16.11.rbi} +821 -791
  31. data/sorbet/rbi/gems/{unicode-display_width@3.1.2.rbi → unicode-display_width@3.1.4.rbi} +34 -32
  32. data/sorbet/tapioca/require.rb +1 -2
  33. metadata +26 -23
  34. data/sorbet/rbi/gems/ruby-lsp@0.22.1.rbi +0 -6119
@@ -5,287 +5,287 @@
5
5
  # Please instead update this file by running `bin/tapioca gem parallel`.
6
6
 
7
7
 
8
- # source://parallel/lib/parallel/version.rb#2
8
+ # source://parallel//lib/parallel/version.rb#2
9
9
  module Parallel
10
10
  class << self
11
11
  # @return [Boolean]
12
12
  #
13
- # source://parallel/lib/parallel.rb#243
13
+ # source://parallel//lib/parallel.rb#243
14
14
  def all?(*args, &block); end
15
15
 
16
16
  # @return [Boolean]
17
17
  #
18
- # source://parallel/lib/parallel.rb#238
18
+ # source://parallel//lib/parallel.rb#238
19
19
  def any?(*args, &block); end
20
20
 
21
- # source://parallel/lib/parallel.rb#234
21
+ # source://parallel//lib/parallel.rb#234
22
22
  def each(array, options = T.unsafe(nil), &block); end
23
23
 
24
- # source://parallel/lib/parallel.rb#248
24
+ # source://parallel//lib/parallel.rb#248
25
25
  def each_with_index(array, options = T.unsafe(nil), &block); end
26
26
 
27
- # source://parallel/lib/parallel.rb#307
27
+ # source://parallel//lib/parallel.rb#307
28
28
  def filter_map(*_arg0, **_arg1, &_arg2); end
29
29
 
30
- # source://parallel/lib/parallel.rb#303
30
+ # source://parallel//lib/parallel.rb#303
31
31
  def flat_map(*_arg0, **_arg1, &_arg2); end
32
32
 
33
- # source://parallel/lib/parallel.rb#228
33
+ # source://parallel//lib/parallel.rb#228
34
34
  def in_processes(options = T.unsafe(nil), &block); end
35
35
 
36
- # source://parallel/lib/parallel.rb#212
36
+ # source://parallel//lib/parallel.rb#212
37
37
  def in_threads(options = T.unsafe(nil)); end
38
38
 
39
- # source://parallel/lib/parallel.rb#252
39
+ # source://parallel//lib/parallel.rb#252
40
40
  def map(source, options = T.unsafe(nil), &block); end
41
41
 
42
- # source://parallel/lib/parallel.rb#299
42
+ # source://parallel//lib/parallel.rb#299
43
43
  def map_with_index(array, options = T.unsafe(nil), &block); end
44
44
 
45
45
  # Number of physical processor cores on the current system.
46
46
  #
47
- # source://parallel/lib/parallel.rb#312
47
+ # source://parallel//lib/parallel.rb#312
48
48
  def physical_processor_count; end
49
49
 
50
50
  # Number of processors seen by the OS or value considering CPU quota if the process is inside a cgroup,
51
51
  # used for process scheduling
52
52
  #
53
- # source://parallel/lib/parallel.rb#342
53
+ # source://parallel//lib/parallel.rb#342
54
54
  def processor_count; end
55
55
 
56
- # source://parallel/lib/parallel.rb#346
56
+ # source://parallel//lib/parallel.rb#346
57
57
  def worker_number; end
58
58
 
59
59
  # TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
60
60
  #
61
- # source://parallel/lib/parallel.rb#351
61
+ # source://parallel//lib/parallel.rb#351
62
62
  def worker_number=(worker_num); end
63
63
 
64
64
  private
65
65
 
66
- # source://parallel/lib/parallel.rb#384
66
+ # source://parallel//lib/parallel.rb#384
67
67
  def add_progress_bar!(job_factory, options); end
68
68
 
69
- # source://parallel/lib/parallel.rb#699
69
+ # source://parallel//lib/parallel.rb#699
70
70
  def available_processor_count; end
71
71
 
72
- # source://parallel/lib/parallel.rb#647
72
+ # source://parallel//lib/parallel.rb#647
73
73
  def call_with_index(item, index, options, &block); end
74
74
 
75
- # source://parallel/lib/parallel.rb#579
75
+ # source://parallel//lib/parallel.rb#579
76
76
  def create_workers(job_factory, options, &block); end
77
77
 
78
78
  # options is either a Integer or a Hash with :count
79
79
  #
80
- # source://parallel/lib/parallel.rb#637
80
+ # source://parallel//lib/parallel.rb#637
81
81
  def extract_count_from_options(options); end
82
82
 
83
- # source://parallel/lib/parallel.rb#665
83
+ # source://parallel//lib/parallel.rb#665
84
84
  def instrument_finish(item, index, result, options); end
85
85
 
86
86
  # yield results in the order of the input items
87
87
  # needs to use `options` to store state between executions
88
88
  # needs to use `done` index since a nil result would also be valid
89
89
  #
90
- # source://parallel/lib/parallel.rb#674
90
+ # source://parallel//lib/parallel.rb#674
91
91
  def instrument_finish_in_order(item, index, result, options); end
92
92
 
93
- # source://parallel/lib/parallel.rb#694
93
+ # source://parallel//lib/parallel.rb#694
94
94
  def instrument_start(item, index, options); end
95
95
 
96
- # source://parallel/lib/parallel.rb#357
96
+ # source://parallel//lib/parallel.rb#357
97
97
  def physical_processor_count_windows; end
98
98
 
99
- # source://parallel/lib/parallel.rb#613
99
+ # source://parallel//lib/parallel.rb#613
100
100
  def process_incoming_jobs(read, write, job_factory, options, &block); end
101
101
 
102
- # source://parallel/lib/parallel.rb#567
102
+ # source://parallel//lib/parallel.rb#567
103
103
  def replace_worker(job_factory, workers, index, options, blk); end
104
104
 
105
- # source://parallel/lib/parallel.rb#378
105
+ # source://parallel//lib/parallel.rb#378
106
106
  def run(command); end
107
107
 
108
- # source://parallel/lib/parallel.rb#658
108
+ # source://parallel//lib/parallel.rb#658
109
109
  def with_instrumentation(item, index, options); end
110
110
 
111
- # source://parallel/lib/parallel.rb#409
111
+ # source://parallel//lib/parallel.rb#409
112
112
  def work_direct(job_factory, options, &block); end
113
113
 
114
- # source://parallel/lib/parallel.rb#519
114
+ # source://parallel//lib/parallel.rb#519
115
115
  def work_in_processes(job_factory, options, &blk); end
116
116
 
117
- # source://parallel/lib/parallel.rb#453
117
+ # source://parallel//lib/parallel.rb#453
118
118
  def work_in_ractors(job_factory, options); end
119
119
 
120
- # source://parallel/lib/parallel.rb#428
120
+ # source://parallel//lib/parallel.rb#428
121
121
  def work_in_threads(job_factory, options, &block); end
122
122
 
123
- # source://parallel/lib/parallel.rb#587
123
+ # source://parallel//lib/parallel.rb#587
124
124
  def worker(job_factory, options, &block); end
125
125
  end
126
126
  end
127
127
 
128
- # source://parallel/lib/parallel.rb#11
128
+ # source://parallel//lib/parallel.rb#11
129
129
  class Parallel::Break < ::StandardError
130
130
  # @return [Break] a new instance of Break
131
131
  #
132
- # source://parallel/lib/parallel.rb#14
132
+ # source://parallel//lib/parallel.rb#14
133
133
  def initialize(value = T.unsafe(nil)); end
134
134
 
135
135
  # Returns the value of attribute value.
136
136
  #
137
- # source://parallel/lib/parallel.rb#12
137
+ # source://parallel//lib/parallel.rb#12
138
138
  def value; end
139
139
  end
140
140
 
141
- # source://parallel/lib/parallel.rb#8
141
+ # source://parallel//lib/parallel.rb#8
142
142
  class Parallel::DeadWorker < ::StandardError; end
143
143
 
144
- # source://parallel/lib/parallel.rb#32
144
+ # source://parallel//lib/parallel.rb#32
145
145
  class Parallel::ExceptionWrapper
146
146
  # @return [ExceptionWrapper] a new instance of ExceptionWrapper
147
147
  #
148
- # source://parallel/lib/parallel.rb#35
148
+ # source://parallel//lib/parallel.rb#35
149
149
  def initialize(exception); end
150
150
 
151
151
  # Returns the value of attribute exception.
152
152
  #
153
- # source://parallel/lib/parallel.rb#33
153
+ # source://parallel//lib/parallel.rb#33
154
154
  def exception; end
155
155
  end
156
156
 
157
- # source://parallel/lib/parallel.rb#98
157
+ # source://parallel//lib/parallel.rb#98
158
158
  class Parallel::JobFactory
159
159
  # @return [JobFactory] a new instance of JobFactory
160
160
  #
161
- # source://parallel/lib/parallel.rb#99
161
+ # source://parallel//lib/parallel.rb#99
162
162
  def initialize(source, mutex); end
163
163
 
164
- # source://parallel/lib/parallel.rb#107
164
+ # source://parallel//lib/parallel.rb#107
165
165
  def next; end
166
166
 
167
167
  # generate item that is sent to workers
168
168
  # just index is faster + less likely to blow up with unserializable errors
169
169
  #
170
- # source://parallel/lib/parallel.rb#136
170
+ # source://parallel//lib/parallel.rb#136
171
171
  def pack(item, index); end
172
172
 
173
- # source://parallel/lib/parallel.rb#126
173
+ # source://parallel//lib/parallel.rb#126
174
174
  def size; end
175
175
 
176
176
  # unpack item that is sent to workers
177
177
  #
178
- # source://parallel/lib/parallel.rb#141
178
+ # source://parallel//lib/parallel.rb#141
179
179
  def unpack(data); end
180
180
 
181
181
  private
182
182
 
183
183
  # @return [Boolean]
184
184
  #
185
- # source://parallel/lib/parallel.rb#147
185
+ # source://parallel//lib/parallel.rb#147
186
186
  def producer?; end
187
187
 
188
- # source://parallel/lib/parallel.rb#151
188
+ # source://parallel//lib/parallel.rb#151
189
189
  def queue_wrapper(array); end
190
190
  end
191
191
 
192
- # source://parallel/lib/parallel.rb#20
192
+ # source://parallel//lib/parallel.rb#20
193
193
  class Parallel::Kill < ::Parallel::Break; end
194
194
 
195
- # source://parallel/lib/parallel.rb#6
195
+ # source://parallel//lib/parallel.rb#6
196
196
  Parallel::Stop = T.let(T.unsafe(nil), Object)
197
197
 
198
- # source://parallel/lib/parallel.rb#23
198
+ # source://parallel//lib/parallel.rb#23
199
199
  class Parallel::UndumpableException < ::StandardError
200
200
  # @return [UndumpableException] a new instance of UndumpableException
201
201
  #
202
- # source://parallel/lib/parallel.rb#26
202
+ # source://parallel//lib/parallel.rb#26
203
203
  def initialize(original); end
204
204
 
205
205
  # Returns the value of attribute backtrace.
206
206
  #
207
- # source://parallel/lib/parallel.rb#24
207
+ # source://parallel//lib/parallel.rb#24
208
208
  def backtrace; end
209
209
  end
210
210
 
211
- # source://parallel/lib/parallel.rb#156
211
+ # source://parallel//lib/parallel.rb#156
212
212
  class Parallel::UserInterruptHandler
213
213
  class << self
214
- # source://parallel/lib/parallel.rb#181
214
+ # source://parallel//lib/parallel.rb#181
215
215
  def kill(thing); end
216
216
 
217
217
  # kill all these pids or threads if user presses Ctrl+c
218
218
  #
219
- # source://parallel/lib/parallel.rb#161
219
+ # source://parallel//lib/parallel.rb#161
220
220
  def kill_on_ctrl_c(pids, options); end
221
221
 
222
222
  private
223
223
 
224
- # source://parallel/lib/parallel.rb#205
224
+ # source://parallel//lib/parallel.rb#205
225
225
  def restore_interrupt(old, signal); end
226
226
 
227
- # source://parallel/lib/parallel.rb#190
227
+ # source://parallel//lib/parallel.rb#190
228
228
  def trap_interrupt(signal); end
229
229
  end
230
230
  end
231
231
 
232
- # source://parallel/lib/parallel.rb#157
232
+ # source://parallel//lib/parallel.rb#157
233
233
  Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
234
234
 
235
- # source://parallel/lib/parallel/version.rb#3
235
+ # source://parallel//lib/parallel/version.rb#3
236
236
  Parallel::VERSION = T.let(T.unsafe(nil), String)
237
237
 
238
- # source://parallel/lib/parallel/version.rb#3
238
+ # source://parallel//lib/parallel/version.rb#3
239
239
  Parallel::Version = T.let(T.unsafe(nil), String)
240
240
 
241
- # source://parallel/lib/parallel.rb#51
241
+ # source://parallel//lib/parallel.rb#51
242
242
  class Parallel::Worker
243
243
  # @return [Worker] a new instance of Worker
244
244
  #
245
- # source://parallel/lib/parallel.rb#55
245
+ # source://parallel//lib/parallel.rb#55
246
246
  def initialize(read, write, pid); end
247
247
 
248
248
  # might be passed to started_processes and simultaneously closed by another thread
249
249
  # when running in isolation mode, so we have to check if it is closed before closing
250
250
  #
251
- # source://parallel/lib/parallel.rb#68
251
+ # source://parallel//lib/parallel.rb#68
252
252
  def close_pipes; end
253
253
 
254
254
  # Returns the value of attribute pid.
255
255
  #
256
- # source://parallel/lib/parallel.rb#52
256
+ # source://parallel//lib/parallel.rb#52
257
257
  def pid; end
258
258
 
259
259
  # Returns the value of attribute read.
260
260
  #
261
- # source://parallel/lib/parallel.rb#52
261
+ # source://parallel//lib/parallel.rb#52
262
262
  def read; end
263
263
 
264
- # source://parallel/lib/parallel.rb#61
264
+ # source://parallel//lib/parallel.rb#61
265
265
  def stop; end
266
266
 
267
267
  # Returns the value of attribute thread.
268
268
  #
269
- # source://parallel/lib/parallel.rb#53
269
+ # source://parallel//lib/parallel.rb#53
270
270
  def thread; end
271
271
 
272
272
  # Sets the attribute thread
273
273
  #
274
274
  # @param value the value to set the attribute thread to.
275
275
  #
276
- # source://parallel/lib/parallel.rb#53
276
+ # source://parallel//lib/parallel.rb#53
277
277
  def thread=(_arg0); end
278
278
 
279
- # source://parallel/lib/parallel.rb#73
279
+ # source://parallel//lib/parallel.rb#73
280
280
  def work(data); end
281
281
 
282
282
  # Returns the value of attribute write.
283
283
  #
284
- # source://parallel/lib/parallel.rb#52
284
+ # source://parallel//lib/parallel.rb#52
285
285
  def write; end
286
286
 
287
287
  private
288
288
 
289
- # source://parallel/lib/parallel.rb#91
289
+ # source://parallel//lib/parallel.rb#91
290
290
  def wait; end
291
291
  end