sorbet-schema 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/Gemfile.lock +27 -27
  4. data/lib/sorbet-schema/version.rb +1 -1
  5. data/lib/typed/coercion/coercer_registry.rb +3 -1
  6. data/lib/typed/coercion/struct_coercer.rb +9 -1
  7. data/lib/typed/coercion/symbol_coercer.rb +27 -0
  8. data/lib/typed/coercion/typed_hash_coercer.rb +50 -0
  9. data/lib/typed/field.rb +29 -4
  10. data/lib/typed/schema.rb +2 -2
  11. data/lib/typed/serializer.rb +26 -4
  12. data/lib/typed/validations/field_type_validator.rb +6 -2
  13. data/sorbet/rbi/gems/{builder@3.2.4.rbi → builder@3.3.0.rbi} +22 -25
  14. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +19 -15
  15. data/sorbet/rbi/gems/{minitest-reporters@1.6.1.rbi → minitest-reporters@1.7.1.rbi} +47 -40
  16. data/sorbet/rbi/gems/{minitest@5.23.1.rbi → minitest@5.24.0.rbi} +159 -151
  17. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.25.1.rbi} +26 -20
  18. data/sorbet/rbi/gems/{prism@0.29.0.rbi → prism@0.30.0.rbi} +5670 -4445
  19. data/sorbet/rbi/gems/{rexml@3.2.8.rbi → rexml@3.3.0.rbi} +69 -62
  20. data/sorbet/rbi/gems/{rubocop@1.63.5.rbi → rubocop@1.64.1.rbi} +660 -344
  21. data/sorbet/rbi/gems/{standard@1.36.0.rbi → standard@1.39.0.rbi} +159 -90
  22. data/sorbet/rbi/gems/{tapioca@0.14.2.rbi → tapioca@0.14.4.rbi} +89 -76
  23. data/sorbet/rbi/gems/{zeitwerk@2.6.15.rbi → zeitwerk@2.6.16.rbi} +115 -78
  24. metadata +19 -17
  25. /data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.3.0.rbi} +0 -0
  26. /data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.9.rbi} +0 -0
  27. /data/sorbet/rbi/gems/{rubocop-performance@1.21.0.rbi → rubocop-performance@1.21.1.rbi} +0 -0
  28. /data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.1.rbi} +0 -0
@@ -15,25 +15,25 @@ class RuboCop::CommentConfig
15
15
  # source://standard//lib/standard/rubocop/ext.rb#20
16
16
  def initialize(processed_source); end
17
17
 
18
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#63
18
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#63
19
19
  def comment_only_line?(line_number); end
20
20
 
21
21
  # source://forwardable/1.3.3/forwardable.rb#231
22
22
  def config(*args, **_arg1, &block); end
23
23
 
24
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#51
24
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#51
25
25
  def cop_disabled_line_ranges; end
26
26
 
27
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#39
27
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#39
28
28
  def cop_enabled_at_line?(cop, line_number); end
29
29
 
30
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#47
30
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#47
31
31
  def cop_opted_in?(cop); end
32
32
 
33
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#55
33
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#55
34
34
  def extra_enabled_comments; end
35
35
 
36
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#30
36
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#30
37
37
  def processed_source; end
38
38
 
39
39
  # source://forwardable/1.3.3/forwardable.rb#231
@@ -41,49 +41,49 @@ class RuboCop::CommentConfig
41
41
 
42
42
  private
43
43
 
44
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#96
44
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#96
45
45
  def analyze; end
46
46
 
47
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#124
47
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#124
48
48
  def analyze_cop(analysis, directive); end
49
49
 
50
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#144
50
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#144
51
51
  def analyze_disabled(analysis, directive); end
52
52
 
53
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#155
53
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#155
54
54
  def analyze_rest(analysis, directive); end
55
55
 
56
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#135
56
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#135
57
57
  def analyze_single_line(analysis, directive); end
58
58
 
59
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#164
59
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#164
60
60
  def cop_line_ranges(analysis); end
61
61
 
62
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#170
62
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#170
63
63
  def each_directive; end
64
64
 
65
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#69
65
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#69
66
66
  def extra_enabled_comments_with_names(extras:, names:); end
67
67
 
68
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#190
68
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#190
69
69
  def handle_enable_all(directive, names, extras); end
70
70
 
71
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#204
71
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#204
72
72
  def handle_switch(directive, names, extras); end
73
73
 
74
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#115
74
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#115
75
75
  def inject_disabled_cops_directives(analyses); end
