vigiles 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.ruby-version +1 -0
  4. data/lib/vigiles/archive/extras.rb +1 -1
  5. data/lib/vigiles/archive/metadata.rb +1 -1
  6. data/lib/vigiles/archive/response.rb +31 -5
  7. data/lib/vigiles/archive.rb +1 -1
  8. data/lib/vigiles/constants.rb +1 -1
  9. data/lib/vigiles/conversation_recorder.rb +3 -0
  10. data/lib/vigiles/conversation_recorders/application_json.rb +11 -6
  11. data/lib/vigiles/conversation_recorders/unknown.rb +3 -0
  12. data/lib/vigiles/middleware/record_conversation.rb +2 -2
  13. data/lib/vigiles/utilities/json.rb +2 -4
  14. data/lib/vigiles/version.rb +1 -1
  15. data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +11627 -0
  16. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +73 -72
  17. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.23.1.rbi} +841 -159
  18. data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +233 -186
  19. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.29.0.rbi} +19135 -12188
  20. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.0.rbi} +34 -33
  21. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +77 -55
  22. data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.13.rbi} +226 -154
  23. data/sorbet/rbi/gems/{rdoc@6.6.3.1.rbi → rdoc@6.7.0.rbi} +333 -327
  24. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
  25. data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.8.rbi} +1 -0
  26. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +121 -108
  27. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +92 -62
  28. data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +35 -0
  29. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi → rubocop-sorbet@0.8.3.rbi} +327 -162
  30. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.64.0.rbi} +1719 -1065
  31. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
  32. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  33. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.2.rbi} +123 -448
  34. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
  35. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +230 -37
  36. data/sorbet/rbi/gems/{zeitwerk@2.6.13.rbi → zeitwerk@2.6.15.rbi} +47 -36
  37. data/vigiles.gemspec +1 -1
  38. metadata +27 -27
  39. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -8
  40. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  41. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
