mangrove 0.21.2 → 0.22.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -214,36 +214,36 @@ module SimpleCov
214
214
  #
215
215
  # @return [Hash]
216
216
  #
217
- # source://simplecov//lib/simplecov.rb#397
217
+ # source://simplecov//lib/simplecov.rb#399
218
218
  def adapt_coverage_result; end
219
219
 
220
220
  # Finds files that were to be tracked but were not loaded and initializes
221
221
  # the line-by-line coverage to zero (if relevant) or nil (comments / whitespace etc).
222
222
  #
223
- # source://simplecov//lib/simplecov.rb#369
223
+ # source://simplecov//lib/simplecov.rb#371
224
224
  def add_not_loaded_files(result); end
225
225
 
226
226
  # source://simplecov//lib/simplecov.rb#302
227
227
  def initial_setup(profile, &block); end
228
228
 
229
- # source://simplecov//lib/simplecov.rb#361
229
+ # source://simplecov//lib/simplecov.rb#363
230
230
  def lookup_corresponding_ruby_coverage_name(criterion); end
231
231
 
232
232
  # parallel_tests isn't always available, see: https://github.com/grosser/parallel_tests/issues/772
233
233
  #
234
- # source://simplecov//lib/simplecov.rb#423
234
+ # source://simplecov//lib/simplecov.rb#425
235
235
  def make_parallel_tests_available; end
236
236
 
237
237
  # @return [Boolean]
238
238
  #
239
- # source://simplecov//lib/simplecov.rb#432
239
+ # source://simplecov//lib/simplecov.rb#434
240
240
  def probably_running_parallel_tests?; end
241
241
 
242
242
  # Call steps that handle process coverage result
243
243
  #
244
244
  # @return [Hash]
245
245
  #
246
- # source://simplecov//lib/simplecov.rb#386
246
+ # source://simplecov//lib/simplecov.rb#388
247
247
  def process_coverage_result; end
248
248
 
249
249
  # Filter coverage result
@@ -252,7 +252,7 @@ module SimpleCov
252
252
  #
253
253
  # @return [Hash]
254
254
  #
255
- # source://simplecov//lib/simplecov.rb#408
255
+ # source://simplecov//lib/simplecov.rb#410
256
256
  def remove_useless_results; end
257
257
 
258
258
  # Initialize result with files that are not included by coverage
@@ -260,7 +260,7 @@ module SimpleCov
260
260
  #
261
261
  # @return [Hash]
262
262
  #
263
- # source://simplecov//lib/simplecov.rb#418
263
+ # source://simplecov//lib/simplecov.rb#420
264
264
  def result_with_not_loaded_files; end
265
265
 
266
266
  # Trigger Coverage.start depends on given config coverage_criterion
@@ -292,7 +292,7 @@ class SimpleCov::ArrayFilter < ::SimpleCov::Filter
292
292
  def matches?(source_files_list); end
293
293
  end
294
294
 
295
- # source://simplecov//lib/simplecov/filter.rb#71
295
+ # source://simplecov//lib/simplecov/filter.rb#69
296
296
  class SimpleCov::BlockFilter < ::SimpleCov::Filter
297
297
  # Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| ... }
298
298
  # returns true for the given source file.
@@ -643,7 +643,7 @@ module SimpleCov::Configuration
643
643
 
644
644
  # @return [Boolean]
645
645
  #
646
- # source://simplecov//lib/simplecov/configuration.rb#432
646
+ # source://simplecov//lib/simplecov/configuration.rb#443
647
647
  def branch_coverage_supported?; end
648
648
 
649
649
  # source://simplecov//lib/simplecov/configuration.rb#424
@@ -703,6 +703,16 @@ module SimpleCov::Configuration
703
703
  # source://simplecov//lib/simplecov/configuration.rb#34
704
704
  def coverage_dir(dir = T.unsafe(nil)); end
705
705
 
706
+ # @return [Boolean]
707
+ #
708
+ # source://simplecov//lib/simplecov/configuration.rb#452
709
+ def coverage_for_eval_enabled?; end
710
+
711
+ # @return [Boolean]
712
+ #
713
+ # source://simplecov//lib/simplecov/configuration.rb#447
714
+ def coverage_for_eval_supported?; end
715
+
706
716
  # Returns the full path to the output directory using SimpleCov.root