76
76
 
77
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#183
77
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#183
78
78
  def non_comment_token_line_numbers; end
79
79
 
80
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#34
80
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#34
81
81
  def old_initialize(processed_source); end
82
82
 
83
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#83
83
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#83
84
84
  def opt_in_cops; end
85
85
 
86
- # source://rubocop/1.63.5/lib/rubocop/comment_config.rb#179
86
+ # source://rubocop/1.64.1/lib/rubocop/comment_config.rb#179
87
87
  def qualified_cop_name(cop_name); end
88
88
  end
89
89
 
@@ -95,114 +95,114 @@ class RuboCop::Cop::Lint::AssignmentInCondition < ::RuboCop::Cop::Base
95
95
  # source://standard//lib/standard/rubocop/ext.rb#4
96
96
  def message(_); end
97
97
 
98
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#55
98
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#55
99
99
  def on_if(node); end
100
100
 
101
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#55
101
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#55
102
102
  def on_until(node); end
103
103
 
104
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#55
104
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#55
105
105
  def on_while(node); end
106
106
 
107
107
  private
108
108
 
109
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#82
109
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#82
110
110
  def allowed_construct?(asgn_node); end
111
111
 
112
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#86
112
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#86
113
113
  def conditional_assignment?(asgn_node); end
114
114
 
115
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#90
115
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#90
116
116
  def skip_children?(asgn_node); end
117
117
 
118
- # source://rubocop/1.63.5/lib/rubocop/cop/lint/assignment_in_condition.rb#96
118
+ # source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#96
119
119
  def traverse_node(node, &block); end
120
120
  end
121
121
 
122
122
  # source://standard//lib/standard/rubocop/ext.rb#9
123
123
  class RuboCop::DirectiveComment
124
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#32
124
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#32
125
125
  def initialize(comment, cop_registry = T.unsafe(nil)); end
126
126
 
127
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#82
127
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#82
128
128
  def all_cops?; end
129
129
 
130
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#30
130
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
131
131
  def comment; end
132
132
 
133
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#87
133
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#87
134
134
  def cop_names; end
135
135
 
136
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#30
136
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
137
137
  def cop_registry; end
138
138
 
139
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#30
139
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
140
140
  def cops; end
141
141
 
142
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#93
142
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#93
143
143
  def department_names; end
144
144
 
145
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#107
145
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#107
146
146
  def directive_count; end
147
147
 
148
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#62
148
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#62
149
149
  def disabled?; end
150
150
 
151
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#77
151
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#77
152
152
  def disabled_all?; end
153
153
 
154
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#67
154
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#67
155
155
  def enabled?; end
156
156
 
157
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#72
157
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#72
158
158
  def enabled_all?; end
159
159
 
160
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#98
160
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#98
161
161
  def in_directive_department?(cop); end
162
162
 
163
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#112
163
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#112
164
164
  def line_number; end
165
165
 
166
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#44
166
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#44
167
167
  def match?(cop_names); end
168
168
 
169
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#57
169
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#57
170
170
  def match_captures; end
171
171
 
172
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#30
172
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
173
173
  def mode; end
174
174
 
175
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#103
175
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#103
176
176
  def overridden_by_department?(cop); end
177
177
 
178
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#48
178
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#48
179
179
  def range; end
180
180
 
181
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#39
181
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#39
182
182
  def single_line?; end
183
183
 
184
184
  private
185
185
 
186
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#133
186
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#133
187
187
  def all_cop_names; end
188
188
 
189
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#137
189
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#137
190
190
  def cop_names_for_department(department); end
191
191
 
192
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#129
192
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#129
193
193
  def department?(name); end
194
194
 
195
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#142
195
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#142
196
196
  def exclude_lint_department_cops(cops); end
197
197
 
198
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#122
198
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#122
199
199
  def parsed_cop_names; end
200
200
 
201
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#118
201
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#118
202
202
  def splitted_cops_string; end
203
203
 
204
204
  class << self
205
- # source://rubocop/1.63.5/lib/rubocop/directive_comment.rb#26
205
+ # source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#26
206
206
  def before_comment(line); end
207
207
  end
208
208
  end
@@ -461,9 +461,63 @@ class Standard::LoadsYamlConfig
461
461
  def normalized_ruby_version(version); end
462
462
  end
463
463
 
464
- # source://standard//lib/standard/lsp/standardizer.rb#4
464
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#2
465
465
  module Standard::Lsp; end
466
466
 
