packwerk 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +29 -20
  3. data/.github/workflows/cla.yml +22 -0
  4. data/.rubocop.yml +48 -19
  5. data/Gemfile +7 -2
  6. data/Gemfile.lock +201 -175
  7. data/README.md +1 -1
  8. data/RESOLVING_VIOLATIONS.md +81 -0
  9. data/Rakefile +1 -1
  10. data/USAGE.md +14 -5
  11. data/bin/m +1 -1
  12. data/bin/rake +1 -1
  13. data/bin/rubocop +1 -1
  14. data/bin/srb +1 -1
  15. data/bin/tapioca +1 -1
  16. data/gemfiles/Gemfile-rails-6-0 +1 -1
  17. data/gemfiles/Gemfile-rails-6-1 +22 -0
  18. data/lib/packwerk/application_validator.rb +7 -6
  19. data/lib/packwerk/association_inspector.rb +17 -15
  20. data/lib/packwerk/cache.rb +36 -29
  21. data/lib/packwerk/cli.rb +5 -6
  22. data/lib/packwerk/const_node_inspector.rb +8 -7
  23. data/lib/packwerk/constant_name_inspector.rb +2 -2
  24. data/lib/packwerk/deprecated_references.rb +34 -19
  25. data/lib/packwerk/file_processor.rb +14 -14
  26. data/lib/packwerk/files_for_processing.rb +27 -31
  27. data/lib/packwerk/formatters/offenses_formatter.rb +3 -3
  28. data/lib/packwerk/formatters/progress_formatter.rb +2 -2
  29. data/lib/packwerk/node.rb +1 -294
  30. data/lib/packwerk/node_helpers.rb +335 -0
  31. data/lib/packwerk/node_processor.rb +6 -5
  32. data/lib/packwerk/node_processor_factory.rb +3 -3
  33. data/lib/packwerk/node_visitor.rb +1 -1
  34. data/lib/packwerk/offense_collection.rb +6 -3
  35. data/lib/packwerk/offenses_formatter.rb +2 -2
  36. data/lib/packwerk/package.rb +3 -0
  37. data/lib/packwerk/package_set.rb +2 -0
  38. data/lib/packwerk/parse_run.rb +15 -13
  39. data/lib/packwerk/parsed_constant_definitions.rb +23 -20
  40. data/lib/packwerk/parsers/erb.rb +3 -3
  41. data/lib/packwerk/reference_checking/checkers/checker.rb +16 -3
  42. data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +16 -0
  43. data/lib/packwerk/reference_checking/checkers/privacy_checker.rb +18 -0
  44. data/lib/packwerk/reference_checking/reference_checker.rb +3 -1
  45. data/lib/packwerk/reference_extractor.rb +51 -48
  46. data/lib/packwerk/reference_offense.rb +3 -27
  47. data/lib/packwerk/run_context.rb +3 -3
  48. data/lib/packwerk/spring_command.rb +1 -1
  49. data/lib/packwerk/version.rb +1 -1
  50. data/lib/packwerk.rb +1 -0
  51. data/packwerk.gemspec +4 -12
  52. data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +2754 -0
  53. data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +1496 -0
  54. data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +2362 -0
  55. data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +19397 -0
  56. data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +1569 -0
  57. data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +14907 -0
  58. data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +2553 -0
  59. data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +5999 -0
  60. data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +37832 -0
  61. data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +2321 -0
  62. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +18818 -0
  63. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +11722 -0
  64. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +90 -0
  65. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
  66. data/sorbet/rbi/gems/digest@3.1.0.rbi +189 -0
  67. data/sorbet/rbi/gems/erubi@1.11.0.rbi +140 -0
  68. data/sorbet/rbi/gems/globalid@1.0.0.rbi +572 -0
  69. data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
  70. data/sorbet/rbi/gems/json@2.6.2.rbi +1548 -0
  71. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +8 -0
  72. data/sorbet/rbi/gems/loofah@2.18.0.rbi +877 -0
  73. data/sorbet/rbi/gems/m@1.6.0.rbi +257 -0
  74. data/sorbet/rbi/gems/marcel@1.0.2.rbi +220 -0
  75. data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +170 -0
  76. data/sorbet/rbi/gems/mini_portile2@2.8.0.rbi +8 -0
  77. data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +104 -0
  78. data/sorbet/rbi/gems/minitest@5.16.2.rbi +2136 -0
  79. data/sorbet/rbi/gems/mocha@1.14.0.rbi +4177 -0
  80. data/sorbet/rbi/gems/net-imap@0.2.3.rbi +2147 -0
  81. data/sorbet/rbi/gems/net-pop@0.1.1.rbi +926 -0
  82. data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +11 -0
  83. data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +1108 -0
  84. data/sorbet/rbi/gems/netrc@0.11.0.rbi +153 -0
  85. data/sorbet/rbi/gems/nio4r@2.5.8.rbi +292 -0
  86. data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +6478 -0
  87. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  88. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +9029 -0
  89. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +8 -0
  90. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  91. data/sorbet/rbi/gems/racc@1.6.0.rbi +152 -0
  92. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +953 -0
  93. data/sorbet/rbi/gems/rack@2.2.4.rbi +5636 -0
  94. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +688 -0
  95. data/sorbet/rbi/gems/rails@7.0.3.1.rbi +8 -0
  96. data/sorbet/rbi/gems/railties@7.0.3.1.rbi +3507 -0
  97. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +392 -0
  98. data/sorbet/rbi/gems/rake@13.0.6.rbi +2924 -0
  99. data/sorbet/rbi/gems/rbi@0.0.15.rbi +3007 -0
  100. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3383 -0
  101. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4714 -0
  102. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +6961 -0
  103. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +2986 -0
  104. data/sorbet/rbi/gems/{rubocop-shopify@2.0.1.rbi → rubocop-shopify@2.9.0.rbi} +4 -4
  105. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +992 -0
  106. data/sorbet/rbi/gems/rubocop@1.34.1.rbi +51820 -0
  107. data/sorbet/rbi/gems/ruby-lsp@0.2.1.rbi +11 -0
  108. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +474 -0
  109. data/sorbet/rbi/gems/spoom@1.1.11.rbi +2181 -0
  110. data/sorbet/rbi/gems/spring@4.0.0.rbi +411 -0
  111. data/sorbet/rbi/gems/strscan@3.0.4.rbi +8 -0
  112. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +8 -0
  113. data/sorbet/rbi/gems/tapioca@0.9.2.rbi +3181 -0
  114. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  115. data/sorbet/rbi/gems/timeout@0.3.0.rbi +142 -0
  116. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5896 -0
  117. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +48 -0
  118. data/sorbet/rbi/gems/unparser@0.6.5.rbi +4529 -0
  119. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2582 -0
  120. data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +993 -0
  121. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +388 -0
  122. data/sorbet/rbi/gems/yard@0.9.28.rbi +18242 -0
  123. data/sorbet/rbi/gems/zeitwerk@2.6.0.rbi +867 -0
  124. data/sorbet/rbi/shims/psych.rbi +5 -0
  125. data/sorbet/tapioca/require.rb +2 -3
  126. metadata +88 -157
  127. data/.github/probots.yml +0 -2
  128. data/library.yml +0 -6
  129. data/service.yml +0 -1
  130. data/sorbet/rbi/gems/actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -860
  131. data/sorbet/rbi/gems/actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -568
  132. data/sorbet/rbi/gems/actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -587
  133. data/sorbet/rbi/gems/actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -5314
  134. data/sorbet/rbi/gems/actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -699
  135. data/sorbet/rbi/gems/actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -2515
  136. data/sorbet/rbi/gems/activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -624
  137. data/sorbet/rbi/gems/activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -1248
  138. data/sorbet/rbi/gems/activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -8363
  139. data/sorbet/rbi/gems/activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -876
  140. data/sorbet/rbi/gems/activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -3987
  141. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -40
  142. data/sorbet/rbi/gems/commander@4.5.2.rbi +0 -8
  143. data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +0 -1969
  144. data/sorbet/rbi/gems/constant_resolver@0.1.5.rbi +0 -26
  145. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -41
  146. data/sorbet/rbi/gems/globalid@0.4.2.rbi +0 -178
  147. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  148. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -600
  149. data/sorbet/rbi/gems/loofah@2.9.0.rbi +0 -274
  150. data/sorbet/rbi/gems/m@1.5.1.rbi +0 -108
  151. data/sorbet/rbi/gems/marcel@1.0.0.rbi +0 -70
  152. data/sorbet/rbi/gems/mini_mime@1.0.3.rbi +0 -71
  153. data/sorbet/rbi/gems/minitest-focus@1.2.1.rbi +0 -8
  154. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -544
  155. data/sorbet/rbi/gems/mocha@1.12.0.rbi +0 -953
  156. data/sorbet/rbi/gems/nio4r@2.5.7.rbi +0 -90
  157. data/sorbet/rbi/gems/nokogiri@1.11.2.rbi +0 -1647
  158. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -117
  159. data/sorbet/rbi/gems/parlour@6.0.0.rbi +0 -1272
  160. data/sorbet/rbi/gems/parser@3.0.0.0.rbi +0 -1745
  161. data/sorbet/rbi/gems/pry@0.14.0.rbi +0 -8
  162. data/sorbet/rbi/gems/psych@3.3.2.rbi +0 -24
  163. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -57
  164. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -335
  165. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1718
  166. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -213
  167. data/sorbet/rbi/gems/rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -8
  168. data/sorbet/rbi/gems/railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -880
  169. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -155
  170. data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -837
  171. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
  172. data/sorbet/rbi/gems/rexml@3.2.4.rbi +0 -8
  173. data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -8
  174. data/sorbet/rbi/gems/rubocop-performance@1.10.2.rbi +0 -8
  175. data/sorbet/rbi/gems/rubocop-sorbet@0.6.1.rbi +0 -8
  176. data/sorbet/rbi/gems/rubocop@1.12.0.rbi +0 -8
  177. data/sorbet/rbi/gems/smart_properties@1.15.0.rbi +0 -168
  178. data/sorbet/rbi/gems/spoom@1.1.0.rbi +0 -1061
  179. data/sorbet/rbi/gems/spring@2.1.1.rbi +0 -160
  180. data/sorbet/rbi/gems/sprockets-rails@3.2.2.rbi +0 -451
  181. data/sorbet/rbi/gems/sprockets@4.0.2.rbi +0 -1133
  182. data/sorbet/rbi/gems/tapioca@0.4.19.rbi +0 -603
  183. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -893
  184. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -566
  185. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
  186. data/sorbet/rbi/gems/websocket-driver@0.7.3.rbi +0 -438
  187. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -177