707
717
  # and SimpleCov.coverage_dir, so you can adjust this by configuring those
708
718
  # values. Will create the directory if it's missing
@@ -718,6 +728,9 @@ module SimpleCov::Configuration
718
728
  # source://simplecov//lib/simplecov/configuration.rb#401
719
729
  def enable_coverage(criterion); end
720
730
 
731
+ # source://simplecov//lib/simplecov/configuration.rb#456
732
+ def enable_coverage_for_eval; end
733
+
721
734
  # gets or sets the enabled_for_subprocess configuration
722
735
  # when true, this will inject SimpleCov code into Process.fork
723
736
  #
@@ -901,18 +914,18 @@ module SimpleCov::Configuration
901
914
 
902
915
  private
903
916
 
904
- # source://simplecov//lib/simplecov/configuration.rb#464
917
+ # source://simplecov//lib/simplecov/configuration.rb#483
905
918
  def minimum_possible_coverage_exceeded(coverage_option); end
906
919
 
907
920
  # The actual filter processor. Not meant for direct use
908
921
  #
909
- # source://simplecov//lib/simplecov/configuration.rb#471
922
+ # source://simplecov//lib/simplecov/configuration.rb#490
910
923
  def parse_filter(filter_argument = T.unsafe(nil), &filter_proc); end
911
924
 
912
- # source://simplecov//lib/simplecov/configuration.rb#447
925
+ # source://simplecov//lib/simplecov/configuration.rb#466
913
926
  def raise_if_criterion_disabled(criterion); end
914
927
 
915
- # source://simplecov//lib/simplecov/configuration.rb#456
928
+ # source://simplecov//lib/simplecov/configuration.rb#475
916
929
  def raise_if_criterion_unsupported(criterion); end
917
930
  end
918
931
 
@@ -1157,7 +1170,7 @@ class SimpleCov::FileList
1157
1170
  # source://simplecov//lib/simplecov/file_list.rb#101
1158
1171
  def branch_covered_percent; end
1159
1172
 
1160
- # source://forwardable/1.3.2/forwardable.rb#229
1173
+ # source://forwardable/1.3.3/forwardable.rb#231
1161
1174
  def count(*args, **_arg1, &block); end
1162
1175
 
1163
1176
  # source://simplecov//lib/simplecov/file_list.rb#26
@@ -1196,10 +1209,10 @@ class SimpleCov::FileList
1196
1209
  # source://simplecov//lib/simplecov/file_list.rb#82
1197
1210
  def covered_strength; end
1198
1211
 
1199
- # source://forwardable/1.3.2/forwardable.rb#229
1212
+ # source://forwardable/1.3.3/forwardable.rb#231
1200
1213
  def each(*args, **_arg1, &block); end
1201
1214
 
1202
- # source://forwardable/1.3.2/forwardable.rb#229
1215
+ # source://forwardable/1.3.3/forwardable.rb#231
1203
1216
  def empty?(*args, **_arg1, &block); end
1204
1217
 
1205
1218
  # Finds the least covered file and returns that file's name
@@ -1207,7 +1220,7 @@ class SimpleCov::FileList
1207
1220
  # source://simplecov//lib/simplecov/file_list.rb#65
1208
1221
  def least_covered_file; end
1209
1222
 
1210
- # source://forwardable/1.3.2/forwardable.rb#229
1223
+ # source://forwardable/1.3.3/forwardable.rb#231
1211
1224
  def length(*args, **_arg1, &block); end
1212
1225
 
1213
1226
  # Returns the overall amount of relevant lines of code across all files in this list
@@ -1215,7 +1228,7 @@ class SimpleCov::FileList
1215
1228
  # source://simplecov//lib/simplecov/file_list.rb#70
1216
1229
  def lines_of_code; end
1217
1230
 
1218
- # source://forwardable/1.3.2/forwardable.rb#229
1231
+ # source://forwardable/1.3.3/forwardable.rb#231
1219
1232
  def map(*args, **_arg1, &block); end
