packwerk 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -5
  3. data/.ruby-version +1 -1
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +127 -110
  6. data/README.md +7 -0
  7. data/dev.yml +1 -1
  8. data/gemfiles/Gemfile-rails-6-0 +22 -0
  9. data/lib/packwerk.rb +1 -0
  10. data/lib/packwerk/application_validator.rb +5 -5
  11. data/lib/packwerk/node_processor.rb +2 -1
  12. data/lib/packwerk/node_visitor.rb +1 -1
  13. data/lib/packwerk/version.rb +1 -1
  14. data/library.yml +1 -1
  15. data/service.yml +2 -2
  16. data/shipit.rubygems.yml +5 -1
  17. data/sorbet/rbi/gems/{actioncable@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +56 -36
  18. data/sorbet/rbi/gems/{actionmailbox@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +25 -28
  19. data/sorbet/rbi/gems/{actionmailer@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +43 -24
  20. data/sorbet/rbi/gems/{actionpack@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +382 -284
  21. data/sorbet/rbi/gems/{actiontext@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +76 -40
  22. data/sorbet/rbi/gems/{actionview@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +206 -195
  23. data/sorbet/rbi/gems/{activejob@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +64 -75
  24. data/sorbet/rbi/gems/{activemodel@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +103 -56
  25. data/sorbet/rbi/gems/{activerecord@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1250 -898
  26. data/sorbet/rbi/gems/{activestorage@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +92 -120
  27. data/sorbet/rbi/gems/{activesupport@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +292 -193
  28. data/sorbet/rbi/gems/{ast@2.4.1.rbi → ast@2.4.2.rbi} +2 -1
  29. data/sorbet/rbi/gems/{better_html@1.0.15.rbi → better_html@1.0.16.rbi} +2 -2
  30. data/sorbet/rbi/gems/{concurrent-ruby@1.1.6.rbi → concurrent-ruby@1.1.8.rbi} +12 -9
  31. data/sorbet/rbi/gems/{erubi@1.9.0.rbi → erubi@1.10.0.rbi} +3 -1
  32. data/sorbet/rbi/gems/{i18n@1.8.2.rbi → i18n@1.8.10.rbi} +19 -52
  33. data/sorbet/rbi/gems/{loofah@2.5.0.rbi → loofah@2.9.0.rbi} +3 -1
  34. data/sorbet/rbi/gems/marcel@1.0.0.rbi +70 -0
  35. data/sorbet/rbi/gems/{mini_mime@1.0.2.rbi → mini_mime@1.0.3.rbi} +6 -6
  36. data/sorbet/rbi/gems/{mini_portile2@2.4.0.rbi → minitest-focus@1.2.1.rbi} +2 -2
  37. data/sorbet/rbi/gems/{minitest@5.14.0.rbi → minitest@5.14.4.rbi} +31 -29
  38. data/sorbet/rbi/gems/{mocha@1.11.2.rbi → mocha@1.12.0.rbi} +25 -36
  39. data/sorbet/rbi/gems/{nio4r@2.5.2.rbi → nio4r@2.5.7.rbi} +21 -20
  40. data/sorbet/rbi/gems/{nokogiri@1.10.9.rbi → nokogiri@1.11.2.rbi} +193 -154
  41. data/sorbet/rbi/gems/{parallel@1.19.1.rbi → parallel@1.20.1.rbi} +1 -1
  42. data/sorbet/rbi/gems/parlour@6.0.0.rbi +1272 -0
  43. data/sorbet/rbi/gems/{parser@2.7.1.4.rbi → parser@3.0.0.0.rbi} +287 -174
  44. data/sorbet/rbi/gems/{pry@0.13.1.rbi → pry@0.14.0.rbi} +1 -1
  45. data/sorbet/rbi/gems/racc@1.5.2.rbi +57 -0
  46. data/sorbet/rbi/gems/{rack@2.2.2.rbi → rack@2.2.3.rbi} +23 -35
  47. data/sorbet/rbi/gems/{rails@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1 -1
  48. data/sorbet/rbi/gems/{railties@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +132 -121
  49. data/sorbet/rbi/gems/{rake@13.0.1.rbi → rake@13.0.3.rbi} +16 -20
  50. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
  51. data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +8 -0
  52. data/sorbet/rbi/gems/{rubocop-performance@1.5.2.rbi → rubocop-performance@1.10.2.rbi} +1 -1
  53. data/sorbet/rbi/gems/{rubocop-shopify@1.0.2.rbi → rubocop-shopify@2.0.1.rbi} +1 -1
  54. data/sorbet/rbi/gems/{rubocop-sorbet@0.3.7.rbi → rubocop-sorbet@0.6.1.rbi} +1 -1
  55. data/sorbet/rbi/gems/{rubocop@0.82.0.rbi → rubocop@1.12.0.rbi} +1 -1
  56. data/sorbet/rbi/gems/{ruby-progressbar@1.10.1.rbi → ruby-progressbar@1.11.0.rbi} +1 -1
  57. data/sorbet/rbi/gems/spoom@1.1.0.rbi +1061 -0
  58. data/sorbet/rbi/gems/{spring@2.1.0.rbi → spring@2.1.1.rbi} +7 -7
  59. data/sorbet/rbi/gems/{sprockets-rails@3.2.1.rbi → sprockets-rails@3.2.2.rbi} +88 -68
  60. data/sorbet/rbi/gems/{sprockets@4.0.0.rbi → sprockets@4.0.2.rbi} +8 -7
  61. data/sorbet/rbi/gems/{tapioca@0.4.5.rbi → tapioca@0.4.19.rbi} +109 -24
  62. data/sorbet/rbi/gems/{thor@1.0.1.rbi → thor@1.1.0.rbi} +16 -15
  63. data/sorbet/rbi/gems/{tzinfo@2.0.2.rbi → tzinfo@2.0.4.rbi} +21 -2
  64. data/sorbet/rbi/gems/{unicode-display_width@1.7.0.rbi → unicode-display_width@2.0.0.rbi} +1 -1
  65. data/sorbet/rbi/gems/{websocket-driver@0.7.1.rbi → websocket-driver@0.7.3.rbi} +29 -29
  66. data/sorbet/rbi/gems/{websocket-extensions@0.1.4.rbi → websocket-extensions@0.1.5.rbi} +2 -2
  67. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +177 -0
  68. metadata +54 -52
  69. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -8
  70. data/sorbet/rbi/gems/marcel@0.3.3.rbi +0 -30
  71. data/sorbet/rbi/gems/mimemagic@0.3.5.rbi +0 -47
  72. data/sorbet/rbi/gems/parlour@4.0.1.rbi +0 -561
  73. data/sorbet/rbi/gems/spoom@1.0.4.rbi +0 -418
  74. 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 `spring` gem.
3
- # Please instead update this file by running `dev typecheck update`.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
4
 
5
5
  # typed: true
6
6
 
@@ -9,7 +9,7 @@ module Spring
9
9
  def after_fork(&block); end
10
10
  def after_fork_callbacks; end
11
11
  def application_root; end
12
- def application_root=(_); end
12
+ def application_root=(_arg0); end
13
13
  def application_root_path; end
14
14
  def command(name); end
15
15
  def command?(name); end
@@ -17,16 +17,16 @@ module Spring
17
17
  def gemfile; end
18
18
  def project_root_path; end
19
19
  def quiet; end
20
- def quiet=(_); end
20
+ def quiet=(_arg0); end
21
21
  def register_command(name, command = T.unsafe(nil)); end
22
22
  def verify_environment; end
23
23
  def watch(*items); end
24
24
  def watch_interval; end
25
- def watch_interval=(_); end
25
+ def watch_interval=(_arg0); end
26
26
  def watch_method; end
27
27
  def watch_method=(method); end
28
28
  def watcher; end
29
- def watcher=(_); end
29
+ def watcher=(_arg0); end
30
30
 
31
31
  private
32
32
 
@@ -95,7 +95,7 @@ class Spring::Commands::Rake
95
95
 
96
96
  class << self
97
97
  def environment_matchers; end
98
- def environment_matchers=(_); end
98
+ def environment_matchers=(_arg0); end
99
99
  end
100
100
  end
101
101
 
@@ -145,7 +145,7 @@ end
145
145
  class Spring::Watcher::Polling < ::Spring::Watcher::Abstract
146
146
  def initialize(root, latency); end
147
147
 
148
- def add(*_); end
148
+ def add(*_arg0); end
149
149
  def check_stale; end
150
150
  def mtime; end
151
151
  def running?; end
@@ -1,30 +1,31 @@
1
1
  # DO NOT EDIT MANUALLY
2
2
  # This is an autogenerated file for types exported from the `sprockets-rails` gem.
3
- # Please instead update this file by running `dev typecheck update`.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
4
 
5
5
  # typed: true
6
6
 
7
7
  module Rails
8
8
  extend(::ActiveSupport::Autoload)
9
+ extend(::ActiveSupport::Benchmarkable)
9
10
 
10
11
  class << self
11
12
  def app_class; end
12
- def app_class=(_); end
13
+ def app_class=(_arg0); end
13
14
  def application; end
14
- def application=(_); end
15
+ def application=(_arg0); end
15
16
  def autoloaders; end
16
17
  def backtrace_cleaner; end
17
18
  def cache; end
18
- def cache=(_); end
19
+ def cache=(_arg0); end
19
20
  def configuration; end
20
21
  def env; end
21
22
  def env=(environment); end
22
23
  def gem_version; end
23
24
  def groups(*groups); end
24
- def initialize!(*args, &block); end
25
- def initialized?(*args, &block); end
25
+ def initialize!(*_arg0, &_arg1); end
26
+ def initialized?(*_arg0, &_arg1); end
26
27
  def logger; end
27
- def logger=(_); end
28
+ def logger=(_arg0); end
28
29
  def public_path; end
29
30
  def root; end
30
31
  def version; end
@@ -36,16 +37,17 @@ class Rails::Application < ::Rails::Engine
36
37
 
37
38
  def asset_precompiled?(logical_path); end
38
39
  def assets; end
39
- def assets=(_); end
40
+ def assets=(_arg0); end
40
41
  def assets_manifest; end
41
- def assets_manifest=(_); end
42
+ def assets_manifest=(_arg0); end
42
43
  def build_middleware_stack; end
43
44
  def config; end
44
- def config=(_); end
45
+ def config=(_arg0); end
45
46
  def config_for(name, env: T.unsafe(nil)); end
46
47
  def console(&blk); end
47
48
  def credentials; end
48
- def default_url_options(*args, &block); end
49
+ def credentials=(_arg0); end
50
+ def default_url_options(*_arg0, &_arg1); end
49
51
  def default_url_options=(arg); end
50
52
  def eager_load!; end
51
53
  def encrypted(path, key_path: T.unsafe(nil), env_key: T.unsafe(nil)); end
@@ -71,11 +73,12 @@ class Rails::Application < ::Rails::Engine
71
73
  def run_load_hooks!; end
72
74
  def runner(&blk); end
73
75
  def sandbox; end
74
- def sandbox=(_); end
76
+ def sandbox=(_arg0); end
75
77
  def sandbox?; end
76
78
  def secret_key_base; end
77
79
  def secrets; end
78
- def secrets=(_); end
80
+ def secrets=(_arg0); end
81
+ def server(&blk); end
79
82
  def to_app; end
80
83
  def watchable_args; end
81
84
 
@@ -87,6 +90,7 @@ class Rails::Application < ::Rails::Engine
87
90
  def run_console_blocks(app); end
88
91
  def run_generators_blocks(app); end
89
92
  def run_runner_blocks(app); end
93
+ def run_server_blocks(app); end
90
94
  def run_tasks_blocks(app); end
91
95
  def validate_secret_key_base(secret_key_base); end
92
96
 
@@ -94,6 +98,7 @@ class Rails::Application < ::Rails::Engine
94
98
 
95
99
  def build_middleware; end
96
100
  def build_request(env); end
101
+ def coerce_same_site_protection(protection); end
97
102
  def generate_development_secret; end
98
103
 
99
104
  class << self
@@ -106,107 +111,107 @@ class Rails::Application < ::Rails::Engine
106
111
  end
107
112
 
108
113
  class Rails::Application::Configuration < ::Rails::Engine::Configuration
109
- def initialize(*_); end
114
+ def initialize(*_arg0); end
110
115
 
111
116
  def add_autoload_paths_to_load_path; end
112
- def add_autoload_paths_to_load_path=(_); end
117
+ def add_autoload_paths_to_load_path=(_arg0); end
113
118
  def allow_concurrency; end
114
- def allow_concurrency=(_); end
119
+ def allow_concurrency=(_arg0); end
115
120
  def annotations; end
116
121
  def api_only; end
117
122
  def api_only=(value); end
118
123
  def asset_host; end
119
- def asset_host=(_); end
124
+ def asset_host=(_arg0); end
120
125
  def autoflush_log; end
121
- def autoflush_log=(_); end
122
- def autoloader; end
123
- def autoloader=(autoloader); end
126
+ def autoflush_log=(_arg0); end
124
127
  def beginning_of_week; end
125
- def beginning_of_week=(_); end
128
+ def beginning_of_week=(_arg0); end
126
129
  def cache_classes; end
127
- def cache_classes=(_); end
130
+ def cache_classes=(_arg0); end
128
131
  def cache_store; end
129
- def cache_store=(_); end
132
+ def cache_store=(_arg0); end
130
133
  def colorize_logging; end
131
134
  def colorize_logging=(val); end
132
135
  def consider_all_requests_local; end
133
- def consider_all_requests_local=(_); end
136
+ def consider_all_requests_local=(_arg0); end
134
137
  def console; end
135
- def console=(_); end
138
+ def console=(_arg0); end
136
139
  def content_security_policy(&block); end
137
140
  def content_security_policy_nonce_directives; end
138
- def content_security_policy_nonce_directives=(_); end
141
+ def content_security_policy_nonce_directives=(_arg0); end
139
142
  def content_security_policy_nonce_generator; end
140
- def content_security_policy_nonce_generator=(_); end
143
+ def content_security_policy_nonce_generator=(_arg0); end
141
144
  def content_security_policy_report_only; end
142
- def content_security_policy_report_only=(_); end
145
+ def content_security_policy_report_only=(_arg0); end
143
146
  def credentials; end
144
- def credentials=(_); end
147
+ def credentials=(_arg0); end
145
148
  def database_configuration; end
146
149
  def debug_exception_response_format; end
147
- def debug_exception_response_format=(_); end
150
+ def debug_exception_response_format=(_arg0); end
148
151
  def default_log_file; end
149
152
  def disable_sandbox; end
150
- def disable_sandbox=(_); end
153
+ def disable_sandbox=(_arg0); end
151
154
  def eager_load; end
152
- def eager_load=(_); end
155
+ def eager_load=(_arg0); end
153
156
  def enable_dependency_loading; end
154
- def enable_dependency_loading=(_); end
157
+ def enable_dependency_loading=(_arg0); end
155
158
  def encoding; end
156
159
  def encoding=(value); end
157
160
  def exceptions_app; end
158
- def exceptions_app=(_); end
159
- def feature_policy(&block); end
161
+ def exceptions_app=(_arg0); end
160
162
  def file_watcher; end
161
- def file_watcher=(_); end
163
+ def file_watcher=(_arg0); end
162
164
  def filter_parameters; end
163
- def filter_parameters=(_); end
165
+ def filter_parameters=(_arg0); end
164
166
  def filter_redirect; end
165
- def filter_redirect=(_); end
167
+ def filter_redirect=(_arg0); end
166
168
  def force_ssl; end
167
- def force_ssl=(_); end
169
+ def force_ssl=(_arg0); end
168
170
  def helpers_paths; end
169
- def helpers_paths=(_); end
171
+ def helpers_paths=(_arg0); end
172
+ def host_authorization; end
173
+ def host_authorization=(_arg0); end
170
174
  def hosts; end
171
- def hosts=(_); end
175
+ def hosts=(_arg0); end
172
176
  def load_database_yaml; end
173
177
  def load_defaults(target_version); end
174
178
  def loaded_config_version; end
175
179
  def log_formatter; end
176
- def log_formatter=(_); end
180
+ def log_formatter=(_arg0); end
177
181
  def log_level; end
178
- def log_level=(_); end
182
+ def log_level=(_arg0); end
179
183
  def log_tags; end
180
- def log_tags=(_); end
184
+ def log_tags=(_arg0); end
181
185
  def logger; end
182
- def logger=(_); end
186
+ def logger=(_arg0); end
183
187
  def paths; end
188
+ def permissions_policy(&block); end
184
189
  def public_file_server; end
185
- def public_file_server=(_); end
190
+ def public_file_server=(_arg0); end
186
191
  def railties_order; end
187
- def railties_order=(_); end
192
+ def railties_order=(_arg0); end
188
193
  def rake_eager_load; end
189
- def rake_eager_load=(_); end
194
+ def rake_eager_load=(_arg0); end
190
195
  def read_encrypted_secrets; end
191
- def read_encrypted_secrets=(_); end
196
+ def read_encrypted_secrets=(_arg0); end
192
197
  def relative_url_root; end
193
- def relative_url_root=(_); end
198
+ def relative_url_root=(_arg0); end
194
199
  def reload_classes_only_on_change; end
195
- def reload_classes_only_on_change=(_); end
200
+ def reload_classes_only_on_change=(_arg0); end
196
201
  def require_master_key; end
197
- def require_master_key=(_); end
202
+ def require_master_key=(_arg0); end
198
203
  def secret_key_base; end
199
- def secret_key_base=(_); end
204
+ def secret_key_base=(_arg0); end
200
205
  def session_options; end
201
- def session_options=(_); end
206
+ def session_options=(_arg0); end
202
207
  def session_store(new_session_store = T.unsafe(nil), **options); end
203
208
  def session_store?; end
204
209
  def ssl_options; end
205
- def ssl_options=(_); end
210
+ def ssl_options=(_arg0); end
206
211
  def time_zone; end
207
- def time_zone=(_); end
212
+ def time_zone=(_arg0); end
208
213
  def x; end
209
- def x=(_); end
214
+ def x=(_arg0); end
210
215
 
211
216
  private
212
217
 
@@ -218,33 +223,41 @@ end
218
223
  Rails::Application::INITIAL_VARIABLES = T.let(T.unsafe(nil), Array)
219
224
 
220
225
  class Rails::Engine < ::Rails::Railtie
226
+ include(::ActiveSupport::Callbacks)
227
+ extend(::ActiveSupport::Callbacks::ClassMethods)
228
+
221
229
  def initialize; end
222
230
 
231
+ def __callbacks; end
232
+ def __callbacks?; end
233
+ def _load_seed_callbacks; end
234
+ def _run_load_seed_callbacks(&block); end
223
235
  def app; end
224
236
  def call(env); end
225
237
  def config; end
226
238
  def eager_load!; end
227
239
  def endpoint; end
228
- def engine_name(*args, &block); end
240
+ def engine_name(*_arg0, &_arg1); end
229
241
  def env_config; end
230
242
  def helpers; end
231
243
  def helpers_paths; end
232
- def isolated?(*args, &block); end
244
+ def isolated?(*_arg0, &_arg1); end
233
245
  def load_console(app = T.unsafe(nil)); end
234
246
  def load_generators(app = T.unsafe(nil)); end
235
247
  def load_runner(app = T.unsafe(nil)); end
236
248
  def load_seed; end
249
+ def load_server(app = T.unsafe(nil)); end
237
250
  def load_tasks(app = T.unsafe(nil)); end
238
- def middleware(*args, &block); end
239
- def paths(*args, &block); end
251
+ def middleware(*_arg0, &_arg1); end
252
+ def paths(*_arg0, &_arg1); end
240
253
  def railties; end
241
- def root(*args, &block); end
254
+ def root(*_arg0, &_arg1); end
242
255
  def routes(&block); end
243
256
  def routes?; end
244
257
 
245
258
  protected
246
259
 
247
- def run_tasks_blocks(*_); end
260
+ def run_tasks_blocks(*_arg0); end
248
261
 
249
262
  private
250
263
 
@@ -256,12 +269,16 @@ class Rails::Engine < ::Rails::Railtie
256
269
  def default_middleware_stack; end
257
270
  def has_migrations?; end
258
271
  def load_config_initializer(initializer); end
259
- def with_inline_jobs; end
260
272
 
261
273
  class << self
274
+ def __callbacks; end
275
+ def __callbacks=(value); end
276
+ def __callbacks?; end
277
+ def _load_seed_callbacks; end
278
+ def _load_seed_callbacks=(value); end
262
279
  def called_from; end
263
- def called_from=(_); end
264
- def eager_load!(*args, &block); end
280
+ def called_from=(_arg0); end
281
+ def eager_load!(*_arg0, &_arg1); end
265
282
  def endpoint(endpoint = T.unsafe(nil)); end
266
283
  def engine_name(name = T.unsafe(nil)); end
267
284
  def find(path); end
@@ -270,7 +287,7 @@ class Rails::Engine < ::Rails::Railtie
270
287
  def inherited(base); end
271
288
  def isolate_namespace(mod); end
272
289
  def isolated; end
273
- def isolated=(_); end
290
+ def isolated=(_arg0); end
274
291
  def isolated?; end
275
292
  end
276
293
  end
@@ -346,6 +363,9 @@ class Sprockets::Rails::Helper::AssetNotFound < ::StandardError
346
363
  end
347
364
 
348
365
  class Sprockets::Rails::Helper::AssetNotPrecompiled < ::StandardError
366
+ end
367
+
368
+ class Sprockets::Rails::Helper::AssetNotPrecompiledError < ::Sprockets::Rails::Helper::AssetNotPrecompiled
349
369
  include(::Sprockets::Rails::Utils)
350
370
 
351
371
  def initialize(source); end
@@ -364,12 +384,12 @@ class Sprockets::Rails::HelperAssetResolvers::Environment
364
384
 
365
385
  def asset_path(path, digest, allow_non_precompiled = T.unsafe(nil)); end
366
386
  def digest_path(path, allow_non_precompiled = T.unsafe(nil)); end
387
+ def find_asset(path, options = T.unsafe(nil)); end
367
388
  def find_debug_asset(path); end
368
389
  def integrity(path); end
369
390
 
370
391
  private
371
392
 
372
- def find_asset(path, options = T.unsafe(nil)); end
373
393
  def precompiled?(path); end
374
394
  def raise_unless_precompiled_asset(path); end
375
395
  end
@@ -1,6 +1,6 @@
1
1
  # DO NOT EDIT MANUALLY
2
2
  # This is an autogenerated file for types exported from the `sprockets` gem.
3
- # Please instead update this file by running `dev typecheck update`.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
4
 
5
5
  # typed: true
6
6
 
@@ -42,6 +42,7 @@ class Sprockets::Asset
42
42
  def digest; end
43
43
  def digest_path; end
44
44
  def each; end
45
+ def environment_version; end
45
46
  def eql?(other); end
46
47
  def etag; end
47
48
  def filename; end
@@ -82,10 +83,10 @@ Sprockets::BabelProcessor::VERSION = T.let(T.unsafe(nil), String)
82
83
 
83
84
  class Sprockets::Base
84
85
  include(::Sprockets::SourceMapUtils)
86
+ include(::Sprockets::Utils)
85
87
  include(::Sprockets::PathUtils)
86
88
  include(::Sprockets::DigestUtils)
87
89
  include(::Sprockets::PathDigestUtils)
88
- include(::Sprockets::Utils)
89
90
  include(::Sprockets::URIUtils)
90
91
  include(::Sprockets::PathDependencyUtils)
91
92
  include(::Sprockets::Dependencies)
@@ -104,7 +105,7 @@ class Sprockets::Base
104
105
  include(::Sprockets::Bower)
105
106
  include(::Sprockets::Npm)
106
107
 
107
- def [](*args); end
108
+ def [](*args, **options); end
108
109
  def cache; end
109
110
  def cache=(cache); end
110
111
  def cached; end
@@ -301,7 +302,7 @@ module Sprockets::Configuration
301
302
  def digest_class=(klass); end
302
303
  def initialize_configuration(parent); end
303
304
  def logger; end
304
- def logger=(_); end
305
+ def logger=(_arg0); end
305
306
  def version; end
306
307
  def version=(version); end
307
308
  end
@@ -349,7 +350,7 @@ class Sprockets::Context::ENVProxy < ::SimpleDelegator
349
350
  def initialize(context); end
350
351
 
351
352
  def [](key); end
352
- def fetch(key, *_); end
353
+ def fetch(key, *_arg1); end
353
354
  end
354
355
 
355
356
  class Sprockets::ConversionError < ::Sprockets::NotFound
@@ -1008,10 +1009,10 @@ class Sprockets::Transformers::Transformer < ::Struct
1008
1009
  def to=(_); end
1009
1010
 
1010
1011
  class << self
1011
- def [](*_); end
1012
+ def [](*_arg0); end
1012
1013
  def inspect; end
1013
1014
  def members; end
1014
- def new(*_); end
1015
+ def new(*_arg0); end
1015
1016
  end
1016
1017
  end
1017
1018