467
+ # source://standard//lib/standard/lsp/diagnostic.rb#3
468
+ class Standard::Lsp::Diagnostic
469
+ # @return [Diagnostic] a new instance of Diagnostic
470
+ #
471
+ # source://standard//lib/standard/lsp/diagnostic.rb#16
472
+ def initialize(document_encoding, offense, uri, cop_class); end
473
+
474
+ # source://standard//lib/standard/lsp/diagnostic.rb#23
475
+ def to_lsp_code_actions; end
476
+
477
+ # source://standard//lib/standard/lsp/diagnostic.rb#32
478
+ def to_lsp_diagnostic(config); end
479
+
480
+ private
481
+
482
+ # source://standard//lib/standard/lsp/diagnostic.rb#77
483
+ def autocorrect_action; end
484
+
485
+ # source://standard//lib/standard/lsp/diagnostic.rb#69
486
+ def code_description(config); end
487
+
488
+ # @return [Boolean]
489
+ #
490
+ # source://standard//lib/standard/lsp/diagnostic.rb#163
491
+ def correctable?; end
492
+
493
+ # source://standard//lib/standard/lsp/diagnostic.rb#108
494
+ def disable_line_action; end
495
+
496
+ # source://standard//lib/standard/lsp/diagnostic.rb#148
497
+ def length_of_line(line); end
498
+
499
+ # source://standard//lib/standard/lsp/diagnostic.rb#126
500
+ def line_disable_comment; end
501
+
502
+ # source://standard//lib/standard/lsp/diagnostic.rb#59
503
+ def message; end
504
+
505
+ # source://standard//lib/standard/lsp/diagnostic.rb#96
506
+ def offense_replacements; end
507
+
508
+ # source://standard//lib/standard/lsp/diagnostic.rb#65
509
+ def severity; end
510
+ end
511
+
512
+ # source://standard//lib/standard/lsp/diagnostic.rb#4
513
+ Standard::Lsp::Diagnostic::Constant = LanguageServer::Protocol::Constant
514
+
515
+ # source://standard//lib/standard/lsp/diagnostic.rb#5
516
+ Standard::Lsp::Diagnostic::Interface = LanguageServer::Protocol::Interface
517
+
518
+ # source://standard//lib/standard/lsp/diagnostic.rb#7
519
+ Standard::Lsp::Diagnostic::RUBOCOP_TO_LSP_SEVERITY = T.let(T.unsafe(nil), Hash)
520
+
467
521
  # source://standard//lib/standard/lsp/kills_server.rb#3
468
522
  class Standard::Lsp::KillsServer
469
523
  # source://standard//lib/standard/lsp/kills_server.rb#4
@@ -475,12 +529,12 @@ class Standard::Lsp::Logger
475
529
  # @return [Logger] a new instance of Logger
476
530
  #
477
531
  # source://standard//lib/standard/lsp/logger.rb#4
478
- def initialize; end
532
+ def initialize(prefix: T.unsafe(nil)); end
479
533
 
480
- # source://standard//lib/standard/lsp/logger.rb#8
534
+ # source://standard//lib/standard/lsp/logger.rb#9
481
535
  def puts(message); end
482
536
 
483
- # source://standard//lib/standard/lsp/logger.rb#12
537
+ # source://standard//lib/standard/lsp/logger.rb#13
484
538
  def puts_once(message); end
485
539
  end
486
540
 
@@ -500,27 +554,27 @@ class Standard::Lsp::Routes
500
554
  # source://standard//lib/standard/lsp/routes.rb#26
501
555
  def handle_initialize(request); end
502
556
 
503
- # source://standard//lib/standard/lsp/routes.rb#42
557
+ # source://standard//lib/standard/lsp/routes.rb#38
504
558
  def handle_initialized(request); end
505
559
 
506
- # source://standard//lib/standard/lsp/routes.rb#130
560
+ # source://standard//lib/standard/lsp/routes.rb#122
507
561
  def handle_method_missing(request); end
508
562
 
509
- # source://standard//lib/standard/lsp/routes.rb#46
563
+ # source://standard//lib/standard/lsp/routes.rb#42
510
564
  def handle_shutdown(request); end
511
565
 
512
- # source://standard//lib/standard/lsp/routes.rb#122
566
+ # source://standard//lib/standard/lsp/routes.rb#114
513
567
  def handle_unsupported_method(request, method = T.unsafe(nil)); end
514
568
 
515
569
  private
516
570
 