1220
1233
 
1221
1234
  # Return total count of covered branches
@@ -1233,7 +1246,7 @@ class SimpleCov::FileList
1233
1246
  # source://simplecov//lib/simplecov/file_list.rb#45
1234
1247
  def never_lines; end
1235
1248
 
1236
- # source://forwardable/1.3.2/forwardable.rb#229
1249
+ # source://forwardable/1.3.3/forwardable.rb#231
1237
1250
  def size(*args, **_arg1, &block); end
1238
1251
 
1239
1252
  # Returns the count of skipped lines
@@ -1241,10 +1254,10 @@ class SimpleCov::FileList
1241
1254
  # source://simplecov//lib/simplecov/file_list.rb#52
1242
1255
  def skipped_lines; end
1243
1256
 
1244
- # source://forwardable/1.3.2/forwardable.rb#229
1257
+ # source://forwardable/1.3.3/forwardable.rb#231
1245
1258
  def to_a(*args, **_arg1, &block); end
1246
1259
 
1247
- # source://forwardable/1.3.2/forwardable.rb#229
1260
+ # source://forwardable/1.3.3/forwardable.rb#231
1248
1261
  def to_ary(*args, **_arg1, &block); end
1249
1262
 
1250
1263
  # Return total count of branches in all files
@@ -1398,7 +1411,7 @@ SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Re
1398
1411
  # # SimpleCov configuration here, same as in SimpleCov.configure
1399
1412
  # end
1400
1413
  #
1401
- # source://simplecov//lib/simplecov/profiles.rb#17
1414
+ # source://simplecov//lib/simplecov/profiles.rb#11
1402
1415
  class SimpleCov::Profiles < ::Hash
1403
1416
  # Define a SimpleCov profile:
1404
1417
  # SimpleCov.profiles.define 'rails' do
@@ -1414,7 +1427,7 @@ class SimpleCov::Profiles < ::Hash
1414
1427
  def load(name); end
1415
1428
  end
1416
1429
 
1417
- # source://simplecov//lib/simplecov/filter.rb#63
1430
+ # source://simplecov//lib/simplecov/filter.rb#61
1418
1431
  class SimpleCov::RegexFilter < ::SimpleCov::Filter
1419
1432
  # Returns true when the given source file's filename matches the
1420
1433
  # regex configured when initializing this Filter with RegexFilter.new(/someregex/)
@@ -1451,25 +1464,25 @@ class SimpleCov::Result
1451
1464
  # source://simplecov//lib/simplecov/result.rb#21
1452
1465
  def command_name=(_arg0); end
1453
1466
 
1454
- # source://forwardable/1.3.2/forwardable.rb#229
1467
+ # source://forwardable/1.3.3/forwardable.rb#231
1455
1468
  def coverage_statistics(*args, **_arg1, &block); end
1456
1469
 
1457
- # source://forwardable/1.3.2/forwardable.rb#229
1470
+ # source://forwardable/1.3.3/forwardable.rb#231
1458
1471
  def coverage_statistics_by_file(*args, **_arg1, &block); end
1459
1472
 
1460
- # source://forwardable/1.3.2/forwardable.rb#229
1473
+ # source://forwardable/1.3.3/forwardable.rb#231
1461
1474
  def covered_branches(*args, **_arg1, &block); end
1462
1475
 
1463
- # source://forwardable/1.3.2/forwardable.rb#229
1476
+ # source://forwardable/1.3.3/forwardable.rb#231
1464
1477
  def covered_lines(*args, **_arg1, &block); end
1465
1478
 
1466
- # source://forwardable/1.3.2/forwardable.rb#229
1479
+ # source://forwardable/1.3.3/forwardable.rb#231
1467
1480
  def covered_percent(*args, **_arg1, &block); end
1468
1481
 
1469
- # source://forwardable/1.3.2/forwardable.rb#229
1482
+ # source://forwardable/1.3.3/forwardable.rb#231
1470
1483
  def covered_percentages(*args, **_arg1, &block); end
1471
1484
 
