tickrb 0.1.0

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 (65) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +15 -0
  4. data/Gemfile +17 -0
  5. data/Gemfile.lock +143 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +112 -0
  8. data/Rakefile +53 -0
  9. data/lib/tickrb/auth.rb +106 -0
  10. data/lib/tickrb/client.rb +144 -0
  11. data/lib/tickrb/mcp_server.rb +445 -0
  12. data/lib/tickrb/token_store.rb +29 -0
  13. data/lib/tickrb/version.rb +6 -0
  14. data/lib/tickrb.rb +37 -0
  15. data/sorbet/config +4 -0
  16. data/sorbet/rbi/gems/.gitattributes +1 -0
  17. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  18. data/sorbet/rbi/gems/benchmark@0.4.1.rbi +619 -0
  19. data/sorbet/rbi/gems/diff-lcs@1.6.2.rbi +1134 -0
  20. data/sorbet/rbi/gems/dotenv@3.1.8.rbi +295 -0
  21. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  22. data/sorbet/rbi/gems/json@2.12.2.rbi +2051 -0
  23. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +14244 -0
  24. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  25. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  26. data/sorbet/rbi/gems/net-http@0.6.0.rbi +4247 -0
  27. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  28. data/sorbet/rbi/gems/parallel@1.27.0.rbi +291 -0
  29. data/sorbet/rbi/gems/parser@3.3.8.0.rbi +5535 -0
  30. data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
  31. data/sorbet/rbi/gems/racc@1.8.1.rbi +164 -0
  32. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  33. data/sorbet/rbi/gems/rake@13.3.0.rbi +3031 -0
  34. data/sorbet/rbi/gems/rbi@0.3.3.rbi +6742 -0
  35. data/sorbet/rbi/gems/rbs@3.9.4.rbi +6976 -0
  36. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  37. data/sorbet/rbi/gems/rexml@3.4.1.rbi +5243 -0
  38. data/sorbet/rbi/gems/rspec-core@3.13.4.rbi +11238 -0
  39. data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +8189 -0
  40. data/sorbet/rbi/gems/rspec-mocks@3.13.5.rbi +5350 -0
  41. data/sorbet/rbi/gems/rspec-sorbet-types@0.3.0.rbi +130 -0
  42. data/sorbet/rbi/gems/rspec-support@3.13.4.rbi +1630 -0
  43. data/sorbet/rbi/gems/rspec@3.13.1.rbi +83 -0
  44. data/sorbet/rbi/gems/rubocop-ast@1.45.0.rbi +7721 -0
  45. data/sorbet/rbi/gems/rubocop-performance@1.25.0.rbi +9 -0
  46. data/sorbet/rbi/gems/rubocop@1.75.8.rbi +62104 -0
  47. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  48. data/sorbet/rbi/gems/spoom@1.6.3.rbi +6985 -0
  49. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +9 -0
  50. data/sorbet/rbi/gems/standard-performance@1.8.0.rbi +9 -0
  51. data/sorbet/rbi/gems/standard@1.50.0.rbi +1146 -0
  52. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
  53. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  54. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  55. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  56. data/sorbet/rbi/gems/uri@1.0.3.rbi +2325 -0
  57. data/sorbet/rbi/gems/webrick@1.9.1.rbi +2856 -0
  58. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  59. data/sorbet/rbi/gems/yard@0.9.37.rbi +18445 -0
  60. data/sorbet/rbi/tickrb.rbi +9 -0
  61. data/sorbet/tapioca.yml +10 -0
  62. data/test_api_direct.rb +98 -0
  63. data/test_mcp_server.rb +157 -0
  64. data/tickrb.gemspec +47 -0
  65. metadata +278 -0
