packwerk 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -5
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +129 -111
- data/README.md +8 -1
- data/USAGE.md +17 -16
- data/dev.yml +1 -1
- data/exe/packwerk +1 -1
- data/gemfiles/Gemfile-rails-6-0 +22 -0
- data/lib/packwerk/application_load_paths.rb +3 -2
- data/lib/packwerk/application_validator.rb +83 -67
- data/lib/packwerk/association_inspector.rb +23 -11
- data/lib/packwerk/checker.rb +4 -7
- data/lib/packwerk/cli.rb +32 -100
- data/lib/packwerk/configuration.rb +10 -2
- data/lib/packwerk/const_node_inspector.rb +13 -14
- data/lib/packwerk/constant_discovery.rb +2 -0
- data/lib/packwerk/constant_name_inspector.rb +0 -1
- data/lib/packwerk/dependency_checker.rb +12 -17
- data/lib/packwerk/deprecated_references.rb +7 -9
- data/lib/packwerk/file_processor.rb +0 -4
- data/lib/packwerk/formatters/offenses_formatter.rb +43 -0
- data/lib/packwerk/formatters/progress_formatter.rb +9 -4
- data/lib/packwerk/generators/configuration_file.rb +0 -1
- data/lib/packwerk/inflector.rb +0 -2
- data/lib/packwerk/node.rb +9 -2
- data/lib/packwerk/node_processor.rb +15 -32
- data/lib/packwerk/node_processor_factory.rb +0 -5
- data/lib/packwerk/node_visitor.rb +1 -4
- data/lib/packwerk/offense.rb +2 -8
- data/lib/packwerk/offense_collection.rb +84 -0
- data/lib/packwerk/offenses_formatter.rb +15 -0
- data/lib/packwerk/output_style.rb +20 -0
- data/lib/packwerk/output_styles/coloured.rb +29 -0
- data/lib/packwerk/output_styles/plain.rb +26 -0
- data/lib/packwerk/package.rb +8 -0
- data/lib/packwerk/package_set.rb +2 -3
- data/lib/packwerk/parse_run.rb +104 -0
- data/lib/packwerk/parsed_constant_definitions.rb +2 -4
- data/lib/packwerk/parsers/erb.rb +0 -2
- data/lib/packwerk/parsers/factory.rb +1 -3
- data/lib/packwerk/parsers.rb +0 -2
- data/lib/packwerk/privacy_checker.rb +22 -17
- data/lib/packwerk/reference_extractor.rb +0 -8
- data/lib/packwerk/reference_offense.rb +49 -0
- data/lib/packwerk/result.rb +9 -0
- data/lib/packwerk/run_context.rb +4 -21
- data/lib/packwerk/sanity_checker.rb +1 -3
- data/lib/packwerk/spring_command.rb +1 -1
- data/lib/packwerk/version.rb +1 -1
- data/lib/packwerk/violation_type.rb +0 -2
- data/lib/packwerk.rb +73 -34
- data/library.yml +1 -1
- data/packwerk.gemspec +1 -0
- data/service.yml +1 -4
- 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.20.1.rbi +117 -0
- 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/{parallel@1.19.1.rbi → regexp_parser@2.1.1.rbi} +2 -2
- 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
- data/sorbet/tapioca/require.rb +1 -0
- metadata +78 -61
- data/lib/packwerk/cache_deprecated_references.rb +0 -47
- data/lib/packwerk/checking_deprecated_references.rb +0 -40
- data/lib/packwerk/commands/detect_stale_violations_command.rb +0 -63
- data/lib/packwerk/commands/offense_progress_marker.rb +0 -24
- data/lib/packwerk/detect_stale_deprecated_references.rb +0 -14
- data/lib/packwerk/output_styles.rb +0 -41
- data/lib/packwerk/reference_lister.rb +0 -23
- data/lib/packwerk/updating_deprecated_references.rb +0 -14
- 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
|