1472
- # source://forwardable/1.3.2/forwardable.rb#229
1485
+ # source://forwardable/1.3.3/forwardable.rb#231
1473
1486
  def covered_strength(*args, **_arg1, &block); end
1474
1487
 
1475
1488
  # Defines when this result has been created. Defaults to Time.now
@@ -1502,13 +1515,13 @@ class SimpleCov::Result
1502
1515
  # source://simplecov//lib/simplecov/result.rb#45
1503
1516
  def groups; end
1504
1517
 
1505
- # source://forwardable/1.3.2/forwardable.rb#229
1518
+ # source://forwardable/1.3.3/forwardable.rb#231
1506
1519
  def least_covered_file(*args, **_arg1, &block); end
1507
1520
 
1508
- # source://forwardable/1.3.2/forwardable.rb#229
1521
+ # source://forwardable/1.3.3/forwardable.rb#231
1509
1522
  def missed_branches(*args, **_arg1, &block); end
1510
1523
 
1511
- # source://forwardable/1.3.2/forwardable.rb#229
1524
+ # source://forwardable/1.3.3/forwardable.rb#231
1512
1525
  def missed_lines(*args, **_arg1, &block); end
1513
1526
 
1514
1527
  # Returns the original Coverage.result used for this instance of SimpleCov::Result
@@ -1526,10 +1539,10 @@ class SimpleCov::Result
1526
1539
  # source://simplecov//lib/simplecov/result.rb#66
1527
1540
  def to_hash; end
1528
1541
 
1529
- # source://forwardable/1.3.2/forwardable.rb#229
1542
+ # source://forwardable/1.3.3/forwardable.rb#231
1530
1543
  def total_branches(*args, **_arg1, &block); end
1531
1544
 
1532
- # source://forwardable/1.3.2/forwardable.rb#229
1545
+ # source://forwardable/1.3.3/forwardable.rb#231
1533
1546
  def total_lines(*args, **_arg1, &block); end
1534
1547
 
1535
1548
  private
@@ -1843,20 +1856,20 @@ class SimpleCov::SourceFile
1843
1856
 
1844
1857
  private
1845
1858
 
1846
- # source://simplecov//lib/simplecov/source_file.rb#340
1859
+ # source://simplecov//lib/simplecov/source_file.rb#346
1847
1860
  def branch_coverage_statistics; end
1848
1861
 
1849
- # source://simplecov//lib/simplecov/source_file.rb#318
1862
+ # source://simplecov//lib/simplecov/source_file.rb#324
1850
1863
  def build_branch(branch_data, hit_count, condition_start_line); end
1851
1864
 
1852
1865
  # Call recursive method that transform our static hash to array of objects
1853
1866
  #
1854
1867
  # @return [Array]
1855
1868
  #
1856
- # source://simplecov//lib/simplecov/source_file.rb#267
1869
+ # source://simplecov//lib/simplecov/source_file.rb#273
1857
1870
  def build_branches; end
1858
1871
 
1859
- # source://simplecov//lib/simplecov/source_file.rb#304
1872
+ # source://simplecov//lib/simplecov/source_file.rb#310
1860
1873
  def build_branches_from(condition, branches); end
1861
1874
 
1862
1875
  # Build full branches report
@@ -1865,10 +1878,10 @@ class SimpleCov::SourceFile
1865
1878
  #
1866
1879
  # @return [Hash]
1867
1880
  #
1868
- # source://simplecov//lib/simplecov/source_file.rb#256
1881
+ # source://simplecov//lib/simplecov/source_file.rb#262
1869
1882
  def build_branches_report; end
1870
1883
 
1871
- # source://simplecov//lib/simplecov/source_file.rb#223
1884
+ # source://simplecov//lib/simplecov/source_file.rb#229
1872
1885
  def build_lines; end
1873
1886
 
1874
1887
  # source://simplecov//lib/simplecov/source_file.rb#164
@@ -1876,16 +1889,16 @@ class SimpleCov::SourceFile
1876
1889
 
1877
1890
  # Warning to identify condition from Issue #56
1878
1891
  #