517
- # source://standard//lib/standard/lsp/routes.rb#163
571
+ # source://standard//lib/standard/lsp/routes.rb#155
518
572
  def diagnostic(file_uri, text); end
519
573
 
520
- # source://standard//lib/standard/lsp/routes.rb#142
574
+ # source://standard//lib/standard/lsp/routes.rb#134
521
575
  def format_file(file_uri); end
522
576
 
523
- # source://standard//lib/standard/lsp/routes.rb#138
577
+ # source://standard//lib/standard/lsp/routes.rb#130
524
578
  def uri_to_path(uri); end
525
579
 
526
580
  class << self
@@ -543,42 +597,57 @@ class Standard::Lsp::Server
543
597
  def start; end
544
598
  end
545
599
 
546
- # source://standard//lib/standard/lsp/standardizer.rb#5
600
+ # source://standard//lib/standard/lsp/standardizer.rb#6
547
601
  class Standard::Lsp::Standardizer
548
602
  # @return [Standardizer] a new instance of Standardizer
549
603
  #
550
- # source://standard//lib/standard/lsp/standardizer.rb#6
551
- def initialize(config, logger); end
604
+ # source://standard//lib/standard/lsp/standardizer.rb#7
605
+ def initialize(config); end
552
606
 
553
- # This abuses the --stdin option of rubocop and reads the formatted text
554
- # from the options[:stdin] that rubocop mutates. This depends on
555
- # parallel: false as well as the fact that rubocop doesn't otherwise dup
556
- # or reassign that options object. Risky business!
607
+ # source://standard//lib/standard/lsp/standardizer.rb#15
608
+ def format(path, text); end
609
+
610
+ # source://standard//lib/standard/lsp/standardizer.rb#20
611
+ def offenses(path, text, document_encoding = T.unsafe(nil)); end
612
+ end
613
+
614
+ # Originally lifted from:
615
+ # https://github.com/Shopify/ruby-lsp/blob/8d4c17efce4e8ecc8e7c557ab2981db6b22c0b6d/lib/ruby_lsp/requests/support/rubocop_runner.rb#L20
616
+ #
617
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#5
618
+ class Standard::Lsp::StdinRubocopRunner < ::RuboCop::Runner
619
+ # @return [StdinRubocopRunner] a new instance of StdinRubocopRunner
557
620
  #
558
- # Reassigning options[:stdin] is done here:
559
- # https://github.com/rubocop/rubocop/blob/master/lib/rubocop/cop/team.rb#L131
560
- # Printing options[:stdin]
561
- # https://github.com/rubocop/rubocop/blob/master/lib/rubocop/cli/command/execute_runner.rb#L95
562
- # Setting `parallel: true` would break this here:
563
- # https://github.com/rubocop/rubocop/blob/master/lib/rubocop/runner.rb#L72
621
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#19
622
+ def initialize(config); end
623
+
624
+ # Returns the value of attribute config_for_working_directory.
564
625
  #
565
- # source://standard//lib/standard/lsp/standardizer.rb#23
566
- def format(path, text); end
626
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#10
627
+ def config_for_working_directory; end
567
628
 
568
- # source://standard//lib/standard/lsp/standardizer.rb#29
569
- def offenses(path, text); end
629
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#50
630
+ def formatted_source; end
570
631
 
571
- private
632
+ # Returns the value of attribute offenses.
633
+ #
634
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#8
635
+ def offenses; end
572
636
 
573
- # source://standard//lib/standard/lsp/standardizer.rb#59
574
- def capture_rubocop_stdout(config); end
637
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#33
638
+ def run(path, contents); end
575
639
 
576
- # source://standard//lib/standard/lsp/standardizer.rb#50
577
- def fork_config(path, text, format:); end
640
+ private
641
+
642
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#56
643
+ def file_finished(_file, offenses); end
578
644
  end
579
645
 
580
- # source://standard//lib/standard/lsp/standardizer.rb#44
581
- Standard::Lsp::Standardizer::BASE_OPTIONS = T.let(T.unsafe(nil), Hash)
646
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#6
647
+ class Standard::Lsp::StdinRubocopRunner::ConfigurationError < ::StandardError; end
648
+
649
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#12
650
+ Standard::Lsp::StdinRubocopRunner::DEFAULT_RUBOCOP_OPTIONS = T.let(T.unsafe(nil), Hash)
582
651
 
583
652
  # source://standard//lib/standard/merges_settings.rb#4
584
653
  class Standard::MergesSettings