packwerk 3.2.2 → 3.2.3
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.
- checksums.yaml +4 -4
- data/lib/packwerk/application_validator.rb +2 -1
- data/lib/packwerk/graph.rb +15 -56
- data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +1 -2
- data/lib/packwerk/run_context.rb +5 -0
- data/lib/packwerk/validators/dependency_validator.rb +5 -4
- data/lib/packwerk/version.rb +1 -1
- data/sorbet/rbi/gems/{actionpack@7.0.3.1.rbi → actionpack@7.0.8.7.rbi} +1338 -1227
- data/sorbet/rbi/gems/{actionview@7.0.3.1.rbi → actionview@7.0.8.7.rbi} +548 -503
- data/sorbet/rbi/gems/{activesupport@7.0.3.1.rbi → activesupport@7.0.8.7.rbi} +714 -635
- data/sorbet/rbi/gems/{better_html@2.0.1.rbi → better_html@2.1.1.rbi} +21 -21
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.3.5.rbi} +1390 -1366
- data/sorbet/rbi/gems/{constant_resolver@0.2.0.rbi → constant_resolver@0.3.0.rbi} +22 -13
- data/sorbet/rbi/gems/{erubi@1.11.0.rbi → erubi@1.13.1.rbi} +28 -17
- data/sorbet/rbi/gems/{i18n@1.12.0.rbi → i18n@1.14.7.rbi} +234 -172
- data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.7.2.rbi} +94 -74
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/{loofah@2.18.0.rbi → loofah@2.24.0.rbi} +470 -243
- data/sorbet/rbi/gems/{minitest@5.16.2.rbi → minitest@5.25.4.rbi} +577 -472
- data/sorbet/rbi/gems/{mocha@1.14.0.rbi → mocha@2.5.0.rbi} +468 -684
- data/sorbet/rbi/gems/{nokogiri@1.15.3.rbi → nokogiri@1.18.4.rbi} +1756 -869
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.25.1.rbi} +26 -20
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +36 -36
- data/sorbet/rbi/gems/{rack-test@2.0.2.rbi → rack-test@2.2.0.rbi} +87 -114
- data/sorbet/rbi/gems/{rack@2.2.4.rbi → rack@2.2.13.rbi} +243 -195
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +754 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +764 -0
- data/sorbet/rbi/gems/{railties@7.0.3.1.rbi → railties@7.0.8.7.rbi} +146 -140
- data/sorbet/rbi/gems/{regexp_parser@2.5.0.rbi → regexp_parser@2.9.2.rbi} +947 -542
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.3.9.rbi} +452 -312
- data/sorbet/rbi/gems/{rubocop-ast@1.21.0.rbi → rubocop-ast@1.31.3.rbi} +717 -588
- data/sorbet/rbi/gems/{rubocop@1.34.1.rbi → rubocop@1.64.1.rbi} +10916 -4406
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +359 -281
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/{tzinfo@2.0.5.rbi → tzinfo@2.0.6.rbi} +144 -141
- data/sorbet/rbi/gems/{unicode-display_width@2.2.0.rbi → unicode-display_width@2.5.0.rbi} +24 -7
- metadata +36 -41
- data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +0 -8
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -455
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +0 -542
- data/sorbet/rbi/gems/ruby-lsp@0.2.3.rbi +0 -11
- data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +0 -8
- /data/sorbet/rbi/gems/{builder@3.2.4.rbi → builder@3.3.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.3.0.rbi} +0 -0
@@ -24,10 +24,10 @@ module Parallel
|
|
24
24
|
def each_with_index(array, options = T.unsafe(nil), &block); end
|
25
25
|
|
26
26
|
# source://parallel//lib/parallel.rb#307
|
27
|
-
def filter_map(*
|
27
|
+
def filter_map(*_arg0, **_arg1, &_arg2); end
|
28
28
|
|
29
29
|
# source://parallel//lib/parallel.rb#303
|
30
|
-
def flat_map(*
|
30
|
+
def flat_map(*_arg0, **_arg1, &_arg2); end
|
31
31
|
|
32
32
|
# source://parallel//lib/parallel.rb#228
|
33
33
|
def in_processes(options = T.unsafe(nil), &block); end
|
@@ -48,68 +48,74 @@ module Parallel
|
|
48
48
|
|
49
49
|
# Number of processors seen by the OS, used for process scheduling
|
50
50
|
#
|
51
|
-
# source://parallel//lib/parallel.rb#
|
51
|
+
# source://parallel//lib/parallel.rb#341
|
52
52
|
def processor_count; end
|
53
53
|
|
54
|
-
# source://parallel//lib/parallel.rb#
|
54
|
+
# source://parallel//lib/parallel.rb#346
|
55
55
|
def worker_number; end
|
56
56
|
|
57
57
|
# TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
|
58
58
|
#
|
59
|
-
# source://parallel//lib/parallel.rb#
|
59
|
+
# source://parallel//lib/parallel.rb#351
|
60
60
|
def worker_number=(worker_num); end
|
61
61
|
|
62
62
|
private
|
63
63
|
|
64
|
-
# source://parallel//lib/parallel.rb#
|
64
|
+
# source://parallel//lib/parallel.rb#384
|
65
65
|
def add_progress_bar!(job_factory, options); end
|
66
66
|
|
67
|
-
# source://parallel//lib/parallel.rb#
|
67
|
+
# source://parallel//lib/parallel.rb#647
|
68
68
|
def call_with_index(item, index, options, &block); end
|
69
69
|
|
70
|
-
# source://parallel//lib/parallel.rb#
|
70
|
+
# source://parallel//lib/parallel.rb#579
|
71
71
|
def create_workers(job_factory, options, &block); end
|
72
72
|
|
73
73
|
# options is either a Integer or a Hash with :count
|
74
74
|
#
|
75
|
-
# source://parallel//lib/parallel.rb#
|
75
|
+
# source://parallel//lib/parallel.rb#637
|
76
76
|
def extract_count_from_options(options); end
|
77
77
|
|
78
|
-
# source://parallel//lib/parallel.rb#
|
78
|
+
# source://parallel//lib/parallel.rb#665
|
79
79
|
def instrument_finish(item, index, result, options); end
|
80
80
|
|
81
81
|
# yield results in the order of the input items
|
82
82
|
# needs to use `options` to store state between executions
|
83
83
|
# needs to use `done` index since a nil result would also be valid
|
84
84
|
#
|
85
|
-
# source://parallel//lib/parallel.rb#
|
85
|
+
# source://parallel//lib/parallel.rb#674
|
86
86
|
def instrument_finish_in_order(item, index, result, options); end
|
87
87
|
|
88
|
-
# source://parallel//lib/parallel.rb#
|
88
|
+
# source://parallel//lib/parallel.rb#694
|
89
89
|
def instrument_start(item, index, options); end
|
90
90
|
|
91
|
-
# source://parallel//lib/parallel.rb#
|
91
|
+
# source://parallel//lib/parallel.rb#357
|
92
|
+
def physical_processor_count_windows; end
|
93
|
+
|
94
|
+
# source://parallel//lib/parallel.rb#613
|
92
95
|
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
93
96
|
|
94
|
-
# source://parallel//lib/parallel.rb#
|
97
|
+
# source://parallel//lib/parallel.rb#567
|
95
98
|
def replace_worker(job_factory, workers, index, options, blk); end
|
96
99
|
|
97
|
-
# source://parallel//lib/parallel.rb#
|
100
|
+
# source://parallel//lib/parallel.rb#378
|
101
|
+
def run(command); end
|
102
|
+
|
103
|
+
# source://parallel//lib/parallel.rb#658
|
98
104
|
def with_instrumentation(item, index, options); end
|
99
105
|
|
100
|
-
# source://parallel//lib/parallel.rb#
|
106
|
+
# source://parallel//lib/parallel.rb#409
|
101
107
|
def work_direct(job_factory, options, &block); end
|
102
108
|
|
103
|
-
# source://parallel//lib/parallel.rb#
|
109
|
+
# source://parallel//lib/parallel.rb#519
|
104
110
|
def work_in_processes(job_factory, options, &blk); end
|
105
111
|
|
106
|
-
# source://parallel//lib/parallel.rb#
|
112
|
+
# source://parallel//lib/parallel.rb#453
|
107
113
|
def work_in_ractors(job_factory, options); end
|
108
114
|
|
109
|
-
# source://parallel//lib/parallel.rb#
|
115
|
+
# source://parallel//lib/parallel.rb#428
|
110
116
|
def work_in_threads(job_factory, options, &block); end
|
111
117
|
|
112
|
-
# source://parallel//lib/parallel.rb#
|
118
|
+
# source://parallel//lib/parallel.rb#587
|
113
119
|
def worker(job_factory, options, &block); end
|
114
120
|
end
|
115
121
|
end
|
@@ -4,35 +4,35 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `racc` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem racc`.
|
6
6
|
|
7
|
-
# source://racc//lib/racc/parser.rb#
|
7
|
+
# source://racc//lib/racc/parser.rb#19
|
8
8
|
ParseError = Racc::ParseError
|
9
9
|
|
10
|
-
# source://racc//lib/racc/info.rb#
|
10
|
+
# source://racc//lib/racc/info.rb#17
|
11
11
|
Racc::Copyright = T.let(T.unsafe(nil), String)
|
12
12
|
|
13
|
-
# source://racc//lib/racc/parser.rb#
|
13
|
+
# source://racc//lib/racc/parser.rb#184
|
14
14
|
class Racc::Parser
|
15
|
-
# source://racc//lib/racc/parser.rb#
|
15
|
+
# source://racc//lib/racc/parser.rb#279
|
16
16
|
def _racc_do_parse_rb(arg, in_debug); end
|
17
17
|
|
18
|
-
# source://racc//lib/racc/parser.rb#
|
18
|
+
# source://racc//lib/racc/parser.rb#479
|
19
19
|
def _racc_do_reduce(arg, act); end
|
20
20
|
|
21
21
|
# common
|
22
22
|
#
|
23
|
-
# source://racc//lib/racc/parser.rb#
|
23
|
+
# source://racc//lib/racc/parser.rb#382
|
24
24
|
def _racc_evalact(act, arg); end
|
25
25
|
|
26
|
-
# source://racc//lib/racc/parser.rb#
|
26
|
+
# source://racc//lib/racc/parser.rb#232
|
27
27
|
def _racc_init_sysvars; end
|
28
28
|
|
29
|
-
# source://racc//lib/racc/parser.rb#
|
29
|
+
# source://racc//lib/racc/parser.rb#220
|
30
30
|
def _racc_setup; end
|
31
31
|
|
32
|
-
# source://racc//lib/racc/parser.rb#
|
32
|
+
# source://racc//lib/racc/parser.rb#329
|
33
33
|
def _racc_yyparse_rb(recv, mid, arg, c_debug); end
|
34
34
|
|
35
|
-
# source://racc//lib/racc/parser.rb#
|
35
|
+
# source://racc//lib/racc/parser.rb#262
|
36
36
|
def do_parse; end
|
37
37
|
|
38
38
|
# The method to fetch next token.
|
@@ -46,7 +46,7 @@ class Racc::Parser
|
|
46
46
|
#
|
47
47
|
# @raise [NotImplementedError]
|
48
48
|
#
|
49
|
-
# source://racc//lib/racc/parser.rb#
|
49
|
+
# source://racc//lib/racc/parser.rb#275
|
50
50
|
def next_token; end
|
51
51
|
|
52
52
|
# This method is called when a parse error is found.
|
@@ -66,96 +66,96 @@ class Racc::Parser
|
|
66
66
|
#
|
67
67
|
# @raise [ParseError]
|
68
68
|
#
|
69
|
-
# source://racc//lib/racc/parser.rb#
|
69
|
+
# source://racc//lib/racc/parser.rb#535
|
70
70
|
def on_error(t, val, vstack); end
|
71
71
|
|
72
|
-
# source://racc//lib/racc/parser.rb#
|
72
|
+
# source://racc//lib/racc/parser.rb#584
|
73
73
|
def racc_accept; end
|
74
74
|
|
75
|
-
# source://racc//lib/racc/parser.rb#
|
75
|
+
# source://racc//lib/racc/parser.rb#589
|
76
76
|
def racc_e_pop(state, tstack, vstack); end
|
77
77
|
|
78
|
-
# source://racc//lib/racc/parser.rb#
|
78
|
+
# source://racc//lib/racc/parser.rb#596
|
79
79
|
def racc_next_state(curstate, state); end
|
80
80
|
|
81
|
-
# source://racc//lib/racc/parser.rb#
|
81
|
+
# source://racc//lib/racc/parser.rb#602
|
82
82
|
def racc_print_stacks(t, v); end
|
83
83
|
|
84
|
-
# source://racc//lib/racc/parser.rb#
|
84
|
+
# source://racc//lib/racc/parser.rb#611
|
85
85
|
def racc_print_states(s); end
|
86
86
|
|
87
87
|
# For debugging output
|
88
88
|
#
|
89
|
-
# source://racc//lib/racc/parser.rb#
|
89
|
+
# source://racc//lib/racc/parser.rb#558
|
90
90
|
def racc_read_token(t, tok, val); end
|
91
91
|
|
92
|
-
# source://racc//lib/racc/parser.rb#
|
92
|
+
# source://racc//lib/racc/parser.rb#571
|
93
93
|
def racc_reduce(toks, sim, tstack, vstack); end
|
94
94
|
|
95
|
-
# source://racc//lib/racc/parser.rb#
|
95
|
+
# source://racc//lib/racc/parser.rb#565
|
96
96
|
def racc_shift(tok, tstack, vstack); end
|
97
97
|
|
98
|
-
# source://racc//lib/racc/parser.rb#
|
98
|
+
# source://racc//lib/racc/parser.rb#618
|
99
99
|
def racc_token2str(tok); end
|
100
100
|
|
101
101
|
# Convert internal ID of token symbol to the string.
|
102
102
|
#
|
103
|
-
# source://racc//lib/racc/parser.rb#
|
103
|
+
# source://racc//lib/racc/parser.rb#624
|
104
104
|
def token_to_str(t); end
|
105
105
|
|
106
106
|
# Exit parser.
|
107
107
|
# Return value is +Symbol_Value_Stack[0]+.
|
108
108
|
#
|
109
|
-
# source://racc//lib/racc/parser.rb#
|
109
|
+
# source://racc//lib/racc/parser.rb#548
|
110
110
|
def yyaccept; end
|
111
111
|
|
112
112
|
# Leave error recovering mode.
|
113
113
|
#
|
114
|
-
# source://racc//lib/racc/parser.rb#
|
114
|
+
# source://racc//lib/racc/parser.rb#553
|
115
115
|
def yyerrok; end
|
116
116
|
|
117
117
|
# Enter error recovering mode.
|
118
118
|
# This method does not call #on_error.
|
119
119
|
#
|
120
|
-
# source://racc//lib/racc/parser.rb#
|
120
|
+
# source://racc//lib/racc/parser.rb#542
|
121
121
|
def yyerror; end
|
122
122
|
|
123
|
-
# source://racc//lib/racc/parser.rb#
|
123
|
+
# source://racc//lib/racc/parser.rb#324
|
124
124
|
def yyparse(recv, mid); end
|
125
125
|
|
126
126
|
class << self
|
127
|
-
# source://racc//lib/racc/parser.rb#
|
127
|
+
# source://racc//lib/racc/parser.rb#216
|
128
128
|
def racc_runtime_type; end
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
# source://racc//lib/racc/parser.rb#
|
132
|
+
# source://racc//lib/racc/parser.rb#205
|
133
133
|
Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
|
134
134
|
|
135
135
|
Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
|
136
136
|
|
137
|
-
# source://racc//lib/racc/parser.rb#
|
137
|
+
# source://racc//lib/racc/parser.rb#207
|
138
138
|
Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
|
139
139
|
|
140
140
|
Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
|
141
141
|
|
142
|
-
# source://racc//lib/racc/parser.rb#
|
142
|
+
# source://racc//lib/racc/parser.rb#187
|
143
143
|
Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
|
144
144
|
|
145
|
-
# source://racc//lib/racc/parser.rb#
|
145
|
+
# source://racc//lib/racc/parser.rb#208
|
146
146
|
Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
|
147
147
|
|
148
|
-
# source://racc//lib/racc/parser.rb#
|
148
|
+
# source://racc//lib/racc/parser.rb#186
|
149
149
|
Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
|
150
150
|
|
151
|
-
# source://racc//lib/racc/parser.rb#
|
151
|
+
# source://racc//lib/racc/parser.rb#206
|
152
152
|
Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
|
153
153
|
|
154
|
-
# source://racc//lib/racc/parser.rb#
|
154
|
+
# source://racc//lib/racc/parser.rb#181
|
155
155
|
Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
|
156
156
|
|
157
|
-
# source://racc//lib/racc/info.rb#
|
157
|
+
# source://racc//lib/racc/info.rb#15
|
158
158
|
Racc::VERSION = T.let(T.unsafe(nil), String)
|
159
159
|
|
160
|
-
# source://racc//lib/racc/info.rb#
|
160
|
+
# source://racc//lib/racc/info.rb#16
|
161
161
|
Racc::Version = T.let(T.unsafe(nil), String)
|