1879
- # source://simplecov//lib/simplecov/source_file.rb#245
1892
+ # source://simplecov//lib/simplecov/source_file.rb#251
1880
1893
  def coverage_exceeding_source_warn; end
1881
1894
 
1882
1895
  # source://simplecov//lib/simplecov/source_file.rb#214
1883
1896
  def ensure_remove_undefs(file_lines); end
1884
1897
 
1885
- # source://simplecov//lib/simplecov/source_file.rb#330
1898
+ # source://simplecov//lib/simplecov/source_file.rb#336
1886
1899
  def line_coverage_statistics; end
1887
1900
 
1888
- # source://simplecov//lib/simplecov/source_file.rb#240
1901
+ # source://simplecov//lib/simplecov/source_file.rb#246
1889
1902
  def lines_strength; end
1890
1903
 
1891
1904
  # source://simplecov//lib/simplecov/source_file.rb#178
@@ -1896,10 +1909,10 @@ class SimpleCov::SourceFile
1896
1909
  # source://simplecov//lib/simplecov/source_file.rb#160
1897
1910
  def no_cov_chunks; end
1898
1911
 
1899
- # source://simplecov//lib/simplecov/source_file.rb#276
1912
+ # source://simplecov//lib/simplecov/source_file.rb#282
1900
1913
  def process_skipped_branches(branches); end
1901
1914
 
1902
- # source://simplecov//lib/simplecov/source_file.rb#231
1915
+ # source://simplecov//lib/simplecov/source_file.rb#237
1903
1916
  def process_skipped_lines(lines); end
1904
1917
 
1905
1918
  # source://simplecov//lib/simplecov/source_file.rb#198
@@ -1913,7 +1926,7 @@ class SimpleCov::SourceFile
1913
1926
  #
1914
1927
  # See #801
1915
1928
  #
1916
- # source://simplecov//lib/simplecov/source_file.rb#294
1929
+ # source://simplecov//lib/simplecov/source_file.rb#300
1917
1930
  def restore_ruby_data_structure(structure); end
1918
1931
 
1919
1932
  # source://simplecov//lib/simplecov/source_file.rb#206
