muina 0.2.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +25 -0
  3. data/README.md +0 -35
  4. data/lib/muina/maybe/none.rb +57 -0
  5. data/lib/muina/maybe/some.rb +61 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/version.rb +1 -2
  8. data/lib/muina.rb +0 -32
  9. metadata +24 -226
  10. data/.github/workflows/main.yml +0 -16
  11. data/.gitignore +0 -5
  12. data/.mutant.yml +0 -38
  13. data/.rspec +0 -4
  14. data/.rubocop.yml +0 -172
  15. data/.ruby-version +0 -1
  16. data/.simplecov +0 -14
  17. data/CHANGELOG.md +0 -38
  18. data/Gemfile +0 -34
  19. data/Gemfile.lock +0 -265
  20. data/Guardfile +0 -24
  21. data/Rakefile +0 -13
  22. data/SECURITY.md +0 -14
  23. data/bin/bundle +0 -114
  24. data/bin/console +0 -15
  25. data/bin/flay +0 -29
  26. data/bin/flog +0 -29
  27. data/bin/guard +0 -29
  28. data/bin/irb +0 -29
  29. data/bin/lefthook +0 -29
  30. data/bin/mutant +0 -29
  31. data/bin/parlour +0 -29
  32. data/bin/rake +0 -29
  33. data/bin/rspec +0 -29
  34. data/bin/rubocop +0 -29
  35. data/bin/setup +0 -8
  36. data/bin/srb +0 -29
  37. data/bin/srb-rbi +0 -29
  38. data/bin/tapioca +0 -29
  39. data/exe/muina +0 -11
  40. data/lefthook.yml +0 -39
  41. data/lib/muina/action/params_factory.rb +0 -17
  42. data/lib/muina/action/step/command.rb +0 -31
  43. data/lib/muina/action/step/failure.rb +0 -18
  44. data/lib/muina/action/step/query.rb +0 -31
  45. data/lib/muina/action/step/result.rb +0 -51
  46. data/lib/muina/action/step.rb +0 -13
  47. data/lib/muina/action.rb +0 -73
  48. data/lib/muina/any.rb +0 -7
  49. data/lib/muina/classes.rb +0 -7
  50. data/lib/muina/module.rb +0 -6
  51. data/lib/muina/parameters.rb +0 -7
  52. data/lib/muina/params.rb +0 -19
  53. data/lib/muina/private_creation.rb +0 -12
  54. data/lib/muina/result/factory.rb +0 -37
  55. data/lib/muina/result/failure.rb +0 -31
  56. data/lib/muina/result/null.rb +0 -25
  57. data/lib/muina/result/success.rb +0 -31
  58. data/lib/muina/result.rb +0 -17
  59. data/lib/muina/service.rb +0 -37
  60. data/lib/muina/symbol_hash.rb +0 -7
  61. data/lib/muina/unit.rb +0 -10
  62. data/lib/muina/untyped_array.rb +0 -7
  63. data/lib/muina/untyped_hash.rb +0 -7
  64. data/lib/muina/value.rb +0 -16
  65. data/muina.gemspec +0 -35
  66. data/rbi/muina.rbi +0 -268
  67. data/sorbet/config +0 -2
  68. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  69. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  70. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  71. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  72. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  73. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  74. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  75. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  76. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  77. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  78. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  79. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  80. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  81. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  82. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  83. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  84. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  85. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  86. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  87. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  88. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  89. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  90. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  91. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  92. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  93. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  94. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  95. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  96. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  97. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  98. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  99. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  100. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  101. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  102. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  103. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  104. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  105. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  106. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  107. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  108. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  109. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  110. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  111. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  112. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  113. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  114. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  115. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  116. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  117. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  118. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  119. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  120. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  121. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  122. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  123. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  124. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  125. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  126. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  127. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  128. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  129. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  130. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  131. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  132. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  133. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  134. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  135. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  136. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  137. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  138. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  139. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  140. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  141. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  142. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  143. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  144. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  145. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  146. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  147. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  148. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  150. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  151. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  152. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  153. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  154. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  155. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  156. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  157. data/sorbet/rbi/todo.rbi +0 -8
  158. data/sorbet/rbi/typed_params.rbi +0 -7
  159. data/sorbet/tapioca/require.rb +0 -16