@@ -0,0 +1,1146 @@
1
+ # typed: false
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `standard` gem.
5
+ # Please instead update this file by running `bin/tapioca gem standard`.
6
+
7
+ # source://standard//lib/standard/rubocop/ext.rb#1
8
+ module RuboCop; end
9
+
10
+ # source://standard//lib/standard/rubocop/ext.rb#17
11
+ class RuboCop::CommentConfig
12
+ # @return [CommentConfig] a new instance of CommentConfig
13
+ #
14
+ # source://standard//lib/standard/rubocop/ext.rb#20
15
+ def initialize(processed_source)
16
+ end
17
+
18
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#63
19
+ def comment_only_line?(line_number)
20
+ end
21
+
22
+ # source://rubocop-ast/1.45.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
23
+ def config(*_arg0, **_arg1, &_arg2)
24
+ end
25
+
26
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#51
27
+ def cop_disabled_line_ranges
28
+ end
29
+
30
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#39
31
+ def cop_enabled_at_line?(cop, line_number)
32
+ end
33
+
34
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#47
35
+ def cop_opted_in?(cop)
36
+ end
37
+
38
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#55
39
+ def extra_enabled_comments
40
+ end
41
+
42
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#30
43
+ def processed_source
44
+ end
45
+
46
+ # source://rubocop-ast/1.45.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
47
+ def registry(*_arg0, **_arg1, &_arg2)
48
+ end
49
+
50
+ private
51
+
52
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#96
53
+ def analyze
54
+ end
55
+
56
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#124
57
+ def analyze_cop(analysis, directive)
58
+ end
59
+
60
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#144
61
+ def analyze_disabled(analysis, directive)
62
+ end
63
+
64
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#155
65
+ def analyze_rest(analysis, directive)
66
+ end
67
+
68
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#135
69
+ def analyze_single_line(analysis, directive)
70
+ end
71
+
72
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#164
73
+ def cop_line_ranges(analysis)
74
+ end
75
+
76
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#170
77
+ def each_directive
78
+ end
79
+
80
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#69
81
+ def extra_enabled_comments_with_names(extras:, names:)
82
+ end
83
+
84
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#190
85
+ def handle_enable_all(directive, names, extras)
86
+ end
87
+
88
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#204
89
+ def handle_switch(directive, names, extras)
90
+ end
91
+
92
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#115
93
+ def inject_disabled_cops_directives(analyses)
94
+ end
95
+
96
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#183
97
+ def non_comment_token_line_numbers
98
+ end
99
+
100
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#34
101
+ def old_initialize(processed_source)
102
+ end
103
+
104
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#83
105
+ def opt_in_cops
106
+ end
107
+
108
+ # source://rubocop/1.75.8/lib/rubocop/comment_config.rb#179
109
+ def qualified_cop_name(cop_name)
110
+ end
111
+ end
112
+
113
+ module RuboCop::Cop; end
114
+
115
+ module RuboCop::Cop::Lint; end
116
+
117
+ # source://standard//lib/standard/rubocop/ext.rb#2
118
+ class RuboCop::Cop::Lint::AssignmentInCondition < ::RuboCop::Cop::Base
119
+ # source://standard//lib/standard/rubocop/ext.rb#4
120
+ def message(_)
121
+ end
122
+
123
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#55
124
+ def on_if(node)
125
+ end
126
+
127
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#55
128
+ def on_until(node)
129
+ end
130
+
131
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#55
132
+ def on_while(node)
133
+ end
134
+
135
+ private
136
+
137
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#80
138
+ def allowed_construct?(asgn_node)
139
+ end
140
+
141
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#84
142
+ def conditional_assignment?(asgn_node)
143
+ end
144
+
145
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#88
146
+ def skip_children?(asgn_node)
147
+ end
148
+
149
+ # source://rubocop/1.75.8/lib/rubocop/cop/lint/assignment_in_condition.rb#94
150
+ def traverse_node(node, &block)
151
+ end
152
+ end
153
+
154
+ # source://standard//lib/standard/rubocop/ext.rb#9
155
+ class RuboCop::DirectiveComment
156
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#46
157
+ def initialize(comment, cop_registry = T.unsafe(nil))
158
+ end
159
+
160
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#115
161
+ def all_cops?
162
+ end
163
+
164
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#44
165
+ def comment
166
+ end
167
+
168
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#120
169
+ def cop_names
170
+ end
171
+
172
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#44
173
+ def cop_registry
174
+ end
175
+
176
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#44
177
+ def cops
178
+ end
179
+
180
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#131
181
+ def department_names
182
+ end
183
+
184
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#145
185
+ def directive_count
186
+ end
187
+
188
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#95
189
+ def disabled?
190
+ end
191
+
192
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#110
193
+ def disabled_all?
194
+ end
195
+
196
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#100
197
+ def enabled?
198
+ end
199
+
200
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#105
201
+ def enabled_all?
202
+ end
203
+
204
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#136
205
+ def in_directive_department?(cop)
206
+ end
207
+
208
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#150
209
+ def line_number
210
+ end
211
+
212
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#59
213
+ def malformed?
214
+ end
215
+
216
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#77
217
+ def match?(cop_names)
218
+ end
219
+
220
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#90
221
+ def match_captures
222
+ end
223
+
224
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#67
225
+ def missing_cop_name?
226
+ end
227
+
228
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#44
229
+ def mode
230
+ end
231
+
232
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#141
233
+ def overridden_by_department?(cop)
234
+ end
235
+
236
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#81
237
+ def range
238
+ end
239
+
240
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#125
241
+ def raw_cop_names
242
+ end
243
+
244
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#72
245
+ def single_line?
246
+ end
247
+
248
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#54
249
+ def start_with_marker?
250
+ end
251
+
252
+ private
253
+
254
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#167
255
+ def all_cop_names
256
+ end
257
+
258
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#171
259
+ def cop_names_for_department(department)
260
+ end
261
+
262
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#163
263
+ def department?(name)
264
+ end
265
+
266
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#176
267
+ def exclude_lint_department_cops(cops)
268
+ end
269
+
270
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#156
271
+ def parsed_cop_names
272
+ end
273
+
274
+ class << self
275
+ # source://rubocop/1.75.8/lib/rubocop/directive_comment.rb#40
276
+ def before_comment(line)
277
+ end
278
+ end
279
+ end
280
+
281
+ # source://standard//lib/standard/rubocop/ext.rb#11
282
+ RuboCop::DirectiveComment::DIRECTIVE_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp)
283
+
284
+ # source://standard//lib/standard.rb#4
285
+ module Standard; end
286
+
287
+ # source://standard//lib/standard/builds_config.rb#8
288
+ class Standard::BuildsConfig
289
+ # @return [BuildsConfig] a new instance of BuildsConfig
290
+ #
291
+ # source://standard//lib/standard/builds_config.rb#9
292
+ def initialize
293
+ end
294
+
295
+ # source://standard//lib/standard/builds_config.rb#16
296
+ def call(argv, search_path = T.unsafe(nil))
297
+ end
298
+ end
299
+
300
+ # source://standard//lib/standard/cli.rb#5
301
+ class Standard::Cli
302
+ # @return [Cli] a new instance of Cli
303
+ #
304
+ # source://standard//lib/standard/cli.rb#6
305
+ def initialize(argv)
306
+ end
307
+
308
+ # source://standard//lib/standard/cli.rb#12
309
+ def run
310
+ end
311
+ end
312
+
313
+ # source://standard//lib/standard/builds_config.rb#6
314
+ class Standard::Config < ::Struct
315
+ # Returns the value of attribute paths
316
+ #
317
+ # @return [Object] the current value of paths
318
+ def paths
319
+ end
320
+
321
+ # Sets the attribute paths
322
+ #
323
+ # @param value [Object] the value to set the attribute paths to.
324
+ # @return [Object] the newly set value
325
+ def paths=(_)
326
+ end
327
+
328
+ # Returns the value of attribute rubocop_config_store
329
+ #
330
+ # @return [Object] the current value of rubocop_config_store
331
+ def rubocop_config_store
332
+ end
333
+
334
+ # Sets the attribute rubocop_config_store
335
+ #
336
+ # @param value [Object] the value to set the attribute rubocop_config_store to.
337
+ # @return [Object] the newly set value
338
+ def rubocop_config_store=(_)
339
+ end
340
+
341
+ # Returns the value of attribute rubocop_options
342
+ #
343
+ # @return [Object] the current value of rubocop_options
344
+ def rubocop_options
345
+ end
346
+
347
+ # Sets the attribute rubocop_options
348
+ #
349
+ # @param value [Object] the value to set the attribute rubocop_options to.
350
+ # @return [Object] the newly set value
351
+ def rubocop_options=(_)
352
+ end
353
+
354
+ # Returns the value of attribute runner
355
+ #
356
+ # @return [Object] the current value of runner
357
+ def runner
358
+ end
359
+
360
+ # Sets the attribute runner
361
+ #
362
+ # @param value [Object] the value to set the attribute runner to.
363
+ # @return [Object] the newly set value
364
+ def runner=(_)
365
+ end
366
+
367
+ class << self
368
+ def [](*_arg0)
369
+ end
370
+
371
+ def inspect
372
+ end
373
+
374
+ def keyword_init?
375
+ end
376
+
377
+ def members
378
+ end
379
+
380
+ def new(*_arg0)
381
+ end
382
+ end
383
+ end
384
+
385
+ # source://standard//lib/standard/creates_config_store/assigns_rubocop_yaml.rb#3
386
+ class Standard::CreatesConfigStore
387
+ # @return [CreatesConfigStore] a new instance of CreatesConfigStore
388
+ #
389
+ # source://standard//lib/standard/creates_config_store.rb#10
390
+ def initialize
391
+ end
392
+
393
+ # source://standard//lib/standard/creates_config_store.rb#18
394
+ def call(standard_config)
395
+ end
396
+ end
397
+
398
+ # source://standard//lib/standard/creates_config_store/assigns_rubocop_yaml.rb#4
399
+ class Standard::CreatesConfigStore::AssignsRubocopYaml
400
+ # source://standard//lib/standard/creates_config_store/assigns_rubocop_yaml.rb#5
401
+ def call(config_store, standard_config)
402
+ end
403
+ end
404
+
405
+ # source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#2
406
+ class Standard::CreatesConfigStore::ConfiguresIgnoredPaths
407
+ # source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#14
408
+ def call(options_config, standard_config)
409
+ end
410
+
411
+ private
412
+
413
+ # @return [Boolean]
414
+ #
415
+ # source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#41
416
+ def absolute?(path)
417
+ end
418
+
419
+ # source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#33
420
+ def absolutify(config_root, path)
421
+ end
422
+
423
+ # source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#28
424
+ def ignored_patterns(standard_config)
425
+ end
426
+ end
427
+
428
+ # source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#3
429
+ Standard::CreatesConfigStore::ConfiguresIgnoredPaths::DEFAULT_IGNORES = T.let(T.unsafe(nil), Array)
430
+
431
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#5
432
+ class Standard::CreatesConfigStore::MergesUserConfigExtensions
433
+ # @return [MergesUserConfigExtensions] a new instance of MergesUserConfigExtensions
434
+ #
435
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#24
436
+ def initialize
437
+ end
438
+
439
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#28
440
+ def call(options_config, standard_config)
441
+ end
442
+ end
443
+
444
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#6
445
+ class Standard::CreatesConfigStore::MergesUserConfigExtensions::ExtendConfigPlugin < ::LintRoller::Plugin
446
+ # @return [ExtendConfigPlugin] a new instance of ExtendConfigPlugin
447
+ #
448
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#7
449
+ def initialize(path)
450
+ end
451
+
452
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#11
453
+ def about
454
+ end
455
+
456
+ # source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#15
457
+ def rules(context)
458
+ end
459
+ end
460
+
461
+ # source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#2
462
+ class Standard::CreatesConfigStore::SetsTargetRubyVersion
463
+ # source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#12
464
+ def call(options_config, standard_config)
465
+ end
466
+
467
+ private
468
+
469
+ # source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#20
470
+ def min_target_ruby_version_supported(desired_target_ruby_version)
471
+ end
472
+
473
+ # source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#31
474
+ def normalize_version(version)
475
+ end
476
+ end
477
+
478
+ # This is minimum version that Rubocop can parse, not the minimum
479
+ # version it can run on (e.g. TargetRubyVersion). See the following
480
+ # for more details:
481
+ #
482
+ # https://docs.rubocop.org/rubocop/configuration.html#setting-the-target-ruby-version
483
+ #
484
+ # https://github.com/rubocop/rubocop/blob/master/lib/rubocop/target_ruby.rb
485
+ #
486
+ # source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#10
487
+ Standard::CreatesConfigStore::SetsTargetRubyVersion::MIN_TARGET_RUBY_VERSION = T.let(T.unsafe(nil), String)
488
+
489
+ # source://standard//lib/standard/file_finder.rb#4
490
+ class Standard::FileFinder
491
+ # source://standard//lib/standard/file_finder.rb#5
492
+ def call(name, search_path)
493
+ end
494
+ end
495
+
496
+ # source://standard//lib/standard/formatter.rb#5
497
+ class Standard::Formatter < ::RuboCop::Formatter::BaseFormatter
498
+ # source://standard//lib/standard/formatter.rb#18
499
+ def file_finished(file, offenses)
500
+ end
501
+
502
+ # source://standard//lib/standard/formatter.rb#37
503
+ def finished(_inspected_files)
504
+ end
505
+
506
+ # source://standard//lib/standard/formatter.rb#10
507
+ def started(_target_files)
508
+ end
509
+
510
+ # source://standard//lib/standard/formatter.rb#30
511
+ def track_stats(offenses)
512
+ end
513
+
514
+ private
515
+
516
+ # source://standard//lib/standard/formatter.rb#106
517
+ def determine_run_mode
518
+ end
519
+
520
+ # source://standard//lib/standard/formatter.rb#114
521
+ def fixable_error_message(command)
522
+ end
523
+
524
+ # source://standard//lib/standard/formatter.rb#92
525
+ def path_to(file)
526
+ end
527
+
528
+ # source://standard//lib/standard/formatter.rb#96
529
+ def potential_fix_mode
530
+ end
531
+
532
+ # source://standard//lib/standard/formatter.rb#52
533
+ def print_fix_suggestion
534
+ end
535
+
536
+ # source://standard//lib/standard/formatter.rb#44
537
+ def print_header_once
538
+ end
539
+
540
+ # source://standard//lib/standard/formatter.rb#82
541
+ def print_todo_congratulations
542
+ end
543
+
544
+ # source://standard//lib/standard/formatter.rb#66
545
+ def print_todo_warning
546
+ end
547
+ end
548
+
549
+ # source://standard//lib/standard/formatter.rb#6
550
+ Standard::Formatter::STANDARD_GREETING = T.let(T.unsafe(nil), String)
551
+
552
+ # source://standard//lib/standard/loads_runner.rb#9
553
+ class Standard::LoadsRunner
554
+ # source://standard//lib/standard/loads_runner.rb#19
555
+ def call(command)
556
+ end
557
+ end
558
+
559
+ # source://standard//lib/standard/loads_runner.rb#10
560
+ Standard::LoadsRunner::RUNNERS = T.let(T.unsafe(nil), Hash)
561
+
562
+ # source://standard//lib/standard/loads_yaml_config.rb#7
563
+ class Standard::LoadsYamlConfig
564
+ # source://standard//lib/standard/loads_yaml_config.rb#8
565
+ def call(standard_yaml_path, todo_yaml_path)
566
+ end
567
+
568
+ private
569
+
570
+ # source://standard//lib/standard/loads_yaml_config.rb#57
571
+ def arrayify(object)
572
+ end
573
+
574
+ # source://standard//lib/standard/loads_yaml_config.rb#25
575
+ def construct_config(yaml_path, standard_yaml, todo_path, todo_yaml)
576
+ end
577
+
578
+ # source://standard//lib/standard/loads_yaml_config.rb#47
579
+ def expand_ignore_config(ignore_config)
580
+ end
581
+
582
+ # source://standard//lib/standard/loads_yaml_config.rb#17
583
+ def load_standard_yaml(yaml_path)
584
+ end
585
+
586
+ # source://standard//lib/standard/loads_yaml_config.rb#41
587
+ def normalized_ruby_version(version)
588
+ end
589
+ end
590
+
591
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#2
592
+ module Standard::Lsp; end
593
+
594
+ # source://standard//lib/standard/lsp/diagnostic.rb#3
595
+ class Standard::Lsp::Diagnostic
596
+ # @return [Diagnostic] a new instance of Diagnostic
597
+ #
598
+ # source://standard//lib/standard/lsp/diagnostic.rb#16
599
+ def initialize(document_encoding, offense, uri, cop_class)
600
+ end
601
+
602
+ # source://standard//lib/standard/lsp/diagnostic.rb#23
603
+ def to_lsp_code_actions
604
+ end
605
+
606
+ # source://standard//lib/standard/lsp/diagnostic.rb#32
607
+ def to_lsp_diagnostic(config)
608
+ end
609
+
610
+ private
611
+
612
+ # source://standard//lib/standard/lsp/diagnostic.rb#77
613
+ def autocorrect_action
614
+ end
615
+
616
+ # source://standard//lib/standard/lsp/diagnostic.rb#69
617
+ def code_description(config)
618
+ end
619
+
620
+ # @return [Boolean]
621
+ #
622
+ # source://standard//lib/standard/lsp/diagnostic.rb#163
623
+ def correctable?
624
+ end
625
+
626
+ # source://standard//lib/standard/lsp/diagnostic.rb#108
627
+ def disable_line_action
628
+ end
629
+
630
+ # source://standard//lib/standard/lsp/diagnostic.rb#167
631
+ def ensure_uri_scheme(uri)
632
+ end
633
+
634
+ # source://standard//lib/standard/lsp/diagnostic.rb#148
635
+ def length_of_line(line)
636
+ end
637
+
638
+ # source://standard//lib/standard/lsp/diagnostic.rb#126
639
+ def line_disable_comment
640
+ end
641
+
642
+ # source://standard//lib/standard/lsp/diagnostic.rb#59
643
+ def message
644
+ end
645
+
646
+ # source://standard//lib/standard/lsp/diagnostic.rb#96
647
+ def offense_replacements
648
+ end
649
+
650
+ # source://standard//lib/standard/lsp/diagnostic.rb#65
651
+ def severity
652
+ end
653
+ end
654
+
655
+ # source://standard//lib/standard/lsp/diagnostic.rb#4
656
+ Standard::Lsp::Diagnostic::Constant = LanguageServer::Protocol::Constant
657
+
658
+ # source://standard//lib/standard/lsp/diagnostic.rb#5
659
+ Standard::Lsp::Diagnostic::Interface = LanguageServer::Protocol::Interface
660
+
661
+ # source://standard//lib/standard/lsp/diagnostic.rb#7
662
+ Standard::Lsp::Diagnostic::RUBOCOP_TO_LSP_SEVERITY = T.let(T.unsafe(nil), Hash)
663
+
664
+ # source://standard//lib/standard/lsp/kills_server.rb#3
665
+ class Standard::Lsp::KillsServer
666
+ # source://standard//lib/standard/lsp/kills_server.rb#4
667
+ def call(&blk)
668
+ end
669
+ end
670
+
671
+ # source://standard//lib/standard/lsp/logger.rb#3
672
+ class Standard::Lsp::Logger
673
+ # @return [Logger] a new instance of Logger
674
+ #
675
+ # source://standard//lib/standard/lsp/logger.rb#4
676
+ def initialize(prefix: T.unsafe(nil))
677
+ end
678
+
679
+ # source://standard//lib/standard/lsp/logger.rb#9
680
+ def puts(message)
681
+ end
682
+
683
+ # source://standard//lib/standard/lsp/logger.rb#13
684
+ def puts_once(message)
685
+ end
686
+ end
687
+
688
+ # source://standard//lib/standard/lsp/server.rb#8
689
+ Standard::Lsp::Proto = LanguageServer::Protocol
690
+
691
+ # source://standard//lib/standard/lsp/routes.rb#5
692
+ class Standard::Lsp::Routes
693
+ # @return [Routes] a new instance of Routes
694
+ #
695
+ # source://standard//lib/standard/lsp/routes.rb#6
696
+ def initialize(writer, logger, standardizer)
697
+ end
698
+
699
+ # source://standard//lib/standard/lsp/routes.rb#19
700
+ def for(name)
701
+ end
702
+
703
+ # source://standard//lib/standard/lsp/routes.rb#26
704
+ def handle_initialize(request)
705
+ end
706
+
707
+ # source://standard//lib/standard/lsp/routes.rb#38
708
+ def handle_initialized(request)
709
+ end
710
+
711
+ # source://standard//lib/standard/lsp/routes.rb#129
712
+ def handle_method_missing(request)
713
+ end
714
+
715
+ # source://standard//lib/standard/lsp/routes.rb#42
716
+ def handle_shutdown(request)
717
+ end
718
+
719
+ # source://standard//lib/standard/lsp/routes.rb#121
720
+ def handle_unsupported_method(request, method = T.unsafe(nil))
721
+ end
722
+
723
+ private
724
+
725
+ # source://standard//lib/standard/lsp/routes.rb#162
726
+ def diagnostic(file_uri, text)
727
+ end
728
+
729
+ # source://standard//lib/standard/lsp/routes.rb#141
730
+ def format_file(file_uri)
731
+ end
732
+
733
+ # source://standard//lib/standard/lsp/routes.rb#137
734
+ def uri_to_path(uri)
735
+ end
736
+
737
+ class << self
738
+ # source://standard//lib/standard/lsp/routes.rb#15
739
+ def handle(name, &block)
740
+ end
741
+ end
742
+ end
743
+
744
+ # source://standard//lib/standard/lsp/routes.rb#75
745
+ Standard::Lsp::Routes::CONFIGURATION_FILE_PATTERNS = T.let(T.unsafe(nil), Array)
746
+
747
+ # source://standard//lib/standard/lsp/server.rb#9
748
+ Standard::Lsp::SEV = LanguageServer::Protocol::Constant::DiagnosticSeverity
749
+
750
+ # source://standard//lib/standard/lsp/server.rb#11
751
+ class Standard::Lsp::Server
752
+ # @return [Server] a new instance of Server
753
+ #
754
+ # source://standard//lib/standard/lsp/server.rb#12
755
+ def initialize(config)
756
+ end
757
+
758
+ # source://standard//lib/standard/lsp/server.rb#20
759
+ def start
760
+ end
761
+ end
762
+
763
+ # source://standard//lib/standard/lsp/standardizer.rb#6
764
+ class Standard::Lsp::Standardizer
765
+ # @return [Standardizer] a new instance of Standardizer
766
+ #
767
+ # source://standard//lib/standard/lsp/standardizer.rb#7
768
+ def initialize(config)
769
+ end
770
+
771
+ # source://standard//lib/standard/lsp/standardizer.rb#15
772
+ def format(path, text)
773
+ end
774
+
775
+ # source://standard//lib/standard/lsp/standardizer.rb#20
776
+ def offenses(path, text, document_encoding = T.unsafe(nil))
777
+ end
778
+ end
779
+
780
+ # Originally lifted from:
781
+ # https://github.com/Shopify/ruby-lsp/blob/8d4c17efce4e8ecc8e7c557ab2981db6b22c0b6d/lib/ruby_lsp/requests/support/rubocop_runner.rb#L20
782
+ #
783
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#5
784
+ class Standard::Lsp::StdinRubocopRunner < ::RuboCop::Runner
785
+ # @return [StdinRubocopRunner] a new instance of StdinRubocopRunner
786
+ #
787
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#21
788
+ def initialize(config)
789
+ end
790
+
791
+ # Returns the value of attribute config_for_working_directory.
792
+ #
793
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#10
794
+ def config_for_working_directory
795
+ end
796
+
797
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#60
798
+ def formatted_source
799
+ end
800
+
801
+ # Returns the value of attribute offenses.
802
+ #
803
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#8
804
+ def offenses
805
+ end
806
+
807
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#35
808
+ def run(path, contents)
809
+ end
810
+
811
+ private
812
+
813
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#66
814
+ def file_finished(_file, offenses)
815
+ end
816
+ end
817
+
818
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#6
819
+ class Standard::Lsp::StdinRubocopRunner::ConfigurationError < ::StandardError; end
820
+
821
+ # source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#12
822
+ Standard::Lsp::StdinRubocopRunner::DEFAULT_RUBOCOP_OPTIONS = T.let(T.unsafe(nil), Hash)
823
+
824
+ # source://standard//lib/standard/merges_settings.rb#4
825
+ class Standard::MergesSettings
826
+ # source://standard//lib/standard/merges_settings.rb#7
827
+ def call(argv, standard_yaml)
828
+ end
829
+
830
+ private
831
+
832
+ # source://standard//lib/standard/merges_settings.rb#42
833
+ def determine_command(argv)
834
+ end
835
+
836
+ # source://standard//lib/standard/merges_settings.rb#58
837
+ def merge(standard_yaml, standard_cli_flags, rubocop_cli_flags)
838
+ end
839
+
840
+ # source://standard//lib/standard/merges_settings.rb#27
841
+ def parse_standard_argv(argv)
842
+ end
843
+
844
+ # source://standard//lib/standard/merges_settings.rb#21
845
+ def separate_argv(argv)
846
+ end
847
+
848
+ # source://standard//lib/standard/merges_settings.rb#69
849
+ def without_banned(rubocop_cli_flags)
850
+ end
851
+ end
852
+
853
+ # source://standard//lib/standard/merges_settings.rb#5
854
+ class Standard::MergesSettings::Settings < ::Struct
855
+ # Returns the value of attribute options
856
+ #
857
+ # @return [Object] the current value of options
858
+ def options
859
+ end
860
+
861
+ # Sets the attribute options
862
+ #
863
+ # @param value [Object] the value to set the attribute options to.
864
+ # @return [Object] the newly set value
865
+ def options=(_)
866
+ end
867
+
868
+ # Returns the value of attribute paths
869
+ #
870
+ # @return [Object] the current value of paths
871
+ def paths
872
+ end
873
+
874
+ # Sets the attribute paths
875
+ #
876
+ # @param value [Object] the value to set the attribute paths to.
877
+ # @return [Object] the newly set value
878
+ def paths=(_)
879
+ end
880
+
881
+ # Returns the value of attribute runner
882
+ #
883
+ # @return [Object] the current value of runner
884
+ def runner
885
+ end
886
+
887
+ # Sets the attribute runner
888
+ #
889
+ # @param value [Object] the value to set the attribute runner to.
890
+ # @return [Object] the newly set value
891
+ def runner=(_)
892
+ end
893
+
894
+ class << self
895
+ def [](*_arg0)
896
+ end
897
+
898
+ def inspect
899
+ end
900
+
901
+ def keyword_init?
902
+ end
903
+
904
+ def members
905
+ end
906
+
907
+ def new(*_arg0)
908
+ end
909
+ end
910
+ end
911
+
912
+ # source://standard//lib/standard/plugin.rb#2
913
+ module Standard::Plugin; end
914
+
915
+ # source://standard//lib/standard/plugin/combines_plugin_configs.rb#3
916
+ class Standard::Plugin::CombinesPluginConfigs
917
+ # @return [CombinesPluginConfigs] a new instance of CombinesPluginConfigs
918
+ #
919
+ # source://standard//lib/standard/plugin/combines_plugin_configs.rb#4
920
+ def initialize
921
+ end
922
+
923
+ # source://standard//lib/standard/plugin/combines_plugin_configs.rb#9
924
+ def call(options_config, standard_config)
925
+ end
926
+ end
927
+
928
+ # source://standard//lib/standard/plugin/creates_runner_context.rb#3
929
+ class Standard::Plugin::CreatesRunnerContext
930
+ # source://standard//lib/standard/plugin/creates_runner_context.rb#4
931
+ def call(standard_config)
932
+ end
933
+ end
934
+
935
+ # source://standard//lib/standard/plugin/determines_class_constant.rb#3
936
+ class Standard::Plugin::DeterminesClassConstant
937
+ # source://standard//lib/standard/plugin/determines_class_constant.rb#4
938
+ def call(plugin_name, user_config)
939
+ end
940
+
941
+ private
942
+
943
+ # source://standard//lib/standard/plugin/determines_class_constant.rb#41
944
+ def require_plugin(require_path)
945
+ end
946
+ end
947
+
948
+ # source://standard//lib/standard/plugin/initializes_plugins.rb#3
949
+ class Standard::Plugin::InitializesPlugins
950
+ # @return [InitializesPlugins] a new instance of InitializesPlugins
951
+ #
952
+ # source://standard//lib/standard/plugin/initializes_plugins.rb#4
953
+ def initialize
954
+ end
955
+
956
+ # source://standard//lib/standard/plugin/initializes_plugins.rb#9
957
+ def call(plugins)
958
+ end
959
+ end
960
+
961
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#3
962
+ class Standard::Plugin::MergesPluginsIntoRubocopConfig
963
+ # @return [MergesPluginsIntoRubocopConfig] a new instance of MergesPluginsIntoRubocopConfig
964
+ #
965
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#24
966
+ def initialize
967
+ end
968
+
969
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#28
970
+ def call(options_config, standard_config, plugins, permit_merging:)
971
+ end
972
+
973
+ private
974
+
975
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#126
976
+ def all_cop_keys_previously_configured_by_plugins(options_config, permit_merging:)
977
+ end
978
+
979
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#152
980
+ def blank_rubocop_config(example_config)
981
+ end
982
+
983
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#37
984
+ def combine_rubocop_configs(options_config, runner_context, plugins, permit_merging:)
985
+ end
986
+
987
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#56
988
+ def config_for_plugin(plugin, runner_context)
989
+ end
990
+
991
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#96
992
+ def delete_already_configured_keys!(configured_keys, next_config, dont_delete_keys: T.unsafe(nil))
993
+ end
994
+
995
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#156
996
+ def except(hash_or_config, keys)
997
+ end
998
+
999
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#134
1000
+ def fake_out_rubocop_default_configuration(options_config)
1001
+ end
1002
+
1003
+ # Always deletes nil entries, always overwrites arrays
1004
+ # This is a simplified version of rubocop's ConfigLoader#merge:
1005
+ # https://github.com/rubocop/rubocop/blob/v1.48.1/lib/rubocop/config_loader_resolver.rb#L98
1006
+ #
1007
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#163
1008
+ def merge(old_hash, new_hash)
1009
+ end
1010
+
1011
+ # This is how we ensure "first-in wins": plugins can override AllCops settings that are
1012
+ # set by RuboCop's default configuration, but once a plugin sets an AllCop setting, they
1013
+ # have exclusive first-in-wins rights to that setting.
1014
+ #
1015
+ # The one exception to this are array fields, because we don't want to
1016
+ # overwrite the AllCops defaults but rather munge the arrays (`existing |
1017
+ # new`) to allow plugins to add to the array, for example Include and
1018
+ # Exclude paths and patterns.
1019
+ #
1020
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#77
1021
+ def merge_all_cop_settings(existing_all_cops, new_all_cops, already_configured_keys)
1022
+ end
1023
+
1024
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#104
1025
+ def merge_config_into_all_cops!(options_config, plugin_config)
1026
+ end
1027
+
1028
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#110
1029
+ def merge_config_into_standard!(options_config, plugin_config, permit_merging:)
1030
+ end
1031
+
1032
+ # Avoid a warning that would otherwise be emitted by any plugin that set TargetRailsVersion
1033
+ # because it's not a default AllCops key specified in RuboCop's embedded default config.
1034
+ #
1035
+ # See: https://github.com/rubocop/rubocop/pull/11833
1036
+ #
1037
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#146
1038
+ def set_target_rails_version_on_all_cops_because_its_technically_not_allowed!(options_config)
1039
+ end
1040
+ end
1041
+
1042
+ # AllCops keys that standard does not allow to be set by plugins
1043
+ #
1044
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#10
1045
+ Standard::Plugin::MergesPluginsIntoRubocopConfig::DISALLOWED_ALLCOPS_KEYS = T.let(T.unsafe(nil), Array)
1046
+
1047
+ # Blank configuration object to merge plugins into, with only the following spared:
1048
+ # - AllCops keys set to avoid warnings about unknown properties
1049
+ # - Lint/Syntax must be set to avoid a nil error when verifying inherited configs
1050
+ #
1051
+ # source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#7
1052
+ Standard::Plugin::MergesPluginsIntoRubocopConfig::MANDATORY_RUBOCOP_CONFIG_KEYS = T.let(T.unsafe(nil), Array)
1053
+
1054
+ # source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#3
1055
+ class Standard::Plugin::StandardizesConfiguredPlugins
1056
+ # source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#19
1057
+ def call(plugins)
1058
+ end
1059
+
1060
+ private
1061
+
1062
+ # source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#25
1063
+ def normalize_config_shape(plugins)
1064
+ end
1065
+ end
1066
+
1067
+ # source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#10
1068
+ Standard::Plugin::StandardizesConfiguredPlugins::BUILT_INS = T.let(T.unsafe(nil), Array)
1069
+
1070
+ # source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#4
1071
+ Standard::Plugin::StandardizesConfiguredPlugins::DEFAULT_PLUGIN_CONFIG = T.let(T.unsafe(nil), Hash)
1072
+
1073
+ # source://standard//lib/standard/resolves_yaml_option.rb#4
1074
+ class Standard::ResolvesYamlOption
1075
+ # source://standard//lib/standard/resolves_yaml_option.rb#5
1076
+ def call(argv, search_path, option_name, default_file)
1077
+ end
1078
+
1079
+ private
1080
+
1081
+ # source://standard//lib/standard/resolves_yaml_option.rb#22
1082
+ def argv_value_for(argv, option_name)
1083
+ end
1084
+
1085
+ # source://standard//lib/standard/resolves_yaml_option.rb#11
1086
+ def search_argv(argv, option_name)
1087
+ end
1088
+ end
1089
+
1090
+ # source://standard//lib/standard/runners/rubocop.rb#4
1091
+ module Standard::Runners; end
1092
+
1093
+ # source://standard//lib/standard/runners/genignore.rb#7
1094
+ class Standard::Runners::Genignore
1095
+ # source://standard//lib/standard/runners/genignore.rb#8
1096
+ def call(config)
1097
+ end
1098
+ end
1099
+
1100
+ # source://standard//lib/standard/runners/help.rb#5
1101
+ class Standard::Runners::Help
1102
+ # source://standard//lib/standard/runners/help.rb#6
1103
+ def call(config)
1104
+ end
1105
+ end
1106
+
1107
+ # source://standard//lib/standard/runners/lsp.rb#5
1108
+ class Standard::Runners::Lsp
1109
+ # source://standard//lib/standard/runners/lsp.rb#6
1110
+ def call(config)
1111
+ end
1112
+ end
1113
+
1114
+ # source://standard//lib/standard/runners/rubocop.rb#5
1115
+ class Standard::Runners::Rubocop
1116
+ # source://standard//lib/standard/runners/rubocop.rb#6
1117
+ def call(config)
1118
+ end
1119
+
1120
+ private
1121
+
1122
+ # This is a workaround for an issue with how `parallel` and `stdin`
1123
+ # interact when invoked in this way. See:
1124
+ # https://github.com/standardrb/standard/issues/536
1125
+ #
1126
+ # source://standard//lib/standard/runners/rubocop.rb#23
1127
+ def without_parallelizing_in_stdin_mode(options)
1128
+ end
1129
+ end
1130
+
1131
+ # source://standard//lib/standard/runners/verbose_version.rb#5
1132
+ class Standard::Runners::VerboseVersion
1133
+ # source://standard//lib/standard/runners/verbose_version.rb#6
1134
+ def call(config)
1135
+ end
1136
+ end
1137
+
1138
+ # source://standard//lib/standard/runners/version.rb#3
1139
+ class Standard::Runners::Version
1140
+ # source://standard//lib/standard/runners/version.rb#4
1141
+ def call(config)
1142
+ end
1143
+ end
1144
+
1145
+ # source://standard//lib/standard/version.rb#2
1146
+ Standard::VERSION = T.let(T.unsafe(nil), Gem::Version)