sorbet-schema 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +27 -27
- data/lib/sorbet-schema/version.rb +1 -1
- data/lib/typed/coercion/struct_coercer.rb +35 -1
- data/sorbet/rbi/gems/{builder@3.2.4.rbi → builder@3.3.0.rbi} +22 -25
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +19 -15
- data/sorbet/rbi/gems/{minitest-reporters@1.6.1.rbi → minitest-reporters@1.7.1.rbi} +47 -40
- data/sorbet/rbi/gems/{minitest@5.23.1.rbi → minitest@5.24.0.rbi} +159 -151
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.25.1.rbi} +26 -20
- data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@0.30.0.rbi} +5670 -4445
- data/sorbet/rbi/gems/{rexml@3.2.8.rbi → rexml@3.3.0.rbi} +69 -62
- data/sorbet/rbi/gems/{rubocop@1.63.5.rbi → rubocop@1.64.1.rbi} +660 -344
- data/sorbet/rbi/gems/{standard@1.36.0.rbi → standard@1.39.0.rbi} +159 -90
- data/sorbet/rbi/gems/{tapioca@0.14.2.rbi → tapioca@0.14.4.rbi} +89 -76
- data/sorbet/rbi/gems/{zeitwerk@2.6.15.rbi → zeitwerk@2.6.16.rbi} +115 -78
- metadata +17 -17
- /data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.3.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.9.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.0.rbi → rubocop-performance@1.21.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.1.rbi} +0 -0
@@ -25,10 +25,10 @@ module Parallel
|
|
25
25
|
def each_with_index(array, options = T.unsafe(nil), &block); end
|
26
26
|
|
27
27
|
# source://parallel//lib/parallel.rb#307
|
28
|
-
def filter_map(*
|
28
|
+
def filter_map(*_arg0, **_arg1, &_arg2); end
|
29
29
|
|
30
30
|
# source://parallel//lib/parallel.rb#303
|
31
|
-
def flat_map(*
|
31
|
+
def flat_map(*_arg0, **_arg1, &_arg2); end
|
32
32
|
|
33
33
|
# source://parallel//lib/parallel.rb#228
|
34
34
|
def in_processes(options = T.unsafe(nil), &block); end
|
@@ -49,68 +49,74 @@ module Parallel
|
|
49
49
|
|
50
50
|
# Number of processors seen by the OS, used for process scheduling
|
51
51
|
#
|
52
|
-
# source://parallel//lib/parallel.rb#
|
52
|
+
# source://parallel//lib/parallel.rb#341
|
53
53
|
def processor_count; end
|
54
54
|
|
55
|
-
# source://parallel//lib/parallel.rb#
|
55
|
+
# source://parallel//lib/parallel.rb#346
|
56
56
|
def worker_number; end
|
57
57
|
|
58
58
|
# TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
|
59
59
|
#
|
60
|
-
# source://parallel//lib/parallel.rb#
|
60
|
+
# source://parallel//lib/parallel.rb#351
|
61
61
|
def worker_number=(worker_num); end
|
62
62
|
|
63
63
|
private
|
64
64
|
|
65
|
-
# source://parallel//lib/parallel.rb#
|
65
|
+
# source://parallel//lib/parallel.rb#384
|
66
66
|
def add_progress_bar!(job_factory, options); end
|
67
67
|
|
68
|
-
# source://parallel//lib/parallel.rb#
|
68
|
+
# source://parallel//lib/parallel.rb#647
|
69
69
|
def call_with_index(item, index, options, &block); end
|
70
70
|
|
71
|
-
# source://parallel//lib/parallel.rb#
|
71
|
+
# source://parallel//lib/parallel.rb#579
|
72
72
|
def create_workers(job_factory, options, &block); end
|
73
73
|
|
74
74
|
# options is either a Integer or a Hash with :count
|
75
75
|
#
|
76
|
-
# source://parallel//lib/parallel.rb#
|
76
|
+
# source://parallel//lib/parallel.rb#637
|
77
77
|
def extract_count_from_options(options); end
|
78
78
|
|
79
|
-
# source://parallel//lib/parallel.rb#
|
79
|
+
# source://parallel//lib/parallel.rb#665
|
80
80
|
def instrument_finish(item, index, result, options); end
|
81
81
|
|
82
82
|
# yield results in the order of the input items
|
83
83
|
# needs to use `options` to store state between executions
|
84
84
|
# needs to use `done` index since a nil result would also be valid
|
85
85
|
#
|
86
|
-
# source://parallel//lib/parallel.rb#
|
86
|
+
# source://parallel//lib/parallel.rb#674
|
87
87
|
def instrument_finish_in_order(item, index, result, options); end
|
88
88
|
|
89
|
-
# source://parallel//lib/parallel.rb#
|
89
|
+
# source://parallel//lib/parallel.rb#694
|
90
90
|
def instrument_start(item, index, options); end
|
91
91
|
|
92
|
-
# source://parallel//lib/parallel.rb#
|
92
|
+
# source://parallel//lib/parallel.rb#357
|
93
|
+
def physical_processor_count_windows; end
|
94
|
+
|
95
|
+
# source://parallel//lib/parallel.rb#613
|
93
96
|
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
94
97
|
|
95
|
-
# source://parallel//lib/parallel.rb#
|
98
|
+
# source://parallel//lib/parallel.rb#567
|
96
99
|
def replace_worker(job_factory, workers, index, options, blk); end
|
97
100
|
|
98
|
-
# source://parallel//lib/parallel.rb#
|
101
|
+
# source://parallel//lib/parallel.rb#378
|
102
|
+
def run(command); end
|
103
|
+
|
104
|
+
# source://parallel//lib/parallel.rb#658
|
99
105
|
def with_instrumentation(item, index, options); end
|
100
106
|
|
101
|
-
# source://parallel//lib/parallel.rb#
|
107
|
+
# source://parallel//lib/parallel.rb#409
|
102
108
|
def work_direct(job_factory, options, &block); end
|
103
109
|
|
104
|
-
# source://parallel//lib/parallel.rb#
|
110
|
+
# source://parallel//lib/parallel.rb#519
|
105
111
|
def work_in_processes(job_factory, options, &blk); end
|
106
112
|
|
107
|
-
# source://parallel//lib/parallel.rb#
|
113
|
+
# source://parallel//lib/parallel.rb#453
|
108
114
|
def work_in_ractors(job_factory, options); end
|
109
115
|
|
110
|
-
# source://parallel//lib/parallel.rb#
|
116
|
+
# source://parallel//lib/parallel.rb#428
|
111
117
|
def work_in_threads(job_factory, options, &block); end
|
112
118
|
|
113
|
-
# source://parallel//lib/parallel.rb#
|
119
|
+
# source://parallel//lib/parallel.rb#587
|
114
120
|
def worker(job_factory, options, &block); end
|
115
121
|
end
|
116
122
|
end
|