@@ -1,5045 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `actionpack` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module AbstractController
8
- extend ::ActiveSupport::Autoload
9
-
10
- class << self
11
- def eager_load!; end
12
- end
13
- end
14
-
15
- class AbstractController::ActionNotFound < ::StandardError
16
- include ::DidYouMean::Correctable
17
-
18
- def initialize(message = T.unsafe(nil), controller = T.unsafe(nil), action = T.unsafe(nil)); end
19
-
20
- def action; end
21
- def controller; end
22
- end
23
-
24
- class AbstractController::ActionNotFound::Correction
25
- def initialize(error); end
26
-
27
- def corrections; end
28
- end
29
-
30
- module AbstractController::AssetPaths
31
- extend ::ActiveSupport::Concern
32
- end
33
-
34
- class AbstractController::Base
35
- include ::ActiveSupport::Configurable
36
- extend ::ActiveSupport::Configurable::ClassMethods
37
- extend ::ActiveSupport::DescendantsTracker
38
-
39
- def action_methods; end
40
- def action_name; end
41
- def action_name=(_arg0); end
42
- def available_action?(action_name); end
43
- def controller_path; end
44
- def formats; end
45
- def formats=(_arg0); end
46
- def inspect; end
47
- def performed?; end
48
- def process(action, *args); end
49
- def response_body; end
50
- def response_body=(_arg0); end
51
- def send_action(*_arg0); end
52
-
53
- private
54
-
55
- def _find_action_name(action_name); end
56
- def _handle_action_missing(*args); end
57
- def _valid_action_name?(action_name); end
58
- def action_method?(name); end
59
- def method_for_action(action_name); end
60
- def process_action(method_name, *args); end
61
-
62
- class << self
63
- def abstract; end
64
- def abstract!; end
65
- def abstract?; end
66
- def action_methods; end
67
- def clear_action_methods!; end
68
- def controller_path; end
69
- def inherited(klass); end
70
- def internal_methods; end
71
- def method_added(name); end
72
- def supports_path?; end
73
- end
74
- end
75
-
76
- module AbstractController::Caching
77
- include ::AbstractController::Caching::ConfigMethods
78
- extend ::ActiveSupport::Concern
79
- extend ::ActiveSupport::Autoload
80
- include ::AbstractController::Caching::Fragments
81
-
82
- mixes_in_class_methods ::AbstractController::Caching::ClassMethods
83
-
84
- def view_cache_dependencies; end
85
-
86
- private
87
-
88
- def cache(key, options = T.unsafe(nil), &block); end
89
- end
90
-
91
- module AbstractController::Caching::ClassMethods
92
- def view_cache_dependency(&dependency); end
93
- end
94
-
95
- module AbstractController::Caching::ConfigMethods
96
- def cache_store; end
97
- def cache_store=(store); end
98
-
99
- private
100
-
101
- def cache_configured?; end
102
- end
103
-
104
- module AbstractController::Caching::Fragments
105
- extend ::ActiveSupport::Concern
106
-
107
- mixes_in_class_methods ::AbstractController::Caching::Fragments::ClassMethods
108
-
109
- def combined_fragment_cache_key(key); end
110
- def expire_fragment(key, options = T.unsafe(nil)); end
111
- def fragment_exist?(key, options = T.unsafe(nil)); end
112
- def instrument_fragment_cache(name, key); end
113
- def read_fragment(key, options = T.unsafe(nil)); end
114
- def write_fragment(key, content, options = T.unsafe(nil)); end
115
- end
116
-
117
- module AbstractController::Caching::Fragments::ClassMethods
118
- def fragment_cache_key(value = T.unsafe(nil), &key); end
119
- end
120
-
121
- module AbstractController::Callbacks
122
- extend ::ActiveSupport::Concern
123
- include ::ActiveSupport::Callbacks
124
-
125
- mixes_in_class_methods ::AbstractController::Callbacks::ClassMethods
126
-
127
- def process_action(*_arg0); end
128
- end
129
-
130
- module AbstractController::Callbacks::ClassMethods
131
- def _insert_callbacks(callbacks, block = T.unsafe(nil)); end
132
- def _normalize_callback_option(options, from, to); end
133
- def _normalize_callback_options(options); end
134
- def after_action(*names, &blk); end
135
- def append_after_action(*names, &blk); end
136
- def append_around_action(*names, &blk); end
137
- def append_before_action(*names, &blk); end
138
- def around_action(*names, &blk); end
139
- def before_action(*names, &blk); end
140
- def prepend_after_action(*names, &blk); end
141
- def prepend_around_action(*names, &blk); end
142
- def prepend_before_action(*names, &blk); end
143
- def skip_after_action(*names); end
144
- def skip_around_action(*names); end
145
- def skip_before_action(*names); end
146
- end
147
-
148
- module AbstractController::Collector
149
- def atom(*args, &block); end
150
- def bmp(*args, &block); end
151
- def css(*args, &block); end
152
- def csv(*args, &block); end
153
- def gif(*args, &block); end
154
- def gzip(*args, &block); end
155
- def html(*args, &block); end
156
- def ics(*args, &block); end
157
- def jpeg(*args, &block); end
158
- def js(*args, &block); end
159
- def json(*args, &block); end
160
- def m4a(*args, &block); end
161
- def mp3(*args, &block); end
162
- def mp4(*args, &block); end
163
- def mpeg(*args, &block); end
164
- def multipart_form(*args, &block); end
165
- def ogg(*args, &block); end
166
- def otf(*args, &block); end
167
- def pdf(*args, &block); end
168
- def png(*args, &block); end
169
- def rss(*args, &block); end
170
- def svg(*args, &block); end
171
- def text(*args, &block); end
172
- def tiff(*args, &block); end
173
- def ttf(*args, &block); end
174
- def url_encoded_form(*args, &block); end
175
- def vcf(*args, &block); end
176
- def vtt(*args, &block); end
177
- def webm(*args, &block); end
178
- def woff(*args, &block); end
179
- def woff2(*args, &block); end
180
- def xml(*args, &block); end
181
- def yaml(*args, &block); end
182
- def zip(*args, &block); end
183
-
184
- private
185
-
186
- def method_missing(symbol, &block); end
187
-
188
- class << self
189
- def generate_method_for_mime(mime); end
190
- end
191
- end
192
-
193
- class AbstractController::DoubleRenderError < ::AbstractController::Error
194
- def initialize(message = T.unsafe(nil)); end
195
- end
196
-
197
- AbstractController::DoubleRenderError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String)
198
- class AbstractController::Error < ::StandardError; end
199
-
200
- module AbstractController::Helpers
201
- extend ::ActiveSupport::Concern
202
-
203
- mixes_in_class_methods ::AbstractController::Helpers::ClassMethods
204
-
205
- def _helpers; end
206
- end
207
-
208
- module AbstractController::Helpers::ClassMethods
209
- def _helpers=(_arg0); end
210
- def _helpers_for_modification; end
211
- def clear_helpers; end
212
- def helper(*args, &block); end
213
- def helper_method(*methods); end
214
- def inherited(klass); end
215
- def modules_for_helpers(modules_or_helper_prefixes); end
216
-
217
- private
218
-
219
- def default_helper_module!; end
220
- def define_helpers_module(klass, helpers = T.unsafe(nil)); end
221
- end
222
-
223
- class AbstractController::Helpers::MissingHelperError < ::LoadError
224
- def initialize(error, path); end
225
- end
226
-
227
- module AbstractController::Logger
228
- extend ::ActiveSupport::Concern
229
- include ::ActiveSupport::Benchmarkable
230
- end
231
-
232
- module AbstractController::Rendering
233
- extend ::ActiveSupport::Concern
234
- include ::ActionView::ViewPaths
235
-
236
- def render(*args, &block); end
237
- def render_to_body(options = T.unsafe(nil)); end
238
- def render_to_string(*args, &block); end
239
- def rendered_format; end
240
- def view_assigns; end
241
-
242
- private
243
-
244
- def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end
245
- def _normalize_options(options); end
246
- def _normalize_render(*args, &block); end
247
- def _process_format(format); end
248
- def _process_options(options); end
249
- def _process_variant(options); end
250
- def _protected_ivars; end
251
- def _set_html_content_type; end
252
- def _set_rendered_content_type(format); end
253
- def _set_vary_header; end
254
- end
255
-
256
- AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Array)
257
-
258
- module AbstractController::Translation
259
- def l(object, **options); end
260
- def localize(object, **options); end
261
- def raise_on_missing_translations; end
262
- def raise_on_missing_translations=(val); end
263
- def t(key, **options); end
264
- def translate(key, **options); end
265
-
266
- class << self
267
- def raise_on_missing_translations; end
268
- def raise_on_missing_translations=(val); end
269
- end
270
- end
271
-
272
- module AbstractController::UrlFor
273
- extend ::ActiveSupport::Concern
274
- include ::ActionDispatch::Routing::UrlFor
275
-
276
- mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods
277
-
278
- def _routes; end
279
- end
280
-
281
- module AbstractController::UrlFor::ClassMethods
282
- def _routes; end
283
- def action_methods; end
284
- end
285
-
286
- module ActionController
287
- extend ::ActiveSupport::Autoload
288
- end
289
-
290
- class ActionController::API < ::ActionController::Metal
291
- extend ::ActionController::ParamsWrapper::ClassMethods
292
- include ::AbstractController::Rendering
293
- include ::ActionDispatch::Routing::PolymorphicRoutes
294
- include ::ActionDispatch::Routing::UrlFor
295
- include ::AbstractController::UrlFor
296
- include ::ActionController::UrlFor
297
- include ::AbstractController::Logger
298
- include ::ActiveSupport::Benchmarkable
299
- include ::ActionController::Redirecting
300
- include ::ActionController::ApiRendering
301
- include ::ActionController::Rendering
302
- include ::ActionController::Renderers
303
- include ::ActionController::Renderers::All
304
- include ::ActionController::Head
305
- include ::ActionController::ConditionalGet
306
- include ::ActionController::BasicImplicitRender
307
- include ::ActionController::StrongParameters
308
- include ::ActionController::DataStreaming
309
- include ::ActionController::DefaultHeaders
310
- include ::ActionController::Logging
311
- include ::ActiveSupport::Callbacks
312
- include ::AbstractController::Callbacks
313
- include ::ActiveSupport::Rescuable
314
- include ::ActionController::Rescue
315
- include ::ActionController::Instrumentation
316
- include ::ActionController::ParamsWrapper
317
- extend ::ActionView::ViewPaths::ClassMethods
318
- extend ::AbstractController::UrlFor::ClassMethods
319
- extend ::ActionController::Rendering::ClassMethods
320
- extend ::ActionController::Renderers::ClassMethods
321
- extend ::ActionController::ConditionalGet::ClassMethods
322
- extend ::ActionController::DefaultHeaders::ClassMethods
323
- extend ::ActionController::Logging::ClassMethods
324
- extend ::ActiveSupport::Callbacks::ClassMethods
325
- extend ::AbstractController::Callbacks::ClassMethods
326
- extend ::ActiveSupport::Rescuable::ClassMethods
327
- extend ::ActionController::Instrumentation::ClassMethods
328
- include ::ActionView::ViewPaths
329
-
330
- def __callbacks; end
331
- def __callbacks?; end
332
- def _process_action_callbacks; end
333
- def _renderers; end
334
- def _renderers=(_arg0); end
335
- def _renderers?; end
336
- def _run_process_action_callbacks(&block); end
337
- def _wrapper_options; end
338
- def _wrapper_options=(_arg0); end
339
- def _wrapper_options?; end
340
- def default_url_options; end
341
- def default_url_options=(_arg0); end
342
- def default_url_options?; end
343
- def etaggers; end
344
- def etaggers=(_arg0); end
345
- def etaggers?; end
346
- def logger; end
347
- def logger=(value); end
348
- def rescue_handlers; end
349
- def rescue_handlers=(_arg0); end
350
- def rescue_handlers?; end
351
-
352
- class << self
353
- def __callbacks; end
354
- def __callbacks=(value); end
355
- def __callbacks?; end
356
- def _process_action_callbacks; end
357
- def _process_action_callbacks=(value); end
358
- def _renderers; end
359
- def _renderers=(value); end
360
- def _renderers?; end
361
- def _wrapper_options; end
362
- def _wrapper_options=(value); end
363
- def _wrapper_options?; end
364
- def default_url_options; end
365
- def default_url_options=(value); end
366
- def default_url_options?; end
367
- def etaggers; end
368
- def etaggers=(value); end
369
- def etaggers?; end
370
- def logger; end
371
- def logger=(value); end
372
- def middleware_stack; end
373
- def rescue_handlers; end
374
- def rescue_handlers=(value); end
375
- def rescue_handlers?; end
376
- def without_modules(*modules); end
377
- end
378
- end
379
-
380
- ActionController::API::MODULES = T.let(T.unsafe(nil), Array)
381
- class ActionController::ActionControllerError < ::StandardError; end
382
-
383
- module ActionController::ApiRendering
384
- extend ::ActiveSupport::Concern
385
- include ::ActionController::Rendering
386
-
387
- def render_to_body(options = T.unsafe(nil)); end
388
- end
389
-
390
- class ActionController::BadRequest < ::ActionController::ActionControllerError
391
- def initialize(msg = T.unsafe(nil)); end
392
- end
393
-
394
- class ActionController::Base < ::ActionController::Metal
395
- extend ::ActionController::ParamsWrapper::ClassMethods
396
- include ::AbstractController::Rendering
397
- include ::AbstractController::Translation
398
- include ::AbstractController::AssetPaths
399
- include ::AbstractController::Helpers
400
- include ::ActionController::Helpers
401
- include ::ActionDispatch::Routing::PolymorphicRoutes
402
- include ::ActionDispatch::Routing::UrlFor
403
- include ::AbstractController::UrlFor
404
- include ::ActionController::UrlFor
405
- include ::AbstractController::Logger
406
- include ::ActiveSupport::Benchmarkable
407
- include ::ActionController::Redirecting
408
- include ::ActionView::Rendering
409
- include ::ActionView::Layouts
410
- include ::ActionController::Rendering
411
- include ::ActionController::Renderers
412
- include ::ActionController::Renderers::All
413
- include ::ActionController::Head
414
- include ::ActionController::ConditionalGet
415
- include ::ActionController::EtagWithTemplateDigest
416
- include ::ActionController::EtagWithFlash
417
- include ::ActionController::Caching
418
- include ::AbstractController::Caching::Fragments
419
- include ::AbstractController::Caching::ConfigMethods
420
- include ::AbstractController::Caching
421
- include ::ActionController::MimeResponds
422
- include ::ActionController::BasicImplicitRender
423
- include ::ActionController::ImplicitRender
424
- include ::ActionController::StrongParameters
425
- include ::ActionController::ParameterEncoding
426
- include ::ActionController::Cookies
427
- include ::ActionController::Flash
428
- include ::ActionController::FormBuilder
429
- include ::ActiveSupport::Callbacks
430
- include ::AbstractController::Callbacks
431
- include ::ActionController::RequestForgeryProtection
432
- include ::ActionController::ContentSecurityPolicy
433
- include ::ActionController::PermissionsPolicy
434
- include ::ActionController::Streaming
435
- include ::ActionController::DataStreaming
436
- include ::ActionController::HttpAuthentication::Basic::ControllerMethods
437
- include ::ActionController::HttpAuthentication::Digest::ControllerMethods
438
- include ::ActionController::HttpAuthentication::Token::ControllerMethods
439
- include ::ActionController::DefaultHeaders
440
- include ::ActionController::Logging
441
- include ::ActiveSupport::Rescuable
442
- include ::ActionController::Rescue
443
- include ::ActionController::Instrumentation
444
- include ::ActionController::ParamsWrapper
445
- extend ::ActionView::ViewPaths::ClassMethods
446
- extend ::AbstractController::Helpers::ClassMethods
447
- extend ::ActionController::Helpers::ClassMethods
448
- extend ::AbstractController::UrlFor::ClassMethods
449
- extend ::ActionView::Rendering::ClassMethods
450
- extend ::ActionView::Layouts::ClassMethods
451
- extend ::ActionController::Rendering::ClassMethods
452
- extend ::ActionController::Renderers::ClassMethods
453
- extend ::ActionController::ConditionalGet::ClassMethods
454
- extend ::AbstractController::Caching::Fragments::ClassMethods
455
- extend ::AbstractController::Caching::ClassMethods
456
- extend ::AbstractController::Caching::ConfigMethods
457
- extend ::ActionController::ParameterEncoding::ClassMethods
458
- extend ::ActionController::Flash::ClassMethods
459
- extend ::ActionController::FormBuilder::ClassMethods
460
- extend ::ActiveSupport::Callbacks::ClassMethods
461
- extend ::AbstractController::Callbacks::ClassMethods
462
- extend ::ActionController::RequestForgeryProtection::ClassMethods
463
- extend ::ActionController::ContentSecurityPolicy::ClassMethods
464
- extend ::ActionController::PermissionsPolicy::ClassMethods
465
- extend ::ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
466
- extend ::ActionController::DefaultHeaders::ClassMethods
467
- extend ::ActionController::Logging::ClassMethods
468
- extend ::ActiveSupport::Rescuable::ClassMethods
469
- extend ::ActionController::Instrumentation::ClassMethods
470
- include ::ActionView::ViewPaths
471
-
472
- def __callbacks; end
473
- def __callbacks?; end
474
- def _helper_methods; end
475
- def _helper_methods=(_arg0); end
476
- def _helper_methods?; end
477
- def _process_action_callbacks; end
478
- def _renderers; end
479
- def _renderers=(_arg0); end
480
- def _renderers?; end
481
- def _run_process_action_callbacks(&block); end
482
- def _view_cache_dependencies; end
483
- def _view_cache_dependencies=(_arg0); end
484
- def _view_cache_dependencies?; end
485
- def _wrapper_options; end
486
- def _wrapper_options=(_arg0); end
487
- def _wrapper_options?; end
488
- def alert; end
489
- def allow_forgery_protection; end
490
- def allow_forgery_protection=(value); end
491
- def asset_host; end
492
- def asset_host=(value); end
493
- def assets_dir; end
494
- def assets_dir=(value); end
495
- def default_asset_host_protocol; end
496
- def default_asset_host_protocol=(value); end
497
- def default_protect_from_forgery; end
498
- def default_protect_from_forgery=(value); end
499
- def default_static_extension; end
500
- def default_static_extension=(value); end
501
- def default_url_options; end
502
- def default_url_options=(_arg0); end
503
- def default_url_options?; end
504
- def enable_fragment_cache_logging; end
505
- def enable_fragment_cache_logging=(value); end
506
- def etag_with_template_digest; end
507
- def etag_with_template_digest=(_arg0); end
508
- def etag_with_template_digest?; end
509
- def etaggers; end
510
- def etaggers=(_arg0); end
511
- def etaggers?; end
512
- def flash(*args, &block); end
513
- def forgery_protection_origin_check; end
514
- def forgery_protection_origin_check=(value); end
515
- def forgery_protection_strategy; end
516
- def forgery_protection_strategy=(value); end
517
- def fragment_cache_keys; end
518
- def fragment_cache_keys=(_arg0); end
519
- def fragment_cache_keys?; end
520
- def helpers_path; end
521
- def helpers_path=(_arg0); end
522
- def helpers_path?; end
523
- def include_all_helpers; end
524
- def include_all_helpers=(_arg0); end
525
- def include_all_helpers?; end
526
- def javascripts_dir; end
527
- def javascripts_dir=(value); end
528
- def log_warning_on_csrf_failure; end
529
- def log_warning_on_csrf_failure=(value); end
530
- def logger; end
531
- def logger=(value); end
532
- def notice; end
533
- def per_form_csrf_tokens; end
534
- def per_form_csrf_tokens=(value); end
535
- def perform_caching; end
536
- def perform_caching=(value); end
537
- def relative_url_root; end
538
- def relative_url_root=(value); end
539
- def request_forgery_protection_token; end
540
- def request_forgery_protection_token=(value); end
541
- def rescue_handlers; end
542
- def rescue_handlers=(_arg0); end
543
- def rescue_handlers?; end
544
- def stylesheets_dir; end
545
- def stylesheets_dir=(value); end
546
- def urlsafe_csrf_tokens; end
547
-
548
- private
549
-
550
- def _layout(lookup_context, formats); end
551
- def _protected_ivars; end
552
-
553
- class << self
554
- def __callbacks; end
555
- def __callbacks=(value); end
556
- def __callbacks?; end
557
- def _default_form_builder; end
558
- def _default_form_builder=(value); end
559
- def _default_form_builder?; end
560
- def _flash_types; end
561
- def _flash_types=(value); end
562
- def _flash_types?; end
563
- def _helper_methods; end
564
- def _helper_methods=(value); end
565
- def _helper_methods?; end
566
- def _helpers; end
567
- def _layout; end
568
- def _layout=(value); end
569
- def _layout?; end
570
- def _layout_conditions; end
571
- def _layout_conditions=(value); end
572
- def _layout_conditions?; end
573
- def _process_action_callbacks; end
574
- def _process_action_callbacks=(value); end
575
- def _renderers; end
576
- def _renderers=(value); end
577
- def _renderers?; end
578
- def _view_cache_dependencies; end
579
- def _view_cache_dependencies=(value); end
580
- def _view_cache_dependencies?; end
581
- def _wrapper_options; end
582
- def _wrapper_options=(value); end
583
- def _wrapper_options?; end
584
- def allow_forgery_protection; end
585
- def allow_forgery_protection=(value); end
586
- def asset_host; end
587
- def asset_host=(value); end
588
- def assets_dir; end
589
- def assets_dir=(value); end
590
- def default_asset_host_protocol; end
591
- def default_asset_host_protocol=(value); end
592
- def default_protect_from_forgery; end
593
- def default_protect_from_forgery=(value); end
594
- def default_static_extension; end
595
- def default_static_extension=(value); end
596
- def default_url_options; end
597
- def default_url_options=(value); end
598
- def default_url_options?; end
599
- def enable_fragment_cache_logging; end
600
- def enable_fragment_cache_logging=(value); end
601
- def etag_with_template_digest; end
602
- def etag_with_template_digest=(value); end
603
- def etag_with_template_digest?; end
604
- def etaggers; end
605
- def etaggers=(value); end
606
- def etaggers?; end
607
- def forgery_protection_origin_check; end
608
- def forgery_protection_origin_check=(value); end
609
- def forgery_protection_strategy; end
610
- def forgery_protection_strategy=(value); end
611
- def fragment_cache_keys; end
612
- def fragment_cache_keys=(value); end
613
- def fragment_cache_keys?; end
614
- def helpers_path; end
615
- def helpers_path=(value); end
616
- def helpers_path?; end
617
- def include_all_helpers; end
618
- def include_all_helpers=(value); end
619
- def include_all_helpers?; end
620
- def javascripts_dir; end
621
- def javascripts_dir=(value); end
622
- def log_warning_on_csrf_failure; end
623
- def log_warning_on_csrf_failure=(value); end
624
- def logger; end
625
- def logger=(value); end
626
- def middleware_stack; end
627
- def per_form_csrf_tokens; end
628
- def per_form_csrf_tokens=(value); end
629
- def perform_caching; end
630
- def perform_caching=(value); end
631
- def relative_url_root; end
632
- def relative_url_root=(value); end
633
- def request_forgery_protection_token; end
634
- def request_forgery_protection_token=(value); end
635
- def rescue_handlers; end
636
- def rescue_handlers=(value); end
637
- def rescue_handlers?; end
638
- def stylesheets_dir; end
639
- def stylesheets_dir=(value); end
640
- def urlsafe_csrf_tokens; end
641
- def urlsafe_csrf_tokens=(value); end
642
- def without_modules(*modules); end
643
- end
644
- end
645
-
646
- module ActionController::Base::HelperMethods
647
- def alert(*args, &block); end
648
- def combined_fragment_cache_key(*args, &block); end
649
- def content_security_policy?(*args, &block); end
650
- def content_security_policy_nonce(*args, &block); end
651
- def cookies(*args, &block); end
652
- def form_authenticity_token(*args, &block); end
653
- def notice(*args, &block); end
654
- def protect_against_forgery?(*args, &block); end
655
- def view_cache_dependencies(*args, &block); end
656
- end
657
-
658
- ActionController::Base::MODULES = T.let(T.unsafe(nil), Array)
659
- ActionController::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array)
660
-
661
- module ActionController::BasicImplicitRender
662
- def default_render; end
663
- def send_action(method, *args); end
664
- end
665
-
666
- module ActionController::Caching
667
- extend ::ActiveSupport::Concern
668
- include ::AbstractController::Caching::Fragments
669
- include ::AbstractController::Caching
670
-
671
- private
672
-
673
- def instrument_name; end
674
- def instrument_payload(key); end
675
- end
676
-
677
- module ActionController::ConditionalGet
678
- include ::ActionController::Head
679
- extend ::ActiveSupport::Concern
680
-
681
- mixes_in_class_methods ::ActionController::ConditionalGet::ClassMethods
682
-
683
- def expires_in(seconds, options = T.unsafe(nil)); end
684
- def expires_now; end
685
- def fresh_when(object = T.unsafe(nil), etag: T.unsafe(nil), weak_etag: T.unsafe(nil), strong_etag: T.unsafe(nil), last_modified: T.unsafe(nil), public: T.unsafe(nil), template: T.unsafe(nil)); end
686
- def http_cache_forever(public: T.unsafe(nil)); end
687
- def stale?(object = T.unsafe(nil), **freshness_kwargs); end
688
-
689
- private
690
-
691
- def combine_etags(validator, options); end
692
- end
693
-
694
- module ActionController::ConditionalGet::ClassMethods
695
- def etag(&etagger); end
696
- end
697
-
698
- module ActionController::ContentSecurityPolicy
699
- extend ::ActiveSupport::Concern
700
- include ::AbstractController::Helpers
701
- include ::ActiveSupport::Callbacks
702
- include ::AbstractController::Callbacks
703
-
704
- mixes_in_class_methods ::ActionController::ContentSecurityPolicy::ClassMethods
705
-
706
- private
707
-
708
- def content_security_policy?; end
709
- def content_security_policy_nonce; end
710
- def current_content_security_policy; end
711
- end
712
-
713
- module ActionController::ContentSecurityPolicy::ClassMethods
714
- def content_security_policy(enabled = T.unsafe(nil), **options, &block); end
715
- def content_security_policy_report_only(report_only = T.unsafe(nil), **options); end
716
- end
717
-
718
- module ActionController::Cookies
719
- extend ::ActiveSupport::Concern
720
-
721
- private
722
-
723
- def cookies; end
724
- end
725
-
726
- module ActionController::DataStreaming
727
- extend ::ActiveSupport::Concern
728
- include ::ActionController::Rendering
729
-
730
- private
731
-
732
- def send_data(data, options = T.unsafe(nil)); end
733
- def send_file(path, options = T.unsafe(nil)); end
734
- def send_file_headers!(options); end
735
- end
736
-
737
- ActionController::DataStreaming::DEFAULT_SEND_FILE_DISPOSITION = T.let(T.unsafe(nil), String)
738
- ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), String)
739
-
740
- module ActionController::DefaultHeaders
741
- extend ::ActiveSupport::Concern
742
-
743
- mixes_in_class_methods ::ActionController::DefaultHeaders::ClassMethods
744
- end
745
-
746
- module ActionController::DefaultHeaders::ClassMethods
747
- def make_response!(request); end
748
- end
749
-
750
- module ActionController::EtagWithFlash
751
- extend ::ActiveSupport::Concern
752
- include ::ActionController::ConditionalGet
753
- end
754
-
755
- module ActionController::EtagWithTemplateDigest
756
- extend ::ActiveSupport::Concern
757
- include ::ActionController::ConditionalGet
758
-
759
- private
760
-
761
- def determine_template_etag(options); end
762
- def lookup_and_digest_template(template); end
763
- def pick_template_for_etag(options); end
764
- end
765
-
766
- module ActionController::Flash
767
- extend ::ActiveSupport::Concern
768
-
769
- mixes_in_class_methods ::ActionController::Flash::ClassMethods
770
-
771
- private
772
-
773
- def redirect_to(options = T.unsafe(nil), response_options_and_flash = T.unsafe(nil)); end
774
- end
775
-
776
- module ActionController::Flash::ClassMethods
777
- def add_flash_types(*types); end
778
- end
779
-
780
- module ActionController::FormBuilder
781
- extend ::ActiveSupport::Concern
782
-
783
- mixes_in_class_methods ::ActionController::FormBuilder::ClassMethods
784
-
785
- def default_form_builder; end
786
- end
787
-
788
- module ActionController::FormBuilder::ClassMethods
789
- def default_form_builder(builder); end
790
- end
791
-
792
- module ActionController::Head
793
- def head(status, options = T.unsafe(nil)); end
794
-
795
- private
796
-
797
- def include_content?(status); end
798
- end
799
-
800
- module ActionController::Helpers
801
- extend ::ActiveSupport::Concern
802
- include ::AbstractController::Helpers
803
-
804
- mixes_in_class_methods ::ActionController::Helpers::ClassMethods
805
-
806
- def helpers; end
807
-
808
- class << self
809
- def helpers_path; end
810
- def helpers_path=(_arg0); end
811
- end
812
- end
813
-
814
- module ActionController::Helpers::ClassMethods
815
- def all_helpers_from_path(path); end
816
- def helper_attr(*attrs); end
817
- def helpers; end
818
- def modules_for_helpers(args); end
819
-
820
- private
821
-
822
- def all_application_helpers; end
823
- end
824
-
825
- module ActionController::HttpAuthentication; end
826
-
827
- module ActionController::HttpAuthentication::Basic
828
- extend ::ActionController::HttpAuthentication::Basic
829
-
830
- def auth_param(request); end
831
- def auth_scheme(request); end
832
- def authenticate(request, &login_procedure); end
833
- def authentication_request(controller, realm, message); end
834
- def decode_credentials(request); end
835
- def encode_credentials(user_name, password); end
836
- def has_basic_credentials?(request); end
837
- def user_name_and_password(request); end
838
- end
839
-
840
- module ActionController::HttpAuthentication::Basic::ControllerMethods
841
- extend ::ActiveSupport::Concern
842
-
843
- mixes_in_class_methods ::ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
844
-
845
- def authenticate_or_request_with_http_basic(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end
846
- def authenticate_with_http_basic(&login_procedure); end
847
- def http_basic_authenticate_or_request_with(name:, password:, realm: T.unsafe(nil), message: T.unsafe(nil)); end
848
- def request_http_basic_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end
849
- end
850
-
851
- module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
852
- def http_basic_authenticate_with(name:, password:, realm: T.unsafe(nil), **options); end
853
- end
854
-
855
- module ActionController::HttpAuthentication::Digest
856
- extend ::ActionController::HttpAuthentication::Digest
857
-
858
- def authenticate(request, realm, &password_procedure); end
859
- def authentication_header(controller, realm); end
860
- def authentication_request(controller, realm, message = T.unsafe(nil)); end
861
- def decode_credentials(header); end
862
- def decode_credentials_header(request); end
863
- def encode_credentials(http_method, credentials, password, password_is_ha1); end
864
- def expected_response(http_method, uri, credentials, password, password_is_ha1 = T.unsafe(nil)); end
865
- def ha1(credentials, password); end
866
- def nonce(secret_key, time = T.unsafe(nil)); end
867
- def opaque(secret_key); end
868
- def secret_token(request); end
869
- def validate_digest_response(request, realm, &password_procedure); end
870
- def validate_nonce(secret_key, request, value, seconds_to_timeout = T.unsafe(nil)); end
871
- end
872
-
873
- module ActionController::HttpAuthentication::Digest::ControllerMethods
874
- def authenticate_or_request_with_http_digest(realm = T.unsafe(nil), message = T.unsafe(nil), &password_procedure); end
875
- def authenticate_with_http_digest(realm = T.unsafe(nil), &password_procedure); end
876
- def request_http_digest_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end
877
- end
878
-
879
- module ActionController::HttpAuthentication::Token
880
- extend ::ActionController::HttpAuthentication::Token
881
-
882
- def authenticate(controller, &login_procedure); end
883
- def authentication_request(controller, realm, message = T.unsafe(nil)); end
884
- def encode_credentials(token, options = T.unsafe(nil)); end
885
- def params_array_from(raw_params); end
886
- def raw_params(auth); end
887
- def rewrite_param_values(array_params); end
888
- def token_and_options(request); end
889
- def token_params_from(auth); end
890
- end
891
-
892
- ActionController::HttpAuthentication::Token::AUTHN_PAIR_DELIMITERS = T.let(T.unsafe(nil), Regexp)
893
-
894
- module ActionController::HttpAuthentication::Token::ControllerMethods
895
- def authenticate_or_request_with_http_token(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end
896
- def authenticate_with_http_token(&login_procedure); end
897
- def request_http_token_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end
898
- end
899
-
900
- ActionController::HttpAuthentication::Token::TOKEN_KEY = T.let(T.unsafe(nil), String)
901
- ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil), Regexp)
902
-
903
- module ActionController::ImplicitRender
904
- include ::ActionController::BasicImplicitRender
905
-
906
- def default_render; end
907
- def method_for_action(action_name); end
908
-
909
- private
910
-
911
- def interactive_browser_request?; end
912
- end
913
-
914
- module ActionController::Instrumentation
915
- extend ::ActiveSupport::Concern
916
- include ::ActiveSupport::Benchmarkable
917
- include ::AbstractController::Logger
918
-
919
- mixes_in_class_methods ::ActionController::Instrumentation::ClassMethods
920
-
921
- def process_action(*_arg0); end
922
- def redirect_to(*_arg0); end
923
- def render(*_arg0); end
924
- def send_data(data, options = T.unsafe(nil)); end
925
- def send_file(path, options = T.unsafe(nil)); end
926
- def view_runtime; end
927
- def view_runtime=(_arg0); end
928
-
929
- private
930
-
931
- def append_info_to_payload(payload); end
932
- def cleanup_view_runtime; end
933
- def halted_callback_hook(filter, _); end
934
- end
935
-
936
- module ActionController::Instrumentation::ClassMethods
937
- def log_process_action(payload); end
938
- end
939
-
940
- class ActionController::InvalidAuthenticityToken < ::ActionController::ActionControllerError; end
941
- class ActionController::InvalidCrossOriginRequest < ::ActionController::ActionControllerError; end
942
-
943
- module ActionController::Live
944
- extend ::ActiveSupport::Concern
945
-
946
- mixes_in_class_methods ::ActionController::Live::ClassMethods
947
-
948
- def process(name); end
949
- def response_body=(body); end
950
-
951
- private
952
-
953
- def log_error(exception); end
954
- def new_controller_thread; end
955
- end
956
-
957
- class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer
958
- include ::MonitorMixin
959
-
960
- def initialize(response); end
961
-
962
- def abort; end
963
- def call_on_error; end
964
- def close; end
965
- def connected?; end
966
- def ignore_disconnect; end
967
- def ignore_disconnect=(_arg0); end
968
- def on_error(&block); end
969
- def write(string); end
970
-
971
- private
972
-
973
- def build_queue(queue_size); end
974
- def each_chunk(&block); end
975
-
976
- class << self
977
- def queue_size; end
978
- def queue_size=(_arg0); end
979
- end
980
- end
981
-
982
- module ActionController::Live::ClassMethods
983
- def make_response!(request); end
984
- end
985
-
986
- class ActionController::Live::ClientDisconnected < ::RuntimeError; end
987
-
988
- class ActionController::Live::Response < ::ActionDispatch::Response
989
- private
990
-
991
- def before_committed; end
992
- def build_buffer(response, body); end
993
- end
994
-
995
- class ActionController::Live::SSE
996
- def initialize(stream, options = T.unsafe(nil)); end
997
-
998
- def close; end
999
- def write(object, options = T.unsafe(nil)); end
1000
-
1001
- private
1002
-
1003
- def perform_write(json, options); end
1004
- end
1005
-
1006
- ActionController::Live::SSE::PERMITTED_OPTIONS = T.let(T.unsafe(nil), Array)
1007
-
1008
- class ActionController::LiveTestResponse < ::ActionController::Live::Response
1009
- def error?; end
1010
- def missing?; end
1011
- def success?; end
1012
- end
1013
-
1014
- class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber
1015
- def exist_fragment?(event); end
1016
- def expire_fragment(event); end
1017
- def expire_page(event); end
1018
- def halted_callback(event); end
1019
- def logger; end
1020
- def process_action(event); end
1021
- def read_fragment(event); end
1022
- def redirect_to(event); end
1023
- def send_data(event); end
1024
- def send_file(event); end
1025
- def start_processing(event); end
1026
- def unpermitted_parameters(event); end
1027
- def write_fragment(event); end
1028
- def write_page(event); end
1029
- end
1030
-
1031
- ActionController::LogSubscriber::INTERNAL_PARAMS = T.let(T.unsafe(nil), Array)
1032
-
1033
- module ActionController::Logging
1034
- extend ::ActiveSupport::Concern
1035
-
1036
- mixes_in_class_methods ::ActionController::Logging::ClassMethods
1037
- end
1038
-
1039
- module ActionController::Logging::ClassMethods
1040
- def log_at(level, **options); end
1041
- end
1042
-
1043
- class ActionController::Metal < ::AbstractController::Base
1044
- def initialize; end
1045
-
1046
- def content_type(*args, &block); end
1047
- def content_type=(arg); end
1048
- def controller_name; end
1049
- def dispatch(name, request, response); end
1050
- def headers(*args, &block); end
1051
- def location(*args, &block); end
1052
- def location=(arg); end
1053
- def media_type(*args, &block); end
1054
- def middleware_stack; end
1055
- def middleware_stack=(_arg0); end
1056
- def middleware_stack?; end
1057
- def params; end
1058
- def params=(val); end
1059
- def performed?; end
1060
- def request; end
1061
- def request=(_arg0); end
1062
- def reset_session; end
1063
- def response; end
1064
- def response=(_arg0); end
1065
- def response_body=(body); end
1066
- def response_code(*args, &block); end
1067
- def session(*args, &block); end
1068
- def set_request!(request); end
1069
- def set_response!(response); end
1070
- def status(*args, &block); end
1071
- def status=(arg); end
1072
- def to_a; end
1073
- def url_for(string); end
1074
-
1075
- class << self
1076
- def action(name); end
1077
- def action_encoding_template(action); end
1078
- def controller_name; end
1079
- def dispatch(name, req, res); end
1080
- def inherited(base); end
1081
- def make_response!(request); end
1082
- def middleware; end
1083
- def middleware_stack; end
1084
- def middleware_stack=(value); end
1085
- def middleware_stack?; end
1086
- def use(*args, &block); end
1087
- end
1088
- end
1089
-
1090
- class ActionController::MethodNotAllowed < ::ActionController::ActionControllerError
1091
- def initialize(*allowed_methods); end
1092
- end
1093
-
1094
- class ActionController::MiddlewareStack < ::ActionDispatch::MiddlewareStack
1095
- def build(action, app = T.unsafe(nil), &block); end
1096
-
1097
- private
1098
-
1099
- def build_middleware(klass, args, block); end
1100
- end
1101
-
1102
- ActionController::MiddlewareStack::EXCLUDE = T.let(T.unsafe(nil), Proc)
1103
- ActionController::MiddlewareStack::INCLUDE = T.let(T.unsafe(nil), Proc)
1104
-
1105
- class ActionController::MiddlewareStack::Middleware < ::ActionDispatch::MiddlewareStack::Middleware
1106
- def initialize(klass, args, actions, strategy, block); end
1107
-
1108
- def valid?(action); end
1109
- end
1110
-
1111
- ActionController::MiddlewareStack::NULL = T.let(T.unsafe(nil), Proc)
1112
-
1113
- module ActionController::MimeResponds
1114
- def respond_to(*mimes); end
1115
- end
1116
-
1117
- class ActionController::MimeResponds::Collector
1118
- include ::AbstractController::Collector
1119
-
1120
- def initialize(mimes, variant = T.unsafe(nil)); end
1121
-
1122
- def all(*args, &block); end
1123
- def any(*args, &block); end
1124
- def any_response?; end
1125
- def custom(mime_type, &block); end
1126
- def format; end
1127
- def format=(_arg0); end
1128
- def negotiate_format(request); end
1129
- def response; end
1130
- end
1131
-
1132
- class ActionController::MimeResponds::Collector::VariantCollector
1133
- def initialize(variant = T.unsafe(nil)); end
1134
-
1135
- def all(*args, &block); end
1136
- def any(*args, &block); end
1137
- def method_missing(name, *args, &block); end
1138
- def variant; end
1139
-
1140
- private
1141
-
1142
- def variant_key; end
1143
- end
1144
-
1145
- class ActionController::MissingExactTemplate < ::ActionController::UnknownFormat; end
1146
- class ActionController::MissingFile < ::ActionController::ActionControllerError; end
1147
-
1148
- class ActionController::MissingRenderer < ::LoadError
1149
- def initialize(format); end
1150
- end
1151
-
1152
- class ActionController::NotImplemented < ::ActionController::MethodNotAllowed; end
1153
-
1154
- module ActionController::ParameterEncoding
1155
- extend ::ActiveSupport::Concern
1156
-
1157
- mixes_in_class_methods ::ActionController::ParameterEncoding::ClassMethods
1158
- end
1159
-
1160
- module ActionController::ParameterEncoding::ClassMethods
1161
- def action_encoding_template(action); end
1162
- def inherited(klass); end
1163
- def param_encoding(action, param, encoding); end
1164
- def setup_param_encode; end
1165
- def skip_parameter_encoding(action); end
1166
- end
1167
-
1168
- class ActionController::ParameterMissing < ::KeyError
1169
- def initialize(param, keys = T.unsafe(nil)); end
1170
-
1171
- def keys; end
1172
- def param; end
1173
- end
1174
-
1175
- class ActionController::ParameterMissing::Correction
1176
- def initialize(error); end
1177
-
1178
- def corrections; end
1179
- end
1180
-
1181
- class ActionController::Parameters
1182
- def initialize(parameters = T.unsafe(nil)); end
1183
-
1184
- def ==(other); end
1185
- def [](key); end
1186
- def []=(key, value); end
1187
- def always_permitted_parameters; end
1188
- def always_permitted_parameters=(val); end
1189
- def as_json(*args, &block); end
1190
- def compact; end
1191
- def compact!; end
1192
- def compact_blank; end
1193
- def compact_blank!; end
1194
- def converted_arrays; end
1195
- def deep_dup; end
1196
- def deep_transform_keys(&block); end
1197
- def deep_transform_keys!(&block); end
1198
- def delete(key, &block); end
1199
- def delete_if(&block); end
1200
- def dig(*keys); end
1201
- def each(&block); end
1202
- def each_key(*args, &block); end
1203
- def each_pair(&block); end
1204
- def each_value(&block); end
1205
- def empty?(*args, &block); end
1206
- def eql?(other); end
1207
- def except(*keys); end
1208
- def extract!(*keys); end
1209
- def fetch(key, *args); end
1210
- def has_key?(*args, &block); end
1211
- def has_value?(*args, &block); end
1212
- def hash; end
1213
- def include?(*args, &block); end
1214
- def init_with(coder); end
1215
- def inspect; end
1216
- def keep_if(&block); end
1217
- def key?(*args, &block); end
1218
- def keys(*args, &block); end
1219
- def member?(*args, &block); end
1220
- def merge(other_hash); end
1221
- def merge!(other_hash); end
1222
- def permit(*filters); end
1223
- def permit!; end
1224
- def permitted?; end
1225
- def reject(&block); end
1226
- def reject!(&block); end
1227
- def require(key); end
1228
- def required(key); end
1229
- def reverse_merge(other_hash); end
1230
- def reverse_merge!(other_hash); end
1231
- def select(&block); end
1232
- def select!(&block); end
1233
- def slice(*keys); end
1234
- def slice!(*keys); end
1235
- def stringify_keys; end
1236
- def to_h; end
1237
- def to_hash; end
1238
- def to_param(*args); end
1239
- def to_query(*args); end
1240
- def to_s(*args, &block); end
1241
- def to_unsafe_h; end
1242
- def to_unsafe_hash; end
1243
- def transform_keys(&block); end
1244
- def transform_keys!(&block); end
1245
- def transform_values; end
1246
- def transform_values!; end
1247
- def value?(*args, &block); end
1248
- def values(*args, &block); end
1249
- def values_at(*keys); end
1250
- def with_defaults(other_hash); end
1251
- def with_defaults!(other_hash); end
1252
-
1253
- protected
1254
-
1255
- def each_nested_attribute; end
1256
- def nested_attributes?; end
1257
- def parameters; end
1258
- def permitted=(_arg0); end
1259
-
1260
- private
1261
-
1262
- def array_of_permitted_scalars?(value); end
1263
- def convert_hashes_to_parameters(key, value); end
1264
- def convert_parameters_to_hashes(value, using); end
1265
- def convert_value_to_parameters(value); end
1266
- def each_element(object, &block); end
1267
- def hash_filter(params, filter); end
1268
- def initialize_copy(source); end
1269
- def new_instance_with_inherited_permitted_status(hash); end
1270
- def non_scalar?(value); end
1271
- def permit_any_in_array(array); end
1272
- def permit_any_in_parameters(params); end
1273
- def permitted_scalar?(value); end
1274
- def permitted_scalar_filter(params, permitted_key); end
1275
- def unpermitted_keys(params); end
1276
- def unpermitted_parameters!(params); end
1277
-
1278
- class << self
1279
- def action_on_unpermitted_parameters; end
1280
- def action_on_unpermitted_parameters=(val); end
1281
- def always_permitted_parameters; end
1282
- def always_permitted_parameters=(val); end
1283
- def hook_into_yaml_loading; end
1284
- def nested_attribute?(key, value); end
1285
- def permit_all_parameters; end
1286
- def permit_all_parameters=(val); end
1287
- end
1288
- end
1289
-
1290
- ActionController::Parameters::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
1291
- ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
1292
- ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Array)
1293
-
1294
- module ActionController::ParamsWrapper
1295
- extend ::ActiveSupport::Concern
1296
-
1297
- mixes_in_class_methods ::ActionController::ParamsWrapper::ClassMethods
1298
-
1299
- def process_action(*_arg0); end
1300
-
1301
- private
1302
-
1303
- def _extract_parameters(parameters); end
1304
- def _perform_parameter_wrapping; end
1305
- def _wrap_parameters(parameters); end
1306
- def _wrapper_enabled?; end
1307
- def _wrapper_formats; end
1308
- def _wrapper_key; end
1309
- end
1310
-
1311
- module ActionController::ParamsWrapper::ClassMethods
1312
- def _set_wrapper_options(options); end
1313
- def inherited(klass); end
1314
- def wrap_parameters(name_or_model_or_options, options = T.unsafe(nil)); end
1315
- end
1316
-
1317
- ActionController::ParamsWrapper::EXCLUDE_PARAMETERS = T.let(T.unsafe(nil), Array)
1318
-
1319
- class ActionController::ParamsWrapper::Options < ::Struct
1320
- include ::Mutex_m
1321
-
1322
- def initialize(name, format, include, exclude, klass, model); end
1323
-
1324
- def include; end
1325
- def lock; end
1326
- def locked?; end
1327
- def model; end
1328
- def name; end
1329
- def synchronize(&block); end
1330
- def try_lock; end
1331
- def unlock; end
1332
-
1333
- private
1334
-
1335
- def _default_wrap_model; end
1336
-
1337
- class << self
1338
- def from_hash(hash); end
1339
- end
1340
- end
1341
-
1342
- module ActionController::PermissionsPolicy
1343
- extend ::ActiveSupport::Concern
1344
-
1345
- mixes_in_class_methods ::ActionController::PermissionsPolicy::ClassMethods
1346
- end
1347
-
1348
- module ActionController::PermissionsPolicy::ClassMethods
1349
- def permissions_policy(**options, &block); end
1350
- end
1351
-
1352
- module ActionController::Redirecting
1353
- extend ::ActiveSupport::Concern
1354
- include ::ActiveSupport::Benchmarkable
1355
- include ::AbstractController::Logger
1356
- include ::ActionDispatch::Routing::UrlFor
1357
- include ::AbstractController::UrlFor
1358
- include ::ActionController::UrlFor
1359
-
1360
- def _compute_redirect_to_location(request, options); end
1361
- def redirect_back(fallback_location:, allow_other_host: T.unsafe(nil), **args); end
1362
- def redirect_to(options = T.unsafe(nil), response_options = T.unsafe(nil)); end
1363
-
1364
- private
1365
-
1366
- def _extract_redirect_to_status(options, response_options); end
1367
- def _url_host_allowed?(url); end
1368
-
1369
- class << self
1370
- def _compute_redirect_to_location(request, options); end
1371
- end
1372
- end
1373
-
1374
- class ActionController::RenderError < ::ActionController::ActionControllerError; end
1375
-
1376
- class ActionController::Renderer
1377
- def initialize(controller, env, defaults); end
1378
-
1379
- def controller; end
1380
- def defaults; end
1381
- def new(env = T.unsafe(nil)); end
1382
- def render(*args); end
1383
- def render_to_string(*args); end
1384
- def with_defaults(defaults); end
1385
-
1386
- private
1387
-
1388
- def normalize_keys(defaults, env); end
1389
- def rack_key_for(key); end
1390
- def rack_value_for(key, value); end
1391
-
1392
- class << self
1393
- def for(controller, env = T.unsafe(nil), defaults = T.unsafe(nil)); end
1394
- end
1395
- end
1396
-
1397
- ActionController::Renderer::DEFAULTS = T.let(T.unsafe(nil), Hash)
1398
- ActionController::Renderer::RACK_KEY_TRANSLATION = T.let(T.unsafe(nil), Hash)
1399
-
1400
- module ActionController::Renderers
1401
- extend ::ActiveSupport::Concern
1402
-
1403
- mixes_in_class_methods ::ActionController::Renderers::ClassMethods
1404
-
1405
- def _render_to_body_with_renderer(options); end
1406
- def _render_with_renderer_js(js, options); end
1407
- def _render_with_renderer_json(json, options); end
1408
- def _render_with_renderer_xml(xml, options); end
1409
- def render_to_body(options); end
1410
-
1411
- class << self
1412
- def _render_with_renderer_method_name(key); end
1413
- def add(key, &block); end
1414
- def remove(key); end
1415
- end
1416
- end
1417
-
1418
- module ActionController::Renderers::All
1419
- extend ::ActiveSupport::Concern
1420
- include ::ActionController::Renderers
1421
- end
1422
-
1423
- module ActionController::Renderers::ClassMethods
1424
- def use_renderer(*args); end
1425
- def use_renderers(*args); end
1426
- end
1427
-
1428
- ActionController::Renderers::RENDERERS = T.let(T.unsafe(nil), Set)
1429
-
1430
- module ActionController::Rendering
1431
- extend ::ActiveSupport::Concern
1432
-
1433
- mixes_in_class_methods ::ActionController::Rendering::ClassMethods
1434
-
1435
- def process_action(*_arg0); end
1436
- def render(*args); end
1437
- def render_to_body(options = T.unsafe(nil)); end
1438
- def render_to_string(*_arg0); end
1439
-
1440
- private
1441
-
1442
- def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil), &blk); end
1443
- def _normalize_options(options); end
1444
- def _normalize_text(options); end
1445
- def _process_options(options); end
1446
- def _process_variant(options); end
1447
- def _render_in_priorities(options); end
1448
- def _set_html_content_type; end
1449
- def _set_rendered_content_type(format); end
1450
- def _set_vary_header; end
1451
- end
1452
-
1453
- module ActionController::Rendering::ClassMethods
1454
- def inherited(klass); end
1455
- def render(*args, &block); end
1456
- def renderer; end
1457
- def setup_renderer!; end
1458
- end
1459
-
1460
- ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), Array)
1461
-
1462
- module ActionController::RequestForgeryProtection
1463
- extend ::ActiveSupport::Concern
1464
- include ::AbstractController::Helpers
1465
- include ::ActiveSupport::Callbacks
1466
- include ::AbstractController::Callbacks
1467
-
1468
- mixes_in_class_methods ::ActionController::RequestForgeryProtection::ClassMethods
1469
-
1470
- private
1471
-
1472
- def any_authenticity_token_valid?; end
1473
- def compare_with_global_token(token, session); end
1474
- def compare_with_real_token(token, session); end
1475
- def csrf_token_hmac(session, identifier); end
1476
- def decode_csrf_token(encoded_csrf_token); end
1477
- def encode_csrf_token(csrf_token); end
1478
- def form_authenticity_param; end
1479
- def form_authenticity_token(form_options: T.unsafe(nil)); end
1480
- def generate_csrf_token; end
1481
- def global_csrf_token(session); end
1482
- def handle_unverified_request; end
1483
- def mark_for_same_origin_verification!; end
1484
- def marked_for_same_origin_verification?; end
1485
- def mask_token(raw_token); end
1486
- def masked_authenticity_token(session, form_options: T.unsafe(nil)); end
1487
- def non_xhr_javascript_response?; end
1488
- def normalize_action_path(action_path); end
1489
- def per_form_csrf_token(session, action_path, method); end
1490
- def protect_against_forgery?; end
1491
- def real_csrf_token(session); end
1492
- def request_authenticity_tokens; end
1493
- def unmask_token(masked_token); end
1494
- def valid_authenticity_token?(session, encoded_masked_token); end
1495
- def valid_per_form_csrf_token?(token, session); end
1496
- def valid_request_origin?; end
1497
- def verified_request?; end
1498
- def verify_authenticity_token; end
1499
- def verify_same_origin_request; end
1500
- def xor_byte_strings(s1, s2); end
1501
- end
1502
-
1503
- ActionController::RequestForgeryProtection::AUTHENTICITY_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer)
1504
- ActionController::RequestForgeryProtection::CROSS_ORIGIN_JAVASCRIPT_WARNING = T.let(T.unsafe(nil), String)
1505
-
1506
- module ActionController::RequestForgeryProtection::ClassMethods
1507
- def protect_from_forgery(options = T.unsafe(nil)); end
1508
- def skip_forgery_protection(options = T.unsafe(nil)); end
1509
-
1510
- private
1511
-
1512
- def protection_method_class(name); end
1513
- end
1514
-
1515
- ActionController::RequestForgeryProtection::GLOBAL_CSRF_TOKEN_IDENTIFIER = T.let(T.unsafe(nil), String)
1516
- ActionController::RequestForgeryProtection::NULL_ORIGIN_MESSAGE = T.let(T.unsafe(nil), String)
1517
- module ActionController::RequestForgeryProtection::ProtectionMethods; end
1518
-
1519
- class ActionController::RequestForgeryProtection::ProtectionMethods::Exception
1520
- def initialize(controller); end
1521
-
1522
- def handle_unverified_request; end
1523
- end
1524
-
1525
- class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession
1526
- def initialize(controller); end
1527
-
1528
- def handle_unverified_request; end
1529
- end
1530
-
1531
- class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullCookieJar < ::ActionDispatch::Cookies::CookieJar
1532
- def write(*_arg0); end
1533
- end
1534
-
1535
- class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash < ::Rack::Session::Abstract::SessionHash
1536
- def initialize(req); end
1537
-
1538
- def destroy; end
1539
- def exists?; end
1540
- end
1541
-
1542
- class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession
1543
- def initialize(controller); end
1544
-
1545
- def handle_unverified_request; end
1546
- end
1547
-
1548
- module ActionController::Rescue
1549
- extend ::ActiveSupport::Concern
1550
- include ::ActiveSupport::Rescuable
1551
-
1552
- def show_detailed_exceptions?; end
1553
-
1554
- private
1555
-
1556
- def process_action(*_arg0); end
1557
- end
1558
-
1559
- class ActionController::RespondToMismatchError < ::ActionController::ActionControllerError
1560
- def initialize(message = T.unsafe(nil)); end
1561
- end
1562
-
1563
- ActionController::RespondToMismatchError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String)
1564
-
1565
- class ActionController::RoutingError < ::ActionController::ActionControllerError
1566
- def initialize(message, failures = T.unsafe(nil)); end
1567
-
1568
- def failures; end
1569
- end
1570
-
1571
- class ActionController::SessionOverflowError < ::ActionController::ActionControllerError
1572
- def initialize(message = T.unsafe(nil)); end
1573
- end
1574
-
1575
- ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String)
1576
-
1577
- module ActionController::Streaming
1578
- extend ::ActiveSupport::Concern
1579
-
1580
- private
1581
-
1582
- def _process_options(options); end
1583
- def _render_template(options); end
1584
- end
1585
-
1586
- module ActionController::StrongParameters
1587
- def params; end
1588
- def params=(value); end
1589
- end
1590
-
1591
- module ActionController::TemplateAssertions
1592
- def assert_template(options = T.unsafe(nil), message = T.unsafe(nil)); end
1593
- end
1594
-
1595
- class ActionController::TestCase < ::ActiveSupport::TestCase
1596
- extend ::ActionController::TestCase::Behavior::ClassMethods
1597
- include ::Rails::Dom::Testing::Assertions::DomAssertions
1598
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
1599
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions
1600
- include ::Rails::Dom::Testing::Assertions
1601
- include ::ActionDispatch::TestProcess::FixtureFile
1602
- include ::ActionDispatch::TestProcess
1603
- include ::ActionController::TestCase::Behavior
1604
- include ::ActionController::TemplateAssertions
1605
- include ::ActionDispatch::Assertions::ResponseAssertions
1606
- include ::ActionDispatch::Assertions::RoutingAssertions
1607
- include ::ActionDispatch::Assertions
1608
- extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
1609
- include ::ActiveSupport::Testing::ConstantLookup
1610
-
1611
- def _controller_class; end
1612
- def _controller_class=(_arg0); end
1613
- def _controller_class?; end
1614
-
1615
- class << self
1616
- def __callbacks; end
1617
- def _controller_class; end
1618
- def _controller_class=(value); end
1619
- def _controller_class?; end
1620
- end
1621
- end
1622
-
1623
- module ActionController::TestCase::Behavior
1624
- include ::ActionDispatch::TestProcess::FixtureFile
1625
- include ::ActionDispatch::TestProcess
1626
- extend ::ActiveSupport::Concern
1627
- include ::ActiveSupport::Testing::ConstantLookup
1628
- include ::Rails::Dom::Testing::Assertions
1629
- include ::ActionController::TemplateAssertions
1630
- include ::ActionDispatch::Assertions
1631
-
1632
- mixes_in_class_methods ::ActionController::TestCase::Behavior::ClassMethods
1633
-
1634
- def build_response(klass); end
1635
- def controller_class_name; end
1636
- def delete(action, **args); end
1637
- def generated_path(generated_extras); end
1638
- def get(action, **args); end
1639
- def head(action, **args); end
1640
- def patch(action, **args); end
1641
- def post(action, **args); end
1642
- def process(action, method: T.unsafe(nil), params: T.unsafe(nil), session: T.unsafe(nil), body: T.unsafe(nil), flash: T.unsafe(nil), format: T.unsafe(nil), xhr: T.unsafe(nil), as: T.unsafe(nil)); end
1643
- def put(action, **args); end
1644
- def query_parameter_names(generated_extras); end
1645
- def request; end
1646
- def response; end
1647
- def setup_controller_request_and_response; end
1648
-
1649
- private
1650
-
1651
- def check_required_ivars; end
1652
- def document_root_element; end
1653
- def process_controller_response(action, cookies, xhr); end
1654
- def scrub_env!(env); end
1655
- def setup_request(controller_class_name, action, parameters, session, flash, xhr); end
1656
- end
1657
-
1658
- module ActionController::TestCase::Behavior::ClassMethods
1659
- def controller_class; end
1660
- def controller_class=(new_class); end
1661
- def determine_default_controller_class(name); end
1662
- def tests(controller_class); end
1663
- end
1664
-
1665
- class ActionController::TestRequest < ::ActionDispatch::TestRequest
1666
- def initialize(env, session, controller_class); end
1667
-
1668
- def assign_parameters(routes, controller_path, action, parameters, generated_path, query_string_keys); end
1669
- def content_type=(type); end
1670
- def controller_class; end
1671
- def query_string=(string); end
1672
-
1673
- private
1674
-
1675
- def params_parsers; end
1676
-
1677
- class << self
1678
- def create(controller_class); end
1679
- def new_session; end
1680
-
1681
- private
1682
-
1683
- def default_env; end
1684
- end
1685
- end
1686
-
1687
- ActionController::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash)
1688
- ActionController::TestRequest::ENCODER = T.let(T.unsafe(nil), T.untyped)
1689
-
1690
- class ActionController::TestSession < ::Rack::Session::Abstract::PersistedSecure::SecureSessionHash
1691
- def initialize(session = T.unsafe(nil)); end
1692
-
1693
- def destroy; end
1694
- def dig(*keys); end
1695
- def exists?; end
1696
- def fetch(key, *args, &block); end
1697
- def keys; end
1698
- def values; end
1699
-
1700
- private
1701
-
1702
- def load!; end
1703
- end
1704
-
1705
- ActionController::TestSession::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
1706
-
1707
- module ActionController::Testing
1708
- extend ::ActiveSupport::Concern
1709
- end
1710
-
1711
- module ActionController::Testing::Functional
1712
- def recycle!; end
1713
- end
1714
-
1715
- class ActionController::UnfilteredParameters < ::ArgumentError
1716
- def initialize; end
1717
- end
1718
-
1719
- class ActionController::UnknownFormat < ::ActionController::ActionControllerError; end
1720
- class ActionController::UnknownHttpMethod < ::ActionController::ActionControllerError; end
1721
-
1722
- class ActionController::UnpermittedParameters < ::IndexError
1723
- def initialize(params); end
1724
-
1725
- def params; end
1726
- end
1727
-
1728
- module ActionController::UrlFor
1729
- extend ::ActiveSupport::Concern
1730
- include ::ActionDispatch::Routing::UrlFor
1731
- include ::AbstractController::UrlFor
1732
-
1733
- def url_options; end
1734
- end
1735
-
1736
- class ActionController::UrlGenerationError < ::ActionController::ActionControllerError
1737
- include ::DidYouMean::Correctable
1738
-
1739
- def initialize(message, routes = T.unsafe(nil), route_name = T.unsafe(nil), method_name = T.unsafe(nil)); end
1740
-
1741
- def method_name; end
1742
- def route_name; end
1743
- def routes; end
1744
- end
1745
-
1746
- class ActionController::UrlGenerationError::Correction
1747
- def initialize(error); end
1748
-
1749
- def corrections; end
1750
- end
1751
-
1752
- module ActionDispatch
1753
- extend ::ActiveSupport::Autoload
1754
-
1755
- def test_app; end
1756
- def test_app=(val); end
1757
-
1758
- class << self
1759
- def test_app; end
1760
- def test_app=(val); end
1761
- end
1762
- end
1763
-
1764
- class ActionDispatch::ActionableExceptions
1765
- def initialize(app); end
1766
-
1767
- def call(env); end
1768
- def endpoint; end
1769
- def endpoint=(val); end
1770
-
1771
- private
1772
-
1773
- def actionable_request?(request); end
1774
- def redirect_to(location); end
1775
-
1776
- class << self
1777
- def endpoint; end
1778
- def endpoint=(val); end
1779
- end
1780
- end
1781
-
1782
- class ActionDispatch::AssertionResponse
1783
- def initialize(code_or_name); end
1784
-
1785
- def code; end
1786
- def code_and_name; end
1787
- def name; end
1788
-
1789
- private
1790
-
1791
- def code_from_name(name); end
1792
- def name_from_code(code); end
1793
- end
1794
-
1795
- ActionDispatch::AssertionResponse::GENERIC_RESPONSE_CODES = T.let(T.unsafe(nil), Hash)
1796
-
1797
- module ActionDispatch::Assertions
1798
- include ::ActionDispatch::Assertions::ResponseAssertions
1799
- include ::ActionDispatch::Assertions::RoutingAssertions
1800
- extend ::ActiveSupport::Concern
1801
- include ::Rails::Dom::Testing::Assertions
1802
-
1803
- def html_document; end
1804
- end
1805
-
1806
- module ActionDispatch::Assertions::ResponseAssertions
1807
- def assert_redirected_to(options = T.unsafe(nil), message = T.unsafe(nil)); end
1808
- def assert_response(type, message = T.unsafe(nil)); end
1809
-
1810
- private
1811
-
1812
- def code_with_name(code_or_name); end
1813
- def generate_response_message(expected, actual = T.unsafe(nil)); end
1814
- def location_if_redirected; end
1815
- def normalize_argument_to_redirection(fragment); end
1816
- def parameterize(value); end
1817
- def response_body_if_short; end
1818
- end
1819
-
1820
- ActionDispatch::Assertions::ResponseAssertions::RESPONSE_PREDICATES = T.let(T.unsafe(nil), Hash)
1821
-
1822
- module ActionDispatch::Assertions::RoutingAssertions
1823
- def assert_generates(expected_path, options, defaults = T.unsafe(nil), extras = T.unsafe(nil), message = T.unsafe(nil)); end
1824
- def assert_recognizes(expected_options, path, extras = T.unsafe(nil), msg = T.unsafe(nil)); end
1825
- def assert_routing(path, options, defaults = T.unsafe(nil), extras = T.unsafe(nil), message = T.unsafe(nil)); end
1826
- def method_missing(selector, *args, &block); end
1827
- def setup; end
1828
- def with_routing; end
1829
-
1830
- private
1831
-
1832
- def fail_on(exception_class, message); end
1833
- def recognized_request_for(path, extras = T.unsafe(nil), msg); end
1834
- end
1835
-
1836
- class ActionDispatch::Callbacks
1837
- include ::ActiveSupport::Callbacks
1838
- extend ::ActiveSupport::Callbacks::ClassMethods
1839
- extend ::ActiveSupport::DescendantsTracker
1840
-
1841
- def initialize(app); end
1842
-
1843
- def __callbacks; end
1844
- def __callbacks?; end
1845
- def _call_callbacks; end
1846
- def _run_call_callbacks(&block); end
1847
- def call(env); end
1848
-
1849
- class << self
1850
- def __callbacks; end
1851
- def __callbacks=(value); end
1852
- def __callbacks?; end
1853
- def _call_callbacks; end
1854
- def _call_callbacks=(value); end
1855
- def after(*args, &block); end
1856
- def before(*args, &block); end
1857
- end
1858
- end
1859
-
1860
- class ActionDispatch::ContentSecurityPolicy
1861
- def initialize; end
1862
-
1863
- def base_uri(*sources); end
1864
- def block_all_mixed_content(enabled = T.unsafe(nil)); end
1865
- def build(context = T.unsafe(nil), nonce = T.unsafe(nil), nonce_directives = T.unsafe(nil)); end
1866
- def child_src(*sources); end
1867
- def connect_src(*sources); end
1868
- def default_src(*sources); end
1869
- def directives; end
1870
- def font_src(*sources); end
1871
- def form_action(*sources); end
1872
- def frame_ancestors(*sources); end
1873
- def frame_src(*sources); end
1874
- def img_src(*sources); end
1875
- def manifest_src(*sources); end
1876
- def media_src(*sources); end
1877
- def object_src(*sources); end
1878
- def plugin_types(*types); end
1879
- def prefetch_src(*sources); end
1880
- def report_uri(uri); end
1881
- def require_sri_for(*types); end
1882
- def sandbox(*values); end
1883
- def script_src(*sources); end
1884
- def script_src_attr(*sources); end
1885
- def script_src_elem(*sources); end
1886
- def style_src(*sources); end
1887
- def style_src_attr(*sources); end
1888
- def style_src_elem(*sources); end
1889
- def upgrade_insecure_requests(enabled = T.unsafe(nil)); end
1890
- def worker_src(*sources); end
1891
-
1892
- private
1893
-
1894
- def apply_mapping(source); end
1895
- def apply_mappings(sources); end
1896
- def build_directive(sources, context); end
1897
- def build_directives(context, nonce, nonce_directives); end
1898
- def initialize_copy(other); end
1899
- def nonce_directive?(directive, nonce_directives); end
1900
- def resolve_source(source, context); end
1901
- end
1902
-
1903
- ActionDispatch::ContentSecurityPolicy::DEFAULT_NONCE_DIRECTIVES = T.let(T.unsafe(nil), Array)
1904
- ActionDispatch::ContentSecurityPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash)
1905
- ActionDispatch::ContentSecurityPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash)
1906
-
1907
- class ActionDispatch::ContentSecurityPolicy::Middleware
1908
- def initialize(app); end
1909
-
1910
- def call(env); end
1911
-
1912
- private
1913
-
1914
- def header_name(request); end
1915
- def html_response?(headers); end
1916
- def policy_present?(headers); end
1917
- end
1918
-
1919
- ActionDispatch::ContentSecurityPolicy::Middleware::CONTENT_TYPE = T.let(T.unsafe(nil), String)
1920
- ActionDispatch::ContentSecurityPolicy::Middleware::POLICY = T.let(T.unsafe(nil), String)
1921
- ActionDispatch::ContentSecurityPolicy::Middleware::POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String)
1922
-
1923
- module ActionDispatch::ContentSecurityPolicy::Request
1924
- def content_security_policy; end
1925
- def content_security_policy=(policy); end
1926
- def content_security_policy_nonce; end
1927
- def content_security_policy_nonce_directives; end
1928
- def content_security_policy_nonce_directives=(generator); end
1929
- def content_security_policy_nonce_generator; end
1930
- def content_security_policy_nonce_generator=(generator); end
1931
- def content_security_policy_report_only; end
1932
- def content_security_policy_report_only=(value); end
1933
-
1934
- private
1935
-
1936
- def generate_content_security_policy_nonce; end
1937
- end
1938
-
1939
- ActionDispatch::ContentSecurityPolicy::Request::NONCE = T.let(T.unsafe(nil), String)
1940
- ActionDispatch::ContentSecurityPolicy::Request::NONCE_DIRECTIVES = T.let(T.unsafe(nil), String)
1941
- ActionDispatch::ContentSecurityPolicy::Request::NONCE_GENERATOR = T.let(T.unsafe(nil), String)
1942
- ActionDispatch::ContentSecurityPolicy::Request::POLICY = T.let(T.unsafe(nil), String)
1943
- ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String)
1944
-
1945
- class ActionDispatch::Cookies
1946
- def initialize(app); end
1947
-
1948
- def call(env); end
1949
- end
1950
-
1951
- ActionDispatch::Cookies::AUTHENTICATED_ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String)
1952
-
1953
- class ActionDispatch::Cookies::AbstractCookieJar
1954
- include ::ActionDispatch::Cookies::ChainedCookieJars
1955
-
1956
- def initialize(parent_jar); end
1957
-
1958
- def [](name); end
1959
- def []=(name, options); end
1960
-
1961
- protected
1962
-
1963
- def request; end
1964
-
1965
- private
1966
-
1967
- def commit(name, options); end
1968
- def cookie_metadata(name, options); end
1969
- def expiry_options(options); end
1970
- def parse(name, data, purpose: T.unsafe(nil)); end
1971
- end
1972
-
1973
- ActionDispatch::Cookies::COOKIES_DIGEST = T.let(T.unsafe(nil), String)
1974
- ActionDispatch::Cookies::COOKIES_ROTATIONS = T.let(T.unsafe(nil), String)
1975
- ActionDispatch::Cookies::COOKIES_SAME_SITE_PROTECTION = T.let(T.unsafe(nil), String)
1976
- ActionDispatch::Cookies::COOKIES_SERIALIZER = T.let(T.unsafe(nil), String)
1977
-
1978
- module ActionDispatch::Cookies::ChainedCookieJars
1979
- def encrypted; end
1980
- def permanent; end
1981
- def signed; end
1982
- def signed_or_encrypted; end
1983
-
1984
- private
1985
-
1986
- def encrypted_cookie_cipher; end
1987
- def prepare_upgrade_legacy_hmac_aes_cbc_cookies?; end
1988
- def signed_cookie_digest; end
1989
- def upgrade_legacy_hmac_aes_cbc_cookies?; end
1990
- end
1991
-
1992
- class ActionDispatch::Cookies::CookieJar
1993
- include ::ActionDispatch::Cookies::ChainedCookieJars
1994
- include ::Enumerable
1995
-
1996
- def initialize(request); end
1997
-
1998
- def [](name); end
1999
- def []=(name, options); end
2000
- def always_write_cookie; end
2001
- def always_write_cookie=(val); end
2002
- def clear(options = T.unsafe(nil)); end
2003
- def commit!; end
2004
- def committed?; end
2005
- def delete(name, options = T.unsafe(nil)); end
2006
- def deleted?(name, options = T.unsafe(nil)); end
2007
- def each(&block); end
2008
- def fetch(name, *args, &block); end
2009
- def has_key?(name); end
2010
- def key?(name); end
2011
- def request; end
2012
- def to_hash(*_arg0); end
2013
- def to_header; end
2014
- def update(other_hash); end
2015
- def update_cookies_from_jar; end
2016
- def write(headers); end
2017
-
2018
- private
2019
-
2020
- def escape(string); end
2021
- def handle_options(options); end
2022
- def make_set_cookie_header(header); end
2023
- def write_cookie?(cookie); end
2024
-
2025
- class << self
2026
- def always_write_cookie; end
2027
- def always_write_cookie=(val); end
2028
- def build(req, cookies); end
2029
- end
2030
- end
2031
-
2032
- ActionDispatch::Cookies::CookieJar::DOMAIN_REGEXP = T.let(T.unsafe(nil), Regexp)
2033
- class ActionDispatch::Cookies::CookieOverflow < ::StandardError; end
2034
- ActionDispatch::Cookies::ENCRYPTED_COOKIE_CIPHER = T.let(T.unsafe(nil), String)
2035
- ActionDispatch::Cookies::ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String)
2036
- ActionDispatch::Cookies::ENCRYPTED_SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String)
2037
-
2038
- class ActionDispatch::Cookies::EncryptedKeyRotatingCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar
2039
- include ::ActionDispatch::Cookies::SerializedCookieJars
2040
-
2041
- def initialize(parent_jar); end
2042
-
2043
- private
2044
-
2045
- def commit(name, options); end
2046
- def parse(name, encrypted_message, purpose: T.unsafe(nil)); end
2047
- end
2048
-
2049
- ActionDispatch::Cookies::GENERATOR_KEY = T.let(T.unsafe(nil), String)
2050
- ActionDispatch::Cookies::HTTP_HEADER = T.let(T.unsafe(nil), String)
2051
-
2052
- class ActionDispatch::Cookies::JsonSerializer
2053
- class << self
2054
- def dump(value); end
2055
- def load(value); end
2056
- end
2057
- end
2058
-
2059
- ActionDispatch::Cookies::MAX_COOKIE_SIZE = T.let(T.unsafe(nil), Integer)
2060
-
2061
- class ActionDispatch::Cookies::MarshalWithJsonFallback
2062
- class << self
2063
- def dump(value); end
2064
- def load(value); end
2065
- end
2066
- end
2067
-
2068
- class ActionDispatch::Cookies::PermanentCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar
2069
- private
2070
-
2071
- def commit(name, options); end
2072
- end
2073
-
2074
- ActionDispatch::Cookies::SECRET_KEY_BASE = T.let(T.unsafe(nil), String)
2075
- ActionDispatch::Cookies::SIGNED_COOKIE_DIGEST = T.let(T.unsafe(nil), String)
2076
- ActionDispatch::Cookies::SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String)
2077
-
2078
- module ActionDispatch::Cookies::SerializedCookieJars
2079
- protected
2080
-
2081
- def deserialize(name); end
2082
- def digest; end
2083
- def needs_migration?(value); end
2084
- def serialize(value); end
2085
- def serializer; end
2086
- end
2087
-
2088
- ActionDispatch::Cookies::SerializedCookieJars::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String)
2089
- ActionDispatch::Cookies::SerializedCookieJars::SERIALIZER = ActiveSupport::MessageEncryptor::NullSerializer
2090
-
2091
- class ActionDispatch::Cookies::SignedKeyRotatingCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar
2092
- include ::ActionDispatch::Cookies::SerializedCookieJars
2093
-
2094
- def initialize(parent_jar); end
2095
-
2096
- private
2097
-
2098
- def commit(name, options); end
2099
- def parse(name, signed_message, purpose: T.unsafe(nil)); end
2100
- end
2101
-
2102
- ActionDispatch::Cookies::USE_AUTHENTICATED_COOKIE_ENCRYPTION = T.let(T.unsafe(nil), String)
2103
- ActionDispatch::Cookies::USE_COOKIES_WITH_METADATA = T.let(T.unsafe(nil), String)
2104
-
2105
- class ActionDispatch::DebugExceptions
2106
- def initialize(app, routes_app = T.unsafe(nil), response_format = T.unsafe(nil), interceptors = T.unsafe(nil)); end
2107
-
2108
- def call(env); end
2109
-
2110
- private
2111
-
2112
- def api_request?(content_type); end
2113
- def create_template(request, wrapper); end
2114
- def invoke_interceptors(request, exception); end
2115
- def log_array(logger, array); end
2116
- def log_error(request, wrapper); end
2117
- def logger(request); end
2118
- def render(status, body, format); end
2119
- def render_exception(request, exception); end
2120
- def render_for_api_request(content_type, wrapper); end
2121
- def render_for_browser_request(request, wrapper); end
2122
- def routes_inspector(exception); end
2123
- def stderr_logger; end
2124
-
2125
- class << self
2126
- def interceptors; end
2127
- def register_interceptor(object = T.unsafe(nil), &block); end
2128
- end
2129
- end
2130
-
2131
- class ActionDispatch::DebugLocks
2132
- def initialize(app, path = T.unsafe(nil)); end
2133
-
2134
- def call(env); end
2135
-
2136
- private
2137
-
2138
- def blocked_by?(victim, blocker, all_threads); end
2139
- def render_details(req); end
2140
- end
2141
-
2142
- class ActionDispatch::DebugView < ::ActionView::Base
2143
- def initialize(assigns); end
2144
-
2145
- def compiled_method_container; end
2146
- def debug_hash(object); end
2147
- def debug_headers(headers); end
2148
- def debug_params(params); end
2149
- def params_valid?; end
2150
- def protect_against_forgery?; end
2151
- def render(*_arg0); end
2152
- end
2153
-
2154
- ActionDispatch::DebugView::RESCUES_TEMPLATE_PATH = T.let(T.unsafe(nil), String)
2155
-
2156
- class ActionDispatch::ExceptionWrapper
2157
- def initialize(backtrace_cleaner, exception); end
2158
-
2159
- def application_trace; end
2160
- def backtrace_cleaner; end
2161
- def exception; end
2162
- def exception_trace; end
2163
- def file; end
2164
- def framework_trace; end
2165
- def full_trace; end
2166
- def line_number; end
2167
- def rescue_responses; end
2168
- def rescue_responses=(val); end
2169
- def rescue_template; end
2170
- def rescue_templates; end
2171
- def rescue_templates=(val); end
2172
- def silent_exceptions; end
2173
- def silent_exceptions=(val); end
2174
- def source_extracts; end
2175
- def source_to_show_id; end
2176
- def status_code; end
2177
- def trace_to_show; end
2178
- def traces; end
2179
- def unwrapped_exception; end
2180
- def wrapped_causes; end
2181
- def wrapper_exceptions; end
2182
- def wrapper_exceptions=(val); end
2183
-
2184
- private
2185
-
2186
- def backtrace; end
2187
- def causes_for(exception); end
2188
- def clean_backtrace(*args); end
2189
- def expand_backtrace; end
2190
- def extract_file_and_line_number(trace); end
2191
- def source_fragment(path, line); end
2192
- def wrapped_causes_for(exception, backtrace_cleaner); end
2193
-
2194
- class << self
2195
- def rescue_responses; end
2196
- def rescue_responses=(val); end
2197
- def rescue_templates; end
2198
- def rescue_templates=(val); end
2199
- def silent_exceptions; end
2200
- def silent_exceptions=(val); end
2201
- def status_code_for_exception(class_name); end
2202
- def wrapper_exceptions; end
2203
- def wrapper_exceptions=(val); end
2204
- end
2205
- end
2206
-
2207
- class ActionDispatch::Executor
2208
- def initialize(app, executor); end
2209
-
2210
- def call(env); end
2211
- end
2212
-
2213
- class ActionDispatch::FileHandler
2214
- def initialize(root, index: T.unsafe(nil), headers: T.unsafe(nil), precompressed: T.unsafe(nil), compressible_content_types: T.unsafe(nil)); end
2215
-
2216
- def attempt(env); end
2217
- def call(env); end
2218
-
2219
- private
2220
-
2221
- def clean_path(path_info); end
2222
- def compressible?(content_type); end
2223
- def each_candidate_filepath(path_info); end
2224
- def each_precompressed_filepath(filepath); end
2225
- def file_readable?(path); end
2226
- def find_file(path_info, accept_encoding:); end
2227
- def serve(request, filepath, content_headers); end
2228
- def try_files(filepath, content_type, accept_encoding:); end
2229
- def try_precompressed_files(filepath, headers, accept_encoding:); end
2230
- end
2231
-
2232
- ActionDispatch::FileHandler::PRECOMPRESSED = T.let(T.unsafe(nil), Hash)
2233
-
2234
- class ActionDispatch::Flash
2235
- class << self
2236
- def new(app); end
2237
- end
2238
- end
2239
-
2240
- class ActionDispatch::Flash::FlashHash
2241
- include ::Enumerable
2242
-
2243
- def initialize(flashes = T.unsafe(nil), discard = T.unsafe(nil)); end
2244
-
2245
- def [](k); end
2246
- def []=(k, v); end
2247
- def alert; end
2248
- def alert=(message); end
2249
- def clear; end
2250
- def delete(key); end
2251
- def discard(k = T.unsafe(nil)); end
2252
- def each(&block); end
2253
- def empty?; end
2254
- def keep(k = T.unsafe(nil)); end
2255
- def key?(name); end
2256
- def keys; end
2257
- def merge!(h); end
2258
- def notice; end
2259
- def notice=(message); end
2260
- def now; end
2261
- def replace(h); end
2262
- def sweep; end
2263
- def to_hash; end
2264
- def to_session_value; end
2265
- def update(h); end
2266
-
2267
- protected
2268
-
2269
- def now_is_loaded?; end
2270
-
2271
- private
2272
-
2273
- def initialize_copy(other); end
2274
- def stringify_array(array); end
2275
-
2276
- class << self
2277
- def from_session_value(value); end
2278
- end
2279
- end
2280
-
2281
- class ActionDispatch::Flash::FlashNow
2282
- def initialize(flash); end
2283
-
2284
- def [](k); end
2285
- def []=(k, v); end
2286
- def alert=(message); end
2287
- def flash; end
2288
- def flash=(_arg0); end
2289
- def notice=(message); end
2290
- end
2291
-
2292
- ActionDispatch::Flash::KEY = T.let(T.unsafe(nil), String)
2293
-
2294
- module ActionDispatch::Flash::RequestMethods
2295
- def commit_flash; end
2296
- def flash; end
2297
- def flash=(flash); end
2298
- def flash_hash; end
2299
- def reset_session; end
2300
- end
2301
-
2302
- class ActionDispatch::HostAuthorization
2303
- def initialize(app, hosts, deprecated_response_app = T.unsafe(nil), exclude: T.unsafe(nil), response_app: T.unsafe(nil)); end
2304
-
2305
- def call(env); end
2306
-
2307
- private
2308
-
2309
- def authorized?(request); end
2310
- def excluded?(request); end
2311
- def mark_as_authorized(request); end
2312
- end
2313
-
2314
- ActionDispatch::HostAuthorization::DEFAULT_RESPONSE_APP = T.let(T.unsafe(nil), Proc)
2315
-
2316
- class ActionDispatch::HostAuthorization::Permissions
2317
- def initialize(hosts); end
2318
-
2319
- def allows?(host); end
2320
- def empty?; end
2321
-
2322
- private
2323
-
2324
- def sanitize_hosts(hosts); end
2325
- def sanitize_regexp(host); end
2326
- def sanitize_string(host); end
2327
- end
2328
-
2329
- module ActionDispatch::Http
2330
- extend ::ActiveSupport::Autoload
2331
- end
2332
-
2333
- module ActionDispatch::Http::Cache; end
2334
-
2335
- module ActionDispatch::Http::Cache::Request
2336
- def etag_matches?(etag); end
2337
- def fresh?(response); end
2338
- def if_modified_since; end
2339
- def if_none_match; end
2340
- def if_none_match_etags; end
2341
- def not_modified?(modified_at); end
2342
- end
2343
-
2344
- ActionDispatch::Http::Cache::Request::HTTP_IF_MODIFIED_SINCE = T.let(T.unsafe(nil), String)
2345
- ActionDispatch::Http::Cache::Request::HTTP_IF_NONE_MATCH = T.let(T.unsafe(nil), String)
2346
-
2347
- module ActionDispatch::Http::Cache::Response
2348
- def cache_control; end
2349
- def date; end
2350
- def date=(utc_time); end
2351
- def date?; end
2352
- def etag=(weak_validators); end
2353
- def etag?; end
2354
- def last_modified; end
2355
- def last_modified=(utc_time); end
2356
- def last_modified?; end
2357
- def strong_etag=(strong_validators); end
2358
- def strong_etag?; end
2359
- def weak_etag=(weak_validators); end
2360
- def weak_etag?; end
2361
-
2362
- private
2363
-
2364
- def cache_control_headers; end
2365
- def cache_control_segments; end
2366
- def generate_strong_etag(validators); end
2367
- def generate_weak_etag(validators); end
2368
- def handle_conditional_get!; end
2369
- def merge_and_normalize_cache_control!(cache_control); end
2370
- def prepare_cache_control!; end
2371
- end
2372
-
2373
- ActionDispatch::Http::Cache::Response::DATE = T.let(T.unsafe(nil), String)
2374
- ActionDispatch::Http::Cache::Response::DEFAULT_CACHE_CONTROL = T.let(T.unsafe(nil), String)
2375
- ActionDispatch::Http::Cache::Response::LAST_MODIFIED = T.let(T.unsafe(nil), String)
2376
- ActionDispatch::Http::Cache::Response::MUST_REVALIDATE = T.let(T.unsafe(nil), String)
2377
- ActionDispatch::Http::Cache::Response::NO_CACHE = T.let(T.unsafe(nil), String)
2378
- ActionDispatch::Http::Cache::Response::NO_STORE = T.let(T.unsafe(nil), String)
2379
- ActionDispatch::Http::Cache::Response::PRIVATE = T.let(T.unsafe(nil), String)
2380
- ActionDispatch::Http::Cache::Response::PUBLIC = T.let(T.unsafe(nil), String)
2381
- ActionDispatch::Http::Cache::Response::SPECIAL_KEYS = T.let(T.unsafe(nil), Set)
2382
-
2383
- class ActionDispatch::Http::ContentDisposition
2384
- def initialize(disposition:, filename:); end
2385
-
2386
- def ascii_filename; end
2387
- def disposition; end
2388
- def filename; end
2389
- def to_s; end
2390
- def utf8_filename; end
2391
-
2392
- private
2393
-
2394
- def percent_escape(string, pattern); end
2395
-
2396
- class << self
2397
- def format(disposition:, filename:); end
2398
- end
2399
- end
2400
-
2401
- ActionDispatch::Http::ContentDisposition::RFC_5987_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp)
2402
- ActionDispatch::Http::ContentDisposition::TRADITIONAL_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp)
2403
-
2404
- module ActionDispatch::Http::FilterParameters
2405
- def initialize; end
2406
-
2407
- def filtered_env; end
2408
- def filtered_parameters; end
2409
- def filtered_path; end
2410
-
2411
- private
2412
-
2413
- def env_filter; end
2414
- def filtered_query_string; end
2415
- def parameter_filter; end
2416
- def parameter_filter_for(filters); end
2417
- end
2418
-
2419
- ActionDispatch::Http::FilterParameters::ENV_MATCH = T.let(T.unsafe(nil), Array)
2420
- ActionDispatch::Http::FilterParameters::KV_RE = T.let(T.unsafe(nil), String)
2421
- ActionDispatch::Http::FilterParameters::NULL_ENV_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter)
2422
- ActionDispatch::Http::FilterParameters::NULL_PARAM_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter)
2423
- ActionDispatch::Http::FilterParameters::PAIR_RE = T.let(T.unsafe(nil), Regexp)
2424
-
2425
- module ActionDispatch::Http::FilterRedirect
2426
- def filtered_location; end
2427
-
2428
- private
2429
-
2430
- def location_filter_match?; end
2431
- def location_filters; end
2432
- end
2433
-
2434
- ActionDispatch::Http::FilterRedirect::FILTERED = T.let(T.unsafe(nil), String)
2435
-
2436
- class ActionDispatch::Http::Headers
2437
- include ::Enumerable
2438
-
2439
- def initialize(request); end
2440
-
2441
- def [](key); end
2442
- def []=(key, value); end
2443
- def add(key, value); end
2444
- def each(&block); end
2445
- def env; end
2446
- def fetch(key, default = T.unsafe(nil)); end
2447
- def include?(key); end
2448
- def key?(key); end
2449
- def merge(headers_or_env); end
2450
- def merge!(headers_or_env); end
2451
-
2452
- private
2453
-
2454
- def env_name(key); end
2455
-
2456
- class << self
2457
- def from_hash(hash); end
2458
- end
2459
- end
2460
-
2461
- ActionDispatch::Http::Headers::CGI_VARIABLES = T.let(T.unsafe(nil), Set)
2462
- ActionDispatch::Http::Headers::DEFAULT = T.let(T.unsafe(nil), Object)
2463
- ActionDispatch::Http::Headers::HTTP_HEADER = T.let(T.unsafe(nil), Regexp)
2464
-
2465
- module ActionDispatch::Http::MimeNegotiation
2466
- extend ::ActiveSupport::Concern
2467
-
2468
- def accepts; end
2469
- def content_mime_type; end
2470
- def content_type; end
2471
- def format(view_path = T.unsafe(nil)); end
2472
- def format=(extension); end
2473
- def formats; end
2474
- def formats=(extensions); end
2475
- def has_content_type?; end
2476
- def negotiate_mime(order); end
2477
- def should_apply_vary_header?; end
2478
- def variant; end
2479
- def variant=(variant); end
2480
-
2481
- private
2482
-
2483
- def format_from_path_extension; end
2484
- def params_readable?; end
2485
- def use_accept_header; end
2486
- def valid_accept_header; end
2487
- end
2488
-
2489
- ActionDispatch::Http::MimeNegotiation::BROWSER_LIKE_ACCEPTS = T.let(T.unsafe(nil), Regexp)
2490
- class ActionDispatch::Http::MimeNegotiation::InvalidType < ::Mime::Type::InvalidMimeType; end
2491
- ActionDispatch::Http::MimeNegotiation::RESCUABLE_MIME_FORMAT_ERRORS = T.let(T.unsafe(nil), Array)
2492
-
2493
- module ActionDispatch::Http::Parameters
2494
- extend ::ActiveSupport::Concern
2495
-
2496
- mixes_in_class_methods ::ActionDispatch::Http::Parameters::ClassMethods
2497
-
2498
- def parameters; end
2499
- def params; end
2500
- def path_parameters; end
2501
- def path_parameters=(parameters); end
2502
-
2503
- private
2504
-
2505
- def log_parse_error_once; end
2506
- def params_parsers; end
2507
- def parse_formatted_parameters(parsers); end
2508
- end
2509
-
2510
- module ActionDispatch::Http::Parameters::ClassMethods
2511
- def parameter_parsers=(parsers); end
2512
- end
2513
-
2514
- ActionDispatch::Http::Parameters::DEFAULT_PARSERS = T.let(T.unsafe(nil), Hash)
2515
- ActionDispatch::Http::Parameters::PARAMETERS_KEY = T.let(T.unsafe(nil), String)
2516
-
2517
- class ActionDispatch::Http::Parameters::ParseError < ::StandardError
2518
- def initialize; end
2519
- end
2520
-
2521
- module ActionDispatch::Http::URL
2522
- def initialize; end
2523
-
2524
- def domain(tld_length = T.unsafe(nil)); end
2525
- def host; end
2526
- def host_with_port; end
2527
- def optional_port; end
2528
- def port; end
2529
- def port_string; end
2530
- def protocol; end
2531
- def raw_host_with_port; end
2532
- def secure_protocol; end
2533
- def secure_protocol=(val); end
2534
- def server_port; end
2535
- def standard_port; end
2536
- def standard_port?; end
2537
- def subdomain(tld_length = T.unsafe(nil)); end
2538
- def subdomains(tld_length = T.unsafe(nil)); end
2539
- def tld_length; end
2540
- def tld_length=(val); end
2541
- def url; end
2542
-
2543
- class << self
2544
- def extract_domain(host, tld_length); end
2545
- def extract_subdomain(host, tld_length); end
2546
- def extract_subdomains(host, tld_length); end
2547
- def full_url_for(options); end
2548
- def path_for(options); end
2549
- def secure_protocol; end
2550
- def secure_protocol=(val); end
2551
- def tld_length; end
2552
- def tld_length=(val); end
2553
- def url_for(options); end
2554
-
2555
- private
2556
-
2557
- def add_anchor(path, anchor); end
2558
- def add_params(path, params); end
2559
- def add_trailing_slash(path); end
2560
- def build_host_url(host, port, protocol, options, path); end
2561
- def extract_domain_from(host, tld_length); end
2562
- def extract_subdomains_from(host, tld_length); end
2563
- def named_host?(host); end
2564
- def normalize_host(_host, options); end
2565
- def normalize_port(port, protocol); end
2566
- def normalize_protocol(protocol); end
2567
- end
2568
- end
2569
-
2570
- ActionDispatch::Http::URL::HOST_REGEXP = T.let(T.unsafe(nil), Regexp)
2571
- ActionDispatch::Http::URL::IP_HOST_REGEXP = T.let(T.unsafe(nil), Regexp)
2572
- ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp)
2573
-
2574
- class ActionDispatch::Http::UploadedFile
2575
- def initialize(hash); end
2576
-
2577
- def close(unlink_now = T.unsafe(nil)); end
2578
- def content_type; end
2579
- def content_type=(_arg0); end
2580
- def eof?; end
2581
- def headers; end
2582
- def headers=(_arg0); end
2583
- def open; end
2584
- def original_filename; end
2585
- def original_filename=(_arg0); end
2586
- def path; end
2587
- def read(length = T.unsafe(nil), buffer = T.unsafe(nil)); end
2588
- def rewind; end
2589
- def size; end
2590
- def tempfile; end
2591
- def tempfile=(_arg0); end
2592
- def to_io; end
2593
- def to_path; end
2594
- end
2595
-
2596
- class ActionDispatch::IllegalStateError < ::StandardError; end
2597
- module ActionDispatch::Integration; end
2598
-
2599
- module ActionDispatch::Integration::RequestHelpers
2600
- def delete(path, **args); end
2601
- def follow_redirect!(**args); end
2602
- def get(path, **args); end
2603
- def head(path, **args); end
2604
- def options(path, **args); end
2605
- def patch(path, **args); end
2606
- def post(path, **args); end
2607
- def put(path, **args); end
2608
- end
2609
-
2610
- module ActionDispatch::Integration::Runner
2611
- include ::Rails::Dom::Testing::Assertions::DomAssertions
2612
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
2613
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions
2614
- include ::Rails::Dom::Testing::Assertions
2615
- include ::ActionDispatch::Assertions::ResponseAssertions
2616
- include ::ActionDispatch::Assertions::RoutingAssertions
2617
- include ::ActionDispatch::Assertions
2618
-
2619
- def initialize(*args, &blk); end
2620
-
2621
- def app; end
2622
- def assertions; end
2623
- def assertions=(assertions); end
2624
- def assigns(*args); end
2625
- def before_setup; end
2626
- def cookies(*args); end
2627
- def copy_session_variables!; end
2628
- def create_session(app); end
2629
- def default_url_options; end
2630
- def default_url_options=(options); end
2631
- def delete(*args); end
2632
- def follow_redirect!(*args); end
2633
- def get(*args); end
2634
- def head(*args); end
2635
- def integration_session; end
2636
- def open_session; end
2637
- def patch(*args); end
2638
- def post(*args); end
2639
- def put(*args); end
2640
- def remove!; end
2641
- def reset!; end
2642
- def root_session; end
2643
- def root_session=(_arg0); end
2644
-
2645
- private
2646
-
2647
- def method_missing(method, *args, &block); end
2648
- def respond_to_missing?(method, _); end
2649
- end
2650
-
2651
- ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash)
2652
-
2653
- class ActionDispatch::Integration::Session
2654
- include ::ActionDispatch::Routing::UrlFor
2655
- include ::Rails::Dom::Testing::Assertions::DomAssertions
2656
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
2657
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions
2658
- include ::Rails::Dom::Testing::Assertions
2659
- include ::ActionDispatch::Assertions::ResponseAssertions
2660
- include ::ActionDispatch::Assertions::RoutingAssertions
2661
- include ::ActionDispatch::Assertions
2662
- include ::ActionDispatch::Integration::RequestHelpers
2663
- include ::ActionDispatch::TestProcess::FixtureFile
2664
- include ::ActionDispatch::TestProcess
2665
- include ::ActionDispatch::Routing::PolymorphicRoutes
2666
- include ::Minitest::Assertions
2667
-
2668
- def initialize(app); end
2669
-
2670
- def accept; end
2671
- def accept=(_arg0); end
2672
- def body(*args, &block); end
2673
- def controller; end
2674
- def cookies; end
2675
- def default_url_options; end
2676
- def default_url_options=(_arg0); end
2677
- def default_url_options?; end
2678
- def headers(*args, &block); end
2679
- def host; end
2680
- def host!(_arg0); end
2681
- def host=(_arg0); end
2682
- def https!(flag = T.unsafe(nil)); end
2683
- def https?; end
2684
- def path(*args, &block); end
2685
- def process(method, path, params: T.unsafe(nil), headers: T.unsafe(nil), env: T.unsafe(nil), xhr: T.unsafe(nil), as: T.unsafe(nil)); end
2686
- def redirect?(*args, &block); end
2687
- def remote_addr; end
2688
- def remote_addr=(_arg0); end
2689
- def request; end
2690
- def request_count; end
2691
- def request_count=(_arg0); end
2692
- def reset!; end
2693
- def response; end
2694
- def status(*args, &block); end
2695
- def status_message(*args, &block); end
2696
- def url_options; end
2697
-
2698
- private
2699
-
2700
- def _mock_session; end
2701
- def build_expanded_path(path); end
2702
- def build_full_uri(path, env); end
2703
-
2704
- class << self
2705
- def default_url_options; end
2706
- def default_url_options=(value); end
2707
- def default_url_options?; end
2708
- end
2709
- end
2710
-
2711
- ActionDispatch::Integration::Session::DEFAULT_HOST = T.let(T.unsafe(nil), String)
2712
-
2713
- class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase
2714
- extend ::ActionDispatch::IntegrationTest::Behavior::ClassMethods
2715
- include ::Rails::Dom::Testing::Assertions::DomAssertions
2716
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
2717
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions
2718
- include ::Rails::Dom::Testing::Assertions
2719
- include ::ActionDispatch::Assertions::ResponseAssertions
2720
- include ::ActionDispatch::Assertions::RoutingAssertions
2721
- include ::ActionDispatch::Assertions
2722
- include ::ActionDispatch::Integration::Runner
2723
- include ::ActionController::TemplateAssertions
2724
- include ::ActionDispatch::IntegrationTest::Behavior
2725
- include ::ActionDispatch::Routing::PolymorphicRoutes
2726
- include ::ActionDispatch::Routing::UrlFor
2727
- include ::ActionDispatch::IntegrationTest::UrlOptions
2728
- include ::ActionDispatch::TestProcess::FixtureFile
2729
- end
2730
-
2731
- module ActionDispatch::IntegrationTest::Behavior
2732
- include ::ActionDispatch::IntegrationTest::UrlOptions
2733
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
2734
- include ::Rails::Dom::Testing::Assertions::SelectorAssertions
2735
- include ::Rails::Dom::Testing::Assertions
2736
- include ::ActionDispatch::Assertions::ResponseAssertions
2737
- include ::ActionDispatch::Assertions::RoutingAssertions
2738
- include ::ActionDispatch::Assertions
2739
- include ::ActionDispatch::Integration::Runner
2740
- include ::ActionController::TemplateAssertions
2741
- extend ::ActiveSupport::Concern
2742
- include ::ActionDispatch::Routing::UrlFor
2743
- include ::Rails::Dom::Testing::Assertions::DomAssertions
2744
-
2745
- mixes_in_class_methods ::ActionDispatch::IntegrationTest::Behavior::ClassMethods
2746
-
2747
- def app; end
2748
- def document_root_element; end
2749
- end
2750
-
2751
- module ActionDispatch::IntegrationTest::Behavior::ClassMethods
2752
- def app; end
2753
- def app=(app); end
2754
- def register_encoder(*args, **options); end
2755
- end
2756
-
2757
- module ActionDispatch::IntegrationTest::UrlOptions
2758
- extend ::ActiveSupport::Concern
2759
-
2760
- def url_options; end
2761
- end
2762
-
2763
- module ActionDispatch::Journey; end
2764
-
2765
- class ActionDispatch::Journey::Format
2766
- def initialize(parts); end
2767
-
2768
- def evaluate(hash); end
2769
-
2770
- class << self
2771
- def required_path(symbol); end
2772
- def required_segment(symbol); end
2773
- end
2774
- end
2775
-
2776
- ActionDispatch::Journey::Format::ESCAPE_PATH = T.let(T.unsafe(nil), Proc)
2777
- ActionDispatch::Journey::Format::ESCAPE_SEGMENT = T.let(T.unsafe(nil), Proc)
2778
-
2779
- class ActionDispatch::Journey::Format::Parameter < ::Struct
2780
- def escape(value); end
2781
- def escaper; end
2782
- def escaper=(_); end
2783
- def name; end
2784
- def name=(_); end
2785
-
2786
- class << self
2787
- def [](*_arg0); end
2788
- def inspect; end
2789
- def members; end
2790
- def new(*_arg0); end
2791
- end
2792
- end
2793
-
2794
- class ActionDispatch::Journey::Formatter
2795
- def initialize(routes); end
2796
-
2797
- def clear; end
2798
- def generate(name, options, path_parameters); end
2799
- def routes; end
2800
-
2801
- private
2802
-
2803
- def build_cache; end
2804
- def cache; end
2805
- def extract_parameterized_parts(route, options, recall); end
2806
- def match_route(name, options); end
2807
- def missing_keys(route, parts); end
2808
- def named_routes; end
2809
- def non_recursive(cache, options); end
2810
- def possibles(cache, options, depth = T.unsafe(nil)); end
2811
- end
2812
-
2813
- class ActionDispatch::Journey::Formatter::MissingRoute
2814
- def initialize(constraints, missing_keys, unmatched_keys, routes, name); end
2815
-
2816
- def constraints; end
2817
- def message; end
2818
- def missing_keys; end
2819
- def name; end
2820
- def params; end
2821
- def path(method_name); end
2822
- def routes; end
2823
- def unmatched_keys; end
2824
- end
2825
-
2826
- class ActionDispatch::Journey::Formatter::RouteWithParams
2827
- def initialize(route, parameterized_parts, params); end
2828
-
2829
- def params; end
2830
- def path(_); end
2831
- end
2832
-
2833
- module ActionDispatch::Journey::GTG; end
2834
-
2835
- class ActionDispatch::Journey::GTG::Builder
2836
- def initialize(root); end
2837
-
2838
- def ast; end
2839
- def endpoints; end
2840
- def firstpos(node); end
2841
- def lastpos(node); end
2842
- def nullable?(node); end
2843
- def root; end
2844
- def transition_table; end
2845
-
2846
- private
2847
-
2848
- def build_followpos; end
2849
- def symbol(edge); end
2850
- end
2851
-
2852
- ActionDispatch::Journey::GTG::Builder::DUMMY = T.let(T.unsafe(nil), ActionDispatch::Journey::Nodes::Dummy)
2853
-
2854
- class ActionDispatch::Journey::GTG::MatchData
2855
- def initialize(memos); end
2856
-
2857
- def memos; end
2858
- end
2859
-
2860
- class ActionDispatch::Journey::GTG::Simulator
2861
- def initialize(transition_table); end
2862
-
2863
- def memos(string); end
2864
- def tt; end
2865
- end
2866
-
2867
- ActionDispatch::Journey::GTG::Simulator::INITIAL_STATE = T.let(T.unsafe(nil), Array)
2868
-
2869
- class ActionDispatch::Journey::GTG::TransitionTable
2870
- include ::ActionDispatch::Journey::NFA::Dot
2871
-
2872
- def initialize; end
2873
-
2874
- def []=(from, to, sym); end
2875
- def accepting?(state); end
2876
- def accepting_states; end
2877
- def add_accepting(state); end
2878
- def add_memo(idx, memo); end
2879
- def as_json(options = T.unsafe(nil)); end
2880
- def eclosure(t); end
2881
- def memo(idx); end
2882
- def memos; end
2883
- def move(t, a); end
2884
- def states; end
2885
- def to_svg; end
2886
- def transitions; end
2887
- def visualizer(paths, title = T.unsafe(nil)); end
2888
-
2889
- private
2890
-
2891
- def states_hash_for(sym); end
2892
- end
2893
-
2894
- module ActionDispatch::Journey::NFA; end
2895
-
2896
- module ActionDispatch::Journey::NFA::Dot
2897
- def to_dot; end
2898
- end
2899
-
2900
- module ActionDispatch::Journey::Nodes; end
2901
-
2902
- class ActionDispatch::Journey::Nodes::Binary < ::ActionDispatch::Journey::Nodes::Node
2903
- def initialize(left, right); end
2904
-
2905
- def children; end
2906
- def right; end
2907
- def right=(_arg0); end
2908
- end
2909
-
2910
- class ActionDispatch::Journey::Nodes::Cat < ::ActionDispatch::Journey::Nodes::Binary
2911
- def cat?; end
2912
- def type; end
2913
- end
2914
-
2915
- class ActionDispatch::Journey::Nodes::Dot < ::ActionDispatch::Journey::Nodes::Terminal
2916
- def type; end
2917
- end
2918
-
2919
- class ActionDispatch::Journey::Nodes::Dummy < ::ActionDispatch::Journey::Nodes::Literal
2920
- def initialize(x = T.unsafe(nil)); end
2921
-
2922
- def literal?; end
2923
- end
2924
-
2925
- class ActionDispatch::Journey::Nodes::Group < ::ActionDispatch::Journey::Nodes::Unary
2926
- def group?; end
2927
- def type; end
2928
- end
2929
-
2930
- class ActionDispatch::Journey::Nodes::Literal < ::ActionDispatch::Journey::Nodes::Terminal
2931
- def literal?; end
2932
- def type; end
2933
- end
2934
-
2935
- class ActionDispatch::Journey::Nodes::Node
2936
- include ::Enumerable
2937
-
2938
- def initialize(left); end
2939
-
2940
- def cat?; end
2941
- def each(&block); end
2942
- def group?; end
2943
- def left; end
2944
- def left=(_arg0); end
2945
- def literal?; end
2946
- def memo; end
2947
- def memo=(_arg0); end
2948
- def name; end
2949
- def star?; end
2950
- def symbol?; end
2951
- def terminal?; end
2952
- def to_dot; end
2953
- def to_s; end
2954
- def to_sym; end
2955
- def type; end
2956
- end
2957
-
2958
- class ActionDispatch::Journey::Nodes::Or < ::ActionDispatch::Journey::Nodes::Node
2959
- def initialize(children); end
2960
-
2961
- def children; end
2962
- def type; end
2963
- end
2964
-
2965
- class ActionDispatch::Journey::Nodes::Slash < ::ActionDispatch::Journey::Nodes::Terminal
2966
- def type; end
2967
- end
2968
-
2969
- class ActionDispatch::Journey::Nodes::Star < ::ActionDispatch::Journey::Nodes::Unary
2970
- def name; end
2971
- def star?; end
2972
- def type; end
2973
- end
2974
-
2975
- class ActionDispatch::Journey::Nodes::Symbol < ::ActionDispatch::Journey::Nodes::Terminal
2976
- def initialize(left, regexp = T.unsafe(nil)); end
2977
-
2978
- def default_regexp?; end
2979
- def name; end
2980
- def regexp; end
2981
- def regexp=(_arg0); end
2982
- def symbol; end
2983
- def symbol?; end
2984
- def type; end
2985
- end
2986
-
2987
- ActionDispatch::Journey::Nodes::Symbol::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp)
2988
- ActionDispatch::Journey::Nodes::Symbol::GREEDY_EXP = T.let(T.unsafe(nil), Regexp)
2989
-
2990
- class ActionDispatch::Journey::Nodes::Terminal < ::ActionDispatch::Journey::Nodes::Node
2991
- def symbol; end
2992
- def terminal?; end
2993
- end
2994
-
2995
- class ActionDispatch::Journey::Nodes::Unary < ::ActionDispatch::Journey::Nodes::Node
2996
- def children; end
2997
- end
2998
-
2999
- class ActionDispatch::Journey::Parser < ::Racc::Parser
3000
- include ::ActionDispatch::Journey::Nodes
3001
-
3002
- def initialize; end
3003
-
3004
- def _reduce_1(val, _values); end
3005
- def _reduce_10(val, _values); end
3006
- def _reduce_15(val, _values); end
3007
- def _reduce_16(val, _values); end
3008
- def _reduce_17(val, _values); end
3009
- def _reduce_18(val, _values); end
3010
- def _reduce_2(val, _values); end
3011
- def _reduce_7(val, _values); end
3012
- def _reduce_8(val, _values); end
3013
- def _reduce_9(val, _values); end
3014
- def _reduce_none(val, _values); end
3015
- def next_token; end
3016
- def parse(string); end
3017
-
3018
- class << self
3019
- def parse(string); end
3020
- end
3021
- end
3022
-
3023
- ActionDispatch::Journey::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
3024
- ActionDispatch::Journey::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
3025
- module ActionDispatch::Journey::Path; end
3026
-
3027
- class ActionDispatch::Journey::Path::Pattern
3028
- def initialize(ast, requirements, separators, anchored); end
3029
-
3030
- def =~(other); end
3031
- def anchored; end
3032
- def ast; end
3033
- def build_formatter; end
3034
- def eager_load!; end
3035
- def match(other); end
3036
- def match?(other); end
3037
- def names; end
3038
- def optional_names; end
3039
- def required_names; end
3040
- def requirements; end
3041
- def requirements_for_missing_keys_check; end
3042
- def source; end
3043
- def spec; end
3044
- def to_regexp; end
3045
-
3046
- private
3047
-
3048
- def offsets; end
3049
- def regexp_visitor; end
3050
- end
3051
-
3052
- class ActionDispatch::Journey::Path::Pattern::AnchoredRegexp < ::ActionDispatch::Journey::Visitors::Visitor
3053
- def initialize(separator, matchers); end
3054
-
3055
- def accept(node); end
3056
- def visit_CAT(node); end
3057
- def visit_DOT(node); end
3058
- def visit_GROUP(node); end
3059
- def visit_LITERAL(node); end
3060
- def visit_OR(node); end
3061
- def visit_SLASH(node); end
3062
- def visit_STAR(node); end
3063
- def visit_SYMBOL(node); end
3064
- end
3065
-
3066
- class ActionDispatch::Journey::Path::Pattern::MatchData
3067
- def initialize(names, offsets, match); end
3068
-
3069
- def [](x); end
3070
- def captures; end
3071
- def length; end
3072
- def named_captures; end
3073
- def names; end
3074
- def post_match; end
3075
- def to_s; end
3076
- end
3077
-
3078
- class ActionDispatch::Journey::Path::Pattern::UnanchoredRegexp < ::ActionDispatch::Journey::Path::Pattern::AnchoredRegexp
3079
- def accept(node); end
3080
- end
3081
-
3082
- class ActionDispatch::Journey::Route
3083
- def initialize(name:, path:, app: T.unsafe(nil), constraints: T.unsafe(nil), required_defaults: T.unsafe(nil), defaults: T.unsafe(nil), request_method_match: T.unsafe(nil), precedence: T.unsafe(nil), scope_options: T.unsafe(nil), internal: T.unsafe(nil)); end
3084
-
3085
- def app; end
3086
- def ast; end
3087
- def conditions; end
3088
- def constraints; end
3089
- def defaults; end
3090
- def dispatcher?; end
3091
- def eager_load!; end
3092
- def format(path_options); end
3093
- def glob?; end
3094
- def internal; end
3095
- def ip; end
3096
- def matches?(request); end
3097
- def name; end
3098
- def parts; end
3099
- def path; end
3100
- def precedence; end
3101
- def required_default?(key); end
3102
- def required_defaults; end
3103
- def required_keys; end
3104
- def required_parts; end
3105
- def requirements; end
3106
- def requires_matching_verb?; end
3107
- def scope_options; end
3108
- def score(supplied_keys); end
3109
- def segment_keys; end
3110
- def segments; end
3111
- def verb; end
3112
-
3113
- private
3114
-
3115
- def match_verb(request); end
3116
- def verbs; end
3117
-
3118
- class << self
3119
- def verb_matcher(verb); end
3120
- end
3121
- end
3122
-
3123
- module ActionDispatch::Journey::Route::VerbMatchers; end
3124
-
3125
- class ActionDispatch::Journey::Route::VerbMatchers::All
3126
- class << self
3127
- def call(_); end
3128
- def verb; end
3129
- end
3130
- end
3131
-
3132
- class ActionDispatch::Journey::Route::VerbMatchers::DELETE
3133
- class << self
3134
- def call(req); end
3135
- def verb; end
3136
- end
3137
- end
3138
-
3139
- class ActionDispatch::Journey::Route::VerbMatchers::GET
3140
- class << self
3141
- def call(req); end
3142
- def verb; end
3143
- end
3144
- end
3145
-
3146
- class ActionDispatch::Journey::Route::VerbMatchers::HEAD
3147
- class << self
3148
- def call(req); end
3149
- def verb; end
3150
- end
3151
- end
3152
-
3153
- class ActionDispatch::Journey::Route::VerbMatchers::LINK
3154
- class << self
3155
- def call(req); end
3156
- def verb; end
3157
- end
3158
- end
3159
-
3160
- class ActionDispatch::Journey::Route::VerbMatchers::OPTIONS
3161
- class << self
3162
- def call(req); end
3163
- def verb; end
3164
- end
3165
- end
3166
-
3167
- class ActionDispatch::Journey::Route::VerbMatchers::PATCH
3168
- class << self
3169
- def call(req); end
3170
- def verb; end
3171
- end
3172
- end
3173
-
3174
- class ActionDispatch::Journey::Route::VerbMatchers::POST
3175
- class << self
3176
- def call(req); end
3177
- def verb; end
3178
- end
3179
- end
3180
-
3181
- class ActionDispatch::Journey::Route::VerbMatchers::PUT
3182
- class << self
3183
- def call(req); end
3184
- def verb; end
3185
- end
3186
- end
3187
-
3188
- class ActionDispatch::Journey::Route::VerbMatchers::TRACE
3189
- class << self
3190
- def call(req); end
3191
- def verb; end
3192
- end
3193
- end
3194
-
3195
- class ActionDispatch::Journey::Route::VerbMatchers::UNLINK
3196
- class << self
3197
- def call(req); end
3198
- def verb; end
3199
- end
3200
- end
3201
-
3202
- class ActionDispatch::Journey::Route::VerbMatchers::Unknown
3203
- def initialize(verb); end
3204
-
3205
- def call(request); end
3206
- def verb; end
3207
- end
3208
-
3209
- ActionDispatch::Journey::Route::VerbMatchers::VERBS = T.let(T.unsafe(nil), Array)
3210
- ActionDispatch::Journey::Route::VerbMatchers::VERB_TO_CLASS = T.let(T.unsafe(nil), Hash)
3211
-
3212
- class ActionDispatch::Journey::Router
3213
- def initialize(routes); end
3214
-
3215
- def eager_load!; end
3216
- def recognize(rails_req); end
3217
- def routes; end
3218
- def routes=(_arg0); end
3219
- def serve(req); end
3220
- def visualizer; end
3221
-
3222
- private
3223
-
3224
- def ast; end
3225
- def custom_routes; end
3226
- def filter_routes(path); end
3227
- def find_routes(req); end
3228
- def match_head_routes(routes, req); end
3229
- def partitioned_routes; end
3230
- def simulator; end
3231
- end
3232
-
3233
- class ActionDispatch::Journey::Router::Utils
3234
- class << self
3235
- def escape_fragment(fragment); end
3236
- def escape_path(path); end
3237
- def escape_segment(segment); end
3238
- def normalize_path(path); end
3239
- def unescape_uri(uri); end
3240
- end
3241
- end
3242
-
3243
- ActionDispatch::Journey::Router::Utils::ENCODER = T.let(T.unsafe(nil), ActionDispatch::Journey::Router::Utils::UriEncoder)
3244
-
3245
- class ActionDispatch::Journey::Router::Utils::UriEncoder
3246
- def escape_fragment(fragment); end
3247
- def escape_path(path); end
3248
- def escape_segment(segment); end
3249
- def unescape_uri(uri); end
3250
-
3251
- private
3252
-
3253
- def escape(component, pattern); end
3254
- def percent_encode(unsafe); end
3255
- end
3256
-
3257
- ActionDispatch::Journey::Router::Utils::UriEncoder::ALPHA = T.let(T.unsafe(nil), String)
3258
- ActionDispatch::Journey::Router::Utils::UriEncoder::DEC2HEX = T.let(T.unsafe(nil), Array)
3259
- ActionDispatch::Journey::Router::Utils::UriEncoder::DIGIT = T.let(T.unsafe(nil), String)
3260
- ActionDispatch::Journey::Router::Utils::UriEncoder::EMPTY = T.let(T.unsafe(nil), String)
3261
- ActionDispatch::Journey::Router::Utils::UriEncoder::ENCODE = T.let(T.unsafe(nil), String)
3262
- ActionDispatch::Journey::Router::Utils::UriEncoder::ESCAPED = T.let(T.unsafe(nil), Regexp)
3263
- ActionDispatch::Journey::Router::Utils::UriEncoder::FRAGMENT = T.let(T.unsafe(nil), Regexp)
3264
- ActionDispatch::Journey::Router::Utils::UriEncoder::PATH = T.let(T.unsafe(nil), Regexp)
3265
- ActionDispatch::Journey::Router::Utils::UriEncoder::SEGMENT = T.let(T.unsafe(nil), Regexp)
3266
- ActionDispatch::Journey::Router::Utils::UriEncoder::SUB_DELIMS = T.let(T.unsafe(nil), String)
3267
- ActionDispatch::Journey::Router::Utils::UriEncoder::UNRESERVED = T.let(T.unsafe(nil), String)
3268
- ActionDispatch::Journey::Router::Utils::UriEncoder::US_ASCII = T.let(T.unsafe(nil), Encoding)
3269
- ActionDispatch::Journey::Router::Utils::UriEncoder::UTF_8 = T.let(T.unsafe(nil), Encoding)
3270
-
3271
- class ActionDispatch::Journey::Routes
3272
- include ::Enumerable
3273
-
3274
- def initialize; end
3275
-
3276
- def add_route(name, mapping); end
3277
- def anchored_routes; end
3278
- def ast; end
3279
- def clear; end
3280
- def custom_routes; end
3281
- def each(&block); end
3282
- def empty?; end
3283
- def last; end
3284
- def length; end
3285
- def partition_route(route); end
3286
- def routes; end
3287
- def simulator; end
3288
- def size; end
3289
-
3290
- private
3291
-
3292
- def clear_cache!; end
3293
- end
3294
-
3295
- class ActionDispatch::Journey::Scanner
3296
- def initialize; end
3297
-
3298
- def eos?; end
3299
- def next_token; end
3300
- def pos; end
3301
- def pre_match; end
3302
- def scan_setup(str); end
3303
-
3304
- private
3305
-
3306
- def dedup_scan(regex); end
3307
- def scan; end
3308
- end
3309
-
3310
- module ActionDispatch::Journey::Visitors; end
3311
-
3312
- class ActionDispatch::Journey::Visitors::Dot < ::ActionDispatch::Journey::Visitors::FunctionalVisitor
3313
- def initialize; end
3314
-
3315
- def accept(node, seed = T.unsafe(nil)); end
3316
-
3317
- private
3318
-
3319
- def binary(node, seed); end
3320
- def nary(node, seed); end
3321
- def terminal(node, seed); end
3322
- def unary(node, seed); end
3323
- def visit_CAT(node, seed); end
3324
- def visit_GROUP(node, seed); end
3325
- def visit_OR(node, seed); end
3326
- def visit_STAR(node, seed); end
3327
- end
3328
-
3329
- ActionDispatch::Journey::Visitors::Dot::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Dot)
3330
-
3331
- class ActionDispatch::Journey::Visitors::Each < ::ActionDispatch::Journey::Visitors::FunctionalVisitor
3332
- def visit(node, block); end
3333
- end
3334
-
3335
- ActionDispatch::Journey::Visitors::Each::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Each)
3336
-
3337
- class ActionDispatch::Journey::Visitors::FormatBuilder < ::ActionDispatch::Journey::Visitors::Visitor
3338
- def accept(node); end
3339
- def binary(node); end
3340
- def terminal(node); end
3341
- def visit_GROUP(n); end
3342
- def visit_STAR(n); end
3343
- def visit_SYMBOL(n); end
3344
- end
3345
-
3346
- class ActionDispatch::Journey::Visitors::FunctionalVisitor
3347
- def accept(node, seed); end
3348
- def binary(node, seed); end
3349
- def nary(node, seed); end
3350
- def terminal(node, seed); end
3351
- def unary(node, seed); end
3352
- def visit(node, seed); end
3353
- def visit_CAT(n, seed); end
3354
- def visit_DOT(n, seed); end
3355
- def visit_GROUP(n, seed); end
3356
- def visit_LITERAL(n, seed); end
3357
- def visit_OR(n, seed); end
3358
- def visit_SLASH(n, seed); end
3359
- def visit_STAR(n, seed); end
3360
- def visit_SYMBOL(n, seed); end
3361
- end
3362
-
3363
- ActionDispatch::Journey::Visitors::FunctionalVisitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash)
3364
-
3365
- class ActionDispatch::Journey::Visitors::String < ::ActionDispatch::Journey::Visitors::FunctionalVisitor
3366
- private
3367
-
3368
- def binary(node, seed); end
3369
- def nary(node, seed); end
3370
- def terminal(node, seed); end
3371
- def visit_GROUP(node, seed); end
3372
- end
3373
-
3374
- ActionDispatch::Journey::Visitors::String::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::String)
3375
-
3376
- class ActionDispatch::Journey::Visitors::Visitor
3377
- def accept(node); end
3378
-
3379
- private
3380
-
3381
- def binary(node); end
3382
- def nary(node); end
3383
- def terminal(node); end
3384
- def unary(node); end
3385
- def visit(node); end
3386
- def visit_CAT(n); end
3387
- def visit_DOT(n); end
3388
- def visit_GROUP(n); end
3389
- def visit_LITERAL(n); end
3390
- def visit_OR(n); end
3391
- def visit_SLASH(n); end
3392
- def visit_STAR(n); end
3393
- def visit_SYMBOL(n); end
3394
- end
3395
-
3396
- ActionDispatch::Journey::Visitors::Visitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash)
3397
-
3398
- class ActionDispatch::MiddlewareStack
3399
- include ::Enumerable
3400
-
3401
- def initialize(*args); end
3402
-
3403
- def [](i); end
3404
- def build(app = T.unsafe(nil), &block); end
3405
- def delete(target); end
3406
- def each; end
3407
- def insert(index, klass, *args, &block); end
3408
- def insert_after(index, *args, &block); end
3409
- def insert_before(index, klass, *args, &block); end
3410
- def last; end
3411
- def middlewares; end
3412
- def middlewares=(_arg0); end
3413
- def move(target, source); end
3414
- def move_after(target, source); end
3415
- def move_before(target, source); end
3416
- def size; end
3417
- def swap(target, *args, &block); end
3418
- def unshift(klass, *args, &block); end
3419
- def use(klass, *args, &block); end
3420
-
3421
- private
3422
-
3423
- def assert_index(index, where); end
3424
- def build_middleware(klass, args, block); end
3425
- def initialize_copy(other); end
3426
- end
3427
-
3428
- class ActionDispatch::MiddlewareStack::InstrumentationProxy
3429
- def initialize(middleware, class_name); end
3430
-
3431
- def call(env); end
3432
- end
3433
-
3434
- ActionDispatch::MiddlewareStack::InstrumentationProxy::EVENT_NAME = T.let(T.unsafe(nil), String)
3435
-
3436
- class ActionDispatch::MiddlewareStack::Middleware
3437
- def initialize(klass, args, block); end
3438
-
3439
- def ==(middleware); end
3440
- def args; end
3441
- def block; end
3442
- def build(app); end
3443
- def build_instrumented(app); end
3444
- def inspect; end
3445
- def klass; end
3446
- def name; end
3447
- end
3448
-
3449
- class ActionDispatch::MissingController < ::NameError; end
3450
-
3451
- class ActionDispatch::PermissionsPolicy
3452
- def initialize; end
3453
-
3454
- def accelerometer(*sources); end
3455
- def ambient_light_sensor(*sources); end
3456
- def autoplay(*sources); end
3457
- def build(context = T.unsafe(nil)); end
3458
- def camera(*sources); end
3459
- def directives; end
3460
- def encrypted_media(*sources); end
3461
- def fullscreen(*sources); end
3462
- def geolocation(*sources); end
3463
- def gyroscope(*sources); end
3464
- def magnetometer(*sources); end
3465
- def microphone(*sources); end
3466
- def midi(*sources); end
3467
- def payment(*sources); end
3468
- def picture_in_picture(*sources); end
3469
- def speaker(*sources); end
3470
- def usb(*sources); end
3471
- def vibrate(*sources); end
3472
- def vr(*sources); end
3473
-
3474
- private
3475
-
3476
- def apply_mapping(source); end
3477
- def apply_mappings(sources); end
3478
- def build_directive(sources, context); end
3479
- def build_directives(context); end
3480
- def initialize_copy(other); end
3481
- def resolve_source(source, context); end
3482
- end
3483
-
3484
- ActionDispatch::PermissionsPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash)
3485
- ActionDispatch::PermissionsPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash)
3486
-
3487
- class ActionDispatch::PermissionsPolicy::Middleware
3488
- def initialize(app); end
3489
-
3490
- def call(env); end
3491
-
3492
- private
3493
-
3494
- def html_response?(headers); end
3495
- def policy_empty?(policy); end
3496
- def policy_present?(headers); end
3497
- end
3498
-
3499
- ActionDispatch::PermissionsPolicy::Middleware::CONTENT_TYPE = T.let(T.unsafe(nil), String)
3500
- ActionDispatch::PermissionsPolicy::Middleware::POLICY = T.let(T.unsafe(nil), String)
3501
-
3502
- module ActionDispatch::PermissionsPolicy::Request
3503
- def permissions_policy; end
3504
- def permissions_policy=(policy); end
3505
- end
3506
-
3507
- ActionDispatch::PermissionsPolicy::Request::POLICY = T.let(T.unsafe(nil), String)
3508
-
3509
- class ActionDispatch::PublicExceptions
3510
- def initialize(public_path); end
3511
-
3512
- def call(env); end
3513
- def public_path; end
3514
- def public_path=(_arg0); end
3515
-
3516
- private
3517
-
3518
- def render(status, content_type, body); end
3519
- def render_format(status, content_type, body); end
3520
- def render_html(status); end
3521
- end
3522
-
3523
- class ActionDispatch::Reloader < ::ActionDispatch::Executor; end
3524
-
3525
- class ActionDispatch::RemoteIp
3526
- def initialize(app, ip_spoofing_check = T.unsafe(nil), custom_proxies = T.unsafe(nil)); end
3527
-
3528
- def call(env); end
3529
- def check_ip; end
3530
- def proxies; end
3531
- end
3532
-
3533
- class ActionDispatch::RemoteIp::GetIp
3534
- def initialize(req, check_ip, proxies); end
3535
-
3536
- def calculate_ip; end
3537
- def to_s; end
3538
-
3539
- private
3540
-
3541
- def filter_proxies(ips); end
3542
- def ips_from(header); end
3543
- end
3544
-
3545
- class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end
3546
- ActionDispatch::RemoteIp::TRUSTED_PROXIES = T.let(T.unsafe(nil), Array)
3547
-
3548
- class ActionDispatch::Request
3549
- extend ::ActionDispatch::Http::Parameters::ClassMethods
3550
- include ::Rack::Request::Helpers
3551
- include ::ActionDispatch::Http::Cache::Request
3552
- include ::ActionDispatch::Http::MimeNegotiation
3553
- include ::ActionDispatch::Http::Parameters
3554
- include ::ActionDispatch::Http::FilterParameters
3555
- include ::ActionDispatch::Http::URL
3556
- include ::ActionDispatch::ContentSecurityPolicy::Request
3557
- include ::ActionDispatch::PermissionsPolicy::Request
3558
- include ::Rack::Request::Env
3559
- include ::ActionDispatch::Flash::RequestMethods
3560
-
3561
- def initialize(env); end
3562
-
3563
- def GET; end
3564
- def POST; end
3565
- def accept; end
3566
- def accept_charset; end
3567
- def accept_encoding; end
3568
- def accept_language; end
3569
- def auth_type; end
3570
- def authenticated_encrypted_cookie_salt; end
3571
- def authorization; end
3572
- def body; end
3573
- def body_stream; end
3574
- def cache_control; end
3575
- def client_ip; end
3576
- def content_length; end
3577
- def controller_class; end
3578
- def controller_class_for(name); end
3579
- def controller_instance; end
3580
- def controller_instance=(controller); end
3581
- def cookie_jar; end
3582
- def cookie_jar=(jar); end
3583
- def cookies_digest; end
3584
- def cookies_rotations; end
3585
- def cookies_same_site_protection; end
3586
- def cookies_serializer; end
3587
- def encrypted_cookie_cipher; end
3588
- def encrypted_cookie_salt; end
3589
- def encrypted_signed_cookie_salt; end
3590
- def engine_script_name(_routes); end
3591
- def engine_script_name=(name); end
3592
- def form_data?; end
3593
- def from; end
3594
- def fullpath; end
3595
- def gateway_interface; end
3596
- def have_cookie_jar?; end
3597
- def headers; end
3598
- def http_auth_salt; end
3599
- def ignore_accept_header; end
3600
- def ignore_accept_header=(val); end
3601
- def inspect; end
3602
- def ip; end
3603
- def key?(key); end
3604
- def key_generator; end
3605
- def local?; end
3606
- def logger; end
3607
- def media_type; end
3608
- def method; end
3609
- def method_symbol; end
3610
- def negotiate; end
3611
- def origin; end
3612
- def original_fullpath; end
3613
- def original_script_name; end
3614
- def original_url; end
3615
- def path_translated; end
3616
- def pragma; end
3617
- def query_parameters; end
3618
- def raw_post; end
3619
- def raw_request_method; end
3620
- def remote_addr; end
3621
- def remote_host; end
3622
- def remote_ident; end
3623
- def remote_ip; end
3624
- def remote_ip=(remote_ip); end
3625
- def remote_user; end
3626
- def request_id; end
3627
- def request_id=(id); end
3628
- def request_method; end
3629
- def request_method=(request_method); end
3630
- def request_method_symbol; end
3631
- def request_parameters; end
3632
- def request_parameters=(params); end
3633
- def routes; end
3634
- def routes=(routes); end
3635
- def secret_key_base; end
3636
- def send_early_hints(links); end
3637
- def server_addr; end
3638
- def server_name; end
3639
- def server_protocol; end
3640
- def server_software; end
3641
- def session=(session); end
3642
- def session_options=(options); end
3643
- def show_exceptions?; end
3644
- def signed_cookie_digest; end
3645
- def signed_cookie_salt; end
3646
- def ssl?; end
3647
- def use_authenticated_cookie_encryption; end
3648
- def use_cookies_with_metadata; end
3649
- def uuid; end
3650
- def version; end
3651
- def x_csrf_token; end
3652
- def x_forwarded_for; end
3653
- def x_forwarded_host; end
3654
- def x_request_id; end
3655
- def xhr?; end
3656
- def xml_http_request?; end
3657
-
3658
- private
3659
-
3660
- def check_method(name); end
3661
-
3662
- class << self
3663
- def empty; end
3664
- def ignore_accept_header; end
3665
- def ignore_accept_header=(val); end
3666
- def parameter_parsers; end
3667
- end
3668
- end
3669
-
3670
- ActionDispatch::Request::ACTION_DISPATCH_REQUEST_ID = T.let(T.unsafe(nil), String)
3671
- ActionDispatch::Request::ENV_METHODS = T.let(T.unsafe(nil), Array)
3672
- ActionDispatch::Request::HTTP_METHODS = T.let(T.unsafe(nil), Array)
3673
- ActionDispatch::Request::HTTP_METHOD_LOOKUP = T.let(T.unsafe(nil), Hash)
3674
- ActionDispatch::Request::LOCALHOST = T.let(T.unsafe(nil), Regexp)
3675
-
3676
- class ActionDispatch::Request::PASS_NOT_FOUND
3677
- class << self
3678
- def action(_); end
3679
- def action_encoding_template(action); end
3680
- def call(_); end
3681
- end
3682
- end
3683
-
3684
- ActionDispatch::Request::RFC2518 = T.let(T.unsafe(nil), Array)
3685
- ActionDispatch::Request::RFC2616 = T.let(T.unsafe(nil), Array)
3686
- ActionDispatch::Request::RFC3253 = T.let(T.unsafe(nil), Array)
3687
- ActionDispatch::Request::RFC3648 = T.let(T.unsafe(nil), Array)
3688
- ActionDispatch::Request::RFC3744 = T.let(T.unsafe(nil), Array)
3689
- ActionDispatch::Request::RFC4791 = T.let(T.unsafe(nil), Array)
3690
- ActionDispatch::Request::RFC5323 = T.let(T.unsafe(nil), Array)
3691
- ActionDispatch::Request::RFC5789 = T.let(T.unsafe(nil), Array)
3692
-
3693
- class ActionDispatch::Request::Session
3694
- def initialize(by, req); end
3695
-
3696
- def [](key); end
3697
- def []=(key, value); end
3698
- def clear; end
3699
- def delete(key); end
3700
- def destroy; end
3701
- def dig(*keys); end
3702
- def each(&block); end
3703
- def empty?; end
3704
- def exists?; end
3705
- def fetch(key, default = T.unsafe(nil), &block); end
3706
- def has_key?(key); end
3707
- def id; end
3708
- def include?(key); end
3709
- def inspect; end
3710
- def key?(key); end
3711
- def keys; end
3712
- def loaded?; end
3713
- def merge!(other); end
3714
- def options; end
3715
- def to_h; end
3716
- def to_hash; end
3717
- def update(hash); end
3718
- def values; end
3719
-
3720
- private
3721
-
3722
- def load!; end
3723
- def load_for_read!; end
3724
- def load_for_write!; end
3725
-
3726
- class << self
3727
- def create(store, req, default_options); end
3728
- def find(req); end
3729
- def set(req, session); end
3730
- end
3731
- end
3732
-
3733
- ActionDispatch::Request::Session::ENV_SESSION_KEY = T.let(T.unsafe(nil), String)
3734
- ActionDispatch::Request::Session::ENV_SESSION_OPTIONS_KEY = T.let(T.unsafe(nil), String)
3735
-
3736
- class ActionDispatch::Request::Session::Options
3737
- def initialize(by, default_options); end
3738
-
3739
- def [](key); end
3740
- def []=(k, v); end
3741
- def id(req); end
3742
- def to_hash; end
3743
- def values_at(*args); end
3744
-
3745
- class << self
3746
- def find(req); end
3747
- def set(req, options); end
3748
- end
3749
- end
3750
-
3751
- ActionDispatch::Request::Session::Unspecified = T.let(T.unsafe(nil), Object)
3752
-
3753
- class ActionDispatch::Request::Utils
3754
- def perform_deep_munge; end
3755
- def perform_deep_munge=(val); end
3756
-
3757
- class << self
3758
- def check_param_encoding(params); end
3759
- def each_param_value(params, &block); end
3760
- def normalize_encode_params(params); end
3761
- def perform_deep_munge; end
3762
- def perform_deep_munge=(val); end
3763
- def set_binary_encoding(request, params, controller, action); end
3764
- end
3765
- end
3766
-
3767
- class ActionDispatch::Request::Utils::CustomParamEncoder
3768
- class << self
3769
- def action_encoding_template(request, controller, action); end
3770
- def encode(request, params, controller, action); end
3771
- end
3772
- end
3773
-
3774
- class ActionDispatch::Request::Utils::NoNilParamEncoder < ::ActionDispatch::Request::Utils::ParamEncoder
3775
- class << self
3776
- def handle_array(params); end
3777
- end
3778
- end
3779
-
3780
- class ActionDispatch::Request::Utils::ParamEncoder
3781
- class << self
3782
- def handle_array(params); end
3783
- def normalize_encode_params(params); end
3784
- end
3785
- end
3786
-
3787
- class ActionDispatch::RequestEncoder
3788
- def initialize(mime_name, param_encoder, response_parser); end
3789
-
3790
- def accept_header; end
3791
- def content_type; end
3792
- def encode_params(params); end
3793
- def response_parser; end
3794
-
3795
- class << self
3796
- def encoder(name); end
3797
- def parser(content_type); end
3798
- def register_encoder(mime_name, param_encoder: T.unsafe(nil), response_parser: T.unsafe(nil)); end
3799
- end
3800
- end
3801
-
3802
- class ActionDispatch::RequestEncoder::IdentityEncoder
3803
- def accept_header; end
3804
- def content_type; end
3805
- def encode_params(params); end
3806
- def response_parser; end
3807
- end
3808
-
3809
- class ActionDispatch::RequestId
3810
- def initialize(app, header:); end
3811
-
3812
- def call(env); end
3813
-
3814
- private
3815
-
3816
- def internal_request_id; end
3817
- def make_request_id(request_id); end
3818
- end
3819
-
3820
- class ActionDispatch::Response
3821
- include ::Rack::Response::Helpers
3822
- include ::ActionDispatch::Http::FilterRedirect
3823
- include ::ActionDispatch::Http::Cache::Response
3824
- include ::MonitorMixin
3825
-
3826
- def initialize(status = T.unsafe(nil), header = T.unsafe(nil), body = T.unsafe(nil)); end
3827
-
3828
- def [](*args, &block); end
3829
- def []=(*args, &block); end
3830
- def _cache_control; end
3831
- def _cache_control=(v); end
3832
- def abort; end
3833
- def await_commit; end
3834
- def await_sent; end
3835
- def body; end
3836
- def body=(body); end
3837
- def body_parts; end
3838
- def charset; end
3839
- def charset=(charset); end
3840
- def close; end
3841
- def code; end
3842
- def commit!; end
3843
- def committed?; end
3844
- def content_type; end
3845
- def content_type=(content_type); end
3846
- def cookies; end
3847
- def default_charset; end
3848
- def default_charset=(val); end
3849
- def default_headers; end
3850
- def default_headers=(val); end
3851
- def delete_header(key); end
3852
- def each(&block); end
3853
- def get_header(key); end
3854
- def has_header?(key); end
3855
- def header; end
3856
- def headers; end
3857
- def media_type; end
3858
- def message; end
3859
- def prepare!; end
3860
- def redirect_url; end
3861
- def request; end
3862
- def request=(_arg0); end
3863
- def reset_body!; end
3864
- def response_code; end
3865
- def send_file(path); end
3866
- def sending!; end
3867
- def sending?; end
3868
- def sending_file=(v); end
3869
- def sent!; end
3870
- def sent?; end
3871
- def set_header(key, v); end
3872
- def status; end
3873
- def status=(status); end
3874
- def status_message; end
3875
- def stream; end
3876
- def to_a; end
3877
- def write(string); end
3878
-
3879
- private
3880
-
3881
- def assign_default_content_type_and_charset!; end
3882
- def before_committed; end
3883
- def before_sending; end
3884
- def build_buffer(response, body); end
3885
- def handle_no_content!; end
3886
- def munge_body_object(body); end
3887
- def parse_content_type(content_type); end
3888
- def parsed_content_type_header; end
3889
- def rack_response(status, header); end
3890
- def set_content_type(content_type, charset); end
3891
-
3892
- class << self
3893
- def create(status = T.unsafe(nil), header = T.unsafe(nil), body = T.unsafe(nil), default_headers: T.unsafe(nil)); end
3894
- def default_charset; end
3895
- def default_charset=(val); end
3896
- def default_headers; end
3897
- def default_headers=(val); end
3898
- def merge_default_headers(original, default); end
3899
- def return_only_media_type_on_content_type; end
3900
- def return_only_media_type_on_content_type=(*_arg0); end
3901
- end
3902
- end
3903
-
3904
- class ActionDispatch::Response::Buffer
3905
- def initialize(response, buf); end
3906
-
3907
- def abort; end
3908
- def body; end
3909
- def close; end
3910
- def closed?; end
3911
- def each(&block); end
3912
- def write(string); end
3913
-
3914
- private
3915
-
3916
- def each_chunk(&block); end
3917
- end
3918
-
3919
- ActionDispatch::Response::CONTENT_TYPE = T.let(T.unsafe(nil), String)
3920
- ActionDispatch::Response::CONTENT_TYPE_PARSER = T.let(T.unsafe(nil), Regexp)
3921
-
3922
- class ActionDispatch::Response::ContentTypeHeader < ::Struct
3923
- def charset; end
3924
- def charset=(_); end
3925
- def mime_type; end
3926
- def mime_type=(_); end
3927
-
3928
- class << self
3929
- def [](*_arg0); end
3930
- def inspect; end
3931
- def members; end
3932
- def new(*_arg0); end
3933
- end
3934
- end
3935
-
3936
- class ActionDispatch::Response::FileBody
3937
- def initialize(path); end
3938
-
3939
- def body; end
3940
- def each; end
3941
- def to_path; end
3942
- end
3943
-
3944
- class ActionDispatch::Response::Header
3945
- def initialize(response, header); end
3946
-
3947
- def []=(k, v); end
3948
- def merge(other); end
3949
- def to_hash; end
3950
- end
3951
-
3952
- ActionDispatch::Response::LOCATION = T.let(T.unsafe(nil), String)
3953
- ActionDispatch::Response::NO_CONTENT_CODES = T.let(T.unsafe(nil), Array)
3954
- ActionDispatch::Response::NullContentTypeHeader = T.let(T.unsafe(nil), ActionDispatch::Response::ContentTypeHeader)
3955
-
3956
- class ActionDispatch::Response::RackBody
3957
- def initialize(response); end
3958
-
3959
- def body; end
3960
- def close; end
3961
- def each(*args, &block); end
3962
- def respond_to?(method, include_private = T.unsafe(nil)); end
3963
- def to_ary; end
3964
- def to_path; end
3965
- end
3966
-
3967
- ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String)
3968
-
3969
- module ActionDispatch::Routing
3970
- extend ::ActiveSupport::Autoload
3971
- end
3972
-
3973
- module ActionDispatch::Routing::ConsoleFormatter; end
3974
-
3975
- class ActionDispatch::Routing::ConsoleFormatter::Base
3976
- def initialize; end
3977
-
3978
- def header(routes); end
3979
- def no_routes(routes, filter); end
3980
- def result; end
3981
- def section(routes); end
3982
- def section_title(title); end
3983
- end
3984
-
3985
- class ActionDispatch::Routing::ConsoleFormatter::Expanded < ::ActionDispatch::Routing::ConsoleFormatter::Base
3986
- def initialize(width: T.unsafe(nil)); end
3987
-
3988
- def section(routes); end
3989
- def section_title(title); end
3990
-
3991
- private
3992
-
3993
- def draw_expanded_section(routes); end
3994
- def route_header(index:); end
3995
- end
3996
-
3997
- class ActionDispatch::Routing::ConsoleFormatter::Sheet < ::ActionDispatch::Routing::ConsoleFormatter::Base
3998
- def header(routes); end
3999
- def section(routes); end
4000
- def section_title(title); end
4001
-
4002
- private
4003
-
4004
- def draw_header(routes); end
4005
- def draw_section(routes); end
4006
- def widths(routes); end
4007
- end
4008
-
4009
- class ActionDispatch::Routing::Endpoint
4010
- def app; end
4011
- def dispatcher?; end
4012
- def engine?; end
4013
- def matches?(req); end
4014
- def rack_app; end
4015
- def redirect?; end
4016
- end
4017
-
4018
- ActionDispatch::Routing::HTTP_METHODS = T.let(T.unsafe(nil), Array)
4019
-
4020
- class ActionDispatch::Routing::HtmlTableFormatter
4021
- def initialize(view); end
4022
-
4023
- def header(routes); end
4024
- def no_routes(*_arg0); end
4025
- def result; end
4026
- def section(routes); end
4027
- def section_title(title); end
4028
- end
4029
-
4030
- class ActionDispatch::Routing::Mapper
4031
- include ::ActionDispatch::Routing::Mapper::Base
4032
- include ::ActionDispatch::Routing::Mapper::HttpHelpers
4033
- include ::ActionDispatch::Routing::Redirection
4034
- include ::ActionDispatch::Routing::Mapper::Scoping
4035
- include ::ActionDispatch::Routing::Mapper::Concerns
4036
- include ::ActionDispatch::Routing::Mapper::Resources
4037
- include ::ActionDispatch::Routing::Mapper::CustomUrls
4038
-
4039
- def initialize(set); end
4040
-
4041
- class << self
4042
- def normalize_name(name); end
4043
- def normalize_path(path); end
4044
- end
4045
- end
4046
-
4047
- module ActionDispatch::Routing::Mapper::Base
4048
- def default_url_options(options); end
4049
- def default_url_options=(options); end
4050
- def has_named_route?(name); end
4051
- def match(path, options = T.unsafe(nil)); end
4052
- def mount(app, options = T.unsafe(nil)); end
4053
- def with_default_scope(scope, &block); end
4054
-
4055
- private
4056
-
4057
- def app_name(app, rails_app); end
4058
- def define_generate_prefix(app, name); end
4059
- def rails_app?(app); end
4060
- end
4061
-
4062
- module ActionDispatch::Routing::Mapper::Concerns
4063
- def concern(name, callable = T.unsafe(nil), &block); end
4064
- def concerns(*args); end
4065
- end
4066
-
4067
- class ActionDispatch::Routing::Mapper::Constraints < ::ActionDispatch::Routing::Endpoint
4068
- def initialize(app, constraints, strategy); end
4069
-
4070
- def app; end
4071
- def constraints; end
4072
- def dispatcher?; end
4073
- def matches?(req); end
4074
- def serve(req); end
4075
-
4076
- private
4077
-
4078
- def constraint_args(constraint, request); end
4079
- end
4080
-
4081
- ActionDispatch::Routing::Mapper::Constraints::CALL = T.let(T.unsafe(nil), Proc)
4082
- ActionDispatch::Routing::Mapper::Constraints::SERVE = T.let(T.unsafe(nil), Proc)
4083
-
4084
- module ActionDispatch::Routing::Mapper::CustomUrls
4085
- def direct(name, options = T.unsafe(nil), &block); end
4086
- def resolve(*args, &block); end
4087
- end
4088
-
4089
- module ActionDispatch::Routing::Mapper::HttpHelpers
4090
- def delete(*args, &block); end
4091
- def get(*args, &block); end
4092
- def options(*args, &block); end
4093
- def patch(*args, &block); end
4094
- def post(*args, &block); end
4095
- def put(*args, &block); end
4096
-
4097
- private
4098
-
4099
- def map_method(method, args, &block); end
4100
- end
4101
-
4102
- class ActionDispatch::Routing::Mapper::Mapping
4103
- def initialize(set:, ast:, controller:, default_action:, to:, formatted:, via:, options_constraints:, anchor:, scope_params:, options:); end
4104
-
4105
- def application; end
4106
- def ast; end
4107
- def conditions; end
4108
- def default_action; end
4109
- def default_controller; end
4110
- def defaults; end
4111
- def make_route(name, precedence); end
4112
- def path; end
4113
- def required_defaults; end
4114
- def requirements; end
4115
- def scope_options; end
4116
- def to; end
4117
-
4118
- private
4119
-
4120
- def add_controller_module(controller, modyoule); end
4121
- def alter_regex_for_custom_routes(node); end
4122
- def app(blocks); end
4123
- def blocks(callable_constraint); end
4124
- def build_conditions(current_conditions, request_class); end
4125
- def check_controller_and_action(path_params, controller, action); end
4126
- def check_part(name, part, path_params, hash); end
4127
- def constraints(options, path_params); end
4128
- def dispatcher(raise_on_name_error); end
4129
- def intern(object); end
4130
- def normalize_defaults(options); end
4131
- def normalize_format(formatted); end
4132
- def normalize_options!(options, path_params, modyoule); end
4133
- def request_method; end
4134
- def split_constraints(path_params, constraints); end
4135
- def split_to(to); end
4136
- def translate_controller(controller); end
4137
- def verify_regexp_requirements(requirements); end
4138
-
4139
- class << self
4140
- def build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options); end
4141
- def check_via(via); end
4142
- def normalize_path(path, format); end
4143
- def optional_format?(path, format); end
4144
- end
4145
- end
4146
-
4147
- ActionDispatch::Routing::Mapper::Mapping::ANCHOR_CHARACTERS_REGEX = T.let(T.unsafe(nil), Regexp)
4148
- ActionDispatch::Routing::Mapper::Mapping::JOINED_SEPARATORS = T.let(T.unsafe(nil), String)
4149
- ActionDispatch::Routing::Mapper::Mapping::OPTIONAL_FORMAT_REGEX = T.let(T.unsafe(nil), Regexp)
4150
-
4151
- module ActionDispatch::Routing::Mapper::Resources
4152
- def collection; end
4153
- def draw(name); end
4154
- def match(path, *rest, &block); end
4155
- def member; end
4156
- def namespace(path, options = T.unsafe(nil)); end
4157
- def nested; end
4158
- def new; end
4159
- def resource(*resources, &block); end
4160
- def resources(*resources, &block); end
4161
- def resources_path_names(options); end
4162
- def root(path, options = T.unsafe(nil)); end
4163
- def shallow; end
4164
- def shallow?; end
4165
-
4166
- private
4167
-
4168
- def action_options?(options); end
4169
- def action_path(name); end
4170
- def add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints); end
4171
- def api_only?; end
4172
- def apply_action_options(options); end
4173
- def apply_common_behavior_for(method, resources, options, &block); end
4174
- def canonical_action?(action); end
4175
- def decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints); end
4176
- def get_to_from_path(path, to, action); end
4177
- def map_match(paths, options); end
4178
- def match_root_route(options); end
4179
- def name_for_action(as, action); end
4180
- def nested_options; end
4181
- def nested_scope?; end
4182
- def param_constraint; end
4183
- def param_constraint?; end
4184
- def parent_resource; end
4185
- def path_for_action(action, path); end
4186
- def path_scope(path); end
4187
- def prefix_name_for_action(as, action); end
4188
- def resource_method_scope?; end
4189
- def resource_scope(resource); end
4190
- def resource_scope?; end
4191
- def scope_action_options; end
4192
- def set_member_mappings_for_resource; end
4193
- def shallow_nesting_depth; end
4194
- def shallow_scope; end
4195
- def using_match_shorthand?(path); end
4196
- def with_scope_level(kind); end
4197
- end
4198
-
4199
- ActionDispatch::Routing::Mapper::Resources::CANONICAL_ACTIONS = T.let(T.unsafe(nil), Array)
4200
- ActionDispatch::Routing::Mapper::Resources::RESOURCE_OPTIONS = T.let(T.unsafe(nil), Array)
4201
-
4202
- class ActionDispatch::Routing::Mapper::Resources::Resource
4203
- def initialize(entities, api_only, shallow, options = T.unsafe(nil)); end
4204
-
4205
- def actions; end
4206
- def available_actions; end
4207
- def collection_name; end
4208
- def collection_scope; end
4209
- def controller; end
4210
- def default_actions; end
4211
- def member_name; end
4212
- def member_scope; end
4213
- def name; end
4214
- def nested_param; end
4215
- def nested_scope; end
4216
- def new_scope(new_path); end
4217
- def param; end
4218
- def path; end
4219
- def plural; end
4220
- def resource_scope; end
4221
- def shallow?; end
4222
- def shallow_scope; end
4223
- def singleton?; end
4224
- def singular; end
4225
- end
4226
-
4227
- class ActionDispatch::Routing::Mapper::Resources::SingletonResource < ::ActionDispatch::Routing::Mapper::Resources::Resource
4228
- def initialize(entities, api_only, shallow, options); end
4229
-
4230
- def collection_name; end
4231
- def default_actions; end
4232
- def member_name; end
4233
- def member_scope; end
4234
- def nested_scope; end
4235
- def plural; end
4236
- def singleton?; end
4237
- def singular; end
4238
- end
4239
-
4240
- ActionDispatch::Routing::Mapper::Resources::VALID_ON_OPTIONS = T.let(T.unsafe(nil), Array)
4241
-
4242
- class ActionDispatch::Routing::Mapper::Scope
4243
- include ::Enumerable
4244
-
4245
- def initialize(hash, parent = T.unsafe(nil), scope_level = T.unsafe(nil)); end
4246
-
4247
- def [](key); end
4248
- def action_name(name_prefix, prefix, collection_name, member_name); end
4249
- def each; end
4250
- def frame; end
4251
- def nested?; end
4252
- def new(hash); end
4253
- def new_level(level); end
4254
- def null?; end
4255
- def options; end
4256
- def parent; end
4257
- def resource_method_scope?; end
4258
- def resource_scope?; end
4259
- def resources?; end
4260
- def root?; end
4261
- def scope_level; end
4262
- end
4263
-
4264
- ActionDispatch::Routing::Mapper::Scope::NULL = T.let(T.unsafe(nil), ActionDispatch::Routing::Mapper::Scope)
4265
- ActionDispatch::Routing::Mapper::Scope::OPTIONS = T.let(T.unsafe(nil), Array)
4266
- ActionDispatch::Routing::Mapper::Scope::RESOURCE_METHOD_SCOPES = T.let(T.unsafe(nil), Array)
4267
- ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), Array)
4268
-
4269
- module ActionDispatch::Routing::Mapper::Scoping
4270
- def constraints(constraints = T.unsafe(nil)); end
4271
- def controller(controller); end
4272
- def defaults(defaults = T.unsafe(nil)); end
4273
- def namespace(path, options = T.unsafe(nil)); end
4274
- def scope(*args); end
4275
-
4276
- private
4277
-
4278
- def merge_action_scope(parent, child); end
4279
- def merge_as_scope(parent, child); end
4280
- def merge_blocks_scope(parent, child); end
4281
- def merge_constraints_scope(parent, child); end
4282
- def merge_controller_scope(parent, child); end
4283
- def merge_defaults_scope(parent, child); end
4284
- def merge_format_scope(parent, child); end
4285
- def merge_module_scope(parent, child); end
4286
- def merge_options_scope(parent, child); end
4287
- def merge_path_names_scope(parent, child); end
4288
- def merge_path_scope(parent, child); end
4289
- def merge_shallow_path_scope(parent, child); end
4290
- def merge_shallow_prefix_scope(parent, child); end
4291
- def merge_shallow_scope(parent, child); end
4292
- def merge_to_scope(parent, child); end
4293
- def merge_via_scope(parent, child); end
4294
- end
4295
-
4296
- ActionDispatch::Routing::Mapper::Scoping::POISON = T.let(T.unsafe(nil), Object)
4297
- ActionDispatch::Routing::Mapper::URL_OPTIONS = T.let(T.unsafe(nil), Array)
4298
-
4299
- class ActionDispatch::Routing::OptionRedirect < ::ActionDispatch::Routing::Redirect
4300
- def inspect; end
4301
- def options; end
4302
- def path(params, request); end
4303
- end
4304
-
4305
- class ActionDispatch::Routing::PathRedirect < ::ActionDispatch::Routing::Redirect
4306
- def inspect; end
4307
- def path(params, request); end
4308
-
4309
- private
4310
-
4311
- def interpolation_required?(string, params); end
4312
- end
4313
-
4314
- ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp)
4315
-
4316
- module ActionDispatch::Routing::PolymorphicRoutes
4317
- def edit_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end
4318
- def edit_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end
4319
- def new_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end
4320
- def new_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end
4321
- def polymorphic_path(record_or_hash_or_array, options = T.unsafe(nil)); end
4322
- def polymorphic_url(record_or_hash_or_array, options = T.unsafe(nil)); end
4323
-
4324
- private
4325
-
4326
- def polymorphic_mapping(record); end
4327
- def polymorphic_path_for_action(action, record_or_hash, options); end
4328
- def polymorphic_url_for_action(action, record_or_hash, options); end
4329
- end
4330
-
4331
- class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder
4332
- def initialize(key_strategy, prefix, suffix); end
4333
-
4334
- def handle_class(klass); end
4335
- def handle_class_call(target, klass); end
4336
- def handle_list(list); end
4337
- def handle_model(record); end
4338
- def handle_model_call(target, record); end
4339
- def handle_string(record); end
4340
- def handle_string_call(target, str); end
4341
- def prefix; end
4342
- def suffix; end
4343
-
4344
- private
4345
-
4346
- def get_method_for_class(klass); end
4347
- def get_method_for_string(str); end
4348
- def polymorphic_mapping(target, record); end
4349
-
4350
- class << self
4351
- def build(action, type); end
4352
- def get(action, type); end
4353
- def path; end
4354
- def plural(prefix, suffix); end
4355
- def polymorphic_method(recipient, record_or_hash_or_array, action, type, options); end
4356
- def singular(prefix, suffix); end
4357
- def url; end
4358
- end
4359
- end
4360
-
4361
- ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder::CACHE = T.let(T.unsafe(nil), Hash)
4362
-
4363
- class ActionDispatch::Routing::Redirect < ::ActionDispatch::Routing::Endpoint
4364
- def initialize(status, block); end
4365
-
4366
- def block; end
4367
- def call(env); end
4368
- def inspect; end
4369
- def path(params, request); end
4370
- def redirect?; end
4371
- def serve(req); end
4372
- def status; end
4373
-
4374
- private
4375
-
4376
- def escape(params); end
4377
- def escape_fragment(params); end
4378
- def escape_path(params); end
4379
- def relative_path?(path); end
4380
- end
4381
-
4382
- module ActionDispatch::Routing::Redirection
4383
- def redirect(*args, &block); end
4384
- end
4385
-
4386
- class ActionDispatch::Routing::RouteSet
4387
- def initialize(config = T.unsafe(nil)); end
4388
-
4389
- def add_polymorphic_mapping(klass, options, &block); end
4390
- def add_route(mapping, name); end
4391
- def add_url_helper(name, options, &block); end
4392
- def api_only?; end
4393
- def append(&block); end
4394
- def call(env); end
4395
- def clear!; end
4396
- def default_scope; end
4397
- def default_scope=(_arg0); end
4398
- def default_url_options; end
4399
- def default_url_options=(_arg0); end
4400
- def define_mounted_helper(name, script_namer = T.unsafe(nil)); end
4401
- def disable_clear_and_finalize; end
4402
- def disable_clear_and_finalize=(_arg0); end
4403
- def draw(&block); end
4404
- def draw_paths; end
4405
- def draw_paths=(_arg0); end
4406
- def eager_load!; end
4407
- def empty?; end
4408
- def env_key; end
4409
- def extra_keys(options, recall = T.unsafe(nil)); end
4410
- def finalize!; end
4411
- def find_relative_url_root(options); end
4412
- def find_script_name(options); end
4413
- def formatter; end
4414
- def formatter=(_arg0); end
4415
- def generate_extras(options, recall = T.unsafe(nil)); end
4416
- def generate_url_helpers(supports_path); end
4417
- def inspect; end
4418
- def mounted_helpers; end
4419
- def named_routes; end
4420
- def named_routes=(_arg0); end
4421
- def optimize_routes_generation?; end
4422
- def path_for(options, route_name = T.unsafe(nil), reserved = T.unsafe(nil)); end
4423
- def polymorphic_mappings; end
4424
- def prepend(&block); end
4425
- def recognize_path(path, environment = T.unsafe(nil)); end
4426
- def recognize_path_with_request(req, path, extras, raise_on_missing: T.unsafe(nil)); end
4427
- def relative_url_root; end
4428
- def request_class; end
4429
- def resources_path_names; end
4430
- def resources_path_names=(_arg0); end
4431
- def router; end
4432
- def router=(_arg0); end
4433
- def routes; end
4434
- def set; end
4435
- def set=(_arg0); end
4436
- def url_for(options, route_name = T.unsafe(nil), url_strategy = T.unsafe(nil), method_name = T.unsafe(nil), reserved = T.unsafe(nil)); end
4437
- def url_helpers(supports_path = T.unsafe(nil)); end
4438
-
4439
- private
4440
-
4441
- def eval_block(block); end
4442
- def generate(route_name, options, recall = T.unsafe(nil), method_name = T.unsafe(nil)); end
4443
- def make_request(env); end
4444
-
4445
- class << self
4446
- def default_resources_path_names; end
4447
- def new_with_config(config); end
4448
- end
4449
- end
4450
-
4451
- class ActionDispatch::Routing::RouteSet::Config < ::Struct
4452
- def api_only; end
4453
- def api_only=(_); end
4454
- def relative_url_root; end
4455
- def relative_url_root=(_); end
4456
-
4457
- class << self
4458
- def [](*_arg0); end
4459
- def inspect; end
4460
- def members; end
4461
- def new(*_arg0); end
4462
- end
4463
- end
4464
-
4465
- class ActionDispatch::Routing::RouteSet::CustomUrlHelper
4466
- def initialize(name, defaults, &block); end
4467
-
4468
- def block; end
4469
- def call(t, args, only_path = T.unsafe(nil)); end
4470
- def defaults; end
4471
- def name; end
4472
-
4473
- private
4474
-
4475
- def eval_block(t, args, options); end
4476
- def merge_defaults(options); end
4477
- end
4478
-
4479
- ActionDispatch::Routing::RouteSet::DEFAULT_CONFIG = T.let(T.unsafe(nil), ActionDispatch::Routing::RouteSet::Config)
4480
-
4481
- class ActionDispatch::Routing::RouteSet::Dispatcher < ::ActionDispatch::Routing::Endpoint
4482
- def initialize(raise_on_name_error); end
4483
-
4484
- def dispatcher?; end
4485
- def serve(req); end
4486
-
4487
- private
4488
-
4489
- def controller(req); end
4490
- def dispatch(controller, action, req, res); end
4491
- end
4492
-
4493
- class ActionDispatch::Routing::RouteSet::Generator
4494
- def initialize(named_route, options, recall, set); end
4495
-
4496
- def controller; end
4497
- def current_controller; end
4498
- def different_controller?; end
4499
- def generate; end
4500
- def named_route; end
4501
- def normalize_controller!; end
4502
- def normalize_controller_action_id!; end
4503
- def normalize_options!; end
4504
- def options; end
4505
- def recall; end
4506
- def set; end
4507
- def use_recall_for(key); end
4508
- def use_relative_controller!; end
4509
-
4510
- private
4511
-
4512
- def named_route_exists?; end
4513
- def segment_keys; end
4514
- end
4515
-
4516
- module ActionDispatch::Routing::RouteSet::MountedHelpers
4517
- extend ::ActiveSupport::Concern
4518
- include ::ActionDispatch::Routing::UrlFor
4519
- end
4520
-
4521
- class ActionDispatch::Routing::RouteSet::NamedRouteCollection
4522
- include ::Enumerable
4523
-
4524
- def initialize; end
4525
-
4526
- def [](name); end
4527
- def []=(name, route); end
4528
- def add(name, route); end
4529
- def add_url_helper(name, defaults, &block); end
4530
- def clear; end
4531
- def clear!; end
4532
- def each; end
4533
- def get(name); end
4534
- def helper_names; end
4535
- def key?(name); end
4536
- def length; end
4537
- def names; end
4538
- def path_helpers_module; end
4539
- def route_defined?(name); end
4540
- def url_helpers_module; end
4541
-
4542
- private
4543
-
4544
- def define_url_helper(mod, name, helper, url_strategy); end
4545
- def routes; end
4546
- end
4547
-
4548
- class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper
4549
- def initialize(route, options, route_name); end
4550
-
4551
- def call(t, method_name, args, inner_options, url_strategy); end
4552
- def handle_positional_args(controller_options, inner_options, args, result, path_params); end
4553
- def route_name; end
4554
-
4555
- class << self
4556
- def create(route, options, route_name); end
4557
- def optimize_helper?(route); end
4558
- end
4559
- end
4560
-
4561
- class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper::OptimizedUrlHelper < ::ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper
4562
- def initialize(route, options, route_name); end
4563
-
4564
- def arg_size; end
4565
- def call(t, method_name, args, inner_options, url_strategy); end
4566
-
4567
- private
4568
-
4569
- def optimize_routes_generation?(t); end
4570
- def optimized_helper(args); end
4571
- def parameterize_args(args); end
4572
- def raise_generation_error(args); end
4573
- end
4574
-
4575
- ActionDispatch::Routing::RouteSet::PATH = T.let(T.unsafe(nil), Proc)
4576
- ActionDispatch::Routing::RouteSet::RESERVED_OPTIONS = T.let(T.unsafe(nil), Array)
4577
-
4578
- class ActionDispatch::Routing::RouteSet::StaticDispatcher < ::ActionDispatch::Routing::RouteSet::Dispatcher
4579
- def initialize(controller_class); end
4580
-
4581
- private
4582
-
4583
- def controller(_); end
4584
- end
4585
-
4586
- ActionDispatch::Routing::RouteSet::UNKNOWN = T.let(T.unsafe(nil), Proc)
4587
-
4588
- class ActionDispatch::Routing::RouteWrapper < ::SimpleDelegator
4589
- def action; end
4590
- def constraints; end
4591
- def controller; end
4592
- def endpoint; end
4593
- def engine?; end
4594
- def internal?; end
4595
- def name; end
4596
- def path; end
4597
- def rack_app; end
4598
- def reqs; end
4599
- end
4600
-
4601
- class ActionDispatch::Routing::RoutesInspector
4602
- def initialize(routes); end
4603
-
4604
- def format(formatter, filter = T.unsafe(nil)); end
4605
-
4606
- private
4607
-
4608
- def collect_engine_routes(route); end
4609
- def collect_routes(routes); end
4610
- def filter_routes(filter); end
4611
- def normalize_filter(filter); end
4612
- end
4613
-
4614
- class ActionDispatch::Routing::RoutesProxy
4615
- include ::ActionDispatch::Routing::PolymorphicRoutes
4616
- include ::ActionDispatch::Routing::UrlFor
4617
-
4618
- def initialize(routes, scope, helpers, script_namer = T.unsafe(nil)); end
4619
-
4620
- def _routes; end
4621
- def default_url_options; end
4622
- def default_url_options=(_arg0); end
4623
- def default_url_options?; end
4624
- def routes; end
4625
- def routes=(_arg0); end
4626
- def scope; end
4627
- def scope=(_arg0); end
4628
- def url_options; end
4629
-
4630
- private
4631
-
4632
- def merge_script_names(previous_script_name, new_script_name); end
4633
- def method_missing(method, *args); end
4634
- def respond_to_missing?(method, _); end
4635
-
4636
- class << self
4637
- def default_url_options; end
4638
- def default_url_options=(value); end
4639
- def default_url_options?; end
4640
- end
4641
- end
4642
-
4643
- ActionDispatch::Routing::SEPARATORS = T.let(T.unsafe(nil), Array)
4644
-
4645
- module ActionDispatch::Routing::UrlFor
4646
- include ::ActionDispatch::Routing::PolymorphicRoutes
4647
- extend ::ActiveSupport::Concern
4648
-
4649
- def initialize(*_arg0); end
4650
-
4651
- def full_url_for(options = T.unsafe(nil)); end
4652
- def route_for(name, *args); end
4653
- def url_for(options = T.unsafe(nil)); end
4654
- def url_options; end
4655
-
4656
- protected
4657
-
4658
- def optimize_routes_generation?; end
4659
-
4660
- private
4661
-
4662
- def _routes_context; end
4663
- def _with_routes(routes); end
4664
- end
4665
-
4666
- class ActionDispatch::SSL
4667
- def initialize(app, redirect: T.unsafe(nil), hsts: T.unsafe(nil), secure_cookies: T.unsafe(nil), ssl_default_redirect_status: T.unsafe(nil)); end
4668
-
4669
- def call(env); end
4670
-
4671
- private
4672
-
4673
- def build_hsts_header(hsts); end
4674
- def flag_cookies_as_secure!(headers); end
4675
- def https_location_for(request); end
4676
- def normalize_hsts_options(options); end
4677
- def redirect_to_https(request); end
4678
- def redirection_status(request); end
4679
- def set_hsts_header!(headers); end
4680
-
4681
- class << self
4682
- def default_hsts_options; end
4683
- end
4684
- end
4685
-
4686
- ActionDispatch::SSL::HSTS_EXPIRES_IN = T.let(T.unsafe(nil), Integer)
4687
- ActionDispatch::SSL::PERMANENT_REDIRECT_REQUEST_METHODS = T.let(T.unsafe(nil), Array)
4688
- module ActionDispatch::Session; end
4689
-
4690
- class ActionDispatch::Session::AbstractSecureStore < ::Rack::Session::Abstract::PersistedSecure
4691
- include ::ActionDispatch::Session::Compatibility
4692
- include ::ActionDispatch::Session::StaleSessionCheck
4693
- include ::ActionDispatch::Session::SessionObject
4694
-
4695
- def generate_sid; end
4696
-
4697
- private
4698
-
4699
- def set_cookie(request, response, cookie); end
4700
- end
4701
-
4702
- class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persisted
4703
- include ::ActionDispatch::Session::Compatibility
4704
- include ::ActionDispatch::Session::StaleSessionCheck
4705
- include ::ActionDispatch::Session::SessionObject
4706
-
4707
- private
4708
-
4709
- def set_cookie(request, response, cookie); end
4710
- end
4711
-
4712
- class ActionDispatch::Session::CacheStore < ::ActionDispatch::Session::AbstractSecureStore
4713
- def initialize(app, options = T.unsafe(nil)); end
4714
-
4715
- def delete_session(env, sid, options); end
4716
- def find_session(env, sid); end
4717
- def write_session(env, sid, session, options); end
4718
-
4719
- private
4720
-
4721
- def cache_key(id); end
4722
- def get_session_with_fallback(sid); end
4723
- end
4724
-
4725
- module ActionDispatch::Session::Compatibility
4726
- def initialize(app, options = T.unsafe(nil)); end
4727
-
4728
- def generate_sid; end
4729
-
4730
- private
4731
-
4732
- def initialize_sid; end
4733
- def make_request(env); end
4734
- end
4735
-
4736
- class ActionDispatch::Session::CookieStore < ::ActionDispatch::Session::AbstractSecureStore
4737
- def initialize(app, options = T.unsafe(nil)); end
4738
-
4739
- def delete_session(req, session_id, options); end
4740
- def load_session(req); end
4741
-
4742
- private
4743
-
4744
- def cookie_jar(request); end
4745
- def extract_session_id(req); end
4746
- def get_cookie(req); end
4747
- def persistent_session_id!(data, sid = T.unsafe(nil)); end
4748
- def set_cookie(request, session_id, cookie); end
4749
- def unpacked_cookie_data(req); end
4750
- def write_session(req, sid, session_data, options); end
4751
- end
4752
-
4753
- class ActionDispatch::Session::CookieStore::SessionId
4754
- def initialize(session_id, cookie_value = T.unsafe(nil)); end
4755
-
4756
- def cookie_value; end
4757
- end
4758
-
4759
- module ActionDispatch::Session::SessionObject
4760
- def loaded_session?(session); end
4761
- def prepare_session(req); end
4762
- end
4763
-
4764
- class ActionDispatch::Session::SessionRestoreError < ::StandardError
4765
- def initialize; end
4766
- end
4767
-
4768
- module ActionDispatch::Session::StaleSessionCheck
4769
- def extract_session_id(env); end
4770
- def load_session(env); end
4771
- def stale_session_check!; end
4772
- end
4773
-
4774
- class ActionDispatch::ShowExceptions
4775
- def initialize(app, exceptions_app); end
4776
-
4777
- def call(env); end
4778
-
4779
- private
4780
-
4781
- def pass_response(status); end
4782
- def render_exception(request, exception); end
4783
- end
4784
-
4785
- ActionDispatch::ShowExceptions::FAILSAFE_RESPONSE = T.let(T.unsafe(nil), Array)
4786
-
4787
- class ActionDispatch::Static
4788
- def initialize(app, path, index: T.unsafe(nil), headers: T.unsafe(nil)); end
4789
-
4790
- def call(env); end
4791
- end
4792
-
4793
- module ActionDispatch::TestProcess
4794
- include ::ActionDispatch::TestProcess::FixtureFile
4795
-
4796
- def assigns(key = T.unsafe(nil)); end
4797
- def cookies; end
4798
- def flash; end
4799
- def redirect_to_url; end
4800
- def session; end
4801
- end
4802
-
4803
- module ActionDispatch::TestProcess::FixtureFile
4804
- def fixture_file_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end
4805
- end
4806
-
4807
- class ActionDispatch::TestRequest < ::ActionDispatch::Request
4808
- def accept=(mime_types); end
4809
- def action=(action_name); end
4810
- def host=(host); end
4811
- def if_modified_since=(last_modified); end
4812
- def if_none_match=(etag); end
4813
- def path=(path); end
4814
- def port=(number); end
4815
- def remote_addr=(addr); end
4816
- def request_method=(method); end
4817
- def request_uri=(uri); end
4818
- def user_agent=(user_agent); end
4819
-
4820
- class << self
4821
- def create(env = T.unsafe(nil)); end
4822
-
4823
- private
4824
-
4825
- def default_env; end
4826
- end
4827
- end
4828
-
4829
- ActionDispatch::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash)
4830
-
4831
- class ActionDispatch::TestResponse < ::ActionDispatch::Response
4832
- def parsed_body; end
4833
- def response_parser; end
4834
-
4835
- class << self
4836
- def from_response(response); end
4837
- end
4838
- end
4839
-
4840
- module ActionPack
4841
- class << self
4842
- def gem_version; end
4843
- def version; end
4844
- end
4845
- end
4846
-
4847
- module ActionPack::VERSION; end
4848
- ActionPack::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
4849
- ActionPack::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
4850
- ActionPack::VERSION::STRING = T.let(T.unsafe(nil), String)
4851
- ActionPack::VERSION::TINY = T.let(T.unsafe(nil), Integer)
4852
-
4853
- module Mime
4854
- class << self
4855
- def [](type); end
4856
- def fetch(type); end
4857
- end
4858
- end
4859
-
4860
- Mime::ALL = T.let(T.unsafe(nil), Mime::AllType)
4861
-
4862
- class Mime::AllType < ::Mime::Type
4863
- include ::Singleton
4864
- extend ::Singleton::SingletonClassMethods
4865
-
4866
- def initialize; end
4867
-
4868
- def all?; end
4869
- def html?; end
4870
-
4871
- class << self
4872
- def instance; end
4873
- end
4874
- end
4875
-
4876
- Mime::EXTENSION_LOOKUP = T.let(T.unsafe(nil), Hash)
4877
- Mime::LOOKUP = T.let(T.unsafe(nil), Hash)
4878
-
4879
- class Mime::Mimes
4880
- include ::Enumerable
4881
-
4882
- def initialize; end
4883
-
4884
- def <<(type); end
4885
- def delete_if; end
4886
- def each; end
4887
- def symbols; end
4888
- end
4889
-
4890
- class Mime::NullType
4891
- include ::Singleton
4892
- extend ::Singleton::SingletonClassMethods
4893
-
4894
- def nil?; end
4895
- def ref; end
4896
- def to_s; end
4897
-
4898
- private
4899
-
4900
- def method_missing(method, *args); end
4901
- def respond_to_missing?(method, _); end
4902
-
4903
- class << self
4904
- def instance; end
4905
- end
4906
- end
4907
-
4908
- Mime::SET = T.let(T.unsafe(nil), Mime::Mimes)
4909
-
4910
- class Mime::Type
4911
- def initialize(string, symbol = T.unsafe(nil), synonyms = T.unsafe(nil)); end
4912
-
4913
- def ==(mime_type); end
4914
- def ===(list); end
4915
- def =~(mime_type); end
4916
- def all?; end
4917
- def eql?(other); end
4918
- def hash; end
4919
- def html?; end
4920
- def match?(mime_type); end
4921
- def ref; end
4922
- def symbol; end
4923
- def to_s; end
4924
- def to_str; end
4925
- def to_sym; end
4926
-
4927
- protected
4928
-
4929
- def string; end
4930
- def synonyms; end
4931
-
4932
- private
4933
-
4934
- def method_missing(method, *args); end
4935
- def respond_to_missing?(method, include_private = T.unsafe(nil)); end
4936
- def to_a; end
4937
- def to_ary; end
4938
-
4939
- class << self
4940
- def lookup(string); end
4941
- def lookup_by_extension(extension); end
4942
- def parse(accept_header); end
4943
- def parse_data_with_trailing_star(type); end
4944
- def parse_trailing_star(accept_header); end
4945
- def register(string, symbol, mime_type_synonyms = T.unsafe(nil), extension_synonyms = T.unsafe(nil), skip_lookup = T.unsafe(nil)); end
4946
- def register_alias(string, symbol, extension_synonyms = T.unsafe(nil)); end
4947
- def register_callback(&block); end
4948
- def unregister(symbol); end
4949
- end
4950
- end
4951
-
4952
- class Mime::Type::AcceptItem
4953
- def initialize(index, name, q = T.unsafe(nil)); end
4954
-
4955
- def <=>(item); end
4956
- def index; end
4957
- def index=(_arg0); end
4958
- def name; end
4959
- def name=(_arg0); end
4960
- def q; end
4961
- def q=(_arg0); end
4962
- def to_s; end
4963
- end
4964
-
4965
- class Mime::Type::AcceptList
4966
- class << self
4967
- def find_item_by_name(array, name); end
4968
- def sort!(list); end
4969
- end
4970
- end
4971
-
4972
- class Mime::Type::InvalidMimeType < ::StandardError; end
4973
- Mime::Type::MIME_NAME = T.let(T.unsafe(nil), String)
4974
- Mime::Type::MIME_PARAMETER = T.let(T.unsafe(nil), String)
4975
- Mime::Type::MIME_PARAMETER_KEY = T.let(T.unsafe(nil), String)
4976
- Mime::Type::MIME_PARAMETER_VALUE = T.let(T.unsafe(nil), String)
4977
- Mime::Type::MIME_REGEXP = T.let(T.unsafe(nil), Regexp)
4978
-
4979
- module Rack
4980
- class << self
4981
- def release; end
4982
- def version; end
4983
- end
4984
- end
4985
-
4986
- Rack::CACHE_CONTROL = T.let(T.unsafe(nil), String)
4987
- Rack::CONTENT_LENGTH = T.let(T.unsafe(nil), String)
4988
- Rack::CONTENT_TYPE = T.let(T.unsafe(nil), String)
4989
- Rack::DELETE = T.let(T.unsafe(nil), String)
4990
- Rack::ETAG = T.let(T.unsafe(nil), String)
4991
- Rack::EXPIRES = T.let(T.unsafe(nil), String)
4992
- Rack::File = Rack::Files
4993
- Rack::GET = T.let(T.unsafe(nil), String)
4994
- Rack::HEAD = T.let(T.unsafe(nil), String)
4995
- Rack::HTTPS = T.let(T.unsafe(nil), String)
4996
- Rack::HTTP_COOKIE = T.let(T.unsafe(nil), String)
4997
- Rack::HTTP_HOST = T.let(T.unsafe(nil), String)
4998
- Rack::HTTP_PORT = T.let(T.unsafe(nil), String)
4999
- Rack::HTTP_VERSION = T.let(T.unsafe(nil), String)
5000
- Rack::LINK = T.let(T.unsafe(nil), String)
5001
- Rack::OPTIONS = T.let(T.unsafe(nil), String)
5002
- Rack::PATCH = T.let(T.unsafe(nil), String)
5003
- Rack::PATH_INFO = T.let(T.unsafe(nil), String)
5004
- Rack::POST = T.let(T.unsafe(nil), String)
5005
- Rack::PUT = T.let(T.unsafe(nil), String)
5006
- Rack::QUERY_STRING = T.let(T.unsafe(nil), String)
5007
- Rack::RACK_ERRORS = T.let(T.unsafe(nil), String)
5008
- Rack::RACK_HIJACK = T.let(T.unsafe(nil), String)
5009
- Rack::RACK_HIJACK_IO = T.let(T.unsafe(nil), String)
5010
- Rack::RACK_INPUT = T.let(T.unsafe(nil), String)
5011
- Rack::RACK_IS_HIJACK = T.let(T.unsafe(nil), String)
5012
- Rack::RACK_LOGGER = T.let(T.unsafe(nil), String)
5013
- Rack::RACK_METHODOVERRIDE_ORIGINAL_METHOD = T.let(T.unsafe(nil), String)
5014
- Rack::RACK_MULTIPART_BUFFER_SIZE = T.let(T.unsafe(nil), String)
5015
- Rack::RACK_MULTIPART_TEMPFILE_FACTORY = T.let(T.unsafe(nil), String)
5016
- Rack::RACK_MULTIPROCESS = T.let(T.unsafe(nil), String)
5017
- Rack::RACK_MULTITHREAD = T.let(T.unsafe(nil), String)
5018
- Rack::RACK_RECURSIVE_INCLUDE = T.let(T.unsafe(nil), String)
5019
- Rack::RACK_REQUEST_COOKIE_HASH = T.let(T.unsafe(nil), String)
5020
- Rack::RACK_REQUEST_COOKIE_STRING = T.let(T.unsafe(nil), String)
5021
- Rack::RACK_REQUEST_FORM_HASH = T.let(T.unsafe(nil), String)
5022
- Rack::RACK_REQUEST_FORM_INPUT = T.let(T.unsafe(nil), String)
5023
- Rack::RACK_REQUEST_FORM_VARS = T.let(T.unsafe(nil), String)
5024
- Rack::RACK_REQUEST_QUERY_HASH = T.let(T.unsafe(nil), String)
5025
- Rack::RACK_REQUEST_QUERY_STRING = T.let(T.unsafe(nil), String)
5026
- Rack::RACK_RUNONCE = T.let(T.unsafe(nil), String)
5027
- Rack::RACK_SESSION = T.let(T.unsafe(nil), String)
5028
- Rack::RACK_SESSION_OPTIONS = T.let(T.unsafe(nil), String)
5029
- Rack::RACK_SESSION_UNPACKED_COOKIE_DATA = T.let(T.unsafe(nil), String)
5030
- Rack::RACK_SHOWSTATUS_DETAIL = T.let(T.unsafe(nil), String)
5031
- Rack::RACK_TEMPFILES = T.let(T.unsafe(nil), String)
5032
- Rack::RACK_URL_SCHEME = T.let(T.unsafe(nil), String)
5033
- Rack::RACK_VERSION = T.let(T.unsafe(nil), String)
5034
- Rack::RELEASE = T.let(T.unsafe(nil), String)
5035
- Rack::REQUEST_METHOD = T.let(T.unsafe(nil), String)
5036
- Rack::REQUEST_PATH = T.let(T.unsafe(nil), String)
5037
- Rack::SCRIPT_NAME = T.let(T.unsafe(nil), String)
5038
- Rack::SERVER_NAME = T.let(T.unsafe(nil), String)
5039
- Rack::SERVER_PORT = T.let(T.unsafe(nil), String)
5040
- Rack::SERVER_PROTOCOL = T.let(T.unsafe(nil), String)
5041
- Rack::SET_COOKIE = T.let(T.unsafe(nil), String)
5042
- Rack::TRACE = T.let(T.unsafe(nil), String)
5043
- Rack::TRANSFER_ENCODING = T.let(T.unsafe(nil), String)
5044
- Rack::UNLINK = T.let(T.unsafe(nil), String)
5045
- Rack::VERSION = T.let(T.unsafe(nil), Array)