@@ -4,6 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `rubocop-ast` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rubocop-ast`.
6
6
 
7
+
7
8
  class Parser::Source::Range
8
9
  include ::RuboCop::AST::Ext::Range
9
10
  end
@@ -760,6 +761,12 @@ module RuboCop::AST::CollectionNode
760
761
  # source://forwardable/1.3.3/forwardable.rb#231
761
762
  def entries(*args, **_arg1, &block); end
762
763
 
764
+ # source://forwardable/1.3.3/forwardable.rb#231
765
+ def extract!(*args, **_arg1, &block); end
766
+
767
+ # source://forwardable/1.3.3/forwardable.rb#231
768
+ def extract_options!(*args, **_arg1, &block); end
769
+
763
770
  # source://forwardable/1.3.3/forwardable.rb#231
764
771
  def fetch(*args, **_arg1, &block); end
765
772
 
@@ -1000,12 +1007,27 @@ module RuboCop::AST::CollectionNode
1000
1007
  # source://forwardable/1.3.3/forwardable.rb#231
1001
1008
  def to_ary(*args, **_arg1, &block); end
1002
1009
 
1010
+ # source://forwardable/1.3.3/forwardable.rb#231
1011
+ def to_default_s(*args, **_arg1, &block); end
1012
+
1013
+ # source://forwardable/1.3.3/forwardable.rb#231
1014
+ def to_formatted_s(*args, **_arg1, &block); end
1015
+
1016
+ # source://forwardable/1.3.3/forwardable.rb#231
1017
+ def to_fs(*args, **_arg1, &block); end
1018
+
1003
1019
  # source://forwardable/1.3.3/forwardable.rb#231
1004
1020
  def to_h(*args, **_arg1, &block); end
1005
1021
 
1022
+ # source://forwardable/1.3.3/forwardable.rb#231
1023
+ def to_sentence(*args, **_arg1, &block); end
1024
+
1006
1025
  # source://forwardable/1.3.3/forwardable.rb#231
1007
1026
  def to_set(*args, **_arg1, &block); end
1008
1027
 
1028
+ # source://forwardable/1.3.3/forwardable.rb#231
1029
+ def to_xml(*args, **_arg1, &block); end
1030
+
1009
1031
  # source://forwardable/1.3.3/forwardable.rb#231
1010
1032
  def transpose(*args, **_arg1, &block); end
1011
1033
 
@@ -5122,9 +5144,6 @@ RuboCop::AST::NodePattern::Sets::SET_10_10 = T.let(T.unsafe(nil), Set)
5122
5144
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5123
5145
  RuboCop::AST::NodePattern::Sets::SET_1_1 = T.let(T.unsafe(nil), Set)
5124
5146
 
5125
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5126
- RuboCop::AST::NodePattern::Sets::SET_ABSTRACT_OVERRIDE_OVERRIDABLE_ETC = T.let(T.unsafe(nil), Set)
5127
-
5128
5147
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5129
5148
  RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set)
5130
5149
 
@@ -5167,15 +5186,9 @@ RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE_STRUCT = T.let(T.unsafe(nil),
5167
5186
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5168
5187
  RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set)
5169
5188
 
5170
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5171
- RuboCop::AST::NodePattern::Sets::SET_CONSTANTIZE_CONSTANTS_CONST_GET = T.let(T.unsafe(nil), Set)
5172
-
5173
5189
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5174
5190
  RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set)
5175
5191
 
5176
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5177
- RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD = T.let(T.unsafe(nil), Set)
5178
-
5179
5192
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5180
5193
  RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set)
5181
5194
 
@@ -5185,9 +5198,6 @@ RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_INDEX_WITH_INDEX = T.let(T.unsafe
5185
5198
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5186
5199
  RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_OBJECT_WITH_OBJECT = T.let(T.unsafe(nil), Set)
5187
5200
 
5188
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5189
- RuboCop::AST::NodePattern::Sets::SET_ENV = T.let(T.unsafe(nil), Set)
5190
-
5191
5201
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5192
5202
  RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.unsafe(nil), Set)
5193
5203
 
@@ -5224,9 +5234,15 @@ RuboCop::AST::NodePattern::Sets::SET_GETHOSTBYADDR_GETHOSTBYNAME = T.let(T.unsaf
5224
5234
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5225
5235
  RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB = T.let(T.unsafe(nil), Set)
5226
5236
 
5237
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5238
+ RuboCop::AST::NodePattern::Sets::SET_IF_UNLESS = T.let(T.unsafe(nil), Set)
5239
+
5227
5240
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5228
5241
  RuboCop::AST::NodePattern::Sets::SET_INCLUDE_EXTEND_PREPEND = T.let(T.unsafe(nil), Set)
5229
5242
 
5243
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5244
+ RuboCop::AST::NodePattern::Sets::SET_INCLUDE_PREPEND = T.let(T.unsafe(nil), Set)
5245
+
5230
5246
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5231
5247
  RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.let(T.unsafe(nil), Set)
5232
5248
 
@@ -5239,6 +5255,9 @@ RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES = T.let(T.unsafe(nil), Set)
5239
5255
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5240
5256
  RuboCop::AST::NodePattern::Sets::SET_KEY_HAS_KEY_FETCH_ETC = T.let(T.unsafe(nil), Set)
5241
5257
 
5258
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5259
+ RuboCop::AST::NodePattern::Sets::SET_LAMBDA_PROC = T.let(T.unsafe(nil), Set)
5260
+
5242
5261
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5243
5262
  RuboCop::AST::NodePattern::Sets::SET_LAST_FIRST = T.let(T.unsafe(nil), Set)
5244
5263
 
@@ -5374,6 +5393,9 @@ RuboCop::AST::NodePattern::Sets::SET__FETCH = T.let(T.unsafe(nil), Set)
5374
5393
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5375
5394
  RuboCop::AST::NodePattern::Sets::SET__GLOB = T.let(T.unsafe(nil), Set)
5376
5395
 
5396
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5397
+ RuboCop::AST::NodePattern::Sets::SET__PUSH_APPEND = T.let(T.unsafe(nil), Set)
5398
+
5377
5399
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5378
5400
  RuboCop::AST::NodePattern::Sets::SET___ = T.let(T.unsafe(nil), Set)
5379
5401
 
@@ -5772,38 +5794,38 @@ end
5772
5794
  class RuboCop::AST::ProcessedSource
5773
5795
  # @return [ProcessedSource] a new instance of ProcessedSource
5774
5796
  #
5775
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#26
5776
- def initialize(source, ruby_version, path = T.unsafe(nil)); end
5797
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#29
5798
+ def initialize(source, ruby_version, path = T.unsafe(nil), parser_engine: T.unsafe(nil)); end
5777
5799
 
5778
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#63
5800
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#73
5779
5801
  def [](*args); end
5780
5802
 
5781
5803
  # Returns the value of attribute ast.
5782
5804
  #
5783
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5805
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5784
5806
  def ast; end
5785
5807
 
5786
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
5808
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#51
5787
5809
  def ast_with_comments; end
5788
5810
 
5789
5811
  # @return [Boolean]
5790
5812
  #
5791
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#102
5813
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#112
5792
5814
  def blank?; end
5793
5815
 
5794
5816
  # Returns the value of attribute buffer.
5795
5817
  #
5796
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5818
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5797
5819
  def buffer; end
5798
5820
 
5799
5821
  # Raw source checksum for tracking infinite loops.
5800
5822
  #
5801
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#74
5823
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#84
5802
5824
  def checksum; end
5803
5825
 
5804
5826
  # @return [Comment, nil] the comment at that line, if any.
5805
5827
  #
5806
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107
5828
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#117
5807
5829
  def comment_at_line(line); end
5808
5830
 
5809
5831
  # Consider using `each_comment_in_lines` instead
@@ -5811,170 +5833,178 @@ class RuboCop::AST::ProcessedSource
5811
5833
  # @deprecated use contains_comment?
5812
5834
  # @return [Boolean] if any of the lines in the given `source_range` has a comment.
5813
5835
  #
5814
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#129
5836
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#139
5815
5837
  def commented?(source_range); end
5816
5838
 
5817
5839
  # Returns the value of attribute comments.
5818
5840
  #
5819
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5841
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5820
5842
  def comments; end
5821
5843
 
5822
5844
  # Should have been called `comments_before_or_at_line`. Doubtful it has of any valid use.
5823
5845
  #
5824
5846
  # @deprecated Use `each_comment_in_lines`
5825
5847
  #
5826
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#137
5848
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#147
5827
5849
  def comments_before_line(line); end
5828
5850
 
5829
5851
  # Consider using `each_comment_in_lines` instead
5830
5852
  #
5831
5853
  # @return [Boolean] if any of the lines in the given `source_range` has a comment.
5832
5854
  #
5833
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#129
5855
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#139
5834
5856
  def contains_comment?(source_range); end
5835
5857
 
5836
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#151
5858
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#161
5837
5859
  def current_line(token); end
5838
5860
 
5839
5861
  # Returns the value of attribute diagnostics.
5840
5862
  #
5841
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5863
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5842
5864
  def diagnostics; end
5843
5865
 
5844
5866
  # @deprecated Use `comments.each`
5845
5867
  #
5846
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#79
5868
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#89
5847
5869
  def each_comment(&block); end
5848
5870
 
5849
5871
  # Enumerates on the comments contained with the given `line_range`
5850
5872
  #
5851
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#117
5873
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#127
5852
5874
  def each_comment_in_lines(line_range); end
5853
5875
 
5854
5876
  # @deprecated Use `tokens.each`
5855
5877
  #
5856
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#89
5878
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#99
5857
5879
  def each_token(&block); end
5858
5880
 
5859
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#98
5881
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#108
5860
5882
  def file_path; end
5861
5883
 
5862
5884
  # @deprecated Use `comment_at_line`, `each_comment_in_lines`, or `comments.find`
5863
5885
  #
5864
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#84
5886
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#94
5865
5887
  def find_comment(&block); end
5866
5888
 
5867
5889
  # @deprecated Use `tokens.find`
5868
5890
  #
5869
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#94
5891
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#104
5870
5892
  def find_token(&block); end
5871
5893
 
5872
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#172
5894
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#182
5873
5895
  def first_token_of(range_or_node); end
5874
5896
 
5875
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#155
5897
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#165
5876
5898
  def following_line(token); end
5877
5899
 
5878
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#176
5900
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#186
5879
5901
  def last_token_of(range_or_node); end
5880
5902
 
5881
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#159
5903
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#169
5882
5904
  def line_indentation(line_number); end
5883
5905
 
5884
5906
  # @return [Boolean] if the given line number has a comment.
5885
5907
  #
5886
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#112
5908
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#122
5887
5909
  def line_with_comment?(line); end
5888
5910
 
5889
5911
  # Returns the source lines, line break characters removed, excluding a
5890
5912
  # possible __END__ and everything that comes after.
5891
5913
  #
5892
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#49
5914
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#59
5893
5915
  def lines; end
5894
5916
 
5917
+ # Returns the value of attribute parser_engine.
5918
+ #
5919
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5920
+ def parser_engine; end
5921
+
5895
5922
  # Returns the value of attribute parser_error.
5896
5923
  #
5897
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5924
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5898
5925
  def parser_error; end
5899
5926
 
5900
5927
  # Returns the value of attribute path.
5901
5928
  #
5902
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5929
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5903
5930
  def path; end
5904
5931
 
5905
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#147
5932
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#157
5906
5933
  def preceding_line(token); end
5907
5934
 
5908
5935
  # Returns the value of attribute raw_source.
5909
5936
  #
5910
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5937
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5911
5938
  def raw_source; end
5912
5939
 
5913
5940
  # Returns the value of attribute ruby_version.
5914
5941
  #
5915
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5942
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5916
5943
  def ruby_version; end
5917
5944
 
5918
5945
  # The tokens list is always sorted by token position, except for cases when heredoc
5919
5946
  # is passed as a method argument. In this case tokens are interleaved by
5920
5947
  # heredoc contents' tokens.
5921
5948
  #
5922
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#183
5949
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#193
5923
5950
  def sorted_tokens; end
5924
5951
 
5925
5952
  # @return [Boolean]
5926
5953
  #
5927
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#141
5954
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#151
5928
5955
  def start_with?(string); end
5929
5956
 
5930
5957
  # Returns the value of attribute tokens.
5931
5958
  #
5932
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5959
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5933
5960
  def tokens; end
5934
5961
 
5935
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#166
5962
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#176
5936
5963
  def tokens_within(range_or_node); end
5937
5964
 
5938
5965
  # @return [Boolean]
5939
5966
  #
5940
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#67
5967
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#77
5941
5968
  def valid_syntax?; end
5942
5969
 
5943
5970
  private
5944
5971
 
5945
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#190
5972
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#200
5946
5973
  def comment_index; end
5947
5974
 
5948
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#278
5949
- def create_parser(ruby_version); end
5975
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#312
5976
+ def create_parser(ruby_version, parser_engine); end
5950
5977
 
5951
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#294
5978
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#328
5952
5979
  def first_token_index(range_or_node); end
5953
5980
 
5954
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#299
5981
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#333
5955
5982
  def last_token_index(range_or_node); end
5956
5983
 
5957
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#196
5958
- def parse(source, ruby_version); end
5984
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#206
5985
+ def parse(source, ruby_version, parser_engine); end
5959
5986
 
5960
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#230
5961
- def parser_class(ruby_version); end
5987
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#240
5988
+ def parser_class(ruby_version, parser_engine); end
5962
5989
 
5963
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#304
5990
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#338
5964
5991
  def source_range(range_or_node); end
5965
5992
 
5966
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#213
5993
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#223
5967
5994
  def tokenize(parser); end
5968
5995
 
5969
5996
  class << self
5970
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5971
- def from_file(path, ruby_version); end
5997
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#24
5998
+ def from_file(path, ruby_version, parser_engine: T.unsafe(nil)); end
5972
5999
  end
5973
6000
  end
5974
6001
 
5975
6002
  # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#15
5976
6003
  RuboCop::AST::ProcessedSource::INVALID_LEVELS = T.let(T.unsafe(nil), Array)
5977
6004
 
6005
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
6006
+ RuboCop::AST::ProcessedSource::PARSER_ENGINES = T.let(T.unsafe(nil), Array)
6007
+
5978
6008
  # @api private
5979
6009
  #
5980
6010
  # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#13
@@ -4,6 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `rubocop-minitest` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rubocop-minitest`.
6
6
 