@@ -0,0 +1,2321 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `activestorage` gem.
5
+ # Please instead update this file by running `bin/tapioca gem activestorage`.
6
+
7
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:3
8
+ module ActiveStorage
9
+ extend ::ActiveSupport::Autoload
10
+
11
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:52
12
+ def analyzers; end
13
+
14
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:52
15
+ def analyzers=(val); end
16
+
17
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:58
18
+ def binary_content_type; end
19
+
20
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:58
21
+ def binary_content_type=(val); end
22
+
23
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:60
24
+ def content_types_allowed_inline; end
25
+
26
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:60
27
+ def content_types_allowed_inline=(val); end
28
+
29
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:59
30
+ def content_types_to_serve_as_binary; end
31
+
32
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:59
33
+ def content_types_to_serve_as_binary=(val); end
34
+
35
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:357
36
+ def draw_routes; end
37
+
38
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:357
39
+ def draw_routes=(val); end
40
+
41
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:45
42
+ def logger; end
43
+
44
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:45
45
+ def logger=(val); end
46
+
47
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:54
48
+ def paths; end
49
+
50
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:54
51
+ def paths=(val); end
52
+
53
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:51
54
+ def previewers; end
55
+
56
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:51
57
+ def previewers=(val); end
58
+
59
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:49
60
+ def queues; end
61
+
62
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:49
63
+ def queues=(val); end
64
+
65
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:360
66
+ def replace_on_assign_to_many; end
67
+
68
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:360
69
+ def replace_on_assign_to_many=(val); end
70
+
71
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:358
72
+ def resolve_model_to_route; end
73
+
74
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:358
75
+ def resolve_model_to_route=(val); end
76
+
77
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:356
78
+ def routes_prefix; end
79
+
80
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:356
81
+ def routes_prefix=(val); end
82
+
83
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:353
84
+ def service_urls_expire_in; end
85
+
86
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:353
87
+ def service_urls_expire_in=(val); end
88
+
89
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:365
90
+ def silence_invalid_content_types_warning; end
91
+
92
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:365
93
+ def silence_invalid_content_types_warning=(val); end
94
+
95
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:62
96
+ def supported_image_processing_methods; end
97
+
98
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:62
99
+ def supported_image_processing_methods=(val); end
100
+
101
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:361
102
+ def track_variants; end
103
+
104
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:361
105
+ def track_variants=(val); end
106
+
107
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:351
108
+ def unsupported_image_processing_arguments; end
109
+
110
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:351
111
+ def unsupported_image_processing_arguments=(val); end
112
+
113
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:354
114
+ def urls_expire_in; end
115
+
116
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:354
117
+ def urls_expire_in=(val); end
118
+
119
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:56
120
+ def variable_content_types; end
121
+
122
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:56
123
+ def variable_content_types=(val); end
124
+
125
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:47
126
+ def variant_processor; end
127
+
128
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:47
129
+ def variant_processor=(val); end
130
+
131
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:46
132
+ def verifier; end
133
+
134
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:46
135
+ def verifier=(val); end
136
+
137
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:363
138
+ def video_preview_arguments; end
139
+
140
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:363
141
+ def video_preview_arguments=(val); end
142
+
143
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:57
144
+ def web_image_content_types; end
145
+
146
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:57
147
+ def web_image_content_types=(val); end
148
+
149
+ class << self
150
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:52
151
+ def analyzers; end
152
+
153
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:52
154
+ def analyzers=(val); end
155
+
156
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:58
157
+ def binary_content_type; end
158
+
159
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:58
160
+ def binary_content_type=(val); end
161
+
162
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:60
163
+ def content_types_allowed_inline; end
164
+
165
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:60
166
+ def content_types_allowed_inline=(val); end
167
+
168
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:59
169
+ def content_types_to_serve_as_binary; end
170
+
171
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:59
172
+ def content_types_to_serve_as_binary=(val); end
173
+
174
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:357
175
+ def draw_routes; end
176
+
177
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:357
178
+ def draw_routes=(val); end
179
+
180
+ # Returns the currently loaded version of Active Storage as a <tt>Gem::Version</tt>.
181
+ #
182
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:5
183
+ def gem_version; end
184
+
185
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:45
186
+ def logger; end
187
+
188
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:45
189
+ def logger=(val); end
190
+
191
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:54
192
+ def paths; end
193
+
194
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:54
195
+ def paths=(val); end
196
+
197
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:51
198
+ def previewers; end
199
+
200
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:51
201
+ def previewers=(val); end
202
+
203
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:49
204
+ def queues; end
205
+
206
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:49
207
+ def queues=(val); end
208
+
209
+ # source://railties-7.0.3.1/lib/rails/engine.rb:405
210
+ def railtie_helpers_paths; end
211
+
212
+ # source://railties-7.0.3.1/lib/rails/engine.rb:394
213
+ def railtie_namespace; end
214
+
215
+ # source://railties-7.0.3.1/lib/rails/engine.rb:409
216
+ def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
217
+
218
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:360
219
+ def replace_on_assign_to_many; end
220
+
221
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:360
222
+ def replace_on_assign_to_many=(val); end
223
+
224
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:358
225
+ def resolve_model_to_route; end
226
+
227
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:358
228
+ def resolve_model_to_route=(val); end
229
+
230
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:356
231
+ def routes_prefix; end
232
+
233
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:356
234
+ def routes_prefix=(val); end
235
+
236
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:353
237
+ def service_urls_expire_in; end
238
+
239
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:353
240
+ def service_urls_expire_in=(val); end
241
+
242
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:365
243
+ def silence_invalid_content_types_warning; end
244
+
245
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:365
246
+ def silence_invalid_content_types_warning=(val); end
247
+
248
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:62
249
+ def supported_image_processing_methods; end
250
+
251
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:62
252
+ def supported_image_processing_methods=(val); end
253
+
254
+ # source://railties-7.0.3.1/lib/rails/engine.rb:397
255
+ def table_name_prefix; end
256
+
257
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:361
258
+ def track_variants; end
259
+
260
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:361
261
+ def track_variants=(val); end
262
+
263
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:351
264
+ def unsupported_image_processing_arguments; end
265
+
266
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:351
267
+ def unsupported_image_processing_arguments=(val); end
268
+
269
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:354
270
+ def urls_expire_in; end
271
+
272
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:354
273
+ def urls_expire_in=(val); end
274
+
275
+ # source://railties-7.0.3.1/lib/rails/engine.rb:401
276
+ def use_relative_model_naming?; end
277
+
278
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:56
279
+ def variable_content_types; end
280
+
281
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:56
282
+ def variable_content_types=(val); end
283
+
284
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:47
285
+ def variant_processor; end
286
+
287
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:47
288
+ def variant_processor=(val); end
289
+
290
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:46
291
+ def verifier; end
292
+
293
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:46
294
+ def verifier=(val); end
295
+
296
+ # Returns the currently loaded version of Active Storage as a <tt>Gem::Version</tt>.
297
+ #
298
+ # source://activestorage-7.0.3.1/lib/active_storage/version.rb:7
299
+ def version; end
300
+
301
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:363
302
+ def video_preview_arguments; end
303
+
304
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:363
305
+ def video_preview_arguments=(val); end
306
+
307
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:57
308
+ def web_image_content_types; end
309
+
310
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:57
311
+ def web_image_content_types=(val); end
312
+ end
313
+ end
314
+
315
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/analyze_job.rb:4
316
+ class ActiveStorage::AnalyzeJob < ::ActiveStorage::BaseJob
317
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/analyze_job.rb:10
318
+ def perform(blob); end
319
+
320
+ class << self
321
+ # source://activejob-7.0.3.1/lib/active_job/queue_name.rb:56
322
+ def queue_name; end
323
+
324
+ # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
325
+ def rescue_handlers; end
326
+ end
327
+ end
328
+
329
+ # This is an abstract base class for analyzers, which extract metadata from blobs. See
330
+ # ActiveStorage::Analyzer::VideoAnalyzer for an example of a concrete subclass.
331
+ #
332
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:6
333
+ class ActiveStorage::Analyzer
334
+ # @return [Analyzer] a new instance of Analyzer
335
+ #
336
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:21
337
+ def initialize(blob); end
338
+
339
+ # Returns the value of attribute blob.
340
+ #
341
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:7
342
+ def blob; end
343
+
344
+ # Override this method in a concrete subclass. Have it return a Hash of metadata.
345
+ #
346
+ # @raise [NotImplementedError]
347
+ #
348
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:26
349
+ def metadata; end
350
+
351
+ private
352
+
353
+ # Downloads the blob to a tempfile on disk. Yields the tempfile.
354
+ #
355
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:32
356
+ def download_blob_to_tempfile(&block); end
357
+
358
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:44
359
+ def instrument(analyzer, &block); end
360
+
361
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:36
362
+ def logger; end
363
+
364
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:40
365
+ def tmpdir; end
366
+
367
+ class << self
368
+ # Implement this method in a concrete subclass. Have it return true when given a blob from which
369
+ # the analyzer can extract metadata.
370
+ #
371
+ # @return [Boolean]
372
+ #
373
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:11
374
+ def accept?(blob); end
375
+
376
+ # Implement this method in concrete subclasses. It will determine if blob analysis
377
+ # should be done in a job or performed inline. By default, analysis is enqueued in a job.
378
+ #
379
+ # @return [Boolean]
380
+ #
381
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer.rb:17
382
+ def analyze_later?; end
383
+ end
384
+ end
385
+
386
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:12
387
+ class ActiveStorage::Analyzer::AudioAnalyzer < ::ActiveStorage::Analyzer
388
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:17
389
+ def metadata; end
390
+
391
+ private
392
+
393
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:32
394
+ def audio_stream; end
395
+
396
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:27
397
+ def bit_rate; end
398
+
399
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:22
400
+ def duration; end
401
+
402
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:61
403
+ def ffprobe_path; end
404
+
405
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:40
406
+ def probe; end
407
+
408
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:44
409
+ def probe_from(file); end
410
+
411
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:36
412
+ def streams; end
413
+
414
+ class << self
415
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/audio_analyzer.rb:13
416
+ def accept?(blob); end
417
+ end
418
+ end
419
+
420
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer.rb:12
421
+ class ActiveStorage::Analyzer::ImageAnalyzer < ::ActiveStorage::Analyzer
422
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer.rb:17
423
+ def metadata; end
424
+
425
+ class << self
426
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer.rb:13
427
+ def accept?(blob); end
428
+ end
429
+ end
430
+
431
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/image_magick.rb:6
432
+ class ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick < ::ActiveStorage::Analyzer::ImageAnalyzer
433
+ private
434
+
435
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/image_magick.rb:12
436
+ def read_image; end
437
+
438
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/image_magick.rb:35
439
+ def rotated_image?(image); end
440
+
441
+ class << self
442
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/image_magick.rb:7
443
+ def accept?(blob); end
444
+ end
445
+ end
446
+
447
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/vips.rb:6
448
+ class ActiveStorage::Analyzer::ImageAnalyzer::Vips < ::ActiveStorage::Analyzer::ImageAnalyzer
449
+ private
450
+
451
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/vips.rb:12
452
+ def read_image; end
453
+
454
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/vips.rb:36
455
+ def rotated_image?(image); end
456
+
457
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/vips.rb:42
458
+ def valid_image?(image); end
459
+
460
+ class << self
461
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/vips.rb:7
462
+ def accept?(blob); end
463
+ end
464
+ end
465
+
466
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/image_analyzer/vips.rb:35
467
+ ActiveStorage::Analyzer::ImageAnalyzer::Vips::ROTATIONS = T.let(T.unsafe(nil), Regexp)
468
+
469
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/null_analyzer.rb:4
470
+ class ActiveStorage::Analyzer::NullAnalyzer < ::ActiveStorage::Analyzer
471
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/null_analyzer.rb:13
472
+ def metadata; end
473
+
474
+ class << self
475
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/null_analyzer.rb:5
476
+ def accept?(blob); end
477
+
478
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/null_analyzer.rb:9
479
+ def analyze_later?; end
480
+ end
481
+ end
482
+
483
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:22
484
+ class ActiveStorage::Analyzer::VideoAnalyzer < ::ActiveStorage::Analyzer
485
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:27
486
+ def metadata; end
487
+
488
+ private
489
+
490
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:53
491
+ def angle; end
492
+
493
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:72
494
+ def audio?; end
495
+
496
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:107
497
+ def audio_stream; end
498
+
499
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:80
500
+ def computed_height; end
501
+
502
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:115
503
+ def container; end
504
+
505
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:57
506
+ def display_aspect_ratio; end
507
+
508
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:94
509
+ def display_height_scale; end
510
+
511
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:48
512
+ def duration; end
513
+
514
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:90
515
+ def encoded_height; end
516
+
517
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:86
518
+ def encoded_width; end
519
+
520
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:140
521
+ def ffprobe_path; end
522
+
523
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:40
524
+ def height; end
525
+
526
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:119
527
+ def probe; end
528
+
529
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:123
530
+ def probe_from(file); end
531
+
532
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:68
533
+ def rotated?; end
534
+
535
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:111
536
+ def streams; end
537
+
538
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:99
539
+ def tags; end
540
+
541
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:76
542
+ def video?; end
543
+
544
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:103
545
+ def video_stream; end
546
+
547
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:32
548
+ def width; end
549
+
550
+ class << self
551
+ # source://activestorage-7.0.3.1/lib/active_storage/analyzer/video_analyzer.rb:23
552
+ def accept?(blob); end
553
+ end
554
+ end
555
+
556
+ # Abstract base class for the concrete ActiveStorage::Attached::One and ActiveStorage::Attached::Many
557
+ # classes that both provide proxy access to the blob association for a record.
558
+ #
559
+ # source://activestorage-7.0.3.1/lib/active_storage/attached.rb:8
560
+ class ActiveStorage::Attached
561
+ # @return [Attached] a new instance of Attached
562
+ #
563
+ # source://activestorage-7.0.3.1/lib/active_storage/attached.rb:11
564
+ def initialize(name, record); end
565
+
566
+ # Returns the value of attribute name.
567
+ #
568
+ # source://activestorage-7.0.3.1/lib/active_storage/attached.rb:9
569
+ def name; end
570
+
571
+ # Returns the value of attribute record.
572
+ #
573
+ # source://activestorage-7.0.3.1/lib/active_storage/attached.rb:9
574
+ def record; end
575
+
576
+ private
577
+
578
+ # source://activestorage-7.0.3.1/lib/active_storage/attached.rb:16
579
+ def change; end
580
+ end
581
+
582
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes.rb:4
583
+ module ActiveStorage::Attached::Changes
584
+ extend ::ActiveSupport::Autoload
585
+ end
586
+
587
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:4
588
+ class ActiveStorage::Attached::Changes::CreateMany
589
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:7
590
+ def initialize(name, record, attachables); end
591
+
592
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:5
593
+ def attachables; end
594
+
595
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:13
596
+ def attachments; end
597
+
598
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:17
599
+ def blobs; end
600
+
601
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:5
602
+ def name; end
603
+
604
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:5
605
+ def record; end
606
+
607
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:25
608
+ def save; end
609
+
610
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:21
611
+ def upload; end
612
+
613
+ private
614
+
615
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:39
616
+ def assign_associated_attachments; end
617
+
618
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:35
619
+ def build_subchange_from(attachable); end
620
+
621
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:47
622
+ def persisted_or_new_attachments; end
623
+
624
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:43
625
+ def reset_associated_blobs; end
626
+
627
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_many.rb:31
628
+ def subchanges; end
629
+ end
630
+
631
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:7
632
+ class ActiveStorage::Attached::Changes::CreateOne
633
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:10
634
+ def initialize(name, record, attachable); end
635
+
636
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:8
637
+ def attachable; end
638
+
639
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:15
640
+ def attachment; end
641
+
642
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:19
643
+ def blob; end
644
+
645
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:8
646
+ def name; end
647
+
648
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:8
649
+ def record; end
650
+
651
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:32
652
+ def save; end
653
+
654
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:23
655
+ def upload; end
656
+
657
+ private
658
+
659
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:78
660
+ def attachment_service_name; end
661
+
662
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:48
663
+ def build_attachment; end
664
+
665
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:42
666
+ def find_attachment; end
667
+
668
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:38
669
+ def find_or_build_attachment; end
670
+
671
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one.rb:52
672
+ def find_or_build_blob; end
673
+ end
674
+
675
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one_of_many.rb:4
676
+ class ActiveStorage::Attached::Changes::CreateOneOfMany < ::ActiveStorage::Attached::Changes::CreateOne
677
+ private
678
+
679
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/create_one_of_many.rb:6
680
+ def find_attachment; end
681
+ end
682
+
683
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:4
684
+ class ActiveStorage::Attached::Changes::DeleteMany
685
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:7
686
+ def initialize(name, record); end
687
+
688
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:11
689
+ def attachables; end
690
+
691
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:15
692
+ def attachments; end
693
+
694
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:19
695
+ def blobs; end
696
+
697
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:5
698
+ def name; end
699
+
700
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:5
701
+ def record; end
702
+
703
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_many.rb:23
704
+ def save; end
705
+ end
706
+
707
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_one.rb:4
708
+ class ActiveStorage::Attached::Changes::DeleteOne
709
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_one.rb:7
710
+ def initialize(name, record); end
711
+
712
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_one.rb:11
713
+ def attachment; end
714
+
715
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_one.rb:5
716
+ def name; end
717
+
718
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_one.rb:5
719
+ def record; end
720
+
721
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/delete_one.rb:15
722
+ def save; end
723
+ end
724
+
725
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_many.rb:4
726
+ class ActiveStorage::Attached::Changes::DetachMany
727
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_many.rb:7
728
+ def initialize(name, record, attachments); end
729
+
730
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_many.rb:5
731
+ def attachments; end
732
+
733
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_many.rb:11
734
+ def detach; end
735
+
736
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_many.rb:5
737
+ def name; end
738
+
739
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_many.rb:5
740
+ def record; end
741
+ end
742
+
743
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:4
744
+ class ActiveStorage::Attached::Changes::DetachOne
745
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:7
746
+ def initialize(name, record, attachment); end
747
+
748
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:5
749
+ def attachment; end
750
+
751
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:11
752
+ def detach; end
753
+
754
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:5
755
+ def name; end
756
+
757
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:5
758
+ def record; end
759
+
760
+ private
761
+
762
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/detach_one.rb:19
763
+ def reset; end
764
+ end
765
+
766
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:4
767
+ class ActiveStorage::Attached::Changes::PurgeMany
768
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:7
769
+ def initialize(name, record, attachments); end
770
+
771
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:5
772
+ def attachments; end
773
+
774
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:5
775
+ def name; end
776
+
777
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:11
778
+ def purge; end
779
+
780
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:16
781
+ def purge_later; end
782
+
783
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:5
784
+ def record; end
785
+
786
+ private
787
+
788
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_many.rb:22
789
+ def reset; end
790
+ end
791
+
792
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:4
793
+ class ActiveStorage::Attached::Changes::PurgeOne
794
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:7
795
+ def initialize(name, record, attachment); end
796
+
797
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:5
798
+ def attachment; end
799
+
800
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:5
801
+ def name; end
802
+
803
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:11
804
+ def purge; end
805
+
806
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:16
807
+ def purge_later; end
808
+
809
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:5
810
+ def record; end
811
+
812
+ private
813
+
814
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/changes/purge_one.rb:22
815
+ def reset; end
816
+ end
817
+
818
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:10
819
+ class ActiveStorage::Attached::Many < ::ActiveStorage::Attached
820
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:49
821
+ def attach(*attachables); end
822
+
823
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:65
824
+ def attached?; end
825
+
826
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:30
827
+ def attachments; end
828
+
829
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:35
830
+ def blobs; end
831
+
832
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:23
833
+ def detach(*_arg0, &_arg1); end
834
+
835
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:302
836
+ def method_missing(method, *args, &block); end
837
+
838
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:11
839
+ def purge(*_arg0, &_arg1); end
840
+
841
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:17
842
+ def purge_later(*_arg0, &_arg1); end
843
+
844
+ private
845
+
846
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:74
847
+ def detach_many; end
848
+
849
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/many.rb:70
850
+ def purge_many; end
851
+
852
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:294
853
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
854
+ end
855
+
856
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:7
857
+ module ActiveStorage::Attached::Model
858
+ extend ::ActiveSupport::Concern
859
+
860
+ mixes_in_class_methods ::ActiveStorage::Attached::Model::ClassMethods
861
+
862
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:222
863
+ def attachment_changes; end
864
+
865
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:226
866
+ def changed_for_autosave?; end
867
+
868
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:236
869
+ def reload(*_arg0); end
870
+
871
+ private
872
+
873
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:230
874
+ def initialize_dup(*_arg0); end
875
+ end
876
+
877
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:0
878
+ module ActiveStorage::Attached::Model::ClassMethods
879
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:129
880
+ def has_many_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
881
+
882
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:50
883
+ def has_one_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
884
+
885
+ private
886
+
887
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/model.rb:213
888
+ def validate_service_configuration(association_name, service); end
889
+ end
890
+
891
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:10
892
+ class ActiveStorage::Attached::One < ::ActiveStorage::Attached
893
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:56
894
+ def attach(attachable); end
895
+
896
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:72
897
+ def attached?; end
898
+
899
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:31
900
+ def attachment; end
901
+
902
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:42
903
+ def blank?; end
904
+
905
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:23
906
+ def detach(*_arg0, &_arg1); end
907
+
908
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:302
909
+ def method_missing(method, *args, &block); end
910
+
911
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:11
912
+ def purge(*_arg0, &_arg1); end
913
+
914
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:17
915
+ def purge_later(*_arg0, &_arg1); end
916
+
917
+ private
918
+
919
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:81
920
+ def detach_one; end
921
+
922
+ # source://activestorage-7.0.3.1/lib/active_storage/attached/one.rb:77
923
+ def purge_one; end
924
+
925
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:294
926
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
927
+ end
928
+
929
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:18
930
+ class ActiveStorage::Attachment < ::ActiveStorage::Record
931
+ include ::ActiveStorage::Attachment::GeneratedAttributeMethods
932
+ include ::ActiveStorage::Attachment::GeneratedAssociationMethods
933
+
934
+ # source://activerecord-7.0.3.1/lib/active_record/autosave_association.rb:160
935
+ def autosave_associated_records_for_blob(*args); end
936
+
937
+ # source://activerecord-7.0.3.1/lib/active_record/autosave_association.rb:160
938
+ def autosave_associated_records_for_record(*args); end
939
+
940
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:302
941
+ def method_missing(method, *args, &block); end
942
+
943
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:33
944
+ def purge; end
945
+
946
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:42
947
+ def purge_later; end
948
+
949
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:25
950
+ def signed_id(*_arg0, &_arg1); end
951
+
952
+ # source://activerecord-7.0.3.1/lib/active_record/autosave_association.rb:160
953
+ def validate_associated_records_for_blob(*args); end
954
+
955
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:56
956
+ def variant(transformations); end
957
+
958
+ private
959
+
960
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:70
961
+ def analyze_blob_later; end
962
+
963
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:82
964
+ def dependent; end
965
+
966
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:74
967
+ def mirror_blob_later; end
968
+
969
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:78
970
+ def purge_dependent_blob_later; end
971
+
972
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:294
973
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
974
+
975
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:86
976
+ def variants; end
977
+
978
+ class << self
979
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
980
+ def __callbacks; end
981
+
982
+ # source://activerecord-7.0.3.1/lib/active_record/reflection.rb:11
983
+ def _reflections; end
984
+
985
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
986
+ def _validators; end
987
+
988
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
989
+ def defined_enums; end
990
+
991
+ # source://activerecord-7.0.3.1/lib/active_record/scoping/named.rb:174
992
+ def with_all_variant_records(*args); end
993
+ end
994
+ end
995
+
996
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:0
997
+ module ActiveStorage::Attachment::GeneratedAssociationMethods
998
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:103
999
+ def blob; end
1000
+
1001
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:111
1002
+ def blob=(value); end
1003
+
1004
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:132
1005
+ def blob_changed?; end
1006
+
1007
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:136
1008
+ def blob_previously_changed?; end
1009
+
1010
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:28
1011
+ def build_blob(*args, &block); end
1012
+
1013
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:32
1014
+ def create_blob(*args, &block); end
1015
+
1016
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:36
1017
+ def create_blob!(*args, &block); end
1018
+
1019
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:103
1020
+ def record; end
1021
+
1022
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:111
1023
+ def record=(value); end
1024
+
1025
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:132
1026
+ def record_changed?; end
1027
+
1028
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:136
1029
+ def record_previously_changed?; end
1030
+
1031
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:19
1032
+ def reload_blob; end
1033
+
1034
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:19
1035
+ def reload_record; end
1036
+ end
1037
+
1038
+ # source://activestorage-7.0.3.1/app/models/active_storage/attachment.rb:0
1039
+ module ActiveStorage::Attachment::GeneratedAttributeMethods; end
1040
+
1041
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/base_controller.rb:4
1042
+ class ActiveStorage::BaseController < ::ActionController::Base
1043
+ include ::ActiveStorage::SetCurrent
1044
+
1045
+ private
1046
+
1047
+ # source://actionview-7.0.3.1/lib/action_view/layouts.rb:328
1048
+ def _layout(lookup_context, formats); end
1049
+
1050
+ class << self
1051
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
1052
+ def __callbacks; end
1053
+
1054
+ # source://actionpack-7.0.3.1/lib/action_controller/metal/etag_with_template_digest.rb:27
1055
+ def etag_with_template_digest; end
1056
+
1057
+ # source://actionpack-7.0.3.1/lib/action_controller/metal.rb:210
1058
+ def middleware_stack; end
1059
+ end
1060
+ end
1061
+
1062
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/base_job.rb:3
1063
+ class ActiveStorage::BaseJob < ::ActiveJob::Base; end
1064
+
1065
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob.rb:32
1066
+ class ActiveStorage::Blob < ::ActiveStorage::Record
1067
+ include ::ActiveStorage::Blob::GeneratedAttributeMethods
1068
+ include ::ActiveStorage::Blob::GeneratedAssociationMethods
1069
+
1070
+ class << self
1071
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
1072
+ def _validators; end
1073
+
1074
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
1075
+ def defined_enums; end
1076
+ end
1077
+ end
1078
+
1079
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:5
1080
+ module ActiveStorage::Blob::Analyzable
1081
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:28
1082
+ def analyze; end
1083
+
1084
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:36
1085
+ def analyze_later; end
1086
+
1087
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:45
1088
+ def analyzed?; end
1089
+
1090
+ private
1091
+
1092
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:54
1093
+ def analyzer; end
1094
+
1095
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:58
1096
+ def analyzer_class; end
1097
+
1098
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/analyzable.rb:50
1099
+ def extract_metadata_via_analyzer; end
1100
+ end
1101
+
1102
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob.rb:0
1103
+ module ActiveStorage::Blob::GeneratedAssociationMethods; end
1104
+
1105
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob.rb:0
1106
+ module ActiveStorage::Blob::GeneratedAttributeMethods; end
1107
+
1108
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/identifiable.rb:3
1109
+ module ActiveStorage::Blob::Identifiable
1110
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/identifiable.rb:16
1111
+ def identified?; end
1112
+
1113
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/identifiable.rb:4
1114
+ def identify; end
1115
+
1116
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/identifiable.rb:9
1117
+ def identify_without_saving; end
1118
+
1119
+ private
1120
+
1121
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/identifiable.rb:25
1122
+ def download_identifiable_chunk; end
1123
+
1124
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/identifiable.rb:21
1125
+ def identify_content_type; end
1126
+ end
1127
+
1128
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:5
1129
+ module ActiveStorage::Blob::Representable
1130
+ extend ::ActiveSupport::Concern
1131
+
1132
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:63
1133
+ def preview(transformations); end
1134
+
1135
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:72
1136
+ def previewable?; end
1137
+
1138
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:97
1139
+ def representable?; end
1140
+
1141
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:85
1142
+ def representation(transformations); end
1143
+
1144
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:44
1145
+ def variable?; end
1146
+
1147
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:34
1148
+ def variant(transformations); end
1149
+
1150
+ private
1151
+
1152
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:106
1153
+ def default_variant_format; end
1154
+
1155
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:102
1156
+ def default_variant_transformations; end
1157
+
1158
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:114
1159
+ def format; end
1160
+
1161
+ # source://activestorage-7.0.3.1/app/models/active_storage/blob/representable.rb:122
1162
+ def variant_class; end
1163
+ end
1164
+
1165
+ # source://activestorage-7.0.3.1/app/models/active_storage/current.rb:3
1166
+ class ActiveStorage::Current < ::ActiveSupport::CurrentAttributes
1167
+ # source://activestorage-7.0.3.1/app/models/active_storage/current.rb:11
1168
+ def host; end
1169
+
1170
+ # source://activestorage-7.0.3.1/app/models/active_storage/current.rb:6
1171
+ def host=(host); end
1172
+
1173
+ class << self
1174
+ # source://activesupport-7.0.3.1/lib/active_support/current_attributes.rb:118
1175
+ def url_options; end
1176
+
1177
+ # source://activesupport-7.0.3.1/lib/active_support/current_attributes.rb:118
1178
+ def url_options=(value); end
1179
+ end
1180
+ end
1181
+
1182
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/direct_uploads_controller.rb:6
1183
+ class ActiveStorage::DirectUploadsController < ::ActiveStorage::BaseController
1184
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/direct_uploads_controller.rb:7
1185
+ def create; end
1186
+
1187
+ private
1188
+
1189
+ # source://actionview-7.0.3.1/lib/action_view/layouts.rb:328
1190
+ def _layout(lookup_context, formats); end
1191
+
1192
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/direct_uploads_controller.rb:13
1193
+ def blob_args; end
1194
+
1195
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/direct_uploads_controller.rb:17
1196
+ def direct_upload_json(blob); end
1197
+
1198
+ class << self
1199
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
1200
+ def __callbacks; end
1201
+
1202
+ # source://actionpack-7.0.3.1/lib/action_controller/metal.rb:210
1203
+ def middleware_stack; end
1204
+ end
1205
+ end
1206
+
1207
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:7
1208
+ class ActiveStorage::DiskController < ::ActiveStorage::BaseController
1209
+ include ::ActiveStorage::FileServer
1210
+
1211
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:12
1212
+ def show; end
1213
+
1214
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:22
1215
+ def update; end
1216
+
1217
+ private
1218
+
1219
+ # source://actionview-7.0.3.1/lib/action_view/layouts.rb:328
1220
+ def _layout(lookup_context, formats); end
1221
+
1222
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:52
1223
+ def acceptable_content?(token); end
1224
+
1225
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:44
1226
+ def decode_verified_key; end
1227
+
1228
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:48
1229
+ def decode_verified_token; end
1230
+
1231
+ # source://activestorage-7.0.3.1/app/controllers/active_storage/disk_controller.rb:38
1232
+ def named_disk_service(name); end
1233
+
1234
+ class << self
1235
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
1236
+ def __callbacks; end
1237
+
1238
+ # source://actionpack-7.0.3.1/lib/action_controller/metal.rb:210
1239
+ def middleware_stack; end
1240
+ end
1241
+ end
1242
+
1243
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:4
1244
+ class ActiveStorage::Downloader
1245
+ # @return [Downloader] a new instance of Downloader
1246
+ #
1247
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:7
1248
+ def initialize(service); end
1249
+
1250
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:11
1251
+ def open(key, checksum: T.unsafe(nil), verify: T.unsafe(nil), name: T.unsafe(nil), tmpdir: T.unsafe(nil)); end
1252
+
1253
+ # Returns the value of attribute service.
1254
+ #
1255
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:5
1256
+ def service; end
1257
+
1258
+ private
1259
+
1260
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:30
1261
+ def download(key, file); end
1262
+
1263
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:20
1264
+ def open_tempfile(name, tmpdir = T.unsafe(nil)); end
1265
+
1266
+ # source://activestorage-7.0.3.1/lib/active_storage/downloader.rb:37
1267
+ def verify_integrity_of(file, checksum:); end
1268
+ end
1269
+
1270
+ # source://activestorage-7.0.3.1/lib/active_storage/engine.rb:25
1271
+ class ActiveStorage::Engine < ::Rails::Engine; end
1272
+
1273
+ # Generic base class for all Active Storage exceptions.
1274
+ #
1275
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:5
1276
+ class ActiveStorage::Error < ::StandardError; end
1277
+
1278
+ # Raised when ActiveStorage::Blob#download is called on a blob where the
1279
+ # backing file is no longer present in its service.
1280
+ #
1281
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:25
1282
+ class ActiveStorage::FileNotFoundError < ::ActiveStorage::Error; end
1283
+
1284
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/file_server.rb:3
1285
+ module ActiveStorage::FileServer
1286
+ private
1287
+
1288
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/file_server.rb:5
1289
+ def serve_file(path, content_type:, disposition:); end
1290
+ end
1291
+
1292
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:5
1293
+ class ActiveStorage::Filename
1294
+ include ::Comparable
1295
+
1296
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:16
1297
+ def initialize(filename); end
1298
+
1299
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:74
1300
+ def <=>(other); end
1301
+
1302
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:66
1303
+ def as_json(*_arg0); end
1304
+
1305
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:25
1306
+ def base; end
1307
+
1308
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:45
1309
+ def extension; end
1310
+
1311
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:35
1312
+ def extension_with_delimiter; end
1313
+
1314
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:45
1315
+ def extension_without_delimiter; end
1316
+
1317
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:57
1318
+ def sanitized; end
1319
+
1320
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:70
1321
+ def to_json; end
1322
+
1323
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:62
1324
+ def to_s; end
1325
+
1326
+ class << self
1327
+ # source://activestorage-7.0.3.1/app/models/active_storage/filename.rb:11
1328
+ def wrap(filename); end
1329
+ end
1330
+ end
1331
+
1332
+ # Fixtures are a way of organizing data that you want to test against; in
1333
+ # short, sample data.
1334
+ #
1335
+ # To learn more about fixtures, read the
1336
+ # {ActiveRecord::FixtureSet}[rdoc-ref:ActiveRecord::FixtureSet] documentation.
1337
+ #
1338
+ # === YAML
1339
+ #
1340
+ # Like other Active Record-backed models,
1341
+ # {ActiveStorage::Attachment}[rdoc-ref:ActiveStorage::Attachment] and
1342
+ # {ActiveStorage::Blob}[rdoc-ref:ActiveStorage::Blob] records inherit from
1343
+ # {ActiveRecord::Base}[rdoc-ref:ActiveRecord::Base] instances and therefore
1344
+ # can be populated by fixtures.
1345
+ #
1346
+ # Consider a hypothetical <tt>Article</tt> model class, its related
1347
+ # fixture data, as well as fixture data for related ActiveStorage::Attachment
1348
+ # and ActiveStorage::Blob records:
1349
+ #
1350
+ # # app/models/article.rb
1351
+ # class Article < ApplicationRecord
1352
+ # has_one_attached :thumbnail
1353
+ # end
1354
+ #
1355
+ # # fixtures/active_storage/blobs.yml
1356
+ # first_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob filename: "first.png" %>
1357
+ #
1358
+ # # fixtures/active_storage/attachments.yml
1359
+ # first_thumbnail_attachment:
1360
+ # name: thumbnail
1361
+ # record: first (Article)
1362
+ # blob: first_thumbnail_blob
1363
+ #
1364
+ # When processed, Active Record will insert database records for each fixture
1365
+ # entry and will ensure the Active Storage relationship is intact.
1366
+ #
1367
+ # source://activestorage-7.0.3.1/lib/active_storage/fixture_set.rb:41
1368
+ class ActiveStorage::FixtureSet
1369
+ include ::ActiveSupport::Testing::FileFixtures
1370
+ include ::ActiveRecord::SecureToken
1371
+ extend ::ActiveRecord::SecureToken::ClassMethods
1372
+
1373
+ # source://activesupport-7.0.3.1/lib/active_support/testing/file_fixtures.rb:20
1374
+ def file_fixture_path; end
1375
+
1376
+ # source://activesupport-7.0.3.1/lib/active_support/testing/file_fixtures.rb:20
1377
+ def file_fixture_path?; end
1378
+
1379
+ # source://activestorage-7.0.3.1/lib/active_storage/fixture_set.rb:67
1380
+ def prepare(instance, **attributes); end
1381
+
1382
+ class << self
1383
+ # Generate a YAML-encoded representation of an ActiveStorage::Blob
1384
+ # instance's attributes, resolve the file relative to the directory mentioned
1385
+ # by <tt>ActiveSupport::Testing::FileFixtures.file_fixture</tt>, and upload
1386
+ # the file to the Service
1387
+ #
1388
+ # === Examples
1389
+ #
1390
+ # # tests/fixtures/action_text/blobs.yml
1391
+ # second_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob(
1392
+ # filename: "second.svg",
1393
+ # ) %>
1394
+ #
1395
+ # third_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob(
1396
+ # filename: "third.svg",
1397
+ # content_type: "image/svg+xml",
1398
+ # service_name: "public"
1399
+ # ) %>
1400
+ #
1401
+ # source://activestorage-7.0.3.1/lib/active_storage/fixture_set.rb:63
1402
+ def blob(filename:, **attributes); end
1403
+
1404
+ # source://activesupport-7.0.3.1/lib/active_support/testing/file_fixtures.rb:20
1405
+ def file_fixture_path; end
1406
+
1407
+ # source://activesupport-7.0.3.1/lib/active_support/testing/file_fixtures.rb:20
1408
+ def file_fixture_path=(value); end
1409
+
1410
+ # source://activesupport-7.0.3.1/lib/active_support/testing/file_fixtures.rb:20
1411
+ def file_fixture_path?; end
1412
+ end
1413
+ end
1414
+
1415
+ # Raised when uploaded or downloaded data does not match a precomputed checksum.
1416
+ # Indicates that a network error or a software bug caused data corruption.
1417
+ #
1418
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:21
1419
+ class ActiveStorage::IntegrityError < ::ActiveStorage::Error; end
1420
+
1421
+ # Raised when ActiveStorage::Blob#variant is called on a blob that isn't variable.
1422
+ # Use ActiveStorage::Blob#variable? to determine whether a blob is variable.
1423
+ #
1424
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:9
1425
+ class ActiveStorage::InvariableError < ::ActiveStorage::Error; end
1426
+
1427
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:6
1428
+ class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber
1429
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:41
1430
+ def logger; end
1431
+
1432
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:19
1433
+ def service_delete(event); end
1434
+
1435
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:23
1436
+ def service_delete_prefixed(event); end
1437
+
1438
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:13
1439
+ def service_download(event); end
1440
+
1441
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:27
1442
+ def service_exist(event); end
1443
+
1444
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:35
1445
+ def service_mirror(event); end
1446
+
1447
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:13
1448
+ def service_streaming_download(event); end
1449
+
1450
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:7
1451
+ def service_upload(event); end
1452
+
1453
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:31
1454
+ def service_url(event); end
1455
+
1456
+ private
1457
+
1458
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:50
1459
+ def debug(event, colored_message); end
1460
+
1461
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:46
1462
+ def info(event, colored_message); end
1463
+
1464
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:58
1465
+ def key_in(event); end
1466
+
1467
+ # source://activestorage-7.0.3.1/lib/active_storage/log_subscriber.rb:54
1468
+ def log_prefix_for_service(event); end
1469
+ end
1470
+
1471
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/mirror_job.rb:6
1472
+ class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob
1473
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/mirror_job.rb:12
1474
+ def perform(key, checksum:); end
1475
+
1476
+ class << self
1477
+ # source://activejob-7.0.3.1/lib/active_job/queue_name.rb:56
1478
+ def queue_name; end
1479
+
1480
+ # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
1481
+ def rescue_handlers; end
1482
+ end
1483
+ end
1484
+
1485
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:31
1486
+ class ActiveStorage::Preview
1487
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:36
1488
+ def initialize(blob, variation_or_variation_key); end
1489
+
1490
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:34
1491
+ def blob; end
1492
+
1493
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:83
1494
+ def download(&block); end
1495
+
1496
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:52
1497
+ def image; end
1498
+
1499
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:70
1500
+ def key; end
1501
+
1502
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:46
1503
+ def processed; end
1504
+
1505
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:61
1506
+ def url(**options); end
1507
+
1508
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:34
1509
+ def variation; end
1510
+
1511
+ private
1512
+
1513
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:109
1514
+ def previewer; end
1515
+
1516
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:113
1517
+ def previewer_class; end
1518
+
1519
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:96
1520
+ def process; end
1521
+
1522
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:92
1523
+ def processed?; end
1524
+
1525
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:104
1526
+ def variant; end
1527
+ end
1528
+
1529
+ # source://activestorage-7.0.3.1/app/models/active_storage/preview.rb:32
1530
+ class ActiveStorage::Preview::UnprocessedError < ::StandardError; end
1531
+
1532
+ # Raised when a Previewer is unable to generate a preview image.
1533
+ #
1534
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:28
1535
+ class ActiveStorage::PreviewError < ::ActiveStorage::Error; end
1536
+
1537
+ # This is an abstract base class for previewers, which generate images from blobs. See
1538
+ # ActiveStorage::Previewer::MuPDFPreviewer and ActiveStorage::Previewer::VideoPreviewer for
1539
+ # examples of concrete subclasses.
1540
+ #
1541
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:7
1542
+ class ActiveStorage::Previewer
1543
+ # @return [Previewer] a new instance of Previewer
1544
+ #
1545
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:16
1546
+ def initialize(blob); end
1547
+
1548
+ # Returns the value of attribute blob.
1549
+ #
1550
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:8
1551
+ def blob; end
1552
+
1553
+ # Override this method in a concrete subclass. Have it yield an attachable preview image (i.e.
1554
+ # anything accepted by ActiveStorage::Attached::One#attach). Pass the additional options to
1555
+ # the underlying blob that is created.
1556
+ #
1557
+ # @raise [NotImplementedError]
1558
+ #
1559
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:23
1560
+ def preview(**options); end
1561
+
1562
+ private
1563
+
1564
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:71
1565
+ def capture(*argv, to:); end
1566
+
1567
+ # Downloads the blob to a tempfile on disk. Yields the tempfile.
1568
+ #
1569
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:29
1570
+ def download_blob_to_tempfile(&block); end
1571
+
1572
+ # Executes a system command, capturing its binary output in a tempfile. Yields the tempfile.
1573
+ #
1574
+ # Use this method to shell out to a system library (e.g. muPDF or FFmpeg) for preview image
1575
+ # generation. The resulting tempfile can be used as the +:io+ value in an attachable Hash:
1576
+ #
1577
+ # def preview
1578
+ # download_blob_to_tempfile do |input|
1579
+ # draw "my-drawing-command", input.path, "--format", "png", "-" do |output|
1580
+ # yield io: output, filename: "#{blob.filename.base}.png", content_type: "image/png"
1581
+ # end
1582
+ # end
1583
+ # end
1584
+ #
1585
+ # The output tempfile is opened in the directory returned by #tmpdir.
1586
+ #
1587
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:47
1588
+ def draw(*argv); end
1589
+
1590
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:67
1591
+ def instrument(operation, payload = T.unsafe(nil), &block); end
1592
+
1593
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:86
1594
+ def logger; end
1595
+
1596
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:57
1597
+ def open_tempfile; end
1598
+
1599
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:90
1600
+ def tmpdir; end
1601
+
1602
+ class << self
1603
+ # Implement this method in a concrete subclass. Have it return true when given a blob from which
1604
+ # the previewer can generate an image.
1605
+ #
1606
+ # @return [Boolean]
1607
+ #
1608
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer.rb:12
1609
+ def accept?(blob); end
1610
+ end
1611
+ end
1612
+
1613
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/mupdf_previewer.rb:4
1614
+ class ActiveStorage::Previewer::MuPDFPreviewer < ::ActiveStorage::Previewer
1615
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/mupdf_previewer.rb:23
1616
+ def preview(**options); end
1617
+
1618
+ private
1619
+
1620
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/mupdf_previewer.rb:32
1621
+ def draw_first_page_from(file, &block); end
1622
+
1623
+ class << self
1624
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/mupdf_previewer.rb:6
1625
+ def accept?(blob); end
1626
+
1627
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/mupdf_previewer.rb:14
1628
+ def mutool_exists?; end
1629
+
1630
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/mupdf_previewer.rb:10
1631
+ def mutool_path; end
1632
+ end
1633
+ end
1634
+
1635
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/poppler_pdf_previewer.rb:4
1636
+ class ActiveStorage::Previewer::PopplerPDFPreviewer < ::ActiveStorage::Previewer
1637
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/poppler_pdf_previewer.rb:21
1638
+ def preview(**options); end
1639
+
1640
+ private
1641
+
1642
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/poppler_pdf_previewer.rb:30
1643
+ def draw_first_page_from(file, &block); end
1644
+
1645
+ class << self
1646
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/poppler_pdf_previewer.rb:6
1647
+ def accept?(blob); end
1648
+
1649
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/poppler_pdf_previewer.rb:14
1650
+ def pdftoppm_exists?; end
1651
+
1652
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/poppler_pdf_previewer.rb:10
1653
+ def pdftoppm_path; end
1654
+ end
1655
+ end
1656
+
1657
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/video_previewer.rb:6
1658
+ class ActiveStorage::Previewer::VideoPreviewer < ::ActiveStorage::Previewer
1659
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/video_previewer.rb:23
1660
+ def preview(**options); end
1661
+
1662
+ private
1663
+
1664
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/video_previewer.rb:32
1665
+ def draw_relevant_frame_from(file, &block); end
1666
+
1667
+ class << self
1668
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/video_previewer.rb:8
1669
+ def accept?(blob); end
1670
+
1671
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/video_previewer.rb:12
1672
+ def ffmpeg_exists?; end
1673
+
1674
+ # source://activestorage-7.0.3.1/lib/active_storage/previewer/video_previewer.rb:18
1675
+ def ffmpeg_path; end
1676
+ end
1677
+ end
1678
+
1679
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/purge_job.rb:4
1680
+ class ActiveStorage::PurgeJob < ::ActiveStorage::BaseJob
1681
+ # source://activestorage-7.0.3.1/app/jobs/active_storage/purge_job.rb:10
1682
+ def perform(blob); end
1683
+
1684
+ class << self
1685
+ # source://activejob-7.0.3.1/lib/active_job/queue_name.rb:56
1686
+ def queue_name; end
1687
+
1688
+ # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
1689
+ def rescue_handlers; end
1690
+ end
1691
+ end
1692
+
1693
+ # source://activestorage-7.0.3.1/app/models/active_storage/record.rb:3
1694
+ class ActiveStorage::Record < ::ActiveRecord::Base
1695
+ include ::ActiveStorage::Record::GeneratedAttributeMethods
1696
+ include ::ActiveStorage::Record::GeneratedAssociationMethods
1697
+
1698
+ class << self
1699
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
1700
+ def _validators; end
1701
+
1702
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
1703
+ def defined_enums; end
1704
+ end
1705
+ end
1706
+
1707
+ # source://activestorage-7.0.3.1/app/models/active_storage/record.rb:0
1708
+ module ActiveStorage::Record::GeneratedAssociationMethods; end
1709
+
1710
+ # source://activestorage-7.0.3.1/app/models/active_storage/record.rb:0
1711
+ module ActiveStorage::Record::GeneratedAttributeMethods; end
1712
+
1713
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:4
1714
+ module ActiveStorage::Reflection; end
1715
+
1716
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:49
1717
+ module ActiveStorage::Reflection::ActiveRecordExtensions
1718
+ extend ::ActiveSupport::Concern
1719
+ include GeneratedInstanceMethods
1720
+
1721
+ mixes_in_class_methods GeneratedClassMethods
1722
+ mixes_in_class_methods ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods
1723
+
1724
+ module GeneratedClassMethods
1725
+ def attachment_reflections; end
1726
+ def attachment_reflections=(value); end
1727
+ def attachment_reflections?; end
1728
+ end
1729
+
1730
+ module GeneratedInstanceMethods
1731
+ def attachment_reflections; end
1732
+ def attachment_reflections?; end
1733
+ end
1734
+ end
1735
+
1736
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:56
1737
+ module ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods
1738
+ # Returns an array of reflection objects for all the attachments in the
1739
+ # class.
1740
+ #
1741
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:59
1742
+ def reflect_on_all_attachments; end
1743
+
1744
+ # Returns the reflection object for the named +attachment+.
1745
+ #
1746
+ # User.reflect_on_attachment(:avatar)
1747
+ # # => the avatar reflection
1748
+ #
1749
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:68
1750
+ def reflect_on_attachment(attachment); end
1751
+ end
1752
+
1753
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:5
1754
+ class ActiveStorage::Reflection::HasAttachedReflection < ::ActiveRecord::Reflection::MacroReflection
1755
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:6
1756
+ def variant(name, transformations); end
1757
+
1758
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:10
1759
+ def variants; end
1760
+ end
1761
+
1762
+ # Holds all the metadata about a has_many_attached attachment as it was
1763
+ # specified in the Active Record class.
1764
+ #
1765
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:25
1766
+ class ActiveStorage::Reflection::HasManyAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection
1767
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:26
1768
+ def macro; end
1769
+ end
1770
+
1771
+ # Holds all the metadata about a has_one_attached attachment as it was
1772
+ # specified in the Active Record class.
1773
+ #
1774
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:17
1775
+ class ActiveStorage::Reflection::HasOneAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection
1776
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:18
1777
+ def macro; end
1778
+ end
1779
+
1780
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:31
1781
+ module ActiveStorage::Reflection::ReflectionExtension
1782
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:32
1783
+ def add_attachment_reflection(model, name, reflection); end
1784
+
1785
+ private
1786
+
1787
+ # source://activestorage-7.0.3.1/lib/active_storage/reflection.rb:37
1788
+ def reflection_class_for(macro); end
1789
+ end
1790
+
1791
+ # Abstract class serving as an interface for concrete services.
1792
+ #
1793
+ # The available services are:
1794
+ #
1795
+ # * +Disk+, to manage attachments saved directly on the hard drive.
1796
+ # * +GCS+, to manage attachments through Google Cloud Storage.
1797
+ # * +S3+, to manage attachments through Amazon S3.
1798
+ # * +AzureStorage+, to manage attachments through Microsoft Azure Storage.
1799
+ # * +Mirror+, to be able to use several services to manage attachments.
1800
+ #
1801
+ # Inside a Rails application, you can set-up your services through the
1802
+ # generated <tt>config/storage.yml</tt> file and reference one
1803
+ # of the aforementioned constant under the +service+ key. For example:
1804
+ #
1805
+ # local:
1806
+ # service: Disk
1807
+ # root: <%= Rails.root.join("storage") %>
1808
+ #
1809
+ # You can checkout the service's constructor to know which keys are required.
1810
+ #
1811
+ # Then, in your application's configuration, you can specify the service to
1812
+ # use like this:
1813
+ #
1814
+ # config.active_storage.service = :local
1815
+ #
1816
+ # If you are using Active Storage outside of a Ruby on Rails application, you
1817
+ # can configure the service to use like this:
1818
+ #
1819
+ # ActiveStorage::Blob.service = ActiveStorage::Service.configure(
1820
+ # :local,
1821
+ # { local: {service: "Disk", root: Pathname("/tmp/foo/storage") } }
1822
+ # )
1823
+ #
1824
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:41
1825
+ class ActiveStorage::Service
1826
+ extend ::ActiveSupport::Autoload
1827
+
1828
+ # Concatenate multiple files into a single "composed" file.
1829
+ #
1830
+ # @raise [NotImplementedError]
1831
+ #
1832
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:94
1833
+ def compose(source_keys, destination_key, filename: T.unsafe(nil), content_type: T.unsafe(nil), disposition: T.unsafe(nil), custom_metadata: T.unsafe(nil)); end
1834
+
1835
+ # Delete the file at the +key+.
1836
+ #
1837
+ # @raise [NotImplementedError]
1838
+ #
1839
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:99
1840
+ def delete(key); end
1841
+
1842
+ # Delete files at keys starting with the +prefix+.
1843
+ #
1844
+ # @raise [NotImplementedError]
1845
+ #
1846
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:104
1847
+ def delete_prefixed(prefix); end
1848
+
1849
+ # Return the content of the file at the +key+.
1850
+ #
1851
+ # @raise [NotImplementedError]
1852
+ #
1853
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:80
1854
+ def download(key); end
1855
+
1856
+ # Return the partial content in the byte +range+ of the file at the +key+.
1857
+ #
1858
+ # @raise [NotImplementedError]
1859
+ #
1860
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:85
1861
+ def download_chunk(key, range); end
1862
+
1863
+ # Return +true+ if a file exists at the +key+.
1864
+ #
1865
+ # @raise [NotImplementedError]
1866
+ # @return [Boolean]
1867
+ #
1868
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:109
1869
+ def exist?(key); end
1870
+
1871
+ # Returns a Hash of headers for +url_for_direct_upload+ requests.
1872
+ #
1873
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:141
1874
+ def headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:, custom_metadata: T.unsafe(nil)); end
1875
+
1876
+ # Returns the value of attribute name.
1877
+ #
1878
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:44
1879
+ def name; end
1880
+
1881
+ # Sets the attribute name
1882
+ #
1883
+ # @param value the value to set the attribute name to.
1884
+ #
1885
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:44
1886
+ def name=(_arg0); end
1887
+
1888
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:89
1889
+ def open(*args, **options, &block); end
1890
+
1891
+ # @return [Boolean]
1892
+ #
1893
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:145
1894
+ def public?; end
1895
+
1896
+ # Update metadata for the file identified by +key+ in the service.
1897
+ # Override in subclasses only if the service needs to store specific
1898
+ # metadata that has to be updated upon identification.
1899
+ #
1900
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:76
1901
+ def update_metadata(key, **metadata); end
1902
+
1903
+ # Upload the +io+ to the +key+ specified. If a +checksum+ is provided, the service will
1904
+ # ensure a match when the upload has completed or raise an ActiveStorage::IntegrityError.
1905
+ #
1906
+ # @raise [NotImplementedError]
1907
+ #
1908
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:69
1909
+ def upload(key, io, checksum: T.unsafe(nil), **options); end
1910
+
1911
+ # Returns the URL for the file at the +key+. This returns a permanent URL for public files, and returns a
1912
+ # short-lived URL for private files. For private files you can provide the +disposition+ (+:inline+ or +:attachment+),
1913
+ # +filename+, and +content_type+ that you wish the file to be served with on request. Additionally, you can also provide
1914
+ # the amount of seconds the URL will be valid for, specified in +expires_in+.
1915
+ #
1916
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:117
1917
+ def url(key, **options); end
1918
+
1919
+ # Returns a signed, temporary URL that a direct upload file can be PUT to on the +key+.
1920
+ # The URL will be valid for the amount of seconds specified in +expires_in+.
1921
+ # You must also provide the +content_type+, +content_length+, and +checksum+ of the file
1922
+ # that will be uploaded. All these attributes will be validated by the service upon upload.
1923
+ #
1924
+ # @raise [NotImplementedError]
1925
+ #
1926
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:136
1927
+ def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:, custom_metadata: T.unsafe(nil)); end
1928
+
1929
+ private
1930
+
1931
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:173
1932
+ def content_disposition_with(filename:, type: T.unsafe(nil)); end
1933
+
1934
+ # @raise [NotImplementedError]
1935
+ #
1936
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:158
1937
+ def custom_metadata_headers(metadata); end
1938
+
1939
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:162
1940
+ def instrument(operation, payload = T.unsafe(nil), &block); end
1941
+
1942
+ # @raise [NotImplementedError]
1943
+ #
1944
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:150
1945
+ def private_url(key, expires_in:, filename:, disposition:, content_type:, **_arg5); end
1946
+
1947
+ # @raise [NotImplementedError]
1948
+ #
1949
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:154
1950
+ def public_url(key, **_arg1); end
1951
+
1952
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:168
1953
+ def service_name; end
1954
+
1955
+ class << self
1956
+ # Override in subclasses that stitch together multiple services and hence
1957
+ # need to build additional services using the configurator.
1958
+ #
1959
+ # Passes the configurator and all of the service's config as keyword args.
1960
+ #
1961
+ # See MirrorService for an example.
1962
+ #
1963
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:60
1964
+ def build(configurator:, name:, service: T.unsafe(nil), **service_config); end
1965
+
1966
+ # Configure an Active Storage service by name from a set of configurations,
1967
+ # typically loaded from a YAML file. The Active Storage engine uses this
1968
+ # to set the global Active Storage service when the app boots.
1969
+ #
1970
+ # source://activestorage-7.0.3.1/lib/active_storage/service.rb:50
1971
+ def configure(service_name, configurations); end
1972
+ end
1973
+ end
1974
+
1975
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:4
1976
+ class ActiveStorage::Service::Configurator
1977
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:11
1978
+ def initialize(configurations); end
1979
+
1980
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:15
1981
+ def build(service_name); end
1982
+
1983
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:5
1984
+ def configurations; end
1985
+
1986
+ private
1987
+
1988
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:23
1989
+ def config_for(name); end
1990
+
1991
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:29
1992
+ def resolve(class_name); end
1993
+
1994
+ class << self
1995
+ # source://activestorage-7.0.3.1/lib/active_storage/service/configurator.rb:7
1996
+ def build(service_name, configurations); end
1997
+ end
1998
+ end
1999
+
2000
+ # source://activestorage-7.0.3.1/lib/active_storage/service/registry.rb:4
2001
+ class ActiveStorage::Service::Registry
2002
+ # source://activestorage-7.0.3.1/lib/active_storage/service/registry.rb:5
2003
+ def initialize(configurations); end
2004
+
2005
+ # source://activestorage-7.0.3.1/lib/active_storage/service/registry.rb:10
2006
+ def fetch(name); end
2007
+
2008
+ private
2009
+
2010
+ # source://activestorage-7.0.3.1/lib/active_storage/service/registry.rb:26
2011
+ def configurations; end
2012
+
2013
+ # source://activestorage-7.0.3.1/lib/active_storage/service/registry.rb:28
2014
+ def configurator; end
2015
+
2016
+ # source://activestorage-7.0.3.1/lib/active_storage/service/registry.rb:26
2017
+ def services; end
2018
+ end
2019
+
2020
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/set_blob.rb:3
2021
+ module ActiveStorage::SetBlob
2022
+ extend ::ActiveSupport::Concern
2023
+
2024
+ private
2025
+
2026
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/set_blob.rb:17
2027
+ def blob_scope; end
2028
+
2029
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/set_blob.rb:11
2030
+ def set_blob; end
2031
+ end
2032
+
2033
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/set_current.rb:7
2034
+ module ActiveStorage::SetCurrent
2035
+ extend ::ActiveSupport::Concern
2036
+ end
2037
+
2038
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/streaming.rb:5
2039
+ module ActiveStorage::Streaming
2040
+ include ::ActionController::Rendering
2041
+ include ::ActionController::DataStreaming
2042
+ include ::ActionController::Live
2043
+ extend ::ActionController::Rendering::ClassMethods
2044
+ extend ::ActionController::Live::ClassMethods
2045
+
2046
+ private
2047
+
2048
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/streaming.rb:13
2049
+ def send_blob_byte_range_data(blob, range_header, disposition: T.unsafe(nil)); end
2050
+
2051
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/streaming.rb:55
2052
+ def send_blob_stream(blob, disposition: T.unsafe(nil)); end
2053
+ end
2054
+
2055
+ # source://activestorage-7.0.3.1/app/controllers/concerns/active_storage/streaming.rb:6
2056
+ ActiveStorage::Streaming::DEFAULT_BLOB_STREAMING_DISPOSITION = T.let(T.unsafe(nil), String)
2057
+
2058
+ # source://activestorage-7.0.3.1/lib/active_storage.rb:367
2059
+ module ActiveStorage::Transformers
2060
+ extend ::ActiveSupport::Autoload
2061
+ end
2062
+
2063
+ # A Transformer applies a set of transformations to an image.
2064
+ #
2065
+ # The following concrete subclasses are included in Active Storage:
2066
+ #
2067
+ # * ActiveStorage::Transformers::ImageProcessingTransformer:
2068
+ # backed by ImageProcessing, a common interface for MiniMagick and ruby-vips
2069
+ #
2070
+ # source://activestorage-7.0.3.1/lib/active_storage/transformers/transformer.rb:11
2071
+ class ActiveStorage::Transformers::Transformer
2072
+ # @return [Transformer] a new instance of Transformer
2073
+ #
2074
+ # source://activestorage-7.0.3.1/lib/active_storage/transformers/transformer.rb:14
2075
+ def initialize(transformations); end
2076
+
2077
+ # Applies the transformations to the source image in +file+, producing a target image in the
2078
+ # specified +format+. Yields an open Tempfile containing the target image. Closes and unlinks
2079
+ # the output tempfile after yielding to the given block. Returns the result of the block.
2080
+ #
2081
+ # source://activestorage-7.0.3.1/lib/active_storage/transformers/transformer.rb:21
2082
+ def transform(file, format:); end
2083
+
2084
+ # Returns the value of attribute transformations.
2085
+ #
2086
+ # source://activestorage-7.0.3.1/lib/active_storage/transformers/transformer.rb:12
2087
+ def transformations; end
2088
+
2089
+ private
2090
+
2091
+ # Returns an open Tempfile containing a transformed image in the given +format+.
2092
+ # All subclasses implement this method.
2093
+ #
2094
+ # @raise [NotImplementedError]
2095
+ #
2096
+ # source://activestorage-7.0.3.1/lib/active_storage/transformers/transformer.rb:34
2097
+ def process(file, format:); end
2098
+ end
2099
+
2100
+ # Raised when ActiveStorage::Blob#preview is called on a blob that isn't previewable.
2101
+ # Use ActiveStorage::Blob#previewable? to determine whether a blob is previewable.
2102
+ #
2103
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:13
2104
+ class ActiveStorage::UnpreviewableError < ::ActiveStorage::Error; end
2105
+
2106
+ # Raised when ActiveStorage::Blob#representation is called on a blob that isn't representable.
2107
+ # Use ActiveStorage::Blob#representable? to determine whether a blob is representable.
2108
+ #
2109
+ # source://activestorage-7.0.3.1/lib/active_storage/errors.rb:17
2110
+ class ActiveStorage::UnrepresentableError < ::ActiveStorage::Error; end
2111
+
2112
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:9
2113
+ module ActiveStorage::VERSION; end
2114
+
2115
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:10
2116
+ ActiveStorage::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
2117
+
2118
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:11
2119
+ ActiveStorage::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
2120
+
2121
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:13
2122
+ ActiveStorage::VERSION::PRE = T.let(T.unsafe(nil), String)
2123
+
2124
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:15
2125
+ ActiveStorage::VERSION::STRING = T.let(T.unsafe(nil), String)
2126
+
2127
+ # source://activestorage-7.0.3.1/lib/active_storage/gem_version.rb:12
2128
+ ActiveStorage::VERSION::TINY = T.let(T.unsafe(nil), Integer)
2129
+
2130
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:53
2131
+ class ActiveStorage::Variant
2132
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:58
2133
+ def initialize(blob, variation_or_variation_key); end
2134
+
2135
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:54
2136
+ def blob; end
2137
+
2138
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:56
2139
+ def content_type(*_arg0, &_arg1); end
2140
+
2141
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:56
2142
+ def content_type_for_serving(*_arg0, &_arg1); end
2143
+
2144
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:84
2145
+ def download(&block); end
2146
+
2147
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:88
2148
+ def filename; end
2149
+
2150
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:94
2151
+ def forced_disposition_for_serving; end
2152
+
2153
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:99
2154
+ def image; end
2155
+
2156
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:69
2157
+ def key; end
2158
+
2159
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:63
2160
+ def processed; end
2161
+
2162
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:55
2163
+ def service(*_arg0, &_arg1); end
2164
+
2165
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:78
2166
+ def url(expires_in: T.unsafe(nil), disposition: T.unsafe(nil)); end
2167
+
2168
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:54
2169
+ def variation; end
2170
+
2171
+ private
2172
+
2173
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:108
2174
+ def process; end
2175
+
2176
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant.rb:104
2177
+ def processed?; end
2178
+ end
2179
+
2180
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_record.rb:3
2181
+ class ActiveStorage::VariantRecord < ::ActiveStorage::Record
2182
+ include ::ActiveStorage::VariantRecord::GeneratedAttributeMethods
2183
+ include ::ActiveStorage::VariantRecord::GeneratedAssociationMethods
2184
+
2185
+ # source://activerecord-7.0.3.1/lib/active_record/autosave_association.rb:160
2186
+ def autosave_associated_records_for_blob(*args); end
2187
+
2188
+ class << self
2189
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
2190
+ def __callbacks; end
2191
+
2192
+ # source://activerecord-7.0.3.1/lib/active_record/reflection.rb:11
2193
+ def _reflections; end
2194
+
2195
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
2196
+ def _validators; end
2197
+
2198
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
2199
+ def defined_enums; end
2200
+ end
2201
+ end
2202
+
2203
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_record.rb:0
2204
+ module ActiveStorage::VariantRecord::GeneratedAssociationMethods
2205
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:103
2206
+ def blob; end
2207
+
2208
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:111
2209
+ def blob=(value); end
2210
+
2211
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:132
2212
+ def blob_changed?; end
2213
+
2214
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:136
2215
+ def blob_previously_changed?; end
2216
+
2217
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:28
2218
+ def build_blob(*args, &block); end
2219
+
2220
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:32
2221
+ def create_blob(*args, &block); end
2222
+
2223
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:36
2224
+ def create_blob!(*args, &block); end
2225
+
2226
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:19
2227
+ def reload_blob; end
2228
+ end
2229
+
2230
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_record.rb:0
2231
+ module ActiveStorage::VariantRecord::GeneratedAttributeMethods; end
2232
+
2233
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:5
2234
+ class ActiveStorage::VariantWithRecord
2235
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:9
2236
+ def initialize(blob, variation); end
2237
+
2238
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:6
2239
+ def blob; end
2240
+
2241
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:30
2242
+ def download(*_arg0, &_arg1); end
2243
+
2244
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:26
2245
+ def image; end
2246
+
2247
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:30
2248
+ def key(*_arg0, &_arg1); end
2249
+
2250
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:18
2251
+ def process; end
2252
+
2253
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:13
2254
+ def processed; end
2255
+
2256
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:22
2257
+ def processed?; end
2258
+
2259
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:7
2260
+ def service(*_arg0, &_arg1); end
2261
+
2262
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:30
2263
+ def url(*_arg0, &_arg1); end
2264
+
2265
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:6
2266
+ def variation; end
2267
+
2268
+ private
2269
+
2270
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:42
2271
+ def create_or_find_record(image:); end
2272
+
2273
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:51
2274
+ def record; end
2275
+
2276
+ # source://activestorage-7.0.3.1/app/models/active_storage/variant_with_record.rb:33
2277
+ def transform_blob; end
2278
+ end
2279
+
2280
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:14
2281
+ class ActiveStorage::Variation
2282
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:44
2283
+ def initialize(transformations); end
2284
+
2285
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:68
2286
+ def content_type; end
2287
+
2288
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:48
2289
+ def default_to(defaults); end
2290
+
2291
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:77
2292
+ def digest; end
2293
+
2294
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:60
2295
+ def format; end
2296
+
2297
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:73
2298
+ def key; end
2299
+
2300
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:54
2301
+ def transform(file, &block); end
2302
+
2303
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:15
2304
+ def transformations; end
2305
+
2306
+ private
2307
+
2308
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:82
2309
+ def transformer; end
2310
+
2311
+ class << self
2312
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:33
2313
+ def decode(key); end
2314
+
2315
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:39
2316
+ def encode(transformations); end
2317
+
2318
+ # source://activestorage-7.0.3.1/app/models/active_storage/variation.rb:21
2319
+ def wrap(variator); end
2320
+ end
2321
+ end