@@ -2107,7 +2120,7 @@ SimpleCov::SourceFile::RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = T.let(T.unsafe(n
2107
2120
  # source://simplecov//lib/simplecov/source_file.rb#193
2108
2121
  SimpleCov::SourceFile::SHEBANG_REGEX = T.let(T.unsafe(nil), Regexp)
2109
2122
 
2110
- # source://simplecov//lib/simplecov/filter.rb#55
2123
+ # source://simplecov//lib/simplecov/filter.rb#53
2111
2124
  class SimpleCov::StringFilter < ::SimpleCov::Filter
2112
2125
  # Returns true when the given source file's filename matches the
2113
2126
  # string configured when initializing this Filter with StringFilter.new('somestring')
@@ -2308,6 +2308,179 @@ Tapioca::Gemfile::GemSpec::IGNORED_GEMS = T.let(T.unsafe(nil), Array)
2308
2308
  # source://tapioca//lib/tapioca/gemfile.rb#10
2309
2309
  Tapioca::Gemfile::Spec = T.type_alias { T.any(::Bundler::StubSpecification, ::Gem::Specification) }
2310
2310
 
2311
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#5
2312
+ module Tapioca::Helpers; end
2313
+
2314
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#6
2315
+ module Tapioca::Helpers::Test; end
2316
+
2317
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#7
2318
+ module Tapioca::Helpers::Test::Content
2319
+ requires_ancestor { Kernel }
2320
+
2321
+ # @raise [ArgumentError]
2322
+ #
2323
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#39
2324
+ sig { params(name: ::String, content: ::String).returns(::String) }
2325
+ def add_content_file(name, content); end
2326
+
2327
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#32
2328
+ sig { params(name: ::String, content: ::String, require_file: T::Boolean).returns(::String) }
2329
+ def add_ruby_file(name, content, require_file: T.unsafe(nil)); end
2330
+
2331
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#27
2332
+ sig { void }
2333
+ def remove_tmp_path; end
2334
+
2335
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#14
2336
+ sig { void }
2337
+ def teardown; end
2338
+
2339
+ # source://tapioca//lib/tapioca/helpers/test/content.rb#20
2340
+ sig { params(args: ::String).returns(::String) }
2341
+ def tmp_path(*args); end
2342
+ end
2343
+
2344
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#11
2345
+ module Tapioca::Helpers::Test::DslCompiler
2346
+ include ::Tapioca::Helpers::Test::Isolation::Forking
2347
+ include ::Tapioca::Helpers::Test::Isolation
2348
+ include ::Tapioca::Helpers::Test::Content
2349
+ include ::Tapioca::Helpers::Test::Template
2350
+
2351
+ requires_ancestor { Kernel }
2352
+
2353
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#27
2354
+ sig { params(compiler_classes: T.class_of(Tapioca::Dsl::Compiler)).void }
2355
+ def activate_other_dsl_compilers(*compiler_classes); end
2356
+
2357
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#47
2358
+ sig { returns(::Tapioca::Helpers::Test::DslCompiler::CompilerContext) }
2359
+ def context; end
2360
+
2361
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#37
2362
+ sig { returns(T::Array[::String]) }
2363
+ def gathered_constants; end
2364
+
2365
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#42
2366
+ sig { returns(T::Array[::String]) }
2367
+ def generated_errors; end
2368
+
2369
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#32
2370
+ sig { params(constant_name: T.any(::String, ::Symbol)).returns(::String) }
2371
+ def rbi_for(constant_name); end
2372
+
2373
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#22
2374
+ sig { params(compiler_class: T.class_of(Tapioca::Dsl::Compiler)).void }
2375
+ def use_dsl_compiler(compiler_class); end
2376
+ end
2377
+
2378
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#53
2379
+ class Tapioca::Helpers::Test::DslCompiler::CompilerContext
2380
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#63
2381
+ sig { params(compiler_class: T.class_of(Tapioca::Dsl::Compiler)).void }
2382
+ def initialize(compiler_class); end
2383
+
2384
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#71
2385
+ sig { params(compiler_classes: T::Array[T.class_of(Tapioca::Dsl::Compiler)]).void }
2386
+ def activate_other_dsl_compilers(compiler_classes); end
2387
+
2388
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#76
2389
+ sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
2390
+ def activated_compiler_classes; end
2391
+
2392
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#57
2393
+ sig { returns(T.class_of(Tapioca::Dsl::Compiler)) }
2394
+ def compiler_class; end
2395
+
2396
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#102
2397
+ sig { returns(T::Array[::String]) }
2398
+ def errors; end
2399
+
2400
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#81
2401
+ sig { returns(T::Array[::String]) }
2402
+ def gathered_constants; end
2403
+
2404
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#60
2405
+ sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
2406
+ def other_compiler_classes; end
2407
+
2408
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#86
2409
+ sig { params(constant_name: T.any(::String, ::Symbol)).returns(::String) }
2410
+ def rbi_for(constant_name); end
2411
+
2412
+ private
2413
+
2414
+ # source://tapioca//lib/tapioca/helpers/test/dsl_compiler.rb#109
2415
+ sig { returns(::Tapioca::Dsl::Pipeline) }
2416
+ def pipeline; end
2417
+ end
2418
+
2419
+ # Copied from ActiveSupport::Testing::Isolation since we cannot require
2420
+ # constants from ActiveSupport without polluting the global namespace.
2421
+ #
2422
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#9
2423
+ module Tapioca::Helpers::Test::Isolation
2424
+ include ::Tapioca::Helpers::Test::Isolation::Forking
2425
+
2426
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#22
2427
+ def run; end
2428
+
2429
+ class << self
2430
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#17
2431
+ sig { returns(T::Boolean) }
2432
+ def forking_env?; end
2433
+ end
2434
+ end
2435
+
2436
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#30
2437
+ module Tapioca::Helpers::Test::Isolation::Forking
2438
+ requires_ancestor { Kernel }
2439
+
2440
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#37
2441
+ sig { params(_blk: T.untyped).returns(::String) }
2442
+ def run_in_isolation(&_blk); end
2443
+ end
2444
+
2445
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#75
2446
+ module Tapioca::Helpers::Test::Isolation::Subprocess
2447
+ requires_ancestor { Kernel }
2448
+
2449
+ # Crazy H4X to get this working in windows / jruby with
2450
+ # no forking.
2451
+ #
2452
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#86
2453
+ sig { params(_blk: T.untyped).returns(::String) }
2454
+ def run_in_isolation(&_blk); end
2455
+ end
2456
+
2457
+ # source://tapioca//lib/tapioca/helpers/test/isolation.rb#81
2458
+ Tapioca::Helpers::Test::Isolation::Subprocess::ORIG_ARGV = T.let(T.unsafe(nil), Array)
2459
+
2460
+ # source://tapioca//lib/tapioca/helpers/test/template.rb#7
2461
+ module Tapioca::Helpers::Test::Template
2462
+ requires_ancestor { Kernel }
2463
+
2464
+ # source://tapioca//lib/tapioca/helpers/test/template.rb#39
2465
+ sig { params(str: ::String, indent: ::Integer).returns(::String) }
2466
+ def indented(str, indent); end
2467
+
2468
+ # source://tapioca//lib/tapioca/helpers/test/template.rb#23
2469
+ sig { params(selector: ::String).returns(T::Boolean) }
2470
+ def rails_version(selector); end
2471
+
2472
+ # source://tapioca//lib/tapioca/helpers/test/template.rb#18
2473
+ sig { params(selector: ::String).returns(T::Boolean) }
2474
+ def ruby_version(selector); end
2475
+
2476
+ # source://tapioca//lib/tapioca/helpers/test/template.rb#28
2477
+ sig { params(src: ::String, trim_mode: ::String).returns(::String) }
2478
+ def template(src, trim_mode: T.unsafe(nil)); end
2479
+ end
2480
+
2481
+ # source://tapioca//lib/tapioca/helpers/test/template.rb#13
2482
+ Tapioca::Helpers::Test::Template::ERB_SUPPORTS_KVARGS = T.let(T.unsafe(nil), Array)
2483
+
2311
2484
  # source://tapioca//lib/tapioca/loaders/loader.rb#5
2312
2485
  module Tapioca::Loaders; end
2313
2486
 
@@ -2705,7 +2878,7 @@ module Tapioca::Runtime; end
2705
2878
  # available, it implements finding the attached class of a singleton
2706
2879
  # class by iterating through ObjectSpace.
2707
2880
  module Tapioca::Runtime::AttachedClassOf
2708
- # source://tapioca//lib/tapioca/runtime/attached_class_of_legacy.rb#17
2881
+ # source://tapioca//lib/tapioca/runtime/attached_class_of_32.rb#14
2709
2882
  sig { params(singleton_class: ::Class).returns(T.nilable(::Module)) }
2710
2883
  def attached_class_of(singleton_class); end
2711
2884
  end
@@ -3471,14 +3644,14 @@ class URI::Source < ::URI::File
3471
3644
  sig { params(v: T.nilable(::String)).returns(T::Boolean) }
3472
3645
  def check_host(v); end
3473
3646
 
3474
- # source://uri/0.11.0/uri/generic.rb#243
3647
+ # source://uri/0.12.1/uri/generic.rb#243
3475
3648
  def gem_name; end
3476
3649
 
3477
3650
  # source://tapioca//lib/tapioca/helpers/source_uri.rb#25
3478
3651
  sig { returns(T.nilable(::String)) }
3479
3652
  def gem_version; end
3480
3653
 
3481
- # source://uri/0.11.0/uri/generic.rb#283
3654
+ # source://uri/0.12.1/uri/generic.rb#283
3482
3655
  def line_number; end
3483
3656
 
3484
3657
  # source://tapioca//lib/tapioca/helpers/source_uri.rb#51
@@ -3505,3 +3678,5 @@ end
3505
3678
 
3506
3679
  # source://tapioca//lib/tapioca/helpers/source_uri.rb#10
3507
3680
  URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
3681
+
3682
+ class URI::WSS < ::URI::WS; end