7
+
7
8
  # source://rubocop-minitest//lib/rubocop/minitest.rb#3
8
9
  module RuboCop; end
9
10
 
@@ -941,6 +942,40 @@ end
941
942
  # source://rubocop-minitest//lib/rubocop/cop/minitest/empty_line_before_assertion_methods.rb#24
942
943
  RuboCop::Cop::Minitest::EmptyLineBeforeAssertionMethods::MSG = T.let(T.unsafe(nil), String)
943
944
 
945
+ # Enforces tests are not focused.
946
+ #
947
+ # @example
948
+ # # bad
949
+ # focus test 'foo' do
950
+ # end
951
+ #
952
+ # # bad
953
+ # focus
954
+ # test 'foo' do
955
+ # end
956
+ #
957
+ # # good
958
+ # test 'foo' do
959
+ # end
960
+ #
961
+ # source://rubocop-minitest//lib/rubocop/cop/minitest/focus.rb#22
962
+ class RuboCop::Cop::Minitest::Focus < ::RuboCop::Cop::Base
963
+ include ::RuboCop::Cop::RangeHelp
964
+ extend ::RuboCop::Cop::AutoCorrector
965
+
966
+ # source://rubocop-minitest//lib/rubocop/cop/minitest/focus.rb#29
967
+ def focused?(param0 = T.unsafe(nil)); end
968
+
969
+ # source://rubocop-minitest//lib/rubocop/cop/minitest/focus.rb#33
970
+ def on_send(node); end
971
+ end
972
+
973
+ # source://rubocop-minitest//lib/rubocop/cop/minitest/focus.rb#26
974
+ RuboCop::Cop::Minitest::Focus::MSG = T.let(T.unsafe(nil), String)
975
+
976
+ # source://rubocop-minitest//lib/rubocop/cop/minitest/focus.rb#27
977
+ RuboCop::Cop::Minitest::Focus::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
978
+
944
979
  # Checks for deprecated global expectations
945
980
  # and autocorrects them to use expect format.
946
981
  #