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 `actiontext` 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
|
|
@@ -21,13 +21,14 @@ module ActionText::Attachable
|
|
21
21
|
|
22
22
|
mixes_in_class_methods(::ActionText::Attachable::ClassMethods)
|
23
23
|
|
24
|
-
def as_json(*
|
24
|
+
def as_json(*_arg0); end
|
25
25
|
def attachable_content_type; end
|
26
26
|
def attachable_filename; end
|
27
27
|
def attachable_filesize; end
|
28
28
|
def attachable_metadata; end
|
29
29
|
def attachable_sgid; end
|
30
30
|
def previewable_attachable?; end
|
31
|
+
def to_attachable_partial_path; end
|
31
32
|
def to_rich_text_attributes(attributes = T.unsafe(nil)); end
|
32
33
|
def to_trix_content_attachment_partial_path; end
|
33
34
|
|
@@ -75,16 +76,16 @@ class ActionText::Attachables::ContentAttachment
|
|
75
76
|
def _validators; end
|
76
77
|
def _validators?; end
|
77
78
|
def attachable_plain_text_representation(caption); end
|
78
|
-
def model_name(*
|
79
|
+
def model_name(*_arg0, &_arg1); end
|
79
80
|
def name; end
|
80
|
-
def name=(
|
81
|
+
def name=(_arg0); end
|
81
82
|
def to_partial_path; end
|
82
83
|
def to_trix_content_attachment_partial_path; end
|
83
84
|
def validation_context; end
|
84
85
|
|
85
86
|
private
|
86
87
|
|
87
|
-
def validation_context=(
|
88
|
+
def validation_context=(_arg0); end
|
88
89
|
|
89
90
|
class << self
|
90
91
|
def __callbacks; end
|
@@ -102,7 +103,7 @@ end
|
|
102
103
|
module ActionText::Attachables::MissingAttachable
|
103
104
|
extend(::ActiveModel::Naming)
|
104
105
|
|
105
|
-
def model_name(*
|
106
|
+
def model_name(*_arg0, &_arg1); end
|
106
107
|
|
107
108
|
class << self
|
108
109
|
def to_partial_path; end
|
@@ -117,7 +118,7 @@ class ActionText::Attachables::RemoteImage
|
|
117
118
|
def attachable_plain_text_representation(caption); end
|
118
119
|
def content_type; end
|
119
120
|
def height; end
|
120
|
-
def model_name(*
|
121
|
+
def model_name(*_arg0, &_arg1); end
|
121
122
|
def to_partial_path; end
|
122
123
|
def url; end
|
123
124
|
def width; end
|
@@ -147,8 +148,10 @@ class ActionText::Attachment
|
|
147
148
|
def inspect; end
|
148
149
|
def method_missing(method, *args, &block); end
|
149
150
|
def node; end
|
151
|
+
def tag_name; end
|
152
|
+
def tag_name=(val); end
|
150
153
|
def to_html; end
|
151
|
-
def to_param(*
|
154
|
+
def to_param(*_arg0, &_arg1); end
|
152
155
|
def to_plain_text; end
|
153
156
|
def to_s; end
|
154
157
|
def with_full_attributes; end
|
@@ -166,6 +169,8 @@ class ActionText::Attachment
|
|
166
169
|
def from_attachables(attachables); end
|
167
170
|
def from_attributes(attributes, attachable = T.unsafe(nil)); end
|
168
171
|
def from_node(node, attachable = T.unsafe(nil)); end
|
172
|
+
def tag_name; end
|
173
|
+
def tag_name=(val); end
|
169
174
|
|
170
175
|
private
|
171
176
|
|
@@ -176,10 +181,6 @@ end
|
|
176
181
|
|
177
182
|
ActionText::Attachment::ATTRIBUTES = T.let(T.unsafe(nil), Array)
|
178
183
|
|
179
|
-
ActionText::Attachment::SELECTOR = T.let(T.unsafe(nil), String)
|
180
|
-
|
181
|
-
ActionText::Attachment::TAG_NAME = T.let(T.unsafe(nil), String)
|
182
|
-
|
183
184
|
class ActionText::AttachmentGallery
|
184
185
|
include(::ActiveModel::Validations)
|
185
186
|
include(::ActiveSupport::Callbacks)
|
@@ -207,14 +208,14 @@ class ActionText::AttachmentGallery
|
|
207
208
|
def _validators?; end
|
208
209
|
def attachments; end
|
209
210
|
def inspect; end
|
210
|
-
def model_name(*
|
211
|
+
def model_name(*_arg0, &_arg1); end
|
211
212
|
def node; end
|
212
213
|
def size; end
|
213
214
|
def validation_context; end
|
214
215
|
|
215
216
|
private
|
216
217
|
|
217
|
-
def validation_context=(
|
218
|
+
def validation_context=(_arg0); end
|
218
219
|
|
219
220
|
class << self
|
220
221
|
def __callbacks; end
|
@@ -225,10 +226,12 @@ class ActionText::AttachmentGallery
|
|
225
226
|
def _validators; end
|
226
227
|
def _validators=(value); end
|
227
228
|
def _validators?; end
|
229
|
+
def attachment_selector; end
|
228
230
|
def find_attachment_gallery_nodes(content); end
|
229
231
|
def fragment_by_canonicalizing_attachment_galleries(content); end
|
230
232
|
def fragment_by_replacing_attachment_gallery_nodes(content); end
|
231
233
|
def from_node(node); end
|
234
|
+
def selector; end
|
232
235
|
end
|
233
236
|
end
|
234
237
|
|
@@ -279,33 +282,40 @@ end
|
|
279
282
|
|
280
283
|
module ActionText::Attribute::ClassMethods
|
281
284
|
def has_rich_text(name); end
|
285
|
+
def with_all_rich_text; end
|
286
|
+
|
287
|
+
private
|
288
|
+
|
289
|
+
def rich_text_association_names; end
|
282
290
|
end
|
283
291
|
|
284
292
|
class ActionText::Content
|
285
293
|
include(::ActionText::Serialization)
|
294
|
+
include(::ActionText::Rendering)
|
286
295
|
extend(::ActionText::Serialization::ClassMethods)
|
296
|
+
extend(::ActionText::Rendering::ClassMethods)
|
287
297
|
|
288
298
|
def initialize(content = T.unsafe(nil), options = T.unsafe(nil)); end
|
289
299
|
|
290
300
|
def ==(other); end
|
291
301
|
def append_attachables(attachables); end
|
292
|
-
def as_json(*
|
302
|
+
def as_json(*_arg0); end
|
293
303
|
def attachables; end
|
294
304
|
def attachment_galleries; end
|
295
305
|
def attachments; end
|
296
|
-
def blank?(*
|
297
|
-
def empty?(*
|
306
|
+
def blank?(*_arg0, &_arg1); end
|
307
|
+
def empty?(*_arg0, &_arg1); end
|
298
308
|
def fragment; end
|
299
309
|
def gallery_attachments; end
|
300
|
-
def html_safe(*
|
310
|
+
def html_safe(*_arg0, &_arg1); end
|
301
311
|
def inspect; end
|
302
312
|
def links; end
|
303
|
-
def present?(*
|
313
|
+
def present?(*_arg0, &_arg1); end
|
314
|
+
def render(*_arg0, &_arg1); end
|
304
315
|
def render_attachment_galleries(&block); end
|
305
316
|
def render_attachments(**options, &block); end
|
306
|
-
def renderer; end
|
307
|
-
def renderer=(obj); end
|
308
317
|
def to_html; end
|
318
|
+
def to_partial_path; end
|
309
319
|
def to_plain_text; end
|
310
320
|
def to_rendered_html_with_layout; end
|
311
321
|
def to_s; end
|
@@ -319,6 +329,8 @@ class ActionText::Content
|
|
319
329
|
def attachment_nodes; end
|
320
330
|
|
321
331
|
class << self
|
332
|
+
def default_renderer; end
|
333
|
+
def default_renderer=(val); end
|
322
334
|
def fragment_by_canonicalizing_content(content); end
|
323
335
|
def renderer; end
|
324
336
|
def renderer=(obj); end
|
@@ -330,6 +342,7 @@ module ActionText::ContentHelper
|
|
330
342
|
def allowed_attributes=(val); end
|
331
343
|
def allowed_tags; end
|
332
344
|
def allowed_tags=(val); end
|
345
|
+
def render_action_text_attachment(attachment, locals: T.unsafe(nil)); end
|
333
346
|
def render_action_text_attachments(content); end
|
334
347
|
def render_action_text_content(content); end
|
335
348
|
def sanitize_action_text_content(content); end
|
@@ -353,6 +366,12 @@ end
|
|
353
366
|
class ActionText::Engine < ::Rails::Engine
|
354
367
|
end
|
355
368
|
|
369
|
+
class ActionText::FixtureSet
|
370
|
+
class << self
|
371
|
+
def attachment(fixture_set_name, label, column_type: T.unsafe(nil)); end
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
356
375
|
class ActionText::Fragment
|
357
376
|
def initialize(source); end
|
358
377
|
|
@@ -408,16 +427,34 @@ module ActionText::PlainTextConversion
|
|
408
427
|
def remove_trailing_newlines(text); end
|
409
428
|
end
|
410
429
|
|
411
|
-
class ActionText::
|
430
|
+
class ActionText::Record < ::ActiveRecord::Base
|
431
|
+
class << self
|
432
|
+
def _validators; end
|
433
|
+
def defined_enums; end
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
module ActionText::Rendering
|
438
|
+
extend(::ActiveSupport::Concern)
|
439
|
+
|
440
|
+
mixes_in_class_methods(::ActionText::Rendering::ClassMethods)
|
441
|
+
end
|
442
|
+
|
443
|
+
module ActionText::Rendering::ClassMethods
|
444
|
+
def render(*args, &block); end
|
445
|
+
def with_renderer(renderer); end
|
446
|
+
end
|
447
|
+
|
448
|
+
class ActionText::RichText < ::ActionText::Record
|
412
449
|
def autosave_associated_records_for_record(*args); end
|
413
|
-
def nil?(*
|
414
|
-
def to_s(*
|
450
|
+
def nil?(*_arg0, &_arg1); end
|
451
|
+
def to_s(*_arg0, &_arg1); end
|
415
452
|
|
416
453
|
class << self
|
417
454
|
def __callbacks; end
|
418
455
|
def _reflections; end
|
419
456
|
def _validators; end
|
420
|
-
def
|
457
|
+
def attributes_to_define_after_schema_loads; end
|
421
458
|
def defined_enums; end
|
422
459
|
end
|
423
460
|
end
|
@@ -427,7 +464,7 @@ module ActionText::Serialization
|
|
427
464
|
|
428
465
|
mixes_in_class_methods(::ActionText::Serialization::ClassMethods)
|
429
466
|
|
430
|
-
def _dump(*
|
467
|
+
def _dump(*_arg0); end
|
431
468
|
end
|
432
469
|
|
433
470
|
module ActionText::Serialization::ClassMethods
|
@@ -485,16 +522,17 @@ module ActionView::Helpers
|
|
485
522
|
include(::ActiveSupport::Benchmarkable)
|
486
523
|
include(::ActionView::Helpers::ActiveModelHelper)
|
487
524
|
include(::ActionView::Helpers::AssetUrlHelper)
|
488
|
-
include(::ActionView::Helpers::AtomFeedHelper)
|
489
|
-
include(::ActionView::Helpers::CacheHelper)
|
490
525
|
include(::ActionView::Helpers::SanitizeHelper)
|
491
526
|
include(::ActionView::Helpers::CaptureHelper)
|
527
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
528
|
+
include(::ActionView::Helpers::TagHelper)
|
529
|
+
include(::ActionView::Helpers::AssetTagHelper)
|
530
|
+
include(::ActionView::Helpers::AtomFeedHelper)
|
531
|
+
include(::ActionView::Helpers::CacheHelper)
|
492
532
|
include(::ActionView::Helpers::ControllerHelper)
|
493
533
|
include(::ActionView::Helpers::CspHelper)
|
494
534
|
include(::ActionView::Helpers::CsrfHelper)
|
495
535
|
include(::ActionView::Helpers::DateHelper)
|
496
|
-
include(::ActionView::Helpers::OutputSafetyHelper)
|
497
|
-
include(::ActionView::Helpers::TagHelper)
|
498
536
|
include(::ActionView::Helpers::DebugHelper)
|
499
537
|
include(::ActionView::Helpers::TextHelper)
|
500
538
|
include(::ActionView::Helpers::FormOptionsHelper)
|
@@ -504,8 +542,6 @@ module ActionView::Helpers
|
|
504
542
|
extend(::ActiveSupport::Autoload)
|
505
543
|
extend(::ActiveSupport::Concern)
|
506
544
|
|
507
|
-
include(::ActionView::Helpers::TagHelper)
|
508
|
-
include(::ActionView::Helpers::AssetTagHelper)
|
509
545
|
include(::ActionView::Helpers::UrlHelper)
|
510
546
|
include(::ActionView::Helpers::SanitizeHelper)
|
511
547
|
include(::ActionView::Helpers::TextHelper)
|
@@ -537,13 +573,15 @@ class ActionView::Helpers::FormBuilder
|
|
537
573
|
def email_field(method, options = T.unsafe(nil)); end
|
538
574
|
def emitted_hidden_id?; end
|
539
575
|
def field_helpers; end
|
540
|
-
def field_helpers=(
|
576
|
+
def field_helpers=(_arg0); end
|
541
577
|
def field_helpers?; end
|
578
|
+
def field_id(method, *suffixes, index: T.unsafe(nil)); end
|
542
579
|
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
|
543
580
|
def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
|
544
581
|
def file_field(method, options = T.unsafe(nil)); end
|
545
582
|
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
546
583
|
def hidden_field(method, options = T.unsafe(nil)); end
|
584
|
+
def id; end
|
547
585
|
def index; end
|
548
586
|
def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
549
587
|
def month_field(method, options = T.unsafe(nil)); end
|
@@ -552,11 +590,11 @@ class ActionView::Helpers::FormBuilder
|
|
552
590
|
def multipart?; end
|
553
591
|
def number_field(method, options = T.unsafe(nil)); end
|
554
592
|
def object; end
|
555
|
-
def object=(
|
593
|
+
def object=(_arg0); end
|
556
594
|
def object_name; end
|
557
|
-
def object_name=(
|
595
|
+
def object_name=(_arg0); end
|
558
596
|
def options; end
|
559
|
-
def options=(
|
597
|
+
def options=(_arg0); end
|
560
598
|
def password_field(method, options = T.unsafe(nil)); end
|
561
599
|
def phone_field(method, options = T.unsafe(nil)); end
|
562
600
|
def radio_button(method, tag_value, options = T.unsafe(nil)); end
|
@@ -599,7 +637,6 @@ module ActionView::Helpers::FormHelper
|
|
599
637
|
include(::ActionView::RecordIdentifier)
|
600
638
|
extend(::ActiveSupport::Concern)
|
601
639
|
|
602
|
-
include(::ActionView::Helpers::TagHelper)
|
603
640
|
include(::ActionView::Helpers::UrlHelper)
|
604
641
|
include(::ActionView::Helpers::SanitizeHelper)
|
605
642
|
include(::ActionView::Helpers::TextHelper)
|
@@ -611,7 +648,7 @@ module ActionView::Helpers::FormHelper
|
|
611
648
|
def datetime_field(object_name, method, options = T.unsafe(nil)); end
|
612
649
|
def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
|
613
650
|
def default_form_builder; end
|
614
|
-
def default_form_builder=(
|
651
|
+
def default_form_builder=(_arg0); end
|
615
652
|
def email_field(object_name, method, options = T.unsafe(nil)); end
|
616
653
|
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
|
617
654
|
def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
@@ -657,7 +694,6 @@ end
|
|
657
694
|
class ActionView::Helpers::Tags::ActionText < ::ActionView::Helpers::Tags::Base
|
658
695
|
include(::ActionView::Helpers::Tags::Placeholderable)
|
659
696
|
|
660
|
-
def dom_id(*
|
661
|
-
def editable_value; end
|
697
|
+
def dom_id(*_arg0, &_arg1); end
|
662
698
|
def render; end
|
663
699
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `actionview` 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,10 +17,10 @@ end
|
|
17
17
|
class ActionView::AbstractRenderer
|
18
18
|
def initialize(lookup_context); end
|
19
19
|
|
20
|
-
def any_templates?(*
|
21
|
-
def formats(*
|
20
|
+
def any_templates?(*_arg0, &_arg1); end
|
21
|
+
def formats(*_arg0, &_arg1); end
|
22
22
|
def render; end
|
23
|
-
def template_exists?(*
|
23
|
+
def template_exists?(*_arg0, &_arg1); end
|
24
24
|
|
25
25
|
private
|
26
26
|
|
@@ -86,21 +86,21 @@ end
|
|
86
86
|
class ActionView::Base
|
87
87
|
include(::ActionView::Context)
|
88
88
|
include(::ERB::Util)
|
89
|
-
include(::ActionView::Helpers::CaptureHelper)
|
90
|
-
include(::ActionView::Helpers::ControllerHelper)
|
91
|
-
include(::ActionView::Helpers::CspHelper)
|
92
|
-
include(::ActionView::Helpers::CsrfHelper)
|
93
|
-
include(::ActionView::Helpers::DateHelper)
|
94
|
-
include(::ActionView::Helpers::OutputSafetyHelper)
|
95
|
-
include(::ActionView::Helpers::TagHelper)
|
96
89
|
include(::ActiveSupport::Benchmarkable)
|
97
90
|
include(::ActionView::Helpers::ActiveModelHelper)
|
98
91
|
include(::ActionView::Helpers::AssetUrlHelper)
|
99
|
-
include(::ActionView::Helpers::
|
92
|
+
include(::ActionView::Helpers::CaptureHelper)
|
93
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
94
|
+
include(::ActionView::Helpers::TagHelper)
|
100
95
|
include(::ActionView::Helpers::UrlHelper)
|
96
|
+
include(::ActionView::Helpers::SanitizeHelper)
|
97
|
+
include(::ActionView::Helpers::AssetTagHelper)
|
101
98
|
include(::ActionView::Helpers::AtomFeedHelper)
|
102
99
|
include(::ActionView::Helpers::CacheHelper)
|
103
|
-
include(::ActionView::Helpers::
|
100
|
+
include(::ActionView::Helpers::ControllerHelper)
|
101
|
+
include(::ActionView::Helpers::CspHelper)
|
102
|
+
include(::ActionView::Helpers::CsrfHelper)
|
103
|
+
include(::ActionView::Helpers::DateHelper)
|
104
104
|
include(::ActionView::Helpers::DebugHelper)
|
105
105
|
include(::ActionView::Helpers::TextHelper)
|
106
106
|
include(::ActionView::Helpers::FormTagHelper)
|
@@ -116,44 +116,45 @@ class ActionView::Base
|
|
116
116
|
extend(::ActionView::Helpers::UrlHelper::ClassMethods)
|
117
117
|
extend(::ActionView::Helpers::SanitizeHelper::ClassMethods)
|
118
118
|
|
119
|
-
def initialize(lookup_context
|
119
|
+
def initialize(lookup_context, assigns, controller); end
|
120
120
|
|
121
121
|
def _routes; end
|
122
|
-
def _routes=(
|
122
|
+
def _routes=(_arg0); end
|
123
123
|
def _routes?; end
|
124
|
-
def _run(method, template, locals, buffer, &block); end
|
125
|
-
def
|
126
|
-
def
|
124
|
+
def _run(method, template, locals, buffer, add_to_stack: T.unsafe(nil), &block); end
|
125
|
+
def annotate_rendered_view_with_filenames; end
|
126
|
+
def annotate_rendered_view_with_filenames=(val); end
|
127
127
|
def assign(new_assigns); end
|
128
128
|
def assigns; end
|
129
|
-
def assigns=(
|
129
|
+
def assigns=(_arg0); end
|
130
130
|
def automatically_disable_submit_tag; end
|
131
131
|
def automatically_disable_submit_tag=(val); end
|
132
132
|
def compiled_method_container; end
|
133
133
|
def config; end
|
134
|
-
def config=(
|
134
|
+
def config=(_arg0); end
|
135
135
|
def debug_missing_translation; end
|
136
136
|
def debug_missing_translation=(val); end
|
137
137
|
def default_formats; end
|
138
138
|
def default_formats=(val); end
|
139
139
|
def field_error_proc; end
|
140
140
|
def field_error_proc=(val); end
|
141
|
-
def formats(*
|
141
|
+
def formats(*_arg0, &_arg1); end
|
142
142
|
def formats=(arg); end
|
143
143
|
def in_rendering_context(options); end
|
144
|
-
def locale(*
|
144
|
+
def locale(*_arg0, &_arg1); end
|
145
145
|
def locale=(arg); end
|
146
146
|
def logger; end
|
147
|
-
def logger=(
|
147
|
+
def logger=(_arg0); end
|
148
148
|
def logger?; end
|
149
149
|
def lookup_context; end
|
150
150
|
def prefix_partial_path_with_controller_namespace; end
|
151
|
-
def prefix_partial_path_with_controller_namespace=(
|
151
|
+
def prefix_partial_path_with_controller_namespace=(_arg0); end
|
152
|
+
def prefix_partial_path_with_controller_namespace?; end
|
152
153
|
def raise_on_missing_translations; end
|
153
154
|
def raise_on_missing_translations=(val); end
|
154
155
|
def streaming_completion_on_exception; end
|
155
156
|
def streaming_completion_on_exception=(val); end
|
156
|
-
def view_paths(*
|
157
|
+
def view_paths(*_arg0, &_arg1); end
|
157
158
|
def view_paths=(arg); end
|
158
159
|
def view_renderer; end
|
159
160
|
|
@@ -161,11 +162,10 @@ class ActionView::Base
|
|
161
162
|
def _routes; end
|
162
163
|
def _routes=(value); end
|
163
164
|
def _routes?; end
|
164
|
-
def
|
165
|
-
def
|
165
|
+
def annotate_rendered_view_with_filenames; end
|
166
|
+
def annotate_rendered_view_with_filenames=(val); end
|
166
167
|
def automatically_disable_submit_tag; end
|
167
168
|
def automatically_disable_submit_tag=(val); end
|
168
|
-
def build_lookup_context(context); end
|
169
169
|
def cache_template_loading; end
|
170
170
|
def cache_template_loading=(value); end
|
171
171
|
def changed?(other); end
|
@@ -183,7 +183,8 @@ class ActionView::Base
|
|
183
183
|
def logger=(value); end
|
184
184
|
def logger?; end
|
185
185
|
def prefix_partial_path_with_controller_namespace; end
|
186
|
-
def prefix_partial_path_with_controller_namespace=(
|
186
|
+
def prefix_partial_path_with_controller_namespace=(value); end
|
187
|
+
def prefix_partial_path_with_controller_namespace?; end
|
187
188
|
def raise_on_missing_translations; end
|
188
189
|
def raise_on_missing_translations=(val); end
|
189
190
|
def streaming_completion_on_exception; end
|
@@ -195,8 +196,6 @@ class ActionView::Base
|
|
195
196
|
end
|
196
197
|
end
|
197
198
|
|
198
|
-
ActionView::Base::NULL = T.let(T.unsafe(nil), Object)
|
199
|
-
|
200
199
|
class ActionView::CacheExpiry
|
201
200
|
def initialize(watcher:); end
|
202
201
|
|
@@ -234,6 +233,7 @@ class ActionView::CollectionRenderer::CollectionIterator
|
|
234
233
|
def initialize(collection); end
|
235
234
|
|
236
235
|
def each(&blk); end
|
236
|
+
def length; end
|
237
237
|
def size; end
|
238
238
|
end
|
239
239
|
|
@@ -261,9 +261,9 @@ module ActionView::Context
|
|
261
261
|
def _layout_for(name = T.unsafe(nil)); end
|
262
262
|
def _prepare_context; end
|
263
263
|
def output_buffer; end
|
264
|
-
def output_buffer=(
|
264
|
+
def output_buffer=(_arg0); end
|
265
265
|
def view_flow; end
|
266
|
-
def view_flow=(
|
266
|
+
def view_flow=(_arg0); end
|
267
267
|
end
|
268
268
|
|
269
269
|
class ActionView::Digestor
|
@@ -327,7 +327,7 @@ class ActionView::FallbackFileSystemResolver < ::ActionView::FileSystemResolver
|
|
327
327
|
end
|
328
328
|
|
329
329
|
class ActionView::FileSystemResolver < ::ActionView::PathResolver
|
330
|
-
def initialize(path
|
330
|
+
def initialize(path); end
|
331
331
|
|
332
332
|
def ==(resolver); end
|
333
333
|
def eql?(resolver); end
|
@@ -340,16 +340,17 @@ module ActionView::Helpers
|
|
340
340
|
include(::ActiveSupport::Benchmarkable)
|
341
341
|
include(::ActionView::Helpers::ActiveModelHelper)
|
342
342
|
include(::ActionView::Helpers::AssetUrlHelper)
|
343
|
-
include(::ActionView::Helpers::AtomFeedHelper)
|
344
|
-
include(::ActionView::Helpers::CacheHelper)
|
345
343
|
include(::ActionView::Helpers::SanitizeHelper)
|
346
344
|
include(::ActionView::Helpers::CaptureHelper)
|
345
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
346
|
+
include(::ActionView::Helpers::TagHelper)
|
347
|
+
include(::ActionView::Helpers::AssetTagHelper)
|
348
|
+
include(::ActionView::Helpers::AtomFeedHelper)
|
349
|
+
include(::ActionView::Helpers::CacheHelper)
|
347
350
|
include(::ActionView::Helpers::ControllerHelper)
|
348
351
|
include(::ActionView::Helpers::CspHelper)
|
349
352
|
include(::ActionView::Helpers::CsrfHelper)
|
350
353
|
include(::ActionView::Helpers::DateHelper)
|
351
|
-
include(::ActionView::Helpers::OutputSafetyHelper)
|
352
|
-
include(::ActionView::Helpers::TagHelper)
|
353
354
|
include(::ActionView::Helpers::DebugHelper)
|
354
355
|
include(::ActionView::Helpers::TextHelper)
|
355
356
|
include(::ActionView::Helpers::FormOptionsHelper)
|
@@ -359,8 +360,6 @@ module ActionView::Helpers
|
|
359
360
|
extend(::ActiveSupport::Autoload)
|
360
361
|
extend(::ActiveSupport::Concern)
|
361
362
|
|
362
|
-
include(::ActionView::Helpers::TagHelper)
|
363
|
-
include(::ActionView::Helpers::AssetTagHelper)
|
364
363
|
include(::ActionView::Helpers::UrlHelper)
|
365
364
|
include(::ActionView::Helpers::SanitizeHelper)
|
366
365
|
include(::ActionView::Helpers::TextHelper)
|
@@ -377,11 +376,11 @@ module ActionView::Helpers::ActiveModelHelper
|
|
377
376
|
end
|
378
377
|
|
379
378
|
module ActionView::Helpers::ActiveModelInstanceTag
|
380
|
-
def content_tag(type, options, *
|
379
|
+
def content_tag(type, options, *_arg2); end
|
381
380
|
def error_message; end
|
382
381
|
def error_wrapping(html_tag); end
|
383
382
|
def object; end
|
384
|
-
def tag(type, options, *
|
383
|
+
def tag(type, options, *_arg2); end
|
385
384
|
|
386
385
|
private
|
387
386
|
|
@@ -392,16 +391,24 @@ end
|
|
392
391
|
|
393
392
|
module ActionView::Helpers::AssetTagHelper
|
394
393
|
include(::ActionView::Helpers::AssetUrlHelper)
|
395
|
-
|
396
|
-
|
394
|
+
include(::ActionView::Helpers::CaptureHelper)
|
395
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
397
396
|
include(::ActionView::Helpers::TagHelper)
|
398
397
|
|
398
|
+
def apply_stylesheet_media_default; end
|
399
|
+
def apply_stylesheet_media_default=(val); end
|
399
400
|
def audio_tag(*sources); end
|
400
401
|
def auto_discovery_link_tag(type = T.unsafe(nil), url_options = T.unsafe(nil), tag_options = T.unsafe(nil)); end
|
401
402
|
def favicon_link_tag(source = T.unsafe(nil), options = T.unsafe(nil)); end
|
403
|
+
def image_decoding; end
|
404
|
+
def image_decoding=(val); end
|
405
|
+
def image_loading; end
|
406
|
+
def image_loading=(val); end
|
402
407
|
def image_tag(source, options = T.unsafe(nil)); end
|
403
408
|
def javascript_include_tag(*sources); end
|
404
409
|
def preload_link_tag(source, options = T.unsafe(nil)); end
|
410
|
+
def preload_links_header; end
|
411
|
+
def preload_links_header=(val); end
|
405
412
|
def stylesheet_link_tag(*sources); end
|
406
413
|
def video_tag(*sources); end
|
407
414
|
|
@@ -412,6 +419,18 @@ module ActionView::Helpers::AssetTagHelper
|
|
412
419
|
def multiple_sources_tag_builder(type, sources); end
|
413
420
|
def resolve_image_source(source, skip_pipeline); end
|
414
421
|
def resolve_link_as(extname, mime_type); end
|
422
|
+
def send_preload_links_header(preload_links); end
|
423
|
+
|
424
|
+
class << self
|
425
|
+
def apply_stylesheet_media_default; end
|
426
|
+
def apply_stylesheet_media_default=(val); end
|
427
|
+
def image_decoding; end
|
428
|
+
def image_decoding=(val); end
|
429
|
+
def image_loading; end
|
430
|
+
def image_loading=(val); end
|
431
|
+
def preload_links_header; end
|
432
|
+
def preload_links_header=(val); end
|
433
|
+
end
|
415
434
|
end
|
416
435
|
|
417
436
|
module ActionView::Helpers::AssetUrlHelper
|
@@ -480,7 +499,7 @@ end
|
|
480
499
|
|
481
500
|
module ActionView::Helpers::CacheHelper
|
482
501
|
def cache(name = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
483
|
-
def cache_fragment_name(name = T.unsafe(nil), skip_digest: T.unsafe(nil),
|
502
|
+
def cache_fragment_name(name = T.unsafe(nil), skip_digest: T.unsafe(nil), digest_path: T.unsafe(nil)); end
|
484
503
|
def cache_if(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
485
504
|
def cache_unless(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
486
505
|
def digest_path_from_template(template); end
|
@@ -488,7 +507,7 @@ module ActionView::Helpers::CacheHelper
|
|
488
507
|
private
|
489
508
|
|
490
509
|
def fragment_for(name = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
491
|
-
def fragment_name_with_digest(name,
|
510
|
+
def fragment_name_with_digest(name, digest_path); end
|
492
511
|
def read_fragment_for(name, options); end
|
493
512
|
def write_fragment_for(name, options); end
|
494
513
|
end
|
@@ -502,23 +521,23 @@ module ActionView::Helpers::CaptureHelper
|
|
502
521
|
end
|
503
522
|
|
504
523
|
module ActionView::Helpers::ControllerHelper
|
505
|
-
def action_name(*
|
524
|
+
def action_name(*_arg0, &_arg1); end
|
506
525
|
def assign_controller(controller); end
|
507
526
|
def controller; end
|
508
|
-
def controller=(
|
509
|
-
def controller_name(*
|
510
|
-
def controller_path(*
|
511
|
-
def cookies(*
|
512
|
-
def flash(*
|
513
|
-
def headers(*
|
527
|
+
def controller=(_arg0); end
|
528
|
+
def controller_name(*_arg0, &_arg1); end
|
529
|
+
def controller_path(*_arg0, &_arg1); end
|
530
|
+
def cookies(*_arg0, &_arg1); end
|
531
|
+
def flash(*_arg0, &_arg1); end
|
532
|
+
def headers(*_arg0, &_arg1); end
|
514
533
|
def logger; end
|
515
|
-
def params(*
|
534
|
+
def params(*_arg0, &_arg1); end
|
516
535
|
def request; end
|
517
|
-
def request=(
|
518
|
-
def request_forgery_protection_token(*
|
536
|
+
def request=(_arg0); end
|
537
|
+
def request_forgery_protection_token(*_arg0, &_arg1); end
|
519
538
|
def respond_to?(method_name, include_private = T.unsafe(nil)); end
|
520
|
-
def response(*
|
521
|
-
def session(*
|
539
|
+
def response(*_arg0, &_arg1); end
|
540
|
+
def session(*_arg0, &_arg1); end
|
522
541
|
end
|
523
542
|
|
524
543
|
ActionView::Helpers::ControllerHelper::CONTROLLER_DELEGATES = T.let(T.unsafe(nil), Array)
|
@@ -639,13 +658,15 @@ class ActionView::Helpers::FormBuilder
|
|
639
658
|
def email_field(method, options = T.unsafe(nil)); end
|
640
659
|
def emitted_hidden_id?; end
|
641
660
|
def field_helpers; end
|
642
|
-
def field_helpers=(
|
661
|
+
def field_helpers=(_arg0); end
|
643
662
|
def field_helpers?; end
|
663
|
+
def field_id(method, *suffixes, index: T.unsafe(nil)); end
|
644
664
|
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
|
645
665
|
def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
|
646
666
|
def file_field(method, options = T.unsafe(nil)); end
|
647
667
|
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
|
648
668
|
def hidden_field(method, options = T.unsafe(nil)); end
|
669
|
+
def id; end
|
649
670
|
def index; end
|
650
671
|
def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
651
672
|
def month_field(method, options = T.unsafe(nil)); end
|
@@ -654,11 +675,11 @@ class ActionView::Helpers::FormBuilder
|
|
654
675
|
def multipart?; end
|
655
676
|
def number_field(method, options = T.unsafe(nil)); end
|
656
677
|
def object; end
|
657
|
-
def object=(
|
678
|
+
def object=(_arg0); end
|
658
679
|
def object_name; end
|
659
|
-
def object_name=(
|
680
|
+
def object_name=(_arg0); end
|
660
681
|
def options; end
|
661
|
-
def options=(
|
682
|
+
def options=(_arg0); end
|
662
683
|
def password_field(method, options = T.unsafe(nil)); end
|
663
684
|
def phone_field(method, options = T.unsafe(nil)); end
|
664
685
|
def radio_button(method, tag_value, options = T.unsafe(nil)); end
|
@@ -701,7 +722,6 @@ module ActionView::Helpers::FormHelper
|
|
701
722
|
include(::ActionView::RecordIdentifier)
|
702
723
|
extend(::ActiveSupport::Concern)
|
703
724
|
|
704
|
-
include(::ActionView::Helpers::TagHelper)
|
705
725
|
include(::ActionView::Helpers::UrlHelper)
|
706
726
|
include(::ActionView::Helpers::SanitizeHelper)
|
707
727
|
include(::ActionView::Helpers::TextHelper)
|
@@ -713,7 +733,7 @@ module ActionView::Helpers::FormHelper
|
|
713
733
|
def datetime_field(object_name, method, options = T.unsafe(nil)); end
|
714
734
|
def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
|
715
735
|
def default_form_builder; end
|
716
|
-
def default_form_builder=(
|
736
|
+
def default_form_builder=(_arg0); end
|
717
737
|
def email_field(object_name, method, options = T.unsafe(nil)); end
|
718
738
|
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
|
719
739
|
def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
@@ -784,14 +804,12 @@ module ActionView::Helpers::FormOptionsHelper
|
|
784
804
|
def option_text_and_value(option); end
|
785
805
|
def option_value_selected?(value, selected); end
|
786
806
|
def prompt_text(prompt); end
|
787
|
-
def public_or_deprecated_send(item, value); end
|
788
807
|
def value_for_collection(item, value); end
|
789
808
|
end
|
790
809
|
|
791
810
|
module ActionView::Helpers::FormTagHelper
|
792
811
|
extend(::ActiveSupport::Concern)
|
793
812
|
|
794
|
-
include(::ActionView::Helpers::TagHelper)
|
795
813
|
include(::ActionView::Helpers::UrlHelper)
|
796
814
|
include(::ActionView::Helpers::SanitizeHelper)
|
797
815
|
include(::ActionView::Helpers::TextHelper)
|
@@ -807,6 +825,7 @@ module ActionView::Helpers::FormTagHelper
|
|
807
825
|
def email_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
|
808
826
|
def embed_authenticity_token_in_remote_forms; end
|
809
827
|
def embed_authenticity_token_in_remote_forms=(val); end
|
828
|
+
def field_id(object_name, method_name, *suffixes, index: T.unsafe(nil)); end
|
810
829
|
def field_set_tag(legend = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
811
830
|
def file_field_tag(name, options = T.unsafe(nil)); end
|
812
831
|
def form_tag(url_for_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
@@ -880,7 +899,7 @@ class ActionView::Helpers::NumberHelper::InvalidNumberError < ::StandardError
|
|
880
899
|
def initialize(number); end
|
881
900
|
|
882
901
|
def number; end
|
883
|
-
def number=(
|
902
|
+
def number=(_arg0); end
|
884
903
|
end
|
885
904
|
|
886
905
|
module ActionView::Helpers::OutputSafetyHelper
|
@@ -907,11 +926,11 @@ end
|
|
907
926
|
|
908
927
|
module ActionView::Helpers::SanitizeHelper::ClassMethods
|
909
928
|
def full_sanitizer; end
|
910
|
-
def full_sanitizer=(
|
929
|
+
def full_sanitizer=(_arg0); end
|
911
930
|
def link_sanitizer; end
|
912
|
-
def link_sanitizer=(
|
931
|
+
def link_sanitizer=(_arg0); end
|
913
932
|
def safe_list_sanitizer; end
|
914
|
-
def safe_list_sanitizer=(
|
933
|
+
def safe_list_sanitizer=(_arg0); end
|
915
934
|
def sanitized_allowed_attributes; end
|
916
935
|
def sanitized_allowed_attributes=(attributes); end
|
917
936
|
def sanitized_allowed_css_keywords; end
|
@@ -940,13 +959,13 @@ end
|
|
940
959
|
module ActionView::Helpers::TagHelper
|
941
960
|
include(::ActionView::Helpers::CaptureHelper)
|
942
961
|
include(::ActionView::Helpers::OutputSafetyHelper)
|
943
|
-
extend(::ActiveSupport::Concern)
|
944
962
|
|
945
963
|
def cdata_section(content); end
|
946
964
|
def class_names(*args); end
|
947
965
|
def content_tag(name, content_or_options_with_block = T.unsafe(nil), options = T.unsafe(nil), escape = T.unsafe(nil), &block); end
|
948
966
|
def escape_once(html); end
|
949
967
|
def tag(name = T.unsafe(nil), options = T.unsafe(nil), open = T.unsafe(nil), escape = T.unsafe(nil)); end
|
968
|
+
def token_list(*args); end
|
950
969
|
|
951
970
|
private
|
952
971
|
|
@@ -958,11 +977,13 @@ module ActionView::Helpers::TagHelper
|
|
958
977
|
end
|
959
978
|
end
|
960
979
|
|
980
|
+
ActionView::Helpers::TagHelper::ARIA_PREFIXES = T.let(T.unsafe(nil), Set)
|
981
|
+
|
961
982
|
ActionView::Helpers::TagHelper::BOOLEAN_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
962
983
|
|
963
|
-
ActionView::Helpers::TagHelper::
|
984
|
+
ActionView::Helpers::TagHelper::DATA_PREFIXES = T.let(T.unsafe(nil), Set)
|
964
985
|
|
965
|
-
ActionView::Helpers::TagHelper::
|
986
|
+
ActionView::Helpers::TagHelper::PRE_CONTENT_STRINGS = T.let(T.unsafe(nil), Hash)
|
966
987
|
|
967
988
|
ActionView::Helpers::TagHelper::TAG_TYPES = T.let(T.unsafe(nil), Hash)
|
968
989
|
|
@@ -972,8 +993,10 @@ class ActionView::Helpers::TagHelper::TagBuilder
|
|
972
993
|
|
973
994
|
def initialize(view_context); end
|
974
995
|
|
996
|
+
def attributes(attributes); end
|
975
997
|
def boolean_tag_option(key); end
|
976
998
|
def content_tag_string(name, content, options, escape = T.unsafe(nil)); end
|
999
|
+
def p(*arguments, **options, &block); end
|
977
1000
|
def tag_option(key, value, escape); end
|
978
1001
|
def tag_options(options, escape = T.unsafe(nil)); end
|
979
1002
|
def tag_string(name, content = T.unsafe(nil), escape_attributes: T.unsafe(nil), **options, &block); end
|
@@ -1020,7 +1043,6 @@ class ActionView::Helpers::Tags::Base
|
|
1020
1043
|
def retrieve_autoindex(pre_match); end
|
1021
1044
|
def retrieve_object(object); end
|
1022
1045
|
def sanitized_method_name; end
|
1023
|
-
def sanitized_object_name; end
|
1024
1046
|
def sanitized_value(value); end
|
1025
1047
|
def select_content_tag(option_tags, options, html_options); end
|
1026
1048
|
def tag_id(index = T.unsafe(nil)); end
|
@@ -1161,6 +1183,7 @@ class ActionView::Helpers::Tags::Label::LabelBuilder
|
|
1161
1183
|
def initialize(template_object, object_name, method_name, object, tag_value); end
|
1162
1184
|
|
1163
1185
|
def object; end
|
1186
|
+
def to_s; end
|
1164
1187
|
def translation; end
|
1165
1188
|
end
|
1166
1189
|
|
@@ -1180,7 +1203,7 @@ class ActionView::Helpers::Tags::PasswordField < ::ActionView::Helpers::Tags::Te
|
|
1180
1203
|
end
|
1181
1204
|
|
1182
1205
|
module ActionView::Helpers::Tags::Placeholderable
|
1183
|
-
def initialize(*
|
1206
|
+
def initialize(*_arg0); end
|
1184
1207
|
end
|
1185
1208
|
|
1186
1209
|
class ActionView::Helpers::Tags::RadioButton < ::ActionView::Helpers::Tags::Base
|
@@ -1277,11 +1300,12 @@ class ActionView::Helpers::Tags::WeekField < ::ActionView::Helpers::Tags::Dateti
|
|
1277
1300
|
end
|
1278
1301
|
|
1279
1302
|
module ActionView::Helpers::TextHelper
|
1303
|
+
include(::ActionView::Helpers::CaptureHelper)
|
1280
1304
|
include(::ActionView::Helpers::OutputSafetyHelper)
|
1305
|
+
include(::ActionView::Helpers::TagHelper)
|
1281
1306
|
extend(::ActiveSupport::Concern)
|
1282
1307
|
|
1283
1308
|
include(::ActionView::Helpers::SanitizeHelper)
|
1284
|
-
include(::ActionView::Helpers::TagHelper)
|
1285
1309
|
|
1286
1310
|
def concat(string); end
|
1287
1311
|
def current_cycle(name = T.unsafe(nil)); end
|
@@ -1319,9 +1343,10 @@ class ActionView::Helpers::TextHelper::Cycle
|
|
1319
1343
|
end
|
1320
1344
|
|
1321
1345
|
module ActionView::Helpers::TranslationHelper
|
1322
|
-
|
1323
|
-
|
1346
|
+
include(::ActionView::Helpers::CaptureHelper)
|
1347
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
1324
1348
|
include(::ActionView::Helpers::TagHelper)
|
1349
|
+
extend(::ActiveSupport::Concern)
|
1325
1350
|
|
1326
1351
|
def l(object, **options); end
|
1327
1352
|
def localize(object, **options); end
|
@@ -1330,19 +1355,29 @@ module ActionView::Helpers::TranslationHelper
|
|
1330
1355
|
|
1331
1356
|
private
|
1332
1357
|
|
1358
|
+
def html_escape_translation_options(options); end
|
1359
|
+
def html_safe_translation(translation); end
|
1333
1360
|
def html_safe_translation_key?(key); end
|
1361
|
+
def missing_translation(key, options); end
|
1334
1362
|
def scope_key_by_partial(key); end
|
1363
|
+
|
1364
|
+
class << self
|
1365
|
+
def i18n_option?(name); end
|
1366
|
+
end
|
1335
1367
|
end
|
1336
1368
|
|
1337
1369
|
module ActionView::Helpers::UrlHelper
|
1338
|
-
|
1339
|
-
|
1370
|
+
include(::ActionView::Helpers::CaptureHelper)
|
1371
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
1340
1372
|
include(::ActionView::Helpers::TagHelper)
|
1373
|
+
extend(::ActiveSupport::Concern)
|
1341
1374
|
|
1342
1375
|
mixes_in_class_methods(::ActionView::Helpers::UrlHelper::ClassMethods)
|
1343
1376
|
|
1344
1377
|
def button_to(name = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
1345
|
-
def
|
1378
|
+
def button_to_generates_button_tag; end
|
1379
|
+
def button_to_generates_button_tag=(val); end
|
1380
|
+
def current_page?(options = T.unsafe(nil), check_parameters: T.unsafe(nil), **options_as_kwargs); end
|
1346
1381
|
def link_to(name = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
1347
1382
|
def link_to_if(condition, name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
1348
1383
|
def link_to_unless(condition, name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
|
@@ -1363,6 +1398,11 @@ module ActionView::Helpers::UrlHelper
|
|
1363
1398
|
def method_tag(method); end
|
1364
1399
|
def to_form_params(attribute, namespace = T.unsafe(nil)); end
|
1365
1400
|
def token_tag(token = T.unsafe(nil), form_options: T.unsafe(nil)); end
|
1401
|
+
|
1402
|
+
class << self
|
1403
|
+
def button_to_generates_button_tag; end
|
1404
|
+
def button_to_generates_button_tag=(val); end
|
1405
|
+
end
|
1366
1406
|
end
|
1367
1407
|
|
1368
1408
|
ActionView::Helpers::UrlHelper::BUTTON_TAG_METHOD_VERBS = T.let(T.unsafe(nil), Array)
|
@@ -1390,11 +1430,11 @@ module ActionView::Layouts
|
|
1390
1430
|
|
1391
1431
|
mixes_in_class_methods(::ActionView::Layouts::ClassMethods)
|
1392
1432
|
|
1393
|
-
def initialize(*
|
1433
|
+
def initialize(*_arg0); end
|
1394
1434
|
|
1395
|
-
def _layout_conditions(*
|
1435
|
+
def _layout_conditions(*_arg0, &_arg1); end
|
1396
1436
|
def _normalize_options(options); end
|
1397
|
-
def action_has_layout=(
|
1437
|
+
def action_has_layout=(_arg0); end
|
1398
1438
|
def action_has_layout?; end
|
1399
1439
|
|
1400
1440
|
private
|
@@ -1402,7 +1442,7 @@ module ActionView::Layouts
|
|
1402
1442
|
def _conditional_layout?; end
|
1403
1443
|
def _default_layout(lookup_context, formats, require_layout = T.unsafe(nil)); end
|
1404
1444
|
def _include_layout?(options); end
|
1405
|
-
def _layout(*
|
1445
|
+
def _layout(*_arg0); end
|
1406
1446
|
def _layout_for_option(name); end
|
1407
1447
|
def _normalize_layout(value); end
|
1408
1448
|
end
|
@@ -1461,11 +1501,11 @@ class ActionView::LookupContext
|
|
1461
1501
|
def locale; end
|
1462
1502
|
def locale=(value); end
|
1463
1503
|
def prefixes; end
|
1464
|
-
def prefixes=(
|
1504
|
+
def prefixes=(_arg0); end
|
1465
1505
|
def registered_details; end
|
1466
1506
|
def registered_details=(val); end
|
1467
|
-
def rendered_format
|
1468
|
-
def rendered_format=(
|
1507
|
+
def rendered_format; end
|
1508
|
+
def rendered_format=(_arg0); end
|
1469
1509
|
def with_prepended_formats(formats); end
|
1470
1510
|
|
1471
1511
|
private
|
@@ -1500,7 +1540,7 @@ ActionView::LookupContext::Accessors::DEFAULT_PROCS = T.let(T.unsafe(nil), Hash)
|
|
1500
1540
|
|
1501
1541
|
module ActionView::LookupContext::DetailsCache
|
1502
1542
|
def cache; end
|
1503
|
-
def cache=(
|
1543
|
+
def cache=(_arg0); end
|
1504
1544
|
def details_key; end
|
1505
1545
|
def disable_cache; end
|
1506
1546
|
|
@@ -1510,7 +1550,7 @@ module ActionView::LookupContext::DetailsCache
|
|
1510
1550
|
end
|
1511
1551
|
|
1512
1552
|
class ActionView::LookupContext::DetailsKey
|
1513
|
-
def eql?(
|
1553
|
+
def eql?(_arg0); end
|
1514
1554
|
|
1515
1555
|
class << self
|
1516
1556
|
def clear; end
|
@@ -1527,7 +1567,6 @@ module ActionView::LookupContext::ViewPaths
|
|
1527
1567
|
def exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end
|
1528
1568
|
def find(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end
|
1529
1569
|
def find_all(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end
|
1530
|
-
def find_file(*args, &block); end
|
1531
1570
|
def find_template(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end
|
1532
1571
|
def html_fallback_for_js; end
|
1533
1572
|
def template_exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end
|
@@ -1545,7 +1584,7 @@ module ActionView::LookupContext::ViewPaths
|
|
1545
1584
|
end
|
1546
1585
|
|
1547
1586
|
class ActionView::MissingTemplate < ::ActionView::ActionViewError
|
1548
|
-
def initialize(paths, path, prefixes, partial, details, *
|
1587
|
+
def initialize(paths, path, prefixes, partial, details, *_arg5); end
|
1549
1588
|
|
1550
1589
|
def path; end
|
1551
1590
|
end
|
@@ -1581,7 +1620,7 @@ class ActionView::OptimizedFileSystemResolver < ::ActionView::FileSystemResolver
|
|
1581
1620
|
end
|
1582
1621
|
|
1583
1622
|
class ActionView::OutputBuffer < ::ActiveSupport::SafeBuffer
|
1584
|
-
def initialize(*
|
1623
|
+
def initialize(*_arg0); end
|
1585
1624
|
|
1586
1625
|
def <<(value); end
|
1587
1626
|
def append=(value); end
|
@@ -1621,7 +1660,7 @@ class ActionView::PartialRenderer < ::ActionView::AbstractRenderer
|
|
1621
1660
|
end
|
1622
1661
|
|
1623
1662
|
class ActionView::PathResolver < ::ActionView::Resolver
|
1624
|
-
def initialize
|
1663
|
+
def initialize; end
|
1625
1664
|
|
1626
1665
|
def clear_cache; end
|
1627
1666
|
|
@@ -1651,21 +1690,20 @@ class ActionView::PathSet
|
|
1651
1690
|
|
1652
1691
|
def +(array); end
|
1653
1692
|
def <<(*args); end
|
1654
|
-
def [](*
|
1693
|
+
def [](*_arg0, &_arg1); end
|
1655
1694
|
def compact; end
|
1656
1695
|
def concat(*args); end
|
1657
|
-
def each(*
|
1696
|
+
def each(*_arg0, &_arg1); end
|
1658
1697
|
def exists?(path, prefixes, *args); end
|
1659
1698
|
def find(*args); end
|
1660
1699
|
def find_all(path, prefixes = T.unsafe(nil), *args); end
|
1661
1700
|
def find_all_with_query(query); end
|
1662
|
-
def
|
1663
|
-
def include?(*args, &block); end
|
1701
|
+
def include?(*_arg0, &_arg1); end
|
1664
1702
|
def insert(*args); end
|
1665
1703
|
def paths; end
|
1666
|
-
def pop(*
|
1704
|
+
def pop(*_arg0, &_arg1); end
|
1667
1705
|
def push(*args); end
|
1668
|
-
def size(*
|
1706
|
+
def size(*_arg0, &_arg1); end
|
1669
1707
|
def to_ary; end
|
1670
1708
|
def unshift(*args); end
|
1671
1709
|
|
@@ -1679,10 +1717,9 @@ end
|
|
1679
1717
|
class ActionView::Railtie < ::Rails::Engine
|
1680
1718
|
end
|
1681
1719
|
|
1682
|
-
ActionView::Railtie::NULL_OPTION = T.let(T.unsafe(nil), Object)
|
1683
|
-
|
1684
1720
|
module ActionView::RecordIdentifier
|
1685
1721
|
include(::ActionView::ModelNaming)
|
1722
|
+
extend(::ActionView::ModelNaming)
|
1686
1723
|
extend(::ActionView::RecordIdentifier)
|
1687
1724
|
extend(::ActionView::ModelNaming)
|
1688
1725
|
|
@@ -1703,7 +1740,7 @@ class ActionView::Renderer
|
|
1703
1740
|
|
1704
1741
|
def cache_hits; end
|
1705
1742
|
def lookup_context; end
|
1706
|
-
def lookup_context=(
|
1743
|
+
def lookup_context=(_arg0); end
|
1707
1744
|
def render(context, options); end
|
1708
1745
|
def render_body(context, options); end
|
1709
1746
|
def render_partial(context, options, &block); end
|
@@ -1727,7 +1764,7 @@ module ActionView::Rendering
|
|
1727
1764
|
|
1728
1765
|
def initialize; end
|
1729
1766
|
|
1730
|
-
def process(*
|
1767
|
+
def process(*_arg0); end
|
1731
1768
|
def render_to_body(options = T.unsafe(nil)); end
|
1732
1769
|
def rendered_format; end
|
1733
1770
|
def view_context; end
|
@@ -1754,10 +1791,9 @@ class ActionView::Resolver
|
|
1754
1791
|
|
1755
1792
|
def caching; end
|
1756
1793
|
def caching=(val); end
|
1757
|
-
def caching?(*
|
1794
|
+
def caching?(*_arg0, &_arg1); end
|
1758
1795
|
def clear_cache; end
|
1759
1796
|
def find_all(name, prefix = T.unsafe(nil), partial = T.unsafe(nil), details = T.unsafe(nil), key = T.unsafe(nil), locals = T.unsafe(nil)); end
|
1760
|
-
def find_all_anywhere(*args, &block); end
|
1761
1797
|
def find_all_with_query(query); end
|
1762
1798
|
|
1763
1799
|
private
|
@@ -1817,6 +1853,11 @@ class ActionView::Resolver::Path
|
|
1817
1853
|
end
|
1818
1854
|
end
|
1819
1855
|
|
1856
|
+
class ActionView::Resolver::PathParser
|
1857
|
+
def build_path_regex; end
|
1858
|
+
def parse(path); end
|
1859
|
+
end
|
1860
|
+
|
1820
1861
|
module ActionView::RoutingUrlFor
|
1821
1862
|
def url_for(options = T.unsafe(nil)); end
|
1822
1863
|
def url_options; end
|
@@ -1881,33 +1922,24 @@ class ActionView::Template
|
|
1881
1922
|
extend(::ActiveSupport::Autoload)
|
1882
1923
|
extend(::ActionView::Template::Handlers)
|
1883
1924
|
|
1884
|
-
def initialize(source, identifier, handler, format: T.unsafe(nil), variant: T.unsafe(nil),
|
1925
|
+
def initialize(source, identifier, handler, locals:, format: T.unsafe(nil), variant: T.unsafe(nil), virtual_path: T.unsafe(nil)); end
|
1885
1926
|
|
1886
1927
|
def encode!; end
|
1887
1928
|
def format; end
|
1888
|
-
def formats(*args, &block); end
|
1889
|
-
def formats=(*args, &block); end
|
1890
1929
|
def handler; end
|
1891
1930
|
def identifier; end
|
1892
1931
|
def inspect; end
|
1893
1932
|
def locals; end
|
1894
|
-
def locals=(*args, &block); end
|
1895
1933
|
def marshal_dump; end
|
1896
1934
|
def marshal_load(array); end
|
1897
|
-
def
|
1898
|
-
def refresh(*args, &block); end
|
1899
|
-
def render(view, locals, buffer = T.unsafe(nil), &block); end
|
1935
|
+
def render(view, locals, buffer = T.unsafe(nil), add_to_stack: T.unsafe(nil), &block); end
|
1900
1936
|
def short_identifier; end
|
1901
1937
|
def source; end
|
1902
1938
|
def supports_streaming?; end
|
1903
1939
|
def type; end
|
1904
|
-
def updated_at(*args, &block); end
|
1905
1940
|
def variable; end
|
1906
1941
|
def variant; end
|
1907
|
-
def variants(*args, &block); end
|
1908
|
-
def variants=(*args, &block); end
|
1909
1942
|
def virtual_path; end
|
1910
|
-
def virtual_path=(*args, &block); end
|
1911
1943
|
|
1912
1944
|
private
|
1913
1945
|
|
@@ -1920,11 +1952,6 @@ class ActionView::Template
|
|
1920
1952
|
def instrument_render_template(&block); end
|
1921
1953
|
def locals_code; end
|
1922
1954
|
def method_name; end
|
1923
|
-
|
1924
|
-
class << self
|
1925
|
-
def finalize_compiled_template_methods; end
|
1926
|
-
def finalize_compiled_template_methods=(_); end
|
1927
|
-
end
|
1928
1955
|
end
|
1929
1956
|
|
1930
1957
|
class ActionView::Template::Error < ::ActionView::ActionViewError
|
@@ -1947,10 +1974,9 @@ end
|
|
1947
1974
|
ActionView::Template::Error::SOURCE_CODE_RADIUS = T.let(T.unsafe(nil), Integer)
|
1948
1975
|
|
1949
1976
|
class ActionView::Template::HTML
|
1950
|
-
def initialize(string, type
|
1977
|
+
def initialize(string, type); end
|
1951
1978
|
|
1952
1979
|
def format; end
|
1953
|
-
def formats(*args, &block); end
|
1954
1980
|
def identifier; end
|
1955
1981
|
def inspect; end
|
1956
1982
|
def render(*args); end
|
@@ -1975,7 +2001,7 @@ end
|
|
1975
2001
|
class ActionView::Template::Handlers::Builder
|
1976
2002
|
def call(template, source); end
|
1977
2003
|
def default_format; end
|
1978
|
-
def default_format=(
|
2004
|
+
def default_format=(_arg0); end
|
1979
2005
|
def default_format?; end
|
1980
2006
|
|
1981
2007
|
private
|
@@ -1992,23 +2018,19 @@ end
|
|
1992
2018
|
class ActionView::Template::Handlers::ERB
|
1993
2019
|
def call(template, source); end
|
1994
2020
|
def erb_implementation; end
|
1995
|
-
def erb_implementation=(
|
2021
|
+
def erb_implementation=(_arg0); end
|
1996
2022
|
def erb_implementation?; end
|
1997
2023
|
def erb_trim_mode; end
|
1998
|
-
def erb_trim_mode=(
|
2024
|
+
def erb_trim_mode=(_arg0); end
|
1999
2025
|
def erb_trim_mode?; end
|
2000
2026
|
def escape_ignore_list; end
|
2001
|
-
def escape_ignore_list=(
|
2027
|
+
def escape_ignore_list=(_arg0); end
|
2002
2028
|
def escape_ignore_list?; end
|
2003
|
-
def escape_whitelist(*args, &block); end
|
2004
|
-
def escape_whitelist=(*args, &block); end
|
2005
2029
|
def handles_encoding?; end
|
2006
|
-
def start_line(template); end
|
2007
2030
|
def supports_streaming?; end
|
2008
2031
|
|
2009
2032
|
private
|
2010
2033
|
|
2011
|
-
def annotate?(template); end
|
2012
2034
|
def valid_encoding(string, encoding); end
|
2013
2035
|
|
2014
2036
|
class << self
|
@@ -2022,8 +2044,6 @@ class ActionView::Template::Handlers::ERB
|
|
2022
2044
|
def escape_ignore_list; end
|
2023
2045
|
def escape_ignore_list=(value); end
|
2024
2046
|
def escape_ignore_list?; end
|
2025
|
-
def escape_whitelist(*args, &block); end
|
2026
|
-
def escape_whitelist=(*args, &block); end
|
2027
2047
|
end
|
2028
2048
|
end
|
2029
2049
|
|
@@ -2049,10 +2069,6 @@ class ActionView::Template::Handlers::Html < ::ActionView::Template::Handlers::R
|
|
2049
2069
|
def call(template, source); end
|
2050
2070
|
end
|
2051
2071
|
|
2052
|
-
class ActionView::Template::Handlers::LegacyHandlerWrapper < ::SimpleDelegator
|
2053
|
-
def call(view, source); end
|
2054
|
-
end
|
2055
|
-
|
2056
2072
|
class ActionView::Template::Handlers::Raw
|
2057
2073
|
def call(template, source); end
|
2058
2074
|
end
|
@@ -2063,22 +2079,23 @@ end
|
|
2063
2079
|
|
2064
2080
|
ActionView::Template::Inline::Finalizer = T.let(T.unsafe(nil), Proc)
|
2065
2081
|
|
2066
|
-
class ActionView::Template::LegacyTemplate
|
2067
|
-
def initialize(template, source); end
|
2068
|
-
|
2069
|
-
def source; end
|
2070
|
-
end
|
2071
|
-
|
2072
2082
|
class ActionView::Template::RawFile
|
2073
2083
|
def initialize(filename); end
|
2074
2084
|
|
2075
2085
|
def format; end
|
2076
|
-
def format=(
|
2077
|
-
def formats(*args, &block); end
|
2086
|
+
def format=(_arg0); end
|
2078
2087
|
def identifier; end
|
2079
2088
|
def render(*args); end
|
2080
2089
|
def type; end
|
2081
|
-
def type=(
|
2090
|
+
def type=(_arg0); end
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
class ActionView::Template::Renderable
|
2094
|
+
def initialize(renderable); end
|
2095
|
+
|
2096
|
+
def format; end
|
2097
|
+
def identifier; end
|
2098
|
+
def render(context, *args); end
|
2082
2099
|
end
|
2083
2100
|
|
2084
2101
|
module ActionView::Template::Sources
|
@@ -2095,13 +2112,12 @@ class ActionView::Template::Text
|
|
2095
2112
|
def initialize(string); end
|
2096
2113
|
|
2097
2114
|
def format; end
|
2098
|
-
def formats(*args, &block); end
|
2099
2115
|
def identifier; end
|
2100
2116
|
def inspect; end
|
2101
2117
|
def render(*args); end
|
2102
2118
|
def to_str; end
|
2103
2119
|
def type; end
|
2104
|
-
def type=(
|
2120
|
+
def type=(_arg0); end
|
2105
2121
|
end
|
2106
2122
|
|
2107
2123
|
class ActionView::Template::Types
|
@@ -2149,34 +2165,34 @@ class ActionView::TemplateRenderer < ::ActionView::AbstractRenderer
|
|
2149
2165
|
end
|
2150
2166
|
|
2151
2167
|
class ActionView::TestCase < ::ActiveSupport::TestCase
|
2168
|
+
include(::ActionDispatch::TestProcess::FixtureFile)
|
2169
|
+
include(::ActionDispatch::TestProcess)
|
2170
|
+
include(::ActionDispatch::Assertions::ResponseAssertions)
|
2171
|
+
include(::ActionDispatch::Assertions::RoutingAssertions)
|
2152
2172
|
include(::Rails::Dom::Testing::Assertions::DomAssertions)
|
2153
2173
|
include(::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable)
|
2154
2174
|
include(::Rails::Dom::Testing::Assertions::SelectorAssertions)
|
2155
2175
|
include(::Rails::Dom::Testing::Assertions)
|
2156
|
-
include(::ActionDispatch::Assertions::ResponseAssertions)
|
2157
|
-
include(::ActionDispatch::Assertions::RoutingAssertions)
|
2158
|
-
include(::ActionDispatch::Assertions)
|
2159
2176
|
include(::AbstractController::Helpers)
|
2160
|
-
include(::ActionView::Helpers::CaptureHelper)
|
2161
|
-
include(::ActionView::Helpers::ControllerHelper)
|
2162
|
-
include(::ActionView::Helpers::CspHelper)
|
2163
|
-
include(::ActionView::Helpers::CsrfHelper)
|
2164
|
-
include(::ActionView::Helpers::DateHelper)
|
2165
|
-
include(::ActionView::Helpers::OutputSafetyHelper)
|
2166
|
-
include(::ActionView::Helpers::TagHelper)
|
2167
2177
|
include(::ActiveSupport::Benchmarkable)
|
2168
2178
|
include(::ActionView::Helpers::ActiveModelHelper)
|
2169
2179
|
include(::ActionView::Helpers::AssetUrlHelper)
|
2170
|
-
include(::ActionView::Helpers::
|
2180
|
+
include(::ActionView::Helpers::CaptureHelper)
|
2181
|
+
include(::ActionView::Helpers::OutputSafetyHelper)
|
2182
|
+
include(::ActionView::Helpers::TagHelper)
|
2171
2183
|
include(::ActionView::Helpers::UrlHelper)
|
2184
|
+
include(::ActionView::Helpers::SanitizeHelper)
|
2185
|
+
include(::ActionView::Helpers::AssetTagHelper)
|
2172
2186
|
include(::ActionView::Helpers::AtomFeedHelper)
|
2173
2187
|
include(::ActionView::Helpers::CacheHelper)
|
2174
|
-
include(::ActionView::Helpers::
|
2188
|
+
include(::ActionView::Helpers::ControllerHelper)
|
2189
|
+
include(::ActionView::Helpers::CspHelper)
|
2190
|
+
include(::ActionView::Helpers::CsrfHelper)
|
2191
|
+
include(::ActionView::Helpers::DateHelper)
|
2175
2192
|
include(::ActionView::Helpers::DebugHelper)
|
2176
2193
|
include(::ActionView::Helpers::TextHelper)
|
2177
2194
|
include(::ActionView::Helpers::FormTagHelper)
|
2178
|
-
include(::ActionDispatch::
|
2179
|
-
include(::ActionDispatch::TestProcess)
|
2195
|
+
include(::ActionDispatch::Assertions)
|
2180
2196
|
include(::ActionController::TemplateAssertions)
|
2181
2197
|
include(::ActionView::Context)
|
2182
2198
|
include(::ActionDispatch::Routing::PolymorphicRoutes)
|
@@ -2199,11 +2215,8 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
|
|
2199
2215
|
extend(::ActionView::TestCase::Behavior::ClassMethods)
|
2200
2216
|
|
2201
2217
|
def _helper_methods; end
|
2202
|
-
def _helper_methods=(
|
2218
|
+
def _helper_methods=(_arg0); end
|
2203
2219
|
def _helper_methods?; end
|
2204
|
-
def _helpers; end
|
2205
|
-
def _helpers=(_); end
|
2206
|
-
def _helpers?; end
|
2207
2220
|
def debug_missing_translation; end
|
2208
2221
|
def debug_missing_translation=(val); end
|
2209
2222
|
|
@@ -2213,8 +2226,6 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
|
|
2213
2226
|
def _helper_methods=(value); end
|
2214
2227
|
def _helper_methods?; end
|
2215
2228
|
def _helpers; end
|
2216
|
-
def _helpers=(value); end
|
2217
|
-
def _helpers?; end
|
2218
2229
|
def debug_missing_translation; end
|
2219
2230
|
def debug_missing_translation=(val); end
|
2220
2231
|
end
|
@@ -2223,6 +2234,13 @@ end
|
|
2223
2234
|
module ActionView::TestCase::Behavior
|
2224
2235
|
include(::ActionDispatch::TestProcess::FixtureFile)
|
2225
2236
|
include(::ActionDispatch::TestProcess)
|
2237
|
+
include(::ActionDispatch::Assertions::ResponseAssertions)
|
2238
|
+
include(::ActionDispatch::Assertions::RoutingAssertions)
|
2239
|
+
include(::Rails::Dom::Testing::Assertions::DomAssertions)
|
2240
|
+
include(::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable)
|
2241
|
+
include(::Rails::Dom::Testing::Assertions::SelectorAssertions)
|
2242
|
+
include(::Rails::Dom::Testing::Assertions)
|
2243
|
+
include(::ActionDispatch::Assertions)
|
2226
2244
|
include(::ActionController::TemplateAssertions)
|
2227
2245
|
include(::ActionView::Context)
|
2228
2246
|
include(::ActionDispatch::Routing::PolymorphicRoutes)
|
@@ -2232,10 +2250,7 @@ module ActionView::TestCase::Behavior
|
|
2232
2250
|
extend(::ActiveSupport::Concern)
|
2233
2251
|
|
2234
2252
|
include(::Rails::Dom::Testing::Assertions)
|
2235
|
-
include(::ActionDispatch::Assertions)
|
2236
2253
|
include(::AbstractController::Helpers)
|
2237
|
-
include(::ActionView::Helpers::TagHelper)
|
2238
|
-
include(::ActionView::Helpers::AssetTagHelper)
|
2239
2254
|
include(::ActionView::Helpers::UrlHelper)
|
2240
2255
|
include(::ActionView::Helpers::SanitizeHelper)
|
2241
2256
|
include(::ActionView::Helpers::TextHelper)
|
@@ -2250,13 +2265,13 @@ module ActionView::TestCase::Behavior
|
|
2250
2265
|
def _routes; end
|
2251
2266
|
def config; end
|
2252
2267
|
def controller; end
|
2253
|
-
def controller=(
|
2254
|
-
def lookup_context(*
|
2268
|
+
def controller=(_arg0); end
|
2269
|
+
def lookup_context(*_arg0, &_arg1); end
|
2255
2270
|
def output_buffer; end
|
2256
|
-
def output_buffer=(
|
2271
|
+
def output_buffer=(_arg0); end
|
2257
2272
|
def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil), &block); end
|
2258
2273
|
def rendered; end
|
2259
|
-
def rendered=(
|
2274
|
+
def rendered=(_arg0); end
|
2260
2275
|
def rendered_views; end
|
2261
2276
|
def setup_with_controller; end
|
2262
2277
|
|
@@ -2265,10 +2280,8 @@ module ActionView::TestCase::Behavior
|
|
2265
2280
|
def _user_defined_ivars; end
|
2266
2281
|
def _view; end
|
2267
2282
|
def document_root_element; end
|
2268
|
-
def make_test_case_available_to_view!; end
|
2269
2283
|
def method_missing(selector, *args); end
|
2270
2284
|
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
|
2271
|
-
def say_no_to_protect_against_forgery!; end
|
2272
2285
|
def view; end
|
2273
2286
|
def view_assigns; end
|
2274
2287
|
end
|
@@ -2276,9 +2289,9 @@ end
|
|
2276
2289
|
module ActionView::TestCase::Behavior::ClassMethods
|
2277
2290
|
def determine_default_helper_class(name); end
|
2278
2291
|
def helper_class; end
|
2279
|
-
def helper_class=(
|
2292
|
+
def helper_class=(_arg0); end
|
2280
2293
|
def helper_method(*methods); end
|
2281
|
-
def new(*
|
2294
|
+
def new(*_arg0); end
|
2282
2295
|
def tests(helper_class); end
|
2283
2296
|
|
2284
2297
|
private
|
@@ -2291,7 +2304,7 @@ ActionView::TestCase::Behavior::INTERNAL_IVARS = T.let(T.unsafe(nil), Array)
|
|
2291
2304
|
module ActionView::TestCase::Behavior::Locals
|
2292
2305
|
def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil)); end
|
2293
2306
|
def rendered_views; end
|
2294
|
-
def rendered_views=(
|
2307
|
+
def rendered_views=(_arg0); end
|
2295
2308
|
end
|
2296
2309
|
|
2297
2310
|
class ActionView::TestCase::Behavior::RenderedViewsCollection
|
@@ -2304,6 +2317,8 @@ class ActionView::TestCase::Behavior::RenderedViewsCollection
|
|
2304
2317
|
end
|
2305
2318
|
|
2306
2319
|
module ActionView::TestCase::HelperMethods
|
2320
|
+
def _test_case; end
|
2321
|
+
def protect_against_forgery?; end
|
2307
2322
|
end
|
2308
2323
|
|
2309
2324
|
class ActionView::TestCase::TestController < ::ActionController::Base
|
@@ -2314,27 +2329,23 @@ class ActionView::TestCase::TestController < ::ActionController::Base
|
|
2314
2329
|
|
2315
2330
|
def controller_path=(path); end
|
2316
2331
|
def params; end
|
2317
|
-
def params=(
|
2332
|
+
def params=(_arg0); end
|
2318
2333
|
def request; end
|
2319
|
-
def request=(
|
2334
|
+
def request=(_arg0); end
|
2320
2335
|
def response; end
|
2321
|
-
def response=(
|
2336
|
+
def response=(_arg0); end
|
2322
2337
|
|
2323
2338
|
private
|
2324
2339
|
|
2325
2340
|
def _layout(lookup_context, formats); end
|
2326
2341
|
|
2327
2342
|
class << self
|
2328
|
-
def
|
2329
|
-
def controller_path=(
|
2343
|
+
def controller_path; end
|
2344
|
+
def controller_path=(_arg0); end
|
2330
2345
|
def middleware_stack; end
|
2331
2346
|
end
|
2332
2347
|
end
|
2333
2348
|
|
2334
|
-
module ActionView::TestCase::TestController::HelperMethods
|
2335
|
-
include(::ActionController::Base::HelperMethods)
|
2336
|
-
end
|
2337
|
-
|
2338
2349
|
class ActionView::UnboundTemplate
|
2339
2350
|
def initialize(source, identifier, handler, options); end
|
2340
2351
|
|
@@ -2364,17 +2375,17 @@ module ActionView::ViewPaths
|
|
2364
2375
|
mixes_in_class_methods(::ActionView::ViewPaths::ClassMethods)
|
2365
2376
|
|
2366
2377
|
def _prefixes; end
|
2367
|
-
def any_templates?(*
|
2378
|
+
def any_templates?(*_arg0, &_arg1); end
|
2368
2379
|
def append_view_path(path); end
|
2369
2380
|
def details_for_lookup; end
|
2370
|
-
def formats(*
|
2381
|
+
def formats(*_arg0, &_arg1); end
|
2371
2382
|
def formats=(arg); end
|
2372
|
-
def locale(*
|
2383
|
+
def locale(*_arg0, &_arg1); end
|
2373
2384
|
def locale=(arg); end
|
2374
2385
|
def lookup_context; end
|
2375
2386
|
def prepend_view_path(path); end
|
2376
|
-
def template_exists?(*
|
2377
|
-
def view_paths(*
|
2387
|
+
def template_exists?(*_arg0, &_arg1); end
|
2388
|
+
def view_paths(*_arg0, &_arg1); end
|
2378
2389
|
|
2379
2390
|
class << self
|
2380
2391
|
def all_view_paths; end
|