packwerk 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -5
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +127 -110
- data/README.md +7 -0
- data/dev.yml +1 -1
- data/gemfiles/Gemfile-rails-6-0 +22 -0
- data/lib/packwerk.rb +1 -0
- data/lib/packwerk/application_validator.rb +5 -5
- data/lib/packwerk/node_processor.rb +2 -1
- data/lib/packwerk/node_visitor.rb +1 -1
- data/lib/packwerk/version.rb +1 -1
- data/library.yml +1 -1
- data/service.yml +2 -2
- data/shipit.rubygems.yml +5 -1
- data/sorbet/rbi/gems/{actioncable@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +56 -36
- data/sorbet/rbi/gems/{actionmailbox@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +25 -28
- data/sorbet/rbi/gems/{actionmailer@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +43 -24
- data/sorbet/rbi/gems/{actionpack@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +382 -284
- data/sorbet/rbi/gems/{actiontext@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +76 -40
- data/sorbet/rbi/gems/{actionview@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +206 -195
- data/sorbet/rbi/gems/{activejob@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +64 -75
- data/sorbet/rbi/gems/{activemodel@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +103 -56
- data/sorbet/rbi/gems/{activerecord@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1250 -898
- data/sorbet/rbi/gems/{activestorage@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +92 -120
- data/sorbet/rbi/gems/{activesupport@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +292 -193
- data/sorbet/rbi/gems/{ast@2.4.1.rbi → ast@2.4.2.rbi} +2 -1
- data/sorbet/rbi/gems/{better_html@1.0.15.rbi → better_html@1.0.16.rbi} +2 -2
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.6.rbi → concurrent-ruby@1.1.8.rbi} +12 -9
- data/sorbet/rbi/gems/{erubi@1.9.0.rbi → erubi@1.10.0.rbi} +3 -1
- data/sorbet/rbi/gems/{i18n@1.8.2.rbi → i18n@1.8.10.rbi} +19 -52
- data/sorbet/rbi/gems/{loofah@2.5.0.rbi → loofah@2.9.0.rbi} +3 -1
- data/sorbet/rbi/gems/marcel@1.0.0.rbi +70 -0
- data/sorbet/rbi/gems/{mini_mime@1.0.2.rbi → mini_mime@1.0.3.rbi} +6 -6
- data/sorbet/rbi/gems/{mini_portile2@2.4.0.rbi → minitest-focus@1.2.1.rbi} +2 -2
- data/sorbet/rbi/gems/{minitest@5.14.0.rbi → minitest@5.14.4.rbi} +31 -29
- data/sorbet/rbi/gems/{mocha@1.11.2.rbi → mocha@1.12.0.rbi} +25 -36
- data/sorbet/rbi/gems/{nio4r@2.5.2.rbi → nio4r@2.5.7.rbi} +21 -20
- data/sorbet/rbi/gems/{nokogiri@1.10.9.rbi → nokogiri@1.11.2.rbi} +193 -154
- data/sorbet/rbi/gems/{parallel@1.19.1.rbi → parallel@1.20.1.rbi} +1 -1
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1272 -0
- data/sorbet/rbi/gems/{parser@2.7.1.4.rbi → parser@3.0.0.0.rbi} +287 -174
- data/sorbet/rbi/gems/{pry@0.13.1.rbi → pry@0.14.0.rbi} +1 -1
- data/sorbet/rbi/gems/racc@1.5.2.rbi +57 -0
- data/sorbet/rbi/gems/{rack@2.2.2.rbi → rack@2.2.3.rbi} +23 -35
- data/sorbet/rbi/gems/{rails@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1 -1
- data/sorbet/rbi/gems/{railties@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +132 -121
- data/sorbet/rbi/gems/{rake@13.0.1.rbi → rake@13.0.3.rbi} +16 -20
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/{rubocop-performance@1.5.2.rbi → rubocop-performance@1.10.2.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop-shopify@1.0.2.rbi → rubocop-shopify@2.0.1.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop-sorbet@0.3.7.rbi → rubocop-sorbet@0.6.1.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop@0.82.0.rbi → rubocop@1.12.0.rbi} +1 -1
- data/sorbet/rbi/gems/{ruby-progressbar@1.10.1.rbi → ruby-progressbar@1.11.0.rbi} +1 -1
- data/sorbet/rbi/gems/spoom@1.1.0.rbi +1061 -0
- data/sorbet/rbi/gems/{spring@2.1.0.rbi → spring@2.1.1.rbi} +7 -7
- data/sorbet/rbi/gems/{sprockets-rails@3.2.1.rbi → sprockets-rails@3.2.2.rbi} +88 -68
- data/sorbet/rbi/gems/{sprockets@4.0.0.rbi → sprockets@4.0.2.rbi} +8 -7
- data/sorbet/rbi/gems/{tapioca@0.4.5.rbi → tapioca@0.4.19.rbi} +109 -24
- data/sorbet/rbi/gems/{thor@1.0.1.rbi → thor@1.1.0.rbi} +16 -15
- data/sorbet/rbi/gems/{tzinfo@2.0.2.rbi → tzinfo@2.0.4.rbi} +21 -2
- data/sorbet/rbi/gems/{unicode-display_width@1.7.0.rbi → unicode-display_width@2.0.0.rbi} +1 -1
- data/sorbet/rbi/gems/{websocket-driver@0.7.1.rbi → websocket-driver@0.7.3.rbi} +29 -29
- data/sorbet/rbi/gems/{websocket-extensions@0.1.4.rbi → websocket-extensions@0.1.5.rbi} +2 -2
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +177 -0
- metadata +54 -52
- data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -8
- data/sorbet/rbi/gems/marcel@0.3.3.rbi +0 -30
- data/sorbet/rbi/gems/mimemagic@0.3.5.rbi +0 -47
- data/sorbet/rbi/gems/parlour@4.0.1.rbi +0 -561
- data/sorbet/rbi/gems/spoom@1.0.4.rbi +0 -418
- data/sorbet/rbi/gems/zeitwerk@2.3.0.rbi +0 -8
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `ast` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -17,6 +17,7 @@ class AST::Node
|
|
17
17
|
def children; end
|
18
18
|
def clone; end
|
19
19
|
def concat(array); end
|
20
|
+
def deconstruct; end
|
20
21
|
def dup; end
|
21
22
|
def eql?(other); end
|
22
23
|
def hash; end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `better_html` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -129,7 +129,7 @@ class BetterHtml::DontInterpolateHere < ::BetterHtml::InterpolatorError
|
|
129
129
|
end
|
130
130
|
|
131
131
|
class BetterHtml::Errors < ::Array
|
132
|
-
def add(
|
132
|
+
def add(_arg0); end
|
133
133
|
end
|
134
134
|
|
135
135
|
module BetterHtml::Helpers
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `concurrent-ruby` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -477,7 +477,7 @@ module Concurrent::Concern::Observable
|
|
477
477
|
protected
|
478
478
|
|
479
479
|
def observers; end
|
480
|
-
def observers=(
|
480
|
+
def observers=(_arg0); end
|
481
481
|
end
|
482
482
|
|
483
483
|
class Concurrent::ConcurrentUpdateError < ::ThreadError
|
@@ -714,10 +714,10 @@ class Concurrent::LockFreeStack::Node
|
|
714
714
|
|
715
715
|
def next_node; end
|
716
716
|
def value; end
|
717
|
-
def value=(
|
717
|
+
def value=(_arg0); end
|
718
718
|
|
719
719
|
class << self
|
720
|
-
def [](*
|
720
|
+
def [](*_arg0); end
|
721
721
|
end
|
722
722
|
end
|
723
723
|
|
@@ -1080,8 +1080,8 @@ end
|
|
1080
1080
|
module Concurrent::Promises::FactoryMethods
|
1081
1081
|
include(::Concurrent::Promises::FactoryMethods::Configuration)
|
1082
1082
|
extend(::Concurrent::ReInclude)
|
1083
|
-
extend(::Concurrent::Promises::FactoryMethods)
|
1084
1083
|
extend(::Concurrent::Promises::FactoryMethods::Configuration)
|
1084
|
+
extend(::Concurrent::Promises::FactoryMethods)
|
1085
1085
|
|
1086
1086
|
def any(*futures_and_or_events); end
|
1087
1087
|
def any_event(*futures_and_or_events); end
|
@@ -1337,10 +1337,12 @@ class Concurrent::RubyThreadLocalVar < ::Concurrent::AbstractThreadLocalVar
|
|
1337
1337
|
|
1338
1338
|
def get_default; end
|
1339
1339
|
def get_threadlocal_array(thread = T.unsafe(nil)); end
|
1340
|
+
def next_index; end
|
1340
1341
|
def set_threadlocal_array(array, thread = T.unsafe(nil)); end
|
1341
1342
|
def value_for(thread); end
|
1342
1343
|
|
1343
1344
|
class << self
|
1345
|
+
def semi_sync(&block); end
|
1344
1346
|
def thread_finalizer(id); end
|
1345
1347
|
def thread_local_finalizer(index); end
|
1346
1348
|
end
|
@@ -1362,6 +1364,7 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService
|
|
1362
1364
|
def remaining_capacity; end
|
1363
1365
|
def remove_busy_worker(worker); end
|
1364
1366
|
def scheduled_task_count; end
|
1367
|
+
def synchronous; end
|
1365
1368
|
def worker_died(worker); end
|
1366
1369
|
def worker_not_old_enough(worker); end
|
1367
1370
|
def worker_task_completed; end
|
@@ -1462,10 +1465,10 @@ class Concurrent::SerializedExecution::Job < ::Struct
|
|
1462
1465
|
def executor=(_); end
|
1463
1466
|
|
1464
1467
|
class << self
|
1465
|
-
def [](*
|
1468
|
+
def [](*_arg0); end
|
1466
1469
|
def inspect; end
|
1467
1470
|
def members; end
|
1468
|
-
def new(*
|
1471
|
+
def new(*_arg0); end
|
1469
1472
|
end
|
1470
1473
|
end
|
1471
1474
|
|
@@ -1878,10 +1881,10 @@ class Concurrent::Transaction::ReadLogEntry < ::Struct
|
|
1878
1881
|
def version=(_); end
|
1879
1882
|
|
1880
1883
|
class << self
|
1881
|
-
def [](*
|
1884
|
+
def [](*_arg0); end
|
1882
1885
|
def inspect; end
|
1883
1886
|
def members; end
|
1884
|
-
def new(*
|
1887
|
+
def new(*_arg0); end
|
1885
1888
|
end
|
1886
1889
|
end
|
1887
1890
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `erubi` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -28,6 +28,8 @@ class Erubi::Engine
|
|
28
28
|
def handle(indicator, code, tailch, rspace, lspace); end
|
29
29
|
end
|
30
30
|
|
31
|
+
Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol)
|
32
|
+
|
31
33
|
Erubi::RANGE_ALL = T.let(T.unsafe(nil), Range)
|
32
34
|
|
33
35
|
Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `i18n` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -8,6 +8,8 @@ module I18n
|
|
8
8
|
extend(::I18n::Base)
|
9
9
|
|
10
10
|
class << self
|
11
|
+
def fallbacks; end
|
12
|
+
def fallbacks=(fallbacks); end
|
11
13
|
def interpolate(string, values); end
|
12
14
|
def interpolate_hash(string, values); end
|
13
15
|
def new_double_nested_cache; end
|
@@ -25,7 +27,7 @@ module I18n::Backend::Base
|
|
25
27
|
|
26
28
|
def available_locales; end
|
27
29
|
def eager_load!; end
|
28
|
-
def exists?(locale, key); end
|
30
|
+
def exists?(locale, key, options = T.unsafe(nil)); end
|
29
31
|
def load_translations(*filenames); end
|
30
32
|
def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
|
31
33
|
def reload!; end
|
@@ -67,7 +69,7 @@ end
|
|
67
69
|
|
68
70
|
module I18n::Backend::CacheFile
|
69
71
|
def path_roots; end
|
70
|
-
def path_roots=(
|
72
|
+
def path_roots=(_arg0); end
|
71
73
|
|
72
74
|
protected
|
73
75
|
|
@@ -93,9 +95,9 @@ module I18n::Backend::Chain::Implementation
|
|
93
95
|
|
94
96
|
def available_locales; end
|
95
97
|
def backends; end
|
96
|
-
def backends=(
|
98
|
+
def backends=(_arg0); end
|
97
99
|
def eager_load!; end
|
98
|
-
def exists?(locale, key); end
|
100
|
+
def exists?(locale, key, options = T.unsafe(nil)); end
|
99
101
|
def initialized?; end
|
100
102
|
def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
|
101
103
|
def reload!; end
|
@@ -114,9 +116,13 @@ module I18n::Backend::Chain::Implementation
|
|
114
116
|
end
|
115
117
|
|
116
118
|
module I18n::Backend::Fallbacks
|
117
|
-
def exists?(locale, key); end
|
119
|
+
def exists?(locale, key, options = T.unsafe(nil)); end
|
118
120
|
def extract_non_symbol_default!(options); end
|
119
121
|
def translate(locale, key, options = T.unsafe(nil)); end
|
122
|
+
|
123
|
+
private
|
124
|
+
|
125
|
+
def on_fallback(_original_locale, _fallback_locale, _key, _optoins); end
|
120
126
|
end
|
121
127
|
|
122
128
|
module I18n::Backend::Flatten
|
@@ -208,7 +214,7 @@ module I18n::Backend::KeyValue::Implementation
|
|
208
214
|
def available_locales; end
|
209
215
|
def initialized?; end
|
210
216
|
def store; end
|
211
|
-
def store=(
|
217
|
+
def store=(_arg0); end
|
212
218
|
def store_translations(locale, data, options = T.unsafe(nil)); end
|
213
219
|
|
214
220
|
protected
|
@@ -339,7 +345,7 @@ module I18n::Base
|
|
339
345
|
def enforce_available_locales=(value); end
|
340
346
|
def exception_handler; end
|
341
347
|
def exception_handler=(value); end
|
342
|
-
def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil)); end
|
348
|
+
def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil), **options); end
|
343
349
|
def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
|
344
350
|
def load_path; end
|
345
351
|
def load_path=(value); end
|
@@ -349,11 +355,11 @@ module I18n::Base
|
|
349
355
|
def localize(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
|
350
356
|
def normalize_keys(locale, key, scope, separator = T.unsafe(nil)); end
|
351
357
|
def reload!; end
|
352
|
-
def t(key = T.unsafe(nil),
|
353
|
-
def t!(key, options
|
354
|
-
def translate(key = T.unsafe(nil),
|
355
|
-
def translate!(key, options
|
356
|
-
def transliterate(key,
|
358
|
+
def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
|
359
|
+
def t!(key, **options); end
|
360
|
+
def translate(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
|
361
|
+
def translate!(key, **options); end
|
362
|
+
def transliterate(key, throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), replacement: T.unsafe(nil), **options); end
|
357
363
|
def with_locale(tmp_locale = T.unsafe(nil)); end
|
358
364
|
|
359
365
|
private
|
@@ -575,10 +581,6 @@ module I18n::Tests::Localization
|
|
575
581
|
end
|
576
582
|
end
|
577
583
|
|
578
|
-
module I18n::Tests::Localization::Date
|
579
|
-
def setup; end
|
580
|
-
end
|
581
|
-
|
582
584
|
class I18n::UnknownFileType < ::I18n::ArgumentError
|
583
585
|
def initialize(type, filename); end
|
584
586
|
|
@@ -596,38 +598,3 @@ I18n::JSON = ActiveSupport::JSON
|
|
596
598
|
I18n::Locale::Tag::RFC4646_FORMATS = T.let(T.unsafe(nil), Hash)
|
597
599
|
|
598
600
|
I18n::Locale::Tag::RFC4646_SUBTAGS = T.let(T.unsafe(nil), Array)
|
599
|
-
|
600
|
-
module I18n::Tests::Basics
|
601
|
-
def teardown; end
|
602
|
-
end
|
603
|
-
|
604
|
-
module I18n::Tests::Defaults
|
605
|
-
def setup; end
|
606
|
-
end
|
607
|
-
|
608
|
-
module I18n::Tests::Interpolation
|
609
|
-
end
|
610
|
-
|
611
|
-
module I18n::Tests::Link
|
612
|
-
end
|
613
|
-
|
614
|
-
module I18n::Tests::Localization::DateTime
|
615
|
-
def setup; end
|
616
|
-
end
|
617
|
-
|
618
|
-
module I18n::Tests::Localization::Procs
|
619
|
-
end
|
620
|
-
|
621
|
-
module I18n::Tests::Localization::Time
|
622
|
-
def setup; end
|
623
|
-
end
|
624
|
-
|
625
|
-
module I18n::Tests::Lookup
|
626
|
-
def setup; end
|
627
|
-
end
|
628
|
-
|
629
|
-
module I18n::Tests::Pluralization
|
630
|
-
end
|
631
|
-
|
632
|
-
module I18n::Tests::Procs
|
633
|
-
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `loofah` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -138,6 +138,8 @@ Loofah::HTML5::Scrub::CONTROL_CHARACTERS = T.let(T.unsafe(nil), Regexp)
|
|
138
138
|
|
139
139
|
Loofah::HTML5::Scrub::CRASS_SEMICOLON = T.let(T.unsafe(nil), Hash)
|
140
140
|
|
141
|
+
Loofah::HTML5::Scrub::CSS_IMPORTANT = T.let(T.unsafe(nil), String)
|
142
|
+
|
141
143
|
Loofah::HTML5::Scrub::CSS_KEYWORDISH = T.let(T.unsafe(nil), Regexp)
|
142
144
|
|
143
145
|
Loofah::HTML5::WhiteList = Loofah::HTML5::SafeList
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `marcel` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Marcel
|
8
|
+
end
|
9
|
+
|
10
|
+
Marcel::EXTENSIONS = T.let(T.unsafe(nil), Hash)
|
11
|
+
|
12
|
+
Marcel::MAGIC = T.let(T.unsafe(nil), Array)
|
13
|
+
|
14
|
+
class Marcel::Magic
|
15
|
+
def initialize(type); end
|
16
|
+
|
17
|
+
def ==(other); end
|
18
|
+
def audio?; end
|
19
|
+
def child_of?(parent); end
|
20
|
+
def comment; end
|
21
|
+
def eql?(other); end
|
22
|
+
def extensions; end
|
23
|
+
def hash; end
|
24
|
+
def image?; end
|
25
|
+
def mediatype; end
|
26
|
+
def subtype; end
|
27
|
+
def text?; end
|
28
|
+
def to_s; end
|
29
|
+
def type; end
|
30
|
+
def video?; end
|
31
|
+
|
32
|
+
class << self
|
33
|
+
def add(type, options); end
|
34
|
+
def all_by_magic(io); end
|
35
|
+
def by_extension(ext); end
|
36
|
+
def by_magic(io); end
|
37
|
+
def by_path(path); end
|
38
|
+
def child?(child, parent); end
|
39
|
+
def remove(type); end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def magic_match(io, method); end
|
44
|
+
def magic_match_io(io, matches, buffer); end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
class Marcel::MimeType
|
49
|
+
class << self
|
50
|
+
def extend(type, extensions: T.unsafe(nil), parents: T.unsafe(nil), magic: T.unsafe(nil)); end
|
51
|
+
def for(pathname_or_io = T.unsafe(nil), name: T.unsafe(nil), extension: T.unsafe(nil), declared_type: T.unsafe(nil)); end
|
52
|
+
|
53
|
+
private
|
54
|
+
|
55
|
+
def for_data(pathname_or_io); end
|
56
|
+
def for_declared_type(declared_type); end
|
57
|
+
def for_extension(extension); end
|
58
|
+
def for_name(name); end
|
59
|
+
def most_specific_type(from_magic_type, fallback_type); end
|
60
|
+
def parse_media_type(content_type); end
|
61
|
+
def root_types(type); end
|
62
|
+
def with_io(pathname_or_io, &block); end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
Marcel::MimeType::BINARY = T.let(T.unsafe(nil), String)
|
67
|
+
|
68
|
+
Marcel::TYPES = T.let(T.unsafe(nil), Hash)
|
69
|
+
|
70
|
+
Marcel::VERSION = T.let(T.unsafe(nil), String)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `mini_mime` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -15,9 +15,9 @@ end
|
|
15
15
|
module MiniMime::Configuration
|
16
16
|
class << self
|
17
17
|
def content_type_db_path; end
|
18
|
-
def content_type_db_path=(
|
18
|
+
def content_type_db_path=(_arg0); end
|
19
19
|
def ext_db_path; end
|
20
|
-
def ext_db_path=(
|
20
|
+
def ext_db_path=(_arg0); end
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -59,11 +59,11 @@ class MiniMime::Info
|
|
59
59
|
def [](idx); end
|
60
60
|
def binary?; end
|
61
61
|
def content_type; end
|
62
|
-
def content_type=(
|
62
|
+
def content_type=(_arg0); end
|
63
63
|
def encoding; end
|
64
|
-
def encoding=(
|
64
|
+
def encoding=(_arg0); end
|
65
65
|
def extension; end
|
66
|
-
def extension=(
|
66
|
+
def extension=(_arg0); end
|
67
67
|
end
|
68
68
|
|
69
69
|
MiniMime::Info::BINARY_ENCODINGS = T.let(T.unsafe(nil), Array)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `
|
3
|
-
# Please instead update this file by running `
|
2
|
+
# This is an autogenerated file for types exported from the `minitest-focus` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `minitest` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -17,20 +17,20 @@ module Minitest
|
|
17
17
|
def after_run(&block); end
|
18
18
|
def autorun; end
|
19
19
|
def backtrace_filter; end
|
20
|
-
def backtrace_filter=(
|
20
|
+
def backtrace_filter=(_arg0); end
|
21
21
|
def clock_time; end
|
22
22
|
def extensions; end
|
23
|
-
def extensions=(
|
23
|
+
def extensions=(_arg0); end
|
24
24
|
def filter_backtrace(bt); end
|
25
25
|
def info_signal; end
|
26
|
-
def info_signal=(
|
26
|
+
def info_signal=(_arg0); end
|
27
27
|
def init_plugins(options); end
|
28
28
|
def load_plugins; end
|
29
29
|
def parallel_executor; end
|
30
|
-
def parallel_executor=(
|
30
|
+
def parallel_executor=(_arg0); end
|
31
31
|
def process_args(args = T.unsafe(nil)); end
|
32
32
|
def reporter; end
|
33
|
-
def reporter=(
|
33
|
+
def reporter=(_arg0); end
|
34
34
|
def run(args = T.unsafe(nil)); end
|
35
35
|
def run_one_method(klass, method_name); end
|
36
36
|
end
|
@@ -137,7 +137,7 @@ class Minitest::CompositeReporter < ::Minitest::AbstractReporter
|
|
137
137
|
def record(result); end
|
138
138
|
def report; end
|
139
139
|
def reporters; end
|
140
|
-
def reporters=(
|
140
|
+
def reporters=(_arg0); end
|
141
141
|
def start; end
|
142
142
|
end
|
143
143
|
|
@@ -182,10 +182,10 @@ class Minitest::Expectation < ::Struct
|
|
182
182
|
def wont_respond_to(*args); end
|
183
183
|
|
184
184
|
class << self
|
185
|
-
def [](*
|
185
|
+
def [](*_arg0); end
|
186
186
|
def inspect; end
|
187
187
|
def members; end
|
188
|
-
def new(*
|
188
|
+
def new(*_arg0); end
|
189
189
|
end
|
190
190
|
end
|
191
191
|
|
@@ -238,7 +238,7 @@ class Minitest::Mock
|
|
238
238
|
|
239
239
|
def ===(*args, &b); end
|
240
240
|
def __call(name, data); end
|
241
|
-
def __respond_to?(*
|
241
|
+
def __respond_to?(*_arg0); end
|
242
242
|
def class(*args, &b); end
|
243
243
|
def expect(name, retval, args = T.unsafe(nil), &blk); end
|
244
244
|
def inspect(*args, &b); end
|
@@ -296,9 +296,9 @@ class Minitest::Reporter < ::Minitest::AbstractReporter
|
|
296
296
|
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
|
297
297
|
|
298
298
|
def io; end
|
299
|
-
def io=(
|
299
|
+
def io=(_arg0); end
|
300
300
|
def options; end
|
301
|
-
def options=(
|
301
|
+
def options=(_arg0); end
|
302
302
|
end
|
303
303
|
|
304
304
|
class Minitest::Result < ::Minitest::Runnable
|
@@ -306,9 +306,9 @@ class Minitest::Result < ::Minitest::Runnable
|
|
306
306
|
|
307
307
|
def class_name; end
|
308
308
|
def klass; end
|
309
|
-
def klass=(
|
309
|
+
def klass=(_arg0); end
|
310
310
|
def source_location; end
|
311
|
-
def source_location=(
|
311
|
+
def source_location=(_arg0); end
|
312
312
|
def to_s; end
|
313
313
|
|
314
314
|
class << self
|
@@ -320,10 +320,10 @@ class Minitest::Runnable
|
|
320
320
|
def initialize(name); end
|
321
321
|
|
322
322
|
def assertions; end
|
323
|
-
def assertions=(
|
323
|
+
def assertions=(_arg0); end
|
324
324
|
def failure; end
|
325
325
|
def failures; end
|
326
|
-
def failures=(
|
326
|
+
def failures=(_arg0); end
|
327
327
|
def marshal_dump; end
|
328
328
|
def marshal_load(ary); end
|
329
329
|
def name; end
|
@@ -333,7 +333,7 @@ class Minitest::Runnable
|
|
333
333
|
def run; end
|
334
334
|
def skipped?; end
|
335
335
|
def time; end
|
336
|
-
def time=(
|
336
|
+
def time=(_arg0); end
|
337
337
|
def time_it; end
|
338
338
|
|
339
339
|
class << self
|
@@ -403,37 +403,37 @@ class Minitest::StatisticsReporter < ::Minitest::Reporter
|
|
403
403
|
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
|
404
404
|
|
405
405
|
def assertions; end
|
406
|
-
def assertions=(
|
406
|
+
def assertions=(_arg0); end
|
407
407
|
def count; end
|
408
|
-
def count=(
|
408
|
+
def count=(_arg0); end
|
409
409
|
def errors; end
|
410
|
-
def errors=(
|
410
|
+
def errors=(_arg0); end
|
411
411
|
def failures; end
|
412
|
-
def failures=(
|
412
|
+
def failures=(_arg0); end
|
413
413
|
def passed?; end
|
414
414
|
def record(result); end
|
415
415
|
def report; end
|
416
416
|
def results; end
|
417
|
-
def results=(
|
417
|
+
def results=(_arg0); end
|
418
418
|
def skips; end
|
419
|
-
def skips=(
|
419
|
+
def skips=(_arg0); end
|
420
420
|
def start; end
|
421
421
|
def start_time; end
|
422
|
-
def start_time=(
|
422
|
+
def start_time=(_arg0); end
|
423
423
|
def total_time; end
|
424
|
-
def total_time=(
|
424
|
+
def total_time=(_arg0); end
|
425
425
|
end
|
426
426
|
|
427
427
|
class Minitest::SummaryReporter < ::Minitest::StatisticsReporter
|
428
428
|
def aggregated_results(io); end
|
429
429
|
def old_sync; end
|
430
|
-
def old_sync=(
|
430
|
+
def old_sync=(_arg0); end
|
431
431
|
def report; end
|
432
432
|
def start; end
|
433
433
|
def statistics; end
|
434
434
|
def summary; end
|
435
435
|
def sync; end
|
436
|
-
def sync=(
|
436
|
+
def sync=(_arg0); end
|
437
437
|
def to_s; end
|
438
438
|
|
439
439
|
private
|
@@ -460,7 +460,7 @@ class Minitest::Test < ::Minitest::Runnable
|
|
460
460
|
class << self
|
461
461
|
def i_suck_and_my_tests_are_order_dependent!; end
|
462
462
|
def io_lock; end
|
463
|
-
def io_lock=(
|
463
|
+
def io_lock=(_arg0); end
|
464
464
|
def make_my_diffs_pretty!; end
|
465
465
|
def parallelize_me!; end
|
466
466
|
def runnable_methods; end
|
@@ -486,7 +486,7 @@ class Minitest::UnexpectedError < ::Minitest::Assertion
|
|
486
486
|
|
487
487
|
def backtrace; end
|
488
488
|
def error; end
|
489
|
-
def error=(
|
489
|
+
def error=(_arg0); end
|
490
490
|
def message; end
|
491
491
|
def result_label; end
|
492
492
|
end
|
@@ -529,6 +529,8 @@ class Object < ::BasicObject
|
|
529
529
|
include(::ActiveSupport::ForkTracker::CoreExt)
|
530
530
|
include(::ActiveSupport::ForkTracker::CoreExtPrivate)
|
531
531
|
include(::Kernel)
|
532
|
+
include(::ActiveSupport::ForkTracker::CoreExt)
|
533
|
+
include(::ActiveSupport::ForkTracker::CoreExtPrivate)
|
532
534
|
include(::JSON::Ext::Generator::GeneratorMethods::Object)
|
533
535
|
include(::ActiveSupport::Tryable)
|
534
536
|
include(::ActiveSupport::Dependencies::Loadable)
|