shotgrid_api_ruby 0.1.3 → 0.2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. data/.github/workflows/test_and_publish.yml +2 -0
  5. data/.github/workflows/test_only.yml +2 -0
  6. data/.gitignore +3 -0
  7. data/.overcommit.yml +9 -0
  8. data/.rubocop.yml +2 -0
  9. data/CHANGELOG.md +27 -1
  10. data/CODE_OF_CONDUCT.md +128 -0
  11. data/Gemfile +18 -0
  12. data/Guardfile +2 -2
  13. data/bin/generate_and_add_documentation +1 -0
  14. data/bin/generate_sorbet_coverage +3 -0
  15. data/bin/prettirun +1 -1
  16. data/bin/sorbet_check +1 -0
  17. data/bin/tapioca +29 -0
  18. data/docs/ShotgridApiRuby/Auth/Validator.html +319 -0
  19. data/docs/ShotgridApiRuby/Auth.html +1079 -0
  20. data/docs/ShotgridApiRuby/Client.html +933 -0
  21. data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +124 -0
  22. data/docs/ShotgridApiRuby/Entities/Params.html +1377 -0
  23. data/docs/ShotgridApiRuby/Entities/Schema.html +646 -0
  24. data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +401 -0
  25. data/docs/ShotgridApiRuby/Entities/Summarize.html +775 -0
  26. data/docs/ShotgridApiRuby/Entities.html +2461 -0
  27. data/docs/ShotgridApiRuby/Entity.html +935 -0
  28. data/docs/ShotgridApiRuby/Preferences.html +417 -0
  29. data/docs/ShotgridApiRuby/ServerInfo.html +415 -0
  30. data/docs/ShotgridApiRuby/ShotgridCallError.html +328 -0
  31. data/docs/ShotgridApiRuby/Types.html +136 -0
  32. data/docs/ShotgridApiRuby.html +307 -0
  33. data/docs/_index.html +253 -0
  34. data/docs/class_list.html +51 -0
  35. data/docs/css/common.css +1 -0
  36. data/docs/css/full_list.css +58 -0
  37. data/docs/css/style.css +497 -0
  38. data/docs/file.README.html +578 -0
  39. data/docs/file_list.html +56 -0
  40. data/docs/frames.html +17 -0
  41. data/docs/index.html +578 -0
  42. data/docs/js/app.js +314 -0
  43. data/docs/js/full_list.js +216 -0
  44. data/docs/js/jquery.js +4 -0
  45. data/docs/method_list.html +643 -0
  46. data/docs/top-level-namespace.html +110 -0
  47. data/lib/shotgrid_api_ruby/auth.rb +89 -33
  48. data/lib/shotgrid_api_ruby/client.rb +50 -7
  49. data/lib/shotgrid_api_ruby/entities/params.rb +304 -65
  50. data/lib/shotgrid_api_ruby/entities/schema.rb +18 -3
  51. data/lib/shotgrid_api_ruby/entities/summarize.rb +39 -7
  52. data/lib/shotgrid_api_ruby/entities.rb +118 -29
  53. data/lib/shotgrid_api_ruby/entity.rb +29 -12
  54. data/lib/shotgrid_api_ruby/preferences.rb +7 -1
  55. data/lib/shotgrid_api_ruby/server_info.rb +7 -1
  56. data/lib/shotgrid_api_ruby/shotgrid_call_error.rb +5 -1
  57. data/lib/shotgrid_api_ruby/types/auth_type.rb +23 -0
  58. data/lib/shotgrid_api_ruby/version.rb +2 -1
  59. data/lib/shotgrid_api_ruby.rb +20 -2
  60. data/shotgrid_api_ruby.gemspec +3 -11
  61. data/sorbet/config +6 -0
  62. data/sorbet/rbi/faraday.rbi +20 -0
  63. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +3770 -0
  64. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  65. data/sorbet/rbi/gems/backport@1.2.0.rbi +8 -0
  66. data/sorbet/rbi/gems/benchmark@0.1.1.rbi +65 -0
  67. data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +8 -0
  68. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1569 -0
  69. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +8 -0
  70. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  71. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  72. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  73. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
  74. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  75. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  76. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +88 -0
  77. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +8 -0
  78. data/sorbet/rbi/gems/faker@2.19.0.rbi +2513 -0
  79. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +101 -0
  80. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +78 -0
  81. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +77 -0
  82. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +73 -0
  83. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +82 -0
  84. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +72 -0
  85. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +74 -0
  86. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +73 -0
  87. data/sorbet/rbi/gems/faraday@1.7.0.rbi +783 -0
  88. data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
  89. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  90. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +8 -0
  91. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +8 -0
  92. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  93. data/sorbet/rbi/gems/haml@5.2.2.rbi +8 -0
  94. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  95. data/sorbet/rbi/gems/i18n@1.8.10.rbi +584 -0
  96. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +8 -0
  97. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +8 -0
  98. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
  99. data/sorbet/rbi/gems/kramdown@2.3.1.rbi +8 -0
  100. data/sorbet/rbi/gems/listen@3.7.0.rbi +476 -0
  101. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  102. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  103. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  104. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +69 -0
  105. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  106. data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +8 -0
  107. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  108. data/sorbet/rbi/gems/overcommit@0.58.0.rbi +8 -0
  109. data/sorbet/rbi/gems/parallel@1.20.1.rbi +8 -0
  110. data/sorbet/rbi/gems/parlour@6.0.1.rbi +1610 -0
  111. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1731 -0
  112. data/sorbet/rbi/gems/prettier@1.6.1.rbi +8 -0
  113. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
  114. data/sorbet/rbi/gems/pry@0.13.1.rbi +2553 -0
  115. data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
  116. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  117. data/sorbet/rbi/gems/rake@13.0.6.rbi +807 -0
  118. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  119. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  120. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
  121. data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +8 -0
  122. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  123. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2500 -0
  124. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  125. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  126. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +510 -0
  127. data/sorbet/rbi/gems/rspec@3.10.0.rbi +39 -0
  128. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +196 -0
  129. data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +8 -0
  130. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +8 -0
  131. data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +8 -0
  132. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +8 -0
  133. data/sorbet/rbi/gems/rubocop@1.20.0.rbi +8 -0
  134. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +8 -0
  135. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  136. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  137. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  138. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  139. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  140. data/sorbet/rbi/gems/solargraph@0.43.0.rbi +8 -0
  141. data/sorbet/rbi/gems/spoom@1.1.2.rbi +1204 -0
  142. data/sorbet/rbi/gems/tapioca@0.4.25.rbi +1239 -0
  143. data/sorbet/rbi/gems/temple@0.8.2.rbi +8 -0
  144. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  145. data/sorbet/rbi/gems/tilt@2.0.10.rbi +8 -0
  146. data/sorbet/rbi/gems/timecop@0.9.4.rbi +82 -0
  147. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +857 -0
  148. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +8 -0
  149. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  150. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  151. data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +8 -0
  152. data/sorbet/rbi/gems/yard@0.9.26.rbi +8 -0
  153. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
  154. data/sorbet/tapioca/config +0 -0
  155. data/sorbet/tapioca/require.rb +5 -0
  156. metadata +148 -128
@@ -0,0 +1,3770 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `activesupport` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: false
6
+
7
+ module ActiveSupport
8
+ extend ::ActiveSupport::LazyLoadHooks
9
+ extend ::ActiveSupport::Autoload
10
+
11
+ def test_order; end
12
+ def test_order=(val); end
13
+
14
+ class << self
15
+ def eager_load!; end
16
+ def gem_version; end
17
+ def test_order; end
18
+ def test_order=(val); end
19
+ def to_time_preserves_timezone; end
20
+ def to_time_preserves_timezone=(value); end
21
+ def utc_to_local_returns_utc_offset_times; end
22
+ def utc_to_local_returns_utc_offset_times=(value); end
23
+ def version; end
24
+ end
25
+ end
26
+
27
+ module ActiveSupport::ActionableError
28
+ extend ::ActiveSupport::Concern
29
+
30
+ mixes_in_class_methods ::ActiveSupport::ActionableError::ClassMethods
31
+
32
+ class << self
33
+ def actions(error); end
34
+ def dispatch(error, name); end
35
+ end
36
+ end
37
+
38
+ module ActiveSupport::ActionableError::ClassMethods
39
+ def action(name, &block); end
40
+ end
41
+
42
+ class ActiveSupport::ActionableError::NonActionable < ::StandardError; end
43
+
44
+ class ActiveSupport::ArrayInquirer < ::Array
45
+ def any?(*candidates); end
46
+
47
+ private
48
+
49
+ def method_missing(name, *args); end
50
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
51
+ end
52
+
53
+ module ActiveSupport::Autoload
54
+ def autoload(const_name, path = T.unsafe(nil)); end
55
+ def autoload_at(path); end
56
+ def autoload_under(path); end
57
+ def autoloads; end
58
+ def eager_autoload; end
59
+ def eager_load!; end
60
+
61
+ class << self
62
+ def extended(base); end
63
+ end
64
+ end
65
+
66
+ class ActiveSupport::BacktraceCleaner
67
+ def initialize; end
68
+
69
+ def add_filter(&block); end
70
+ def add_silencer(&block); end
71
+ def clean(backtrace, kind = T.unsafe(nil)); end
72
+ def filter(backtrace, kind = T.unsafe(nil)); end
73
+ def remove_filters!; end
74
+ def remove_silencers!; end
75
+
76
+ private
77
+
78
+ def add_gem_filter; end
79
+ def add_gem_silencer; end
80
+ def add_stdlib_silencer; end
81
+ def filter_backtrace(backtrace); end
82
+ def noise(backtrace); end
83
+ def silence(backtrace); end
84
+ end
85
+
86
+ ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp)
87
+
88
+ module ActiveSupport::Benchmarkable
89
+ def benchmark(message = T.unsafe(nil), options = T.unsafe(nil)); end
90
+ end
91
+
92
+ module ActiveSupport::BigDecimalWithDefaultFormat
93
+ def to_s(format = T.unsafe(nil)); end
94
+ end
95
+
96
+ module ActiveSupport::Cache
97
+ class << self
98
+ def expand_cache_key(key, namespace = T.unsafe(nil)); end
99
+ def lookup_store(store = T.unsafe(nil), *parameters); end
100
+
101
+ private
102
+
103
+ def retrieve_cache_key(key); end
104
+ def retrieve_store_class(store); end
105
+ end
106
+ end
107
+
108
+ class ActiveSupport::Cache::Entry
109
+ def initialize(value, compress: T.unsafe(nil), compress_threshold: T.unsafe(nil), version: T.unsafe(nil), expires_in: T.unsafe(nil), **_arg5); end
110
+
111
+ def bytesize; end
112
+ def dup_value!; end
113
+ def expired?; end
114
+ def expires_at; end
115
+ def expires_at=(value); end
116
+ def mismatched?(version); end
117
+ def value; end
118
+ def version; end
119
+
120
+ private
121
+
122
+ def compress!(compress_threshold); end
123
+ def compressed?; end
124
+ def uncompress(value); end
125
+ end
126
+
127
+ ActiveSupport::Cache::Entry::DEFAULT_COMPRESS_LIMIT = T.let(T.unsafe(nil), Integer)
128
+
129
+ class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store
130
+ include ::ActiveSupport::Cache::Strategy::LocalCache
131
+
132
+ def initialize(cache_path, **options); end
133
+
134
+ def cache_path; end
135
+
136
+ private
137
+
138
+ def delete_empty_directories(dir); end
139
+ def ensure_cache_path(path); end
140
+ def file_path_key(path); end
141
+ def lock_file(file_name, &block); end
142
+ def modify_value(name, amount, options); end
143
+ def normalize_key(key, options); end
144
+ def search_dir(dir, &callback); end
145
+
146
+ class << self
147
+ def supports_cache_versioning?; end
148
+ end
149
+ end
150
+
151
+ ActiveSupport::Cache::FileStore::DIR_FORMATTER = T.let(T.unsafe(nil), String)
152
+ ActiveSupport::Cache::FileStore::FILENAME_MAX_SIZE = T.let(T.unsafe(nil), Integer)
153
+ ActiveSupport::Cache::FileStore::FILEPATH_MAX_SIZE = T.let(T.unsafe(nil), Integer)
154
+ ActiveSupport::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array)
155
+
156
+ class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store
157
+ def initialize(options = T.unsafe(nil)); end
158
+
159
+ def cleanup(options = T.unsafe(nil)); end
160
+ def clear(options = T.unsafe(nil)); end
161
+ def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
162
+ def delete_matched(matcher, options = T.unsafe(nil)); end
163
+ def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
164
+ def inspect; end
165
+ def prune(target_size, max_time = T.unsafe(nil)); end
166
+ def pruning?; end
167
+ def synchronize(&block); end
168
+
169
+ private
170
+
171
+ def cached_size(key, payload); end
172
+ def delete_entry(key, **options); end
173
+ def modify_value(name, amount, options); end
174
+ def read_entry(key, **options); end
175
+ def write_entry(key, entry, **options); end
176
+
177
+ class << self
178
+ def supports_cache_versioning?; end
179
+ end
180
+ end
181
+
182
+ ActiveSupport::Cache::MemoryStore::DEFAULT_CODER = ActiveSupport::Cache::MemoryStore::DupCoder
183
+
184
+ module ActiveSupport::Cache::MemoryStore::DupCoder
185
+ class << self
186
+ def dump(entry); end
187
+ def load(entry); end
188
+ end
189
+ end
190
+
191
+ ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Integer)
192
+
193
+ module ActiveSupport::Cache::NullCoder
194
+ class << self
195
+ def dump(entry); end
196
+ def load(payload); end
197
+ end
198
+ end
199
+
200
+ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store
201
+ include ::ActiveSupport::Cache::Strategy::LocalCache
202
+
203
+ class << self
204
+ def supports_cache_versioning?; end
205
+ end
206
+ end
207
+
208
+ class ActiveSupport::Cache::Store
209
+ def initialize(options = T.unsafe(nil)); end
210
+
211
+ def cleanup(options = T.unsafe(nil)); end
212
+ def clear(options = T.unsafe(nil)); end
213
+ def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
214
+ def delete(name, options = T.unsafe(nil)); end
215
+ def delete_matched(matcher, options = T.unsafe(nil)); end
216
+ def delete_multi(names, options = T.unsafe(nil)); end
217
+ def exist?(name, options = T.unsafe(nil)); end
218
+ def fetch(name, options = T.unsafe(nil), &block); end
219
+ def fetch_multi(*names); end
220
+ def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
221
+ def logger; end
222
+ def logger=(val); end
223
+ def mute; end
224
+ def options; end
225
+ def read(name, options = T.unsafe(nil)); end
226
+ def read_multi(*names); end
227
+ def silence; end
228
+ def silence!; end
229
+ def silence?; end
230
+ def write(name, value, options = T.unsafe(nil)); end
231
+ def write_multi(hash, options = T.unsafe(nil)); end
232
+
233
+ private
234
+
235
+ def delete_entry(key, **options); end
236
+ def delete_multi_entries(entries, **options); end
237
+ def deserialize_entry(payload); end
238
+ def expanded_key(key); end
239
+ def expanded_version(key); end
240
+ def get_entry_value(entry, name, options); end
241
+ def handle_expired_entry(entry, key, options); end
242
+ def instrument(operation, key, options = T.unsafe(nil)); end
243
+ def key_matcher(pattern, options); end
244
+ def merged_options(call_options); end
245
+ def namespace_key(key, options = T.unsafe(nil)); end
246
+ def normalize_key(key, options = T.unsafe(nil)); end
247
+ def normalize_version(key, options = T.unsafe(nil)); end
248
+ def read_entry(key, **options); end
249
+ def read_multi_entries(names, **options); end
250
+ def save_block_result_to_cache(name, options); end
251
+ def serialize_entry(entry); end
252
+ def write_entry(key, entry, **options); end
253
+ def write_multi_entries(hash, **options); end
254
+
255
+ class << self
256
+ def logger; end
257
+ def logger=(val); end
258
+
259
+ private
260
+
261
+ def ensure_connection_pool_added!; end
262
+ def retrieve_pool_options(options); end
263
+ end
264
+ end
265
+
266
+ ActiveSupport::Cache::Store::DEFAULT_CODER = Marshal
267
+ module ActiveSupport::Cache::Strategy; end
268
+
269
+ module ActiveSupport::Cache::Strategy::LocalCache
270
+ def cleanup(**options); end
271
+ def clear(**options); end
272
+ def decrement(name, amount = T.unsafe(nil), **options); end
273
+ def delete_matched(matcher, options = T.unsafe(nil)); end
274
+ def increment(name, amount = T.unsafe(nil), **options); end
275
+ def middleware; end
276
+ def with_local_cache; end
277
+
278
+ private
279
+
280
+ def bypass_local_cache; end
281
+ def delete_entry(key, **options); end
282
+ def local_cache; end
283
+ def local_cache_key; end
284
+ def read_entry(key, **options); end
285
+ def read_multi_entries(keys, **options); end
286
+ def use_temporary_local_cache(temporary_cache); end
287
+ def write_cache_value(name, value, **options); end
288
+ def write_entry(key, entry, **options); end
289
+ end
290
+
291
+ class ActiveSupport::Cache::Strategy::LocalCache::LocalCacheRegistry
292
+ extend ::ActiveSupport::PerThreadRegistry
293
+
294
+ def initialize; end
295
+
296
+ def cache_for(local_cache_key); end
297
+ def set_cache_for(local_cache_key, value); end
298
+
299
+ class << self
300
+ def cache_for(l); end
301
+ def set_cache_for(l, v); end
302
+ end
303
+ end
304
+
305
+ class ActiveSupport::Cache::Strategy::LocalCache::LocalStore < ::ActiveSupport::Cache::Store
306
+ def initialize; end
307
+
308
+ def clear(options = T.unsafe(nil)); end
309
+ def delete_entry(key, **options); end
310
+ def fetch_entry(key, options = T.unsafe(nil)); end
311
+ def read_entry(key, **options); end
312
+ def read_multi_entries(keys, **options); end
313
+ def synchronize; end
314
+ def write_entry(key, entry, **options); end
315
+ end
316
+
317
+ ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array)
318
+
319
+ class ActiveSupport::CachingKeyGenerator
320
+ def initialize(key_generator); end
321
+
322
+ def generate_key(*args); end
323
+ end
324
+
325
+ module ActiveSupport::Callbacks
326
+ extend ::ActiveSupport::Concern
327
+
328
+ mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods
329
+
330
+ def run_callbacks(kind); end
331
+
332
+ private
333
+
334
+ def halted_callback_hook(filter, name); end
335
+ end
336
+
337
+ ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES = T.let(T.unsafe(nil), Array)
338
+
339
+ class ActiveSupport::Callbacks::CallTemplate
340
+ def initialize(target, method, arguments, block); end
341
+
342
+ def expand(target, value, block); end
343
+ def inverted_lambda; end
344
+ def make_lambda; end
345
+
346
+ class << self
347
+ def build(filter, callback); end
348
+ end
349
+ end
350
+
351
+ class ActiveSupport::Callbacks::Callback
352
+ def initialize(name, filter, kind, options, chain_config); end
353
+
354
+ def apply(callback_sequence); end
355
+ def chain_config; end
356
+ def current_scopes; end
357
+ def duplicates?(other); end
358
+ def filter; end
359
+ def kind; end
360
+ def kind=(_arg0); end
361
+ def matches?(_kind, _filter); end
362
+ def merge_conditional_options(chain, if_option:, unless_option:); end
363
+ def name; end
364
+ def name=(_arg0); end
365
+ def raw_filter; end
366
+
367
+ private
368
+
369
+ def check_conditionals(conditionals); end
370
+ def compute_identifier(filter); end
371
+ def conditions_lambdas; end
372
+
373
+ class << self
374
+ def build(chain, filter, kind, options); end
375
+ end
376
+ end
377
+
378
+ ActiveSupport::Callbacks::Callback::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
379
+
380
+ class ActiveSupport::Callbacks::CallbackChain
381
+ include ::Enumerable
382
+
383
+ def initialize(name, config); end
384
+
385
+ def append(*callbacks); end
386
+ def clear; end
387
+ def compile; end
388
+ def config; end
389
+ def delete(o); end
390
+ def each(&block); end
391
+ def empty?; end
392
+ def index(o); end
393
+ def insert(index, o); end
394
+ def name; end
395
+ def prepend(*callbacks); end
396
+
397
+ protected
398
+
399
+ def chain; end
400
+
401
+ private
402
+
403
+ def append_one(callback); end
404
+ def default_terminator; end
405
+ def initialize_copy(other); end
406
+ def prepend_one(callback); end
407
+ def remove_duplicates(callback); end
408
+ end
409
+
410
+ class ActiveSupport::Callbacks::CallbackSequence
411
+ def initialize(nested = T.unsafe(nil), call_template = T.unsafe(nil), user_conditions = T.unsafe(nil)); end
412
+
413
+ def after(&after); end
414
+ def around(call_template, user_conditions); end
415
+ def before(&before); end
416
+ def expand_call_template(arg, block); end
417
+ def final?; end
418
+ def invoke_after(arg); end
419
+ def invoke_before(arg); end
420
+ def nested; end
421
+ def skip?(arg); end
422
+ end
423
+
424
+ module ActiveSupport::Callbacks::ClassMethods
425
+ def __update_callbacks(name); end
426
+ def define_callbacks(*names); end
427
+ def normalize_callback_params(filters, block); end
428
+ def reset_callbacks(name); end
429
+ def set_callback(name, *filter_list, &block); end
430
+ def skip_callback(name, *filter_list, &block); end
431
+
432
+ protected
433
+
434
+ def get_callbacks(name); end
435
+ def set_callbacks(name, callbacks); end
436
+ end
437
+
438
+ module ActiveSupport::Callbacks::Conditionals; end
439
+
440
+ class ActiveSupport::Callbacks::Conditionals::Value
441
+ def initialize(&block); end
442
+
443
+ def call(target, value); end
444
+ end
445
+
446
+ module ActiveSupport::Callbacks::Filters; end
447
+
448
+ class ActiveSupport::Callbacks::Filters::After
449
+ class << self
450
+ def build(callback_sequence, user_callback, user_conditions, chain_config); end
451
+
452
+ private
453
+
454
+ def conditional(callback_sequence, user_callback, user_conditions); end
455
+ def halting(callback_sequence, user_callback); end
456
+ def halting_and_conditional(callback_sequence, user_callback, user_conditions); end
457
+ def simple(callback_sequence, user_callback); end
458
+ end
459
+ end
460
+
461
+ class ActiveSupport::Callbacks::Filters::Before
462
+ class << self
463
+ def build(callback_sequence, user_callback, user_conditions, chain_config, filter, name); end
464
+
465
+ private
466
+
467
+ def halting(callback_sequence, user_callback, halted_lambda, filter, name); end
468
+ def halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter, name); end
469
+ end
470
+ end
471
+
472
+ class ActiveSupport::Callbacks::Filters::Environment < ::Struct
473
+ def halted; end
474
+ def halted=(_); end
475
+ def target; end
476
+ def target=(_); end
477
+ def value; end
478
+ def value=(_); end
479
+
480
+ class << self
481
+ def [](*_arg0); end
482
+ def inspect; end
483
+ def members; end
484
+ def new(*_arg0); end
485
+ end
486
+ end
487
+
488
+ module ActiveSupport::CompareWithRange
489
+ def ===(value); end
490
+ def cover?(value); end
491
+ def include?(value); end
492
+ end
493
+
494
+ module ActiveSupport::Concern
495
+ def append_features(base); end
496
+ def class_methods(&class_methods_module_definition); end
497
+ def included(base = T.unsafe(nil), &block); end
498
+ def prepend_features(base); end
499
+ def prepended(base = T.unsafe(nil), &block); end
500
+
501
+ class << self
502
+ def extended(base); end
503
+ end
504
+ end
505
+
506
+ class ActiveSupport::Concern::MultipleIncludedBlocks < ::StandardError
507
+ def initialize; end
508
+ end
509
+
510
+ class ActiveSupport::Concern::MultiplePrependBlocks < ::StandardError
511
+ def initialize; end
512
+ end
513
+
514
+ module ActiveSupport::Concurrency; end
515
+
516
+ class ActiveSupport::Concurrency::ShareLock
517
+ include ::MonitorMixin
518
+
519
+ def initialize; end
520
+
521
+ def exclusive(purpose: T.unsafe(nil), compatible: T.unsafe(nil), after_compatible: T.unsafe(nil), no_wait: T.unsafe(nil)); end
522
+ def raw_state; end
523
+ def sharing; end
524
+ def start_exclusive(purpose: T.unsafe(nil), compatible: T.unsafe(nil), no_wait: T.unsafe(nil)); end
525
+ def start_sharing; end
526
+ def stop_exclusive(compatible: T.unsafe(nil)); end
527
+ def stop_sharing; end
528
+ def yield_shares(purpose: T.unsafe(nil), compatible: T.unsafe(nil), block_share: T.unsafe(nil)); end
529
+
530
+ private
531
+
532
+ def busy_for_exclusive?(purpose); end
533
+ def busy_for_sharing?(purpose); end
534
+ def eligible_waiters?(compatible); end
535
+ def wait_for(method); end
536
+ end
537
+
538
+ module ActiveSupport::Configurable
539
+ extend ::ActiveSupport::Concern
540
+
541
+ mixes_in_class_methods ::ActiveSupport::Configurable::ClassMethods
542
+
543
+ def config; end
544
+ end
545
+
546
+ module ActiveSupport::Configurable::ClassMethods
547
+ def config; end
548
+ def configure; end
549
+
550
+ private
551
+
552
+ def config_accessor(*names, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil)); end
553
+ end
554
+
555
+ class ActiveSupport::Configurable::Configuration < ::ActiveSupport::InheritableOptions
556
+ def compile_methods!; end
557
+
558
+ class << self
559
+ def compile_methods!(keys); end
560
+ end
561
+ end
562
+
563
+ class ActiveSupport::ConfigurationFile
564
+ def initialize(content_path); end
565
+
566
+ def parse(context: T.unsafe(nil), **options); end
567
+
568
+ private
569
+
570
+ def read(content_path); end
571
+ def render(context); end
572
+
573
+ class << self
574
+ def parse(content_path, **options); end
575
+ end
576
+ end
577
+
578
+ class ActiveSupport::ConfigurationFile::FormatError < ::StandardError; end
579
+
580
+ class ActiveSupport::CurrentAttributes
581
+ include ::ActiveSupport::Callbacks
582
+ extend ::ActiveSupport::Callbacks::ClassMethods
583
+ extend ::ActiveSupport::DescendantsTracker
584
+
585
+ def initialize; end
586
+
587
+ def __callbacks; end
588
+ def __callbacks?; end
589
+ def _reset_callbacks; end
590
+ def _run_reset_callbacks(&block); end
591
+ def attributes; end
592
+ def attributes=(_arg0); end
593
+ def reset; end
594
+ def set(set_attributes); end
595
+
596
+ private
597
+
598
+ def assign_attributes(new_attributes); end
599
+ def compute_attributes(keys); end
600
+
601
+ class << self
602
+ def __callbacks; end
603
+ def __callbacks=(value); end
604
+ def __callbacks?; end
605
+ def _reset_callbacks; end
606
+ def _reset_callbacks=(value); end
607
+ def after_reset(&block); end
608
+ def attribute(*names); end
609
+ def before_reset(&block); end
610
+ def clear_all; end
611
+ def instance; end
612
+ def reset(*_arg0, &_arg1); end
613
+ def reset_all; end
614
+ def resets(&block); end
615
+ def set(*_arg0, &_arg1); end
616
+
617
+ private
618
+
619
+ def current_instances; end
620
+ def current_instances_key; end
621
+ def generated_attribute_methods; end
622
+ def method_missing(name, *args, &block); end
623
+ end
624
+ end
625
+
626
+ module ActiveSupport::Dependencies
627
+ extend ::ActiveSupport::Dependencies
628
+
629
+ def _eager_load_paths; end
630
+ def _eager_load_paths=(val); end
631
+ def autoload_module!(into, const_name, qualified_name, path_suffix); end
632
+ def autoload_once_paths; end
633
+ def autoload_once_paths=(val); end
634
+ def autoload_paths; end
635
+ def autoload_paths=(val); end
636
+ def autoloadable_module?(path_suffix); end
637
+ def autoloaded?(desc); end
638
+ def autoloaded_constants; end
639
+ def autoloaded_constants=(val); end
640
+ def clear; end
641
+ def constant_watch_stack; end
642
+ def constant_watch_stack=(val); end
643
+ def constantize(name); end
644
+ def depend_on(file_name, message = T.unsafe(nil)); end
645
+ def explicitly_unloadable_constants; end
646
+ def explicitly_unloadable_constants=(val); end
647
+ def history; end
648
+ def history=(val); end
649
+ def hook!; end
650
+ def interlock; end
651
+ def interlock=(val); end
652
+ def load?; end
653
+ def load_file(path, const_paths = T.unsafe(nil)); end
654
+ def load_missing_constant(from_mod, const_name); end
655
+ def load_once_path?(path); end
656
+ def loadable_constants_for_path(path, bases = T.unsafe(nil)); end
657
+ def loaded; end
658
+ def loaded=(val); end
659
+ def loading; end
660
+ def loading=(val); end
661
+ def log(message); end
662
+ def logger; end
663
+ def logger=(val); end
664
+ def mark_for_unload(const_desc); end
665
+ def mechanism; end
666
+ def mechanism=(val); end
667
+ def new_constants_in(*descs); end
668
+ def qualified_const_defined?(path); end
669
+ def qualified_name_for(mod, name); end
670
+ def reference(klass); end
671
+ def remove_constant(const); end
672
+ def remove_unloadable_constants!; end
673
+ def require_or_load(file_name, const_path = T.unsafe(nil)); end
674
+ def safe_constantize(name); end
675
+ def search_for_file(path_suffix); end
676
+ def to_constant_name(desc); end
677
+ def unhook!; end
678
+ def verbose; end
679
+ def verbose=(val); end
680
+ def warnings_on_first_load; end
681
+ def warnings_on_first_load=(val); end
682
+ def will_unload?(const_desc); end
683
+
684
+ private
685
+
686
+ def real_mod_name(mod); end
687
+ def uninitialized_constant(qualified_name, const_name, receiver:); end
688
+
689
+ class << self
690
+ def _eager_load_paths; end
691
+ def _eager_load_paths=(val); end
692
+ def autoload_once_paths; end
693
+ def autoload_once_paths=(val); end
694
+ def autoload_paths; end
695
+ def autoload_paths=(val); end
696
+ def autoloaded_constants; end
697
+ def autoloaded_constants=(val); end
698
+ def constant_watch_stack; end
699
+ def constant_watch_stack=(val); end
700
+ def explicitly_unloadable_constants; end
701
+ def explicitly_unloadable_constants=(val); end
702
+ def history; end
703
+ def history=(val); end
704
+ def interlock; end
705
+ def interlock=(val); end
706
+ def load_interlock; end
707
+ def loaded; end
708
+ def loaded=(val); end
709
+ def loading; end
710
+ def loading=(val); end
711
+ def logger; end
712
+ def logger=(val); end
713
+ def mechanism; end
714
+ def mechanism=(val); end
715
+ def run_interlock; end
716
+ def unload_interlock; end
717
+ def verbose; end
718
+ def verbose=(val); end
719
+ def warnings_on_first_load; end
720
+ def warnings_on_first_load=(val); end
721
+ end
722
+ end
723
+
724
+ module ActiveSupport::Dependencies::Blamable
725
+ def blame_file!(file); end
726
+ def blamed_files; end
727
+ def copy_blame!(exc); end
728
+ def describe_blame; end
729
+ end
730
+
731
+ class ActiveSupport::Dependencies::ClassCache
732
+ def initialize; end
733
+
734
+ def [](key); end
735
+ def clear!; end
736
+ def empty?; end
737
+ def get(key); end
738
+ def key?(key); end
739
+ def safe_get(key); end
740
+ def store(klass); end
741
+ end
742
+
743
+ class ActiveSupport::Dependencies::Interlock
744
+ def initialize; end
745
+
746
+ def done_running; end
747
+ def done_unloading; end
748
+ def loading; end
749
+ def permit_concurrent_loads; end
750
+ def raw_state(&block); end
751
+ def running; end
752
+ def start_running; end
753
+ def start_unloading; end
754
+ def unloading; end
755
+ end
756
+
757
+ module ActiveSupport::Dependencies::Loadable
758
+ def load_dependency(file); end
759
+ def require_dependency(file_name, message = T.unsafe(nil)); end
760
+ def require_or_load(file_name); end
761
+ def unloadable(const_desc); end
762
+
763
+ private
764
+
765
+ def load(file, wrap = T.unsafe(nil)); end
766
+ def require(file); end
767
+
768
+ class << self
769
+ def exclude_from(base); end
770
+ def include_into(base); end
771
+ end
772
+ end
773
+
774
+ module ActiveSupport::Dependencies::ModuleConstMissing
775
+ def const_missing(const_name); end
776
+ def guess_for_anonymous(const_name); end
777
+ def unloadable(const_desc = T.unsafe(nil)); end
778
+
779
+ class << self
780
+ def append_features(base); end
781
+ def exclude_from(base); end
782
+ def include_into(base); end
783
+ end
784
+ end
785
+
786
+ ActiveSupport::Dependencies::Reference = T.let(T.unsafe(nil), ActiveSupport::Dependencies::ClassCache)
787
+ ActiveSupport::Dependencies::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod)
788
+
789
+ class ActiveSupport::Dependencies::WatchStack
790
+ include ::Enumerable
791
+
792
+ def initialize; end
793
+
794
+ def each(&block); end
795
+ def new_constants; end
796
+ def watch_namespaces(namespaces); end
797
+ def watching; end
798
+ def watching?; end
799
+
800
+ private
801
+
802
+ def pop_modules(modules); end
803
+ end
804
+
805
+ class ActiveSupport::Deprecation
806
+ include ::Singleton
807
+ include ::ActiveSupport::Deprecation::InstanceDelegator
808
+ include ::ActiveSupport::Deprecation::Behavior
809
+ include ::ActiveSupport::Deprecation::Reporting
810
+ include ::ActiveSupport::Deprecation::Disallowed
811
+ include ::ActiveSupport::Deprecation::MethodWrapper
812
+ extend ::Singleton::SingletonClassMethods
813
+ extend ::ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
814
+ extend ::ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
815
+
816
+ def initialize(deprecation_horizon = T.unsafe(nil), gem_name = T.unsafe(nil)); end
817
+
818
+ def deprecation_horizon; end
819
+ def deprecation_horizon=(_arg0); end
820
+
821
+ class << self
822
+ def allow(*_arg0, &_arg1); end
823
+ def behavior(*_arg0, &_arg1); end
824
+ def behavior=(arg); end
825
+ def debug(*_arg0, &_arg1); end
826
+ def debug=(arg); end
827
+ def deprecate_methods(*_arg0, &_arg1); end
828
+ def deprecation_horizon(*_arg0, &_arg1); end
829
+ def deprecation_horizon=(arg); end
830
+ def disallowed_behavior(*_arg0, &_arg1); end
831
+ def disallowed_behavior=(arg); end
832
+ def disallowed_warnings(*_arg0, &_arg1); end
833
+ def disallowed_warnings=(arg); end
834
+ def gem_name(*_arg0, &_arg1); end
835
+ def gem_name=(arg); end
836
+ def silence(*_arg0, &_arg1); end
837
+ def silenced(*_arg0, &_arg1); end
838
+ def silenced=(arg); end
839
+ end
840
+ end
841
+
842
+ module ActiveSupport::Deprecation::Behavior
843
+ def behavior; end
844
+ def behavior=(behavior); end
845
+ def debug; end
846
+ def debug=(_arg0); end
847
+ def disallowed_behavior; end
848
+ def disallowed_behavior=(behavior); end
849
+
850
+ private
851
+
852
+ def arity_coerce(behavior); end
853
+ end
854
+
855
+ ActiveSupport::Deprecation::DEFAULT_BEHAVIORS = T.let(T.unsafe(nil), Hash)
856
+
857
+ module ActiveSupport::Deprecation::DeprecatedConstantAccessor
858
+ class << self
859
+ def included(base); end
860
+ end
861
+ end
862
+
863
+ class ActiveSupport::Deprecation::DeprecatedConstantProxy < ::Module
864
+ def initialize(old_const, new_const, deprecator = T.unsafe(nil), message: T.unsafe(nil)); end
865
+
866
+ def class; end
867
+ def hash(*_arg0, &_arg1); end
868
+ def inspect; end
869
+ def instance_methods(*_arg0, &_arg1); end
870
+ def name(*_arg0, &_arg1); end
871
+ def respond_to?(*_arg0, &_arg1); end
872
+
873
+ private
874
+
875
+ def const_missing(name); end
876
+ def method_missing(called, *args, &block); end
877
+ def target; end
878
+
879
+ class << self
880
+ def new(*args, **options, &block); end
881
+ end
882
+ end
883
+
884
+ class ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy < ::ActiveSupport::Deprecation::DeprecationProxy
885
+ def initialize(instance, method, var = T.unsafe(nil), deprecator = T.unsafe(nil)); end
886
+
887
+ private
888
+
889
+ def target; end
890
+ def warn(callstack, called, args); end
891
+ end
892
+
893
+ class ActiveSupport::Deprecation::DeprecatedObjectProxy < ::ActiveSupport::Deprecation::DeprecationProxy
894
+ def initialize(object, message, deprecator = T.unsafe(nil)); end
895
+
896
+ private
897
+
898
+ def target; end
899
+ def warn(callstack, called, args); end
900
+ end
901
+
902
+ class ActiveSupport::Deprecation::DeprecationProxy
903
+ def inspect; end
904
+
905
+ private
906
+
907
+ def method_missing(called, *args, &block); end
908
+
909
+ class << self
910
+ def new(*args, &block); end
911
+ end
912
+ end
913
+
914
+ module ActiveSupport::Deprecation::Disallowed
915
+ def disallowed_warnings; end
916
+ def disallowed_warnings=(_arg0); end
917
+
918
+ private
919
+
920
+ def deprecation_disallowed?(message); end
921
+ def explicitly_allowed?(message); end
922
+ end
923
+
924
+ module ActiveSupport::Deprecation::InstanceDelegator
925
+ mixes_in_class_methods ::ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
926
+
927
+ class << self
928
+ def included(base); end
929
+ end
930
+ end
931
+
932
+ module ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
933
+ def include(included_module); end
934
+ def method_added(method_name); end
935
+ end
936
+
937
+ module ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
938
+ def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end
939
+ def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end
940
+ end
941
+
942
+ module ActiveSupport::Deprecation::MethodWrapper
943
+ def deprecate_methods(target_module, *method_names); end
944
+ end
945
+
946
+ module ActiveSupport::Deprecation::Reporting
947
+ def allow(allowed_warnings = T.unsafe(nil), if: T.unsafe(nil), &block); end
948
+ def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end
949
+ def gem_name; end
950
+ def gem_name=(_arg0); end
951
+ def silence(&block); end
952
+ def silenced; end
953
+ def silenced=(_arg0); end
954
+ def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end
955
+
956
+ private
957
+
958
+ def _extract_callstack(callstack); end
959
+ def deprecated_method_warning(method_name, message = T.unsafe(nil)); end
960
+ def deprecation_caller_message(callstack); end
961
+ def deprecation_message(callstack, message = T.unsafe(nil)); end
962
+ def extract_callstack(callstack); end
963
+ def ignored_callstack(path); end
964
+ end
965
+
966
+ ActiveSupport::Deprecation::Reporting::RAILS_GEM_ROOT = T.let(T.unsafe(nil), String)
967
+ class ActiveSupport::DeprecationException < ::StandardError; end
968
+
969
+ module ActiveSupport::DescendantsTracker
970
+ def descendants; end
971
+ def direct_descendants; end
972
+ def inherited(base); end
973
+ def subclasses; end
974
+
975
+ class << self
976
+ def clear; end
977
+ def descendants(klass); end
978
+ def direct_descendants(klass); end
979
+ def store_inherited(klass, descendant); end
980
+ def subclasses(klass); end
981
+
982
+ private
983
+
984
+ def accumulate_descendants(klass, acc); end
985
+ end
986
+ end
987
+
988
+ class ActiveSupport::DescendantsTracker::DescendantsArray
989
+ include ::Enumerable
990
+
991
+ def initialize; end
992
+
993
+ def <<(klass); end
994
+ def cleanup!; end
995
+ def each; end
996
+ def refs_size; end
997
+ def reject!; end
998
+
999
+ private
1000
+
1001
+ def initialize_copy(orig); end
1002
+ end
1003
+
1004
+ class ActiveSupport::Digest
1005
+ class << self
1006
+ def hash_digest_class; end
1007
+ def hash_digest_class=(klass); end
1008
+ def hexdigest(arg); end
1009
+ end
1010
+ end
1011
+
1012
+ class ActiveSupport::Duration
1013
+ def initialize(value, parts); end
1014
+
1015
+ def %(other); end
1016
+ def *(other); end
1017
+ def +(other); end
1018
+ def +@; end
1019
+ def -(other); end
1020
+ def -@; end
1021
+ def /(other); end
1022
+ def <=>(other); end
1023
+ def ==(other); end
1024
+ def after(time = T.unsafe(nil)); end
1025
+ def ago(time = T.unsafe(nil)); end
1026
+ def as_json(options = T.unsafe(nil)); end
1027
+ def before(time = T.unsafe(nil)); end
1028
+ def coerce(other); end
1029
+ def encode_with(coder); end
1030
+ def eql?(other); end
1031
+ def from_now(time = T.unsafe(nil)); end
1032
+ def hash; end
1033
+ def in_days; end
1034
+ def in_hours; end
1035
+ def in_minutes; end
1036
+ def in_months; end
1037
+ def in_seconds; end
1038
+ def in_weeks; end
1039
+ def in_years; end
1040
+ def init_with(coder); end
1041
+ def inspect; end
1042
+ def instance_of?(klass); end
1043
+ def is_a?(klass); end
1044
+ def iso8601(precision: T.unsafe(nil)); end
1045
+ def kind_of?(klass); end
1046
+ def parts; end
1047
+ def parts=(_arg0); end
1048
+ def since(time = T.unsafe(nil)); end
1049
+ def to_i; end
1050
+ def to_s; end
1051
+ def until(time = T.unsafe(nil)); end
1052
+ def value; end
1053
+ def value=(_arg0); end
1054
+
1055
+ private
1056
+
1057
+ def method_missing(method, *args, &block); end
1058
+ def raise_type_error(other); end
1059
+ def respond_to_missing?(method, _); end
1060
+ def sum(sign, time = T.unsafe(nil)); end
1061
+
1062
+ class << self
1063
+ def ===(other); end
1064
+ def build(value); end
1065
+ def days(value); end
1066
+ def hours(value); end
1067
+ def minutes(value); end
1068
+ def months(value); end
1069
+ def parse(iso8601duration); end
1070
+ def seconds(value); end
1071
+ def weeks(value); end
1072
+ def years(value); end
1073
+
1074
+ private
1075
+
1076
+ def calculate_total_seconds(parts); end
1077
+ end
1078
+ end
1079
+
1080
+ class ActiveSupport::Duration::ISO8601Parser
1081
+ def initialize(string); end
1082
+
1083
+ def mode; end
1084
+ def mode=(_arg0); end
1085
+ def parse!; end
1086
+ def parts; end
1087
+ def scanner; end
1088
+ def sign; end
1089
+ def sign=(_arg0); end
1090
+
1091
+ private
1092
+
1093
+ def finished?; end
1094
+ def number; end
1095
+ def raise_parsing_error(reason = T.unsafe(nil)); end
1096
+ def scan(pattern); end
1097
+ def validate!; end
1098
+ end
1099
+
1100
+ ActiveSupport::Duration::ISO8601Parser::COMMA = T.let(T.unsafe(nil), String)
1101
+ ActiveSupport::Duration::ISO8601Parser::DATE_COMPONENT = T.let(T.unsafe(nil), Regexp)
1102
+ ActiveSupport::Duration::ISO8601Parser::DATE_COMPONENTS = T.let(T.unsafe(nil), Array)
1103
+ ActiveSupport::Duration::ISO8601Parser::DATE_MARKER = T.let(T.unsafe(nil), Regexp)
1104
+ ActiveSupport::Duration::ISO8601Parser::DATE_TO_PART = T.let(T.unsafe(nil), Hash)
1105
+ ActiveSupport::Duration::ISO8601Parser::PERIOD = T.let(T.unsafe(nil), String)
1106
+ ActiveSupport::Duration::ISO8601Parser::PERIOD_OR_COMMA = T.let(T.unsafe(nil), Regexp)
1107
+ class ActiveSupport::Duration::ISO8601Parser::ParsingError < ::ArgumentError; end
1108
+ ActiveSupport::Duration::ISO8601Parser::SIGN_MARKER = T.let(T.unsafe(nil), Regexp)
1109
+ ActiveSupport::Duration::ISO8601Parser::TIME_COMPONENT = T.let(T.unsafe(nil), Regexp)
1110
+ ActiveSupport::Duration::ISO8601Parser::TIME_COMPONENTS = T.let(T.unsafe(nil), Array)
1111
+ ActiveSupport::Duration::ISO8601Parser::TIME_MARKER = T.let(T.unsafe(nil), Regexp)
1112
+ ActiveSupport::Duration::ISO8601Parser::TIME_TO_PART = T.let(T.unsafe(nil), Hash)
1113
+
1114
+ class ActiveSupport::Duration::ISO8601Serializer
1115
+ def initialize(duration, precision: T.unsafe(nil)); end
1116
+
1117
+ def serialize; end
1118
+
1119
+ private
1120
+
1121
+ def normalize; end
1122
+ def week_mixed_with_date?(parts); end
1123
+ end
1124
+
1125
+ ActiveSupport::Duration::ISO8601Serializer::DATE_COMPONENTS = T.let(T.unsafe(nil), Array)
1126
+ ActiveSupport::Duration::PARTS = T.let(T.unsafe(nil), Array)
1127
+ ActiveSupport::Duration::PARTS_IN_SECONDS = T.let(T.unsafe(nil), Hash)
1128
+ ActiveSupport::Duration::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer)
1129
+ ActiveSupport::Duration::SECONDS_PER_HOUR = T.let(T.unsafe(nil), Integer)
1130
+ ActiveSupport::Duration::SECONDS_PER_MINUTE = T.let(T.unsafe(nil), Integer)
1131
+ ActiveSupport::Duration::SECONDS_PER_MONTH = T.let(T.unsafe(nil), Integer)
1132
+ ActiveSupport::Duration::SECONDS_PER_WEEK = T.let(T.unsafe(nil), Integer)
1133
+ ActiveSupport::Duration::SECONDS_PER_YEAR = T.let(T.unsafe(nil), Integer)
1134
+
1135
+ class ActiveSupport::Duration::Scalar < ::Numeric
1136
+ def initialize(value); end
1137
+
1138
+ def %(other); end
1139
+ def *(other); end
1140
+ def +(other); end
1141
+ def -(other); end
1142
+ def -@; end
1143
+ def /(other); end
1144
+ def <=>(other); end
1145
+ def coerce(other); end
1146
+ def to_f(*_arg0, &_arg1); end
1147
+ def to_i(*_arg0, &_arg1); end
1148
+ def to_s(*_arg0, &_arg1); end
1149
+ def value; end
1150
+
1151
+ private
1152
+
1153
+ def calculate(op, other); end
1154
+ def raise_type_error(other); end
1155
+ end
1156
+
1157
+ module ActiveSupport::EachTimeWithZone
1158
+ def each(&block); end
1159
+ def step(n = T.unsafe(nil), &block); end
1160
+
1161
+ private
1162
+
1163
+ def ensure_iteration_allowed; end
1164
+ end
1165
+
1166
+ class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer
1167
+ def initialize(env); end
1168
+
1169
+ def development?; end
1170
+ def production?; end
1171
+ def test?; end
1172
+ end
1173
+
1174
+ ActiveSupport::EnvironmentInquirer::DEFAULT_ENVIRONMENTS = T.let(T.unsafe(nil), Array)
1175
+
1176
+ class ActiveSupport::EventedFileUpdateChecker
1177
+ def initialize(files, dirs = T.unsafe(nil), &block); end
1178
+
1179
+ def execute; end
1180
+ def execute_if_updated; end
1181
+ def updated?; end
1182
+ end
1183
+
1184
+ class ActiveSupport::EventedFileUpdateChecker::Core
1185
+ def initialize(files, dirs); end
1186
+
1187
+ def changed(modified, added, removed); end
1188
+ def common_path(paths); end
1189
+ def directories_to_watch; end
1190
+ def finalizer; end
1191
+ def normalize_dirs!; end
1192
+ def restart; end
1193
+ def restart?; end
1194
+ def start; end
1195
+ def stop; end
1196
+ def thread_safely; end
1197
+ def updated; end
1198
+ def watching?(file); end
1199
+ end
1200
+
1201
+ class ActiveSupport::ExecutionWrapper
1202
+ include ::ActiveSupport::Callbacks
1203
+ extend ::ActiveSupport::Callbacks::ClassMethods
1204
+ extend ::ActiveSupport::DescendantsTracker
1205
+
1206
+ def __callbacks; end
1207
+ def __callbacks?; end
1208
+ def _complete_callbacks; end
1209
+ def _run_callbacks; end
1210
+ def _run_complete_callbacks(&block); end
1211
+ def _run_run_callbacks(&block); end
1212
+ def complete!; end
1213
+ def run!; end
1214
+
1215
+ private
1216
+
1217
+ def hook_state; end
1218
+
1219
+ class << self
1220
+ def __callbacks; end
1221
+ def __callbacks=(value); end
1222
+ def __callbacks?; end
1223
+ def _complete_callbacks; end
1224
+ def _complete_callbacks=(value); end
1225
+ def _run_callbacks; end
1226
+ def _run_callbacks=(value); end
1227
+ def active; end
1228
+ def active=(_arg0); end
1229
+ def active?; end
1230
+ def inherited(other); end
1231
+ def register_hook(hook, outer: T.unsafe(nil)); end
1232
+ def run!; end
1233
+ def to_complete(*args, &block); end
1234
+ def to_run(*args, &block); end
1235
+ def wrap; end
1236
+ end
1237
+ end
1238
+
1239
+ class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct
1240
+ def after(target); end
1241
+ def before(target); end
1242
+ def hook; end
1243
+ def hook=(_); end
1244
+
1245
+ class << self
1246
+ def [](*_arg0); end
1247
+ def inspect; end
1248
+ def members; end
1249
+ def new(*_arg0); end
1250
+ end
1251
+ end
1252
+
1253
+ ActiveSupport::ExecutionWrapper::Null = T.let(T.unsafe(nil), Object)
1254
+
1255
+ class ActiveSupport::ExecutionWrapper::RunHook < ::Struct
1256
+ def before(target); end
1257
+ def hook; end
1258
+ def hook=(_); end
1259
+
1260
+ class << self
1261
+ def [](*_arg0); end
1262
+ def inspect; end
1263
+ def members; end
1264
+ def new(*_arg0); end
1265
+ end
1266
+ end
1267
+
1268
+ class ActiveSupport::Executor < ::ActiveSupport::ExecutionWrapper; end
1269
+
1270
+ class ActiveSupport::FileUpdateChecker
1271
+ def initialize(files, dirs = T.unsafe(nil), &block); end
1272
+
1273
+ def execute; end
1274
+ def execute_if_updated; end
1275
+ def updated?; end
1276
+
1277
+ private
1278
+
1279
+ def compile_ext(array); end
1280
+ def compile_glob(hash); end
1281
+ def escape(key); end
1282
+ def max_mtime(paths); end
1283
+ def updated_at(paths); end
1284
+ def watched; end
1285
+ end
1286
+
1287
+ module ActiveSupport::ForkTracker
1288
+ class << self
1289
+ def after_fork(&block); end
1290
+ def check!; end
1291
+ def hook!; end
1292
+ def unregister(callback); end
1293
+ end
1294
+ end
1295
+
1296
+ module ActiveSupport::ForkTracker::CoreExt
1297
+ def fork(*_arg0); end
1298
+ end
1299
+
1300
+ module ActiveSupport::ForkTracker::CoreExtPrivate
1301
+ private
1302
+
1303
+ def fork(*_arg0); end
1304
+ end
1305
+
1306
+ module ActiveSupport::Gzip
1307
+ class << self
1308
+ def compress(source, level = T.unsafe(nil), strategy = T.unsafe(nil)); end
1309
+ def decompress(source); end
1310
+ end
1311
+ end
1312
+
1313
+ class ActiveSupport::Gzip::Stream < ::StringIO
1314
+ def initialize(*_arg0); end
1315
+
1316
+ def close; end
1317
+ end
1318
+
1319
+ class ActiveSupport::HashWithIndifferentAccess < ::Hash
1320
+ def initialize(constructor = T.unsafe(nil)); end
1321
+
1322
+ def [](key); end
1323
+ def []=(key, value); end
1324
+ def assoc(key); end
1325
+ def compact; end
1326
+ def deep_stringify_keys; end
1327
+ def deep_stringify_keys!; end
1328
+ def deep_symbolize_keys; end
1329
+ def default(*args); end
1330
+ def delete(key); end
1331
+ def dig(*args); end
1332
+ def dup; end
1333
+ def except(*keys); end
1334
+ def extractable_options?; end
1335
+ def fetch(key, *extras); end
1336
+ def fetch_values(*indices, &block); end
1337
+ def has_key?(key); end
1338
+ def include?(key); end
1339
+ def key?(key); end
1340
+ def member?(key); end
1341
+ def merge(*hashes, &block); end
1342
+ def merge!(*other_hashes, &block); end
1343
+ def nested_under_indifferent_access; end
1344
+ def regular_update(*_arg0); end
1345
+ def regular_writer(_arg0, _arg1); end
1346
+ def reject(*args, &block); end
1347
+ def replace(other_hash); end
1348
+ def reverse_merge(other_hash); end
1349
+ def reverse_merge!(other_hash); end
1350
+ def select(*args, &block); end
1351
+ def slice(*keys); end
1352
+ def slice!(*keys); end
1353
+ def store(key, value); end
1354
+ def stringify_keys; end
1355
+ def stringify_keys!; end
1356
+ def symbolize_keys; end
1357
+ def to_hash; end
1358
+ def to_options; end
1359
+ def to_options!; end
1360
+ def transform_keys(*args, &block); end
1361
+ def transform_keys!; end
1362
+ def transform_values(*args, &block); end
1363
+ def update(*other_hashes, &block); end
1364
+ def values_at(*keys); end
1365
+ def with_defaults(other_hash); end
1366
+ def with_defaults!(other_hash); end
1367
+ def with_indifferent_access; end
1368
+ def without(*keys); end
1369
+
1370
+ private
1371
+
1372
+ def convert_key(key); end
1373
+ def convert_value(value, conversion: T.unsafe(nil)); end
1374
+ def set_defaults(target); end
1375
+ def update_with_single_argument(other_hash, block); end
1376
+
1377
+ class << self
1378
+ def [](*args); end
1379
+ end
1380
+ end
1381
+
1382
+ module ActiveSupport::IncludeTimeWithZone
1383
+ def include?(value); end
1384
+ end
1385
+
1386
+ module ActiveSupport::Inflector
1387
+ extend ::ActiveSupport::Inflector
1388
+
1389
+ def camelize(term, uppercase_first_letter = T.unsafe(nil)); end
1390
+ def classify(table_name); end
1391
+ def constantize(camel_cased_word); end
1392
+ def dasherize(underscored_word); end
1393
+ def deconstantize(path); end
1394
+ def demodulize(path); end
1395
+ def foreign_key(class_name, separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
1396
+ def humanize(lower_case_and_underscored_word, capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
1397
+ def inflections(locale = T.unsafe(nil)); end
1398
+ def ordinal(number); end
1399
+ def ordinalize(number); end
1400
+ def parameterize(string, separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
1401
+ def pluralize(word, locale = T.unsafe(nil)); end
1402
+ def safe_constantize(camel_cased_word); end
1403
+ def singularize(word, locale = T.unsafe(nil)); end
1404
+ def tableize(class_name); end
1405
+ def titleize(word, keep_id_suffix: T.unsafe(nil)); end
1406
+ def transliterate(string, replacement = T.unsafe(nil), locale: T.unsafe(nil)); end
1407
+ def underscore(camel_cased_word); end
1408
+ def upcase_first(string); end
1409
+
1410
+ private
1411
+
1412
+ def apply_inflections(word, rules, locale = T.unsafe(nil)); end
1413
+ def const_regexp(camel_cased_word); end
1414
+ end
1415
+
1416
+ ActiveSupport::Inflector::ALLOWED_ENCODINGS_FOR_TRANSLITERATE = T.let(T.unsafe(nil), Array)
1417
+
1418
+ class ActiveSupport::Inflector::Inflections
1419
+ def initialize; end
1420
+
1421
+ def acronym(word); end
1422
+ def acronyms; end
1423
+ def acronyms_camelize_regex; end
1424
+ def acronyms_underscore_regex; end
1425
+ def clear(scope = T.unsafe(nil)); end
1426
+ def human(rule, replacement); end
1427
+ def humans; end
1428
+ def irregular(singular, plural); end
1429
+ def plural(rule, replacement); end
1430
+ def plurals; end
1431
+ def singular(rule, replacement); end
1432
+ def singulars; end
1433
+ def uncountable(*words); end
1434
+ def uncountables; end
1435
+
1436
+ private
1437
+
1438
+ def define_acronym_regex_patterns; end
1439
+ def initialize_dup(orig); end
1440
+
1441
+ class << self
1442
+ def instance(locale = T.unsafe(nil)); end
1443
+ end
1444
+ end
1445
+
1446
+ class ActiveSupport::Inflector::Inflections::Uncountables < ::Array
1447
+ def initialize; end
1448
+
1449
+ def <<(*word); end
1450
+ def add(words); end
1451
+ def delete(entry); end
1452
+ def uncountable?(str); end
1453
+
1454
+ private
1455
+
1456
+ def to_regex(string); end
1457
+ end
1458
+
1459
+ class ActiveSupport::InheritableOptions < ::ActiveSupport::OrderedOptions
1460
+ def initialize(parent = T.unsafe(nil)); end
1461
+
1462
+ def inheritable_copy; end
1463
+ end
1464
+
1465
+ module ActiveSupport::JSON
1466
+ class << self
1467
+ def decode(json); end
1468
+ def encode(value, options = T.unsafe(nil)); end
1469
+ def parse_error; end
1470
+
1471
+ private
1472
+
1473
+ def convert_dates_from(data); end
1474
+ end
1475
+ end
1476
+
1477
+ ActiveSupport::JSON::DATETIME_REGEX = T.let(T.unsafe(nil), Regexp)
1478
+ ActiveSupport::JSON::DATE_REGEX = T.let(T.unsafe(nil), Regexp)
1479
+
1480
+ module ActiveSupport::JSON::Encoding
1481
+ class << self
1482
+ def escape_html_entities_in_json; end
1483
+ def escape_html_entities_in_json=(_arg0); end
1484
+ def json_encoder; end
1485
+ def json_encoder=(_arg0); end
1486
+ def time_precision; end
1487
+ def time_precision=(_arg0); end
1488
+ def use_standard_json_time_format; end
1489
+ def use_standard_json_time_format=(_arg0); end
1490
+ end
1491
+ end
1492
+
1493
+ class ActiveSupport::JSON::Encoding::JSONGemEncoder
1494
+ def initialize(options = T.unsafe(nil)); end
1495
+
1496
+ def encode(value); end
1497
+ def options; end
1498
+
1499
+ private
1500
+
1501
+ def jsonify(value); end
1502
+ def stringify(jsonified); end
1503
+ end
1504
+
1505
+ ActiveSupport::JSON::Encoding::JSONGemEncoder::ESCAPED_CHARS = T.let(T.unsafe(nil), Hash)
1506
+ ActiveSupport::JSON::Encoding::JSONGemEncoder::ESCAPE_REGEX_WITHOUT_HTML_ENTITIES = T.let(T.unsafe(nil), Regexp)
1507
+ ActiveSupport::JSON::Encoding::JSONGemEncoder::ESCAPE_REGEX_WITH_HTML_ENTITIES = T.let(T.unsafe(nil), Regexp)
1508
+
1509
+ class ActiveSupport::JSON::Encoding::JSONGemEncoder::EscapedString < ::String
1510
+ def to_json(*_arg0); end
1511
+ def to_s; end
1512
+ end
1513
+
1514
+ class ActiveSupport::KeyGenerator
1515
+ def initialize(secret, options = T.unsafe(nil)); end
1516
+
1517
+ def generate_key(salt, key_size = T.unsafe(nil)); end
1518
+ end
1519
+
1520
+ module ActiveSupport::LazyLoadHooks
1521
+ def on_load(name, options = T.unsafe(nil), &block); end
1522
+ def run_load_hooks(name, base = T.unsafe(nil)); end
1523
+
1524
+ private
1525
+
1526
+ def execute_hook(name, base, options, block); end
1527
+ def with_execution_control(name, block, once); end
1528
+
1529
+ class << self
1530
+ def extended(base); end
1531
+ end
1532
+ end
1533
+
1534
+ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
1535
+ def colorize_logging; end
1536
+ def colorize_logging=(val); end
1537
+ def debug(progname = T.unsafe(nil), &block); end
1538
+ def error(progname = T.unsafe(nil), &block); end
1539
+ def fatal(progname = T.unsafe(nil), &block); end
1540
+ def finish(name, id, payload); end
1541
+ def info(progname = T.unsafe(nil), &block); end
1542
+ def logger; end
1543
+ def start(name, id, payload); end
1544
+ def unknown(progname = T.unsafe(nil), &block); end
1545
+ def warn(progname = T.unsafe(nil), &block); end
1546
+
1547
+ private
1548
+
1549
+ def color(text, color, bold = T.unsafe(nil)); end
1550
+
1551
+ class << self
1552
+ def colorize_logging; end
1553
+ def colorize_logging=(val); end
1554
+ def flush_all!; end
1555
+ def log_subscribers; end
1556
+ def logger; end
1557
+ def logger=(_arg0); end
1558
+
1559
+ private
1560
+
1561
+ def fetch_public_methods(subscriber, inherit_all); end
1562
+ end
1563
+ end
1564
+
1565
+ ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String)
1566
+ ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String)
1567
+ ActiveSupport::LogSubscriber::BOLD = T.let(T.unsafe(nil), String)
1568
+ ActiveSupport::LogSubscriber::CLEAR = T.let(T.unsafe(nil), String)
1569
+ ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String)
1570
+ ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String)
1571
+ ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String)
1572
+ ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String)
1573
+ ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String)
1574
+ ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String)
1575
+
1576
+ class ActiveSupport::Logger < ::Logger
1577
+ include ::ActiveSupport::LoggerSilence
1578
+ include ::ActiveSupport::LoggerThreadSafeLevel
1579
+
1580
+ def initialize(*args, **kwargs); end
1581
+
1582
+ def silencer; end
1583
+ def silencer=(val); end
1584
+
1585
+ class << self
1586
+ def broadcast(logger); end
1587
+ def local_levels; end
1588
+ def local_levels=(val); end
1589
+ def logger_outputs_to?(logger, *sources); end
1590
+ def silencer; end
1591
+ def silencer=(val); end
1592
+ end
1593
+ end
1594
+
1595
+ class ActiveSupport::Logger::SimpleFormatter < ::Logger::Formatter
1596
+ def call(severity, timestamp, progname, msg); end
1597
+ end
1598
+
1599
+ module ActiveSupport::LoggerSilence
1600
+ extend ::ActiveSupport::Concern
1601
+ include ::ActiveSupport::LoggerThreadSafeLevel
1602
+
1603
+ def silence(severity = T.unsafe(nil)); end
1604
+ end
1605
+
1606
+ module ActiveSupport::LoggerThreadSafeLevel
1607
+ extend ::ActiveSupport::Concern
1608
+
1609
+ def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end
1610
+ def debug?; end
1611
+ def error?; end
1612
+ def fatal?; end
1613
+ def info?; end
1614
+ def level; end
1615
+ def local_level; end
1616
+ def local_level=(level); end
1617
+ def local_log_id; end
1618
+ def log_at(level); end
1619
+ def unknown?; end
1620
+ def warn?; end
1621
+ end
1622
+
1623
+ module ActiveSupport::MarshalWithAutoloading
1624
+ def load(source, proc = T.unsafe(nil)); end
1625
+ end
1626
+
1627
+ class ActiveSupport::MessageEncryptor
1628
+ include ::ActiveSupport::Messages::Rotator
1629
+ include ::ActiveSupport::Messages::Rotator::Encryptor
1630
+
1631
+ def encrypt_and_sign(value, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end
1632
+
1633
+ private
1634
+
1635
+ def _decrypt(encrypted_message, purpose); end
1636
+ def _encrypt(value, **metadata_options); end
1637
+ def aead_mode?; end
1638
+ def new_cipher; end
1639
+ def resolve_verifier; end
1640
+ def verifier; end
1641
+
1642
+ class << self
1643
+ def default_cipher; end
1644
+ def key_len(cipher = T.unsafe(nil)); end
1645
+ def use_authenticated_message_encryption; end
1646
+ def use_authenticated_message_encryption=(val); end
1647
+ end
1648
+ end
1649
+
1650
+ class ActiveSupport::MessageEncryptor::InvalidMessage < ::StandardError; end
1651
+
1652
+ module ActiveSupport::MessageEncryptor::NullSerializer
1653
+ class << self
1654
+ def dump(value); end
1655
+ def load(value); end
1656
+ end
1657
+ end
1658
+
1659
+ module ActiveSupport::MessageEncryptor::NullVerifier
1660
+ class << self
1661
+ def generate(value); end
1662
+ def verify(value); end
1663
+ end
1664
+ end
1665
+
1666
+ ActiveSupport::MessageEncryptor::OpenSSLCipherError = OpenSSL::Cipher::CipherError
1667
+
1668
+ class ActiveSupport::MessageVerifier
1669
+ include ::ActiveSupport::Messages::Rotator
1670
+ include ::ActiveSupport::Messages::Rotator::Verifier
1671
+
1672
+ def generate(value, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end
1673
+ def valid_message?(signed_message); end
1674
+ def verify(*args, **options); end
1675
+
1676
+ private
1677
+
1678
+ def decode(data); end
1679
+ def encode(data); end
1680
+ def generate_digest(data); end
1681
+ end
1682
+
1683
+ class ActiveSupport::MessageVerifier::InvalidSignature < ::StandardError; end
1684
+ module ActiveSupport::Messages; end
1685
+
1686
+ class ActiveSupport::Messages::Metadata
1687
+ def initialize(message, expires_at = T.unsafe(nil), purpose = T.unsafe(nil)); end
1688
+
1689
+ def as_json(options = T.unsafe(nil)); end
1690
+ def verify(purpose); end
1691
+
1692
+ private
1693
+
1694
+ def fresh?; end
1695
+ def match?(purpose); end
1696
+ def parse_expires_at(expires_at); end
1697
+
1698
+ class << self
1699
+ def verify(message, purpose); end
1700
+ def wrap(message, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end
1701
+
1702
+ private
1703
+
1704
+ def decode(message); end
1705
+ def encode(message); end
1706
+ def extract_metadata(message); end
1707
+ def pick_expiry(expires_at, expires_in); end
1708
+ end
1709
+ end
1710
+
1711
+ module ActiveSupport::Messages::Rotator
1712
+ def initialize(*secrets, on_rotation: T.unsafe(nil), **options); end
1713
+
1714
+ def rotate(*secrets, **options); end
1715
+
1716
+ private
1717
+
1718
+ def run_rotations(on_rotation); end
1719
+ end
1720
+
1721
+ module ActiveSupport::Messages::Rotator::Encryptor
1722
+ include ::ActiveSupport::Messages::Rotator
1723
+
1724
+ def decrypt_and_verify(*args, on_rotation: T.unsafe(nil), **options); end
1725
+
1726
+ private
1727
+
1728
+ def build_rotation(secret = T.unsafe(nil), sign_secret = T.unsafe(nil), options); end
1729
+ end
1730
+
1731
+ module ActiveSupport::Messages::Rotator::Verifier
1732
+ include ::ActiveSupport::Messages::Rotator
1733
+
1734
+ def verified(*args, on_rotation: T.unsafe(nil), **options); end
1735
+
1736
+ private
1737
+
1738
+ def build_rotation(secret = T.unsafe(nil), options); end
1739
+ end
1740
+
1741
+ module ActiveSupport::Multibyte
1742
+ class << self
1743
+ def proxy_class; end
1744
+ def proxy_class=(klass); end
1745
+ end
1746
+ end
1747
+
1748
+ class ActiveSupport::Multibyte::Chars
1749
+ include ::Comparable
1750
+
1751
+ def initialize(string); end
1752
+
1753
+ def <=>(*_arg0, &_arg1); end
1754
+ def =~(*_arg0, &_arg1); end
1755
+ def acts_like_string?(*_arg0, &_arg1); end
1756
+ def as_json(options = T.unsafe(nil)); end
1757
+ def compose; end
1758
+ def decompose; end
1759
+ def grapheme_length; end
1760
+ def limit(limit); end
1761
+ def match?(*_arg0, &_arg1); end
1762
+ def method_missing(method, *args, &block); end
1763
+ def reverse; end
1764
+ def reverse!(*args); end
1765
+ def slice!(*args); end
1766
+ def split(*args); end
1767
+ def tidy_bytes(force = T.unsafe(nil)); end
1768
+ def tidy_bytes!(*args); end
1769
+ def titlecase; end
1770
+ def titleize; end
1771
+ def to_s; end
1772
+ def to_str; end
1773
+ def wrapped_string; end
1774
+
1775
+ private
1776
+
1777
+ def chars(string); end
1778
+ def respond_to_missing?(method, include_private); end
1779
+ end
1780
+
1781
+ module ActiveSupport::Multibyte::Unicode
1782
+ extend ::ActiveSupport::Multibyte::Unicode
1783
+
1784
+ def compose(codepoints); end
1785
+ def decompose(type, codepoints); end
1786
+ def default_normalization_form; end
1787
+ def default_normalization_form=(_); end
1788
+ def tidy_bytes(string, force = T.unsafe(nil)); end
1789
+
1790
+ private
1791
+
1792
+ def recode_windows1252_chars(string); end
1793
+ end
1794
+
1795
+ ActiveSupport::Multibyte::Unicode::UNICODE_VERSION = T.let(T.unsafe(nil), String)
1796
+
1797
+ module ActiveSupport::Notifications
1798
+ class << self
1799
+ def instrument(name, payload = T.unsafe(nil)); end
1800
+ def instrumenter; end
1801
+ def monotonic_subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end
1802
+ def notifier; end
1803
+ def notifier=(_arg0); end
1804
+ def publish(name, *args); end
1805
+ def subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end
1806
+ def subscribed(callback, pattern = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
1807
+ def unsubscribe(subscriber_or_name); end
1808
+ end
1809
+ end
1810
+
1811
+ class ActiveSupport::Notifications::Event
1812
+ def initialize(name, start, ending, transaction_id, payload); end
1813
+
1814
+ def <<(event); end
1815
+ def allocations; end
1816
+ def children; end
1817
+ def cpu_time; end
1818
+ def duration; end
1819
+ def end; end
1820
+ def finish!; end
1821
+ def idle_time; end
1822
+ def name; end
1823
+ def parent_of?(event); end
1824
+ def payload; end
1825
+ def payload=(_arg0); end
1826
+ def start!; end
1827
+ def time; end
1828
+ def transaction_id; end
1829
+
1830
+ private
1831
+
1832
+ def now; end
1833
+ def now_allocations; end
1834
+ def now_cpu; end
1835
+ end
1836
+
1837
+ class ActiveSupport::Notifications::Fanout
1838
+ include ::Mutex_m
1839
+
1840
+ def initialize; end
1841
+
1842
+ def finish(name, id, payload, listeners = T.unsafe(nil)); end
1843
+ def listeners_for(name); end
1844
+ def listening?(name); end
1845
+ def lock; end
1846
+ def locked?; end
1847
+ def publish(name, *args); end
1848
+ def start(name, id, payload); end
1849
+ def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
1850
+ def synchronize(&block); end
1851
+ def try_lock; end
1852
+ def unlock; end
1853
+ def unsubscribe(subscriber_or_name); end
1854
+ def wait; end
1855
+ end
1856
+
1857
+ module ActiveSupport::Notifications::Fanout::Subscribers
1858
+ class << self
1859
+ def new(pattern, listener, monotonic); end
1860
+ def wrap_all(pattern, subscriber); end
1861
+ end
1862
+ end
1863
+
1864
+ class ActiveSupport::Notifications::Fanout::Subscribers::AllMessages
1865
+ def initialize(delegate); end
1866
+
1867
+ def finish(name, id, payload); end
1868
+ def matches?(_arg0); end
1869
+ def publish(name, *args); end
1870
+ def start(name, id, payload); end
1871
+ def subscribed_to?(name); end
1872
+ def unsubscribe!(*_arg0); end
1873
+ end
1874
+
1875
+ class ActiveSupport::Notifications::Fanout::Subscribers::EventObject < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented
1876
+ def finish(name, id, payload); end
1877
+ def start(name, id, payload); end
1878
+
1879
+ private
1880
+
1881
+ def build_event(name, id, payload); end
1882
+ end
1883
+
1884
+ class ActiveSupport::Notifications::Fanout::Subscribers::Evented
1885
+ def initialize(pattern, delegate); end
1886
+
1887
+ def finish(name, id, payload); end
1888
+ def matches?(name); end
1889
+ def pattern; end
1890
+ def publish(name, *args); end
1891
+ def start(name, id, payload); end
1892
+ def subscribed_to?(name); end
1893
+ def unsubscribe!(name); end
1894
+ end
1895
+
1896
+ class ActiveSupport::Notifications::Fanout::Subscribers::Matcher
1897
+ def initialize(pattern); end
1898
+
1899
+ def ===(name); end
1900
+ def exclusions; end
1901
+ def pattern; end
1902
+ def unsubscribe!(name); end
1903
+
1904
+ class << self
1905
+ def wrap(pattern); end
1906
+ end
1907
+ end
1908
+
1909
+ class ActiveSupport::Notifications::Fanout::Subscribers::MonotonicTimed < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented
1910
+ def finish(name, id, payload); end
1911
+ def publish(name, *args); end
1912
+ def start(name, id, payload); end
1913
+ end
1914
+
1915
+ class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented
1916
+ def finish(name, id, payload); end
1917
+ def publish(name, *args); end
1918
+ def start(name, id, payload); end
1919
+ end
1920
+
1921
+ class ActiveSupport::Notifications::InstrumentationRegistry
1922
+ extend ::ActiveSupport::PerThreadRegistry
1923
+
1924
+ def initialize; end
1925
+
1926
+ def instrumenter_for(notifier); end
1927
+ end
1928
+
1929
+ class ActiveSupport::Notifications::Instrumenter
1930
+ def initialize(notifier); end
1931
+
1932
+ def finish(name, payload); end
1933
+ def finish_with_state(listeners_state, name, payload); end
1934
+ def id; end
1935
+ def instrument(name, payload = T.unsafe(nil)); end
1936
+ def start(name, payload); end
1937
+
1938
+ private
1939
+
1940
+ def unique_id; end
1941
+ end
1942
+
1943
+ module ActiveSupport::NumberHelper
1944
+ extend ::ActiveSupport::Autoload
1945
+ extend ::ActiveSupport::NumberHelper
1946
+
1947
+ def number_to_currency(number, options = T.unsafe(nil)); end
1948
+ def number_to_delimited(number, options = T.unsafe(nil)); end
1949
+ def number_to_human(number, options = T.unsafe(nil)); end
1950
+ def number_to_human_size(number, options = T.unsafe(nil)); end
1951
+ def number_to_percentage(number, options = T.unsafe(nil)); end
1952
+ def number_to_phone(number, options = T.unsafe(nil)); end
1953
+ def number_to_rounded(number, options = T.unsafe(nil)); end
1954
+ end
1955
+
1956
+ class ActiveSupport::NumberHelper::NumberConverter
1957
+ def initialize(number, options); end
1958
+
1959
+ def execute; end
1960
+ def namespace; end
1961
+ def namespace=(_arg0); end
1962
+ def namespace?; end
1963
+ def number; end
1964
+ def opts; end
1965
+ def validate_float; end
1966
+ def validate_float=(_arg0); end
1967
+ def validate_float?; end
1968
+
1969
+ private
1970
+
1971
+ def default_format_options; end
1972
+ def default_value(key); end
1973
+ def format_options; end
1974
+ def i18n_format_options; end
1975
+ def options; end
1976
+ def translate_in_locale(key, **i18n_options); end
1977
+ def translate_number_value_with_default(key, **i18n_options); end
1978
+ def valid_float?; end
1979
+
1980
+ class << self
1981
+ def convert(number, options); end
1982
+ def namespace; end
1983
+ def namespace=(value); end
1984
+ def namespace?; end
1985
+ def validate_float; end
1986
+ def validate_float=(value); end
1987
+ def validate_float?; end
1988
+ end
1989
+ end
1990
+
1991
+ ActiveSupport::NumberHelper::NumberConverter::DEFAULTS = T.let(T.unsafe(nil), Hash)
1992
+
1993
+ class ActiveSupport::NumberHelper::NumberToCurrencyConverter < ::ActiveSupport::NumberHelper::NumberConverter
1994
+ def convert; end
1995
+
1996
+ private
1997
+
1998
+ def i18n_opts; end
1999
+ def options; end
2000
+
2001
+ class << self
2002
+ def namespace; end
2003
+ end
2004
+ end
2005
+
2006
+ class ActiveSupport::NumberHelper::NumberToDelimitedConverter < ::ActiveSupport::NumberHelper::NumberConverter
2007
+ def convert; end
2008
+
2009
+ private
2010
+
2011
+ def delimiter_pattern; end
2012
+ def parts; end
2013
+
2014
+ class << self
2015
+ def validate_float; end
2016
+ end
2017
+ end
2018
+
2019
+ ActiveSupport::NumberHelper::NumberToDelimitedConverter::DEFAULT_DELIMITER_REGEX = T.let(T.unsafe(nil), Regexp)
2020
+
2021
+ class ActiveSupport::NumberHelper::NumberToHumanConverter < ::ActiveSupport::NumberHelper::NumberConverter
2022
+ def convert; end
2023
+
2024
+ private
2025
+
2026
+ def calculate_exponent(units); end
2027
+ def determine_unit(units, exponent); end
2028
+ def format; end
2029
+ def unit_exponents(units); end
2030
+
2031
+ class << self
2032
+ def namespace; end
2033
+ def validate_float; end
2034
+ end
2035
+ end
2036
+
2037
+ ActiveSupport::NumberHelper::NumberToHumanConverter::DECIMAL_UNITS = T.let(T.unsafe(nil), Hash)
2038
+ ActiveSupport::NumberHelper::NumberToHumanConverter::INVERTED_DECIMAL_UNITS = T.let(T.unsafe(nil), Hash)
2039
+
2040
+ class ActiveSupport::NumberHelper::NumberToHumanSizeConverter < ::ActiveSupport::NumberHelper::NumberConverter
2041
+ def convert; end
2042
+
2043
+ private
2044
+
2045
+ def base; end
2046
+ def conversion_format; end
2047
+ def exponent; end
2048
+ def smaller_than_base?; end
2049
+ def storage_unit_key; end
2050
+ def unit; end
2051
+
2052
+ class << self
2053
+ def namespace; end
2054
+ def validate_float; end
2055
+ end
2056
+ end
2057
+
2058
+ ActiveSupport::NumberHelper::NumberToHumanSizeConverter::STORAGE_UNITS = T.let(T.unsafe(nil), Array)
2059
+
2060
+ class ActiveSupport::NumberHelper::NumberToPercentageConverter < ::ActiveSupport::NumberHelper::NumberConverter
2061
+ def convert; end
2062
+
2063
+ class << self
2064
+ def namespace; end
2065
+ end
2066
+ end
2067
+
2068
+ class ActiveSupport::NumberHelper::NumberToPhoneConverter < ::ActiveSupport::NumberHelper::NumberConverter
2069
+ def convert; end
2070
+
2071
+ private
2072
+
2073
+ def convert_to_phone_number(number); end
2074
+ def convert_with_area_code(number); end
2075
+ def convert_without_area_code(number); end
2076
+ def country_code(code); end
2077
+ def delimiter; end
2078
+ def phone_ext(ext); end
2079
+ def regexp_pattern(default_pattern); end
2080
+ def start_with_delimiter?(number); end
2081
+ end
2082
+
2083
+ class ActiveSupport::NumberHelper::NumberToRoundedConverter < ::ActiveSupport::NumberHelper::NumberConverter
2084
+ def convert; end
2085
+
2086
+ private
2087
+
2088
+ def format_number(number); end
2089
+ def strip_insignificant_zeros; end
2090
+
2091
+ class << self
2092
+ def namespace; end
2093
+ def validate_float; end
2094
+ end
2095
+ end
2096
+
2097
+ class ActiveSupport::NumberHelper::RoundingHelper
2098
+ def initialize(options); end
2099
+
2100
+ def digit_count(number); end
2101
+ def options; end
2102
+ def round(number); end
2103
+
2104
+ private
2105
+
2106
+ def absolute_precision(number); end
2107
+ def convert_to_decimal(number); end
2108
+ def significant; end
2109
+ end
2110
+
2111
+ module ActiveSupport::NumericWithFormat
2112
+ def to_s(format = T.unsafe(nil), options = T.unsafe(nil)); end
2113
+ end
2114
+
2115
+ class ActiveSupport::OptionMerger
2116
+ def initialize(context, options); end
2117
+
2118
+ private
2119
+
2120
+ def invoke_method(method, arguments, options, &block); end
2121
+ def method_missing(method, *arguments, &block); end
2122
+ end
2123
+
2124
+ class ActiveSupport::OrderedHash < ::Hash
2125
+ def encode_with(coder); end
2126
+ def extractable_options?; end
2127
+ def nested_under_indifferent_access; end
2128
+ def reject(*args, &block); end
2129
+ def select(*args, &block); end
2130
+ def to_yaml_type; end
2131
+ end
2132
+
2133
+ class ActiveSupport::OrderedOptions < ::Hash
2134
+ def [](key); end
2135
+ def []=(key, value); end
2136
+ def extractable_options?; end
2137
+ def inspect; end
2138
+ def method_missing(name, *args); end
2139
+
2140
+ protected
2141
+
2142
+ def _get(_arg0); end
2143
+
2144
+ private
2145
+
2146
+ def respond_to_missing?(name, include_private); end
2147
+ end
2148
+
2149
+ module ActiveSupport::PerThreadRegistry
2150
+ def instance; end
2151
+
2152
+ private
2153
+
2154
+ def method_missing(name, *args, &block); end
2155
+
2156
+ class << self
2157
+ def extended(object); end
2158
+ end
2159
+ end
2160
+
2161
+ class ActiveSupport::ProxyObject < ::BasicObject
2162
+ def raise(*args); end
2163
+ end
2164
+
2165
+ module ActiveSupport::RangeWithFormat
2166
+ def to_default_s(format = T.unsafe(nil)); end
2167
+ def to_formatted_s(format = T.unsafe(nil)); end
2168
+ def to_s(format = T.unsafe(nil)); end
2169
+ end
2170
+
2171
+ ActiveSupport::RangeWithFormat::RANGE_FORMATS = T.let(T.unsafe(nil), Hash)
2172
+
2173
+ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
2174
+ def initialize; end
2175
+
2176
+ def _class_unload_callbacks; end
2177
+ def _prepare_callbacks; end
2178
+ def _run_class_unload_callbacks(&block); end
2179
+ def _run_prepare_callbacks(&block); end
2180
+ def check; end
2181
+ def check=(_arg0); end
2182
+ def check?; end
2183
+ def class_unload!(&block); end
2184
+ def complete!; end
2185
+ def executor; end
2186
+ def executor=(_arg0); end
2187
+ def executor?; end
2188
+ def release_unload_lock!; end
2189
+ def require_unload_lock!; end
2190
+ def run!; end
2191
+
2192
+ class << self
2193
+ def __callbacks; end
2194
+ def _class_unload_callbacks; end
2195
+ def _class_unload_callbacks=(value); end
2196
+ def _prepare_callbacks; end
2197
+ def _prepare_callbacks=(value); end
2198
+ def after_class_unload(*args, &block); end
2199
+ def before_class_unload(*args, &block); end
2200
+ def check; end
2201
+ def check!; end
2202
+ def check=(value); end
2203
+ def check?; end
2204
+ def executor; end
2205
+ def executor=(value); end
2206
+ def executor?; end
2207
+ def prepare!; end
2208
+ def reload!; end
2209
+ def reloaded!; end
2210
+ def run!; end
2211
+ def to_prepare(*args, &block); end
2212
+ def wrap; end
2213
+ end
2214
+ end
2215
+
2216
+ module ActiveSupport::Rescuable
2217
+ extend ::ActiveSupport::Concern
2218
+
2219
+ mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods
2220
+
2221
+ def handler_for_rescue(exception); end
2222
+ def rescue_with_handler(exception); end
2223
+ end
2224
+
2225
+ module ActiveSupport::Rescuable::ClassMethods
2226
+ def handler_for_rescue(exception, object: T.unsafe(nil)); end
2227
+ def rescue_from(*klasses, with: T.unsafe(nil), &block); end
2228
+ def rescue_with_handler(exception, object: T.unsafe(nil), visited_exceptions: T.unsafe(nil)); end
2229
+
2230
+ private
2231
+
2232
+ def constantize_rescue_handler_class(class_or_name); end
2233
+ def find_rescue_handler(exception); end
2234
+ end
2235
+
2236
+ class ActiveSupport::SafeBuffer < ::String
2237
+ def initialize(str = T.unsafe(nil)); end
2238
+
2239
+ def %(args); end
2240
+ def *(*_arg0); end
2241
+ def +(other); end
2242
+ def <<(value); end
2243
+ def [](*args); end
2244
+ def []=(*args); end
2245
+ def capitalize(*args, &block); end
2246
+ def capitalize!(*args); end
2247
+ def chomp(*args, &block); end
2248
+ def chomp!(*args); end
2249
+ def chop(*args, &block); end
2250
+ def chop!(*args); end
2251
+ def clone_empty; end
2252
+ def concat(value); end
2253
+ def delete(*args, &block); end
2254
+ def delete!(*args); end
2255
+ def delete_prefix(*args, &block); end
2256
+ def delete_prefix!(*args); end
2257
+ def delete_suffix(*args, &block); end
2258
+ def delete_suffix!(*args); end
2259
+ def downcase(*args, &block); end
2260
+ def downcase!(*args); end
2261
+ def encode_with(coder); end
2262
+ def gsub(*args, &block); end
2263
+ def gsub!(*args, &block); end
2264
+ def html_safe?; end
2265
+ def insert(index, value); end
2266
+ def lstrip(*args, &block); end
2267
+ def lstrip!(*args); end
2268
+ def next(*args, &block); end
2269
+ def next!(*args); end
2270
+ def prepend(value); end
2271
+ def replace(value); end
2272
+ def reverse(*args, &block); end
2273
+ def reverse!(*args); end
2274
+ def rstrip(*args, &block); end
2275
+ def rstrip!(*args); end
2276
+ def safe_concat(value); end
2277
+ def scrub(*args, &block); end
2278
+ def scrub!(*args); end
2279
+ def slice(*args, &block); end
2280
+ def slice!(*args); end
2281
+ def squeeze(*args, &block); end
2282
+ def squeeze!(*args); end
2283
+ def strip(*args, &block); end
2284
+ def strip!(*args); end
2285
+ def sub(*args, &block); end
2286
+ def sub!(*args, &block); end
2287
+ def succ(*args, &block); end
2288
+ def succ!(*args); end
2289
+ def swapcase(*args, &block); end
2290
+ def swapcase!(*args); end
2291
+ def to_param; end
2292
+ def to_s; end
2293
+ def tr(*args, &block); end
2294
+ def tr!(*args); end
2295
+ def tr_s(*args, &block); end
2296
+ def tr_s!(*args); end
2297
+ def unicode_normalize(*args, &block); end
2298
+ def unicode_normalize!(*args); end
2299
+ def upcase(*args, &block); end
2300
+ def upcase!(*args); end
2301
+
2302
+ private
2303
+
2304
+ def html_escape_interpolated_argument(arg); end
2305
+ def initialize_copy(other); end
2306
+ def original_concat(*_arg0); end
2307
+ def set_block_back_references(block, match_data); end
2308
+ end
2309
+
2310
+ class ActiveSupport::SafeBuffer::SafeConcatError < ::StandardError
2311
+ def initialize; end
2312
+ end
2313
+
2314
+ ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS = T.let(T.unsafe(nil), Array)
2315
+ ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS_WITH_BACKREF = T.let(T.unsafe(nil), Array)
2316
+
2317
+ class ActiveSupport::SecureCompareRotator
2318
+ include ::ActiveSupport::Messages::Rotator
2319
+ include ::ActiveSupport::SecurityUtils
2320
+
2321
+ def secure_compare!(other_value, on_rotation: T.unsafe(nil)); end
2322
+
2323
+ private
2324
+
2325
+ def build_rotation(previous_value, _options); end
2326
+ end
2327
+
2328
+ class ActiveSupport::SecureCompareRotator::InvalidMatch < ::StandardError; end
2329
+
2330
+ module ActiveSupport::SecurityUtils
2331
+ private
2332
+
2333
+ def fixed_length_secure_compare(a, b); end
2334
+ def secure_compare(a, b); end
2335
+
2336
+ class << self
2337
+ def fixed_length_secure_compare(a, b); end
2338
+ def secure_compare(a, b); end
2339
+ end
2340
+ end
2341
+
2342
+ class ActiveSupport::StringInquirer < ::String
2343
+ private
2344
+
2345
+ def method_missing(method_name, *arguments); end
2346
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
2347
+ end
2348
+
2349
+ class ActiveSupport::Subscriber
2350
+ def initialize; end
2351
+
2352
+ def finish(name, id, payload); end
2353
+ def patterns; end
2354
+ def start(name, id, payload); end
2355
+
2356
+ private
2357
+
2358
+ def event_stack; end
2359
+
2360
+ class << self
2361
+ def attach_to(namespace, subscriber = T.unsafe(nil), notifier = T.unsafe(nil), inherit_all: T.unsafe(nil)); end
2362
+ def detach_from(namespace, notifier = T.unsafe(nil)); end
2363
+ def method_added(event); end
2364
+ def subscribers; end
2365
+
2366
+ private
2367
+
2368
+ def add_event_subscriber(event); end
2369
+ def fetch_public_methods(subscriber, inherit_all); end
2370
+ def find_attached_subscriber; end
2371
+ def invalid_event?(event); end
2372
+ def namespace; end
2373
+ def notifier; end
2374
+ def pattern_subscribed?(pattern); end
2375
+ def prepare_pattern(event); end
2376
+ def remove_event_subscriber(event); end
2377
+ def subscriber; end
2378
+ end
2379
+ end
2380
+
2381
+ class ActiveSupport::SubscriberQueueRegistry
2382
+ extend ::ActiveSupport::PerThreadRegistry
2383
+
2384
+ def initialize; end
2385
+
2386
+ def get_queue(queue_key); end
2387
+ end
2388
+
2389
+ module ActiveSupport::TaggedLogging
2390
+ def clear_tags!(*_arg0, &_arg1); end
2391
+ def flush; end
2392
+ def pop_tags(*_arg0, &_arg1); end
2393
+ def push_tags(*_arg0, &_arg1); end
2394
+ def tagged(*tags); end
2395
+
2396
+ class << self
2397
+ def new(logger); end
2398
+ end
2399
+ end
2400
+
2401
+ module ActiveSupport::TaggedLogging::Formatter
2402
+ def call(severity, timestamp, progname, msg); end
2403
+ def clear_tags!; end
2404
+ def current_tags; end
2405
+ def pop_tags(size = T.unsafe(nil)); end
2406
+ def push_tags(*tags); end
2407
+ def tagged(*tags); end
2408
+ def tags_text; end
2409
+ end
2410
+
2411
+ module ActiveSupport::TaggedLogging::LocalTagStorage
2412
+ def current_tags; end
2413
+ def current_tags=(_arg0); end
2414
+
2415
+ class << self
2416
+ def extended(base); end
2417
+ end
2418
+ end
2419
+
2420
+ class ActiveSupport::TestCase < ::Minitest::Test
2421
+ include ::ActiveSupport::Testing::SetupAndTeardown
2422
+ include ::ActiveSupport::Testing::TaggedLogging
2423
+ include ::ActiveSupport::Callbacks
2424
+ include ::ActiveSupport::Testing::Assertions
2425
+ include ::ActiveSupport::Testing::Deprecation
2426
+ include ::ActiveSupport::Testing::TimeHelpers
2427
+ include ::ActiveSupport::Testing::FileFixtures
2428
+ extend ::ActiveSupport::Callbacks::ClassMethods
2429
+ extend ::ActiveSupport::DescendantsTracker
2430
+ extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods
2431
+ extend ::ActiveSupport::Testing::Declarative
2432
+
2433
+ def __callbacks; end
2434
+ def __callbacks?; end
2435
+ def _run_setup_callbacks(&block); end
2436
+ def _run_teardown_callbacks(&block); end
2437
+ def _setup_callbacks; end
2438
+ def _teardown_callbacks; end
2439
+ def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end
2440
+ def assert_not_empty(obj, msg = T.unsafe(nil)); end
2441
+ def assert_not_equal(exp, act, msg = T.unsafe(nil)); end
2442
+ def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
2443
+ def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
2444
+ def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end
2445
+ def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end
2446
+ def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end
2447
+ def assert_not_nil(obj, msg = T.unsafe(nil)); end
2448
+ def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
2449
+ def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end
2450
+ def assert_not_respond_to(obj, meth, msg = T.unsafe(nil)); end
2451
+ def assert_not_same(exp, act, msg = T.unsafe(nil)); end
2452
+ def assert_raise(*exp); end
2453
+ def file_fixture_path; end
2454
+ def file_fixture_path?; end
2455
+ def method_name; end
2456
+
2457
+ class << self
2458
+ def __callbacks; end
2459
+ def __callbacks=(value); end
2460
+ def __callbacks?; end
2461
+ def _setup_callbacks; end
2462
+ def _setup_callbacks=(value); end
2463
+ def _teardown_callbacks; end
2464
+ def _teardown_callbacks=(value); end
2465
+ def file_fixture_path; end
2466
+ def file_fixture_path=(value); end
2467
+ def file_fixture_path?; end
2468
+ def parallelize(workers: T.unsafe(nil), with: T.unsafe(nil)); end
2469
+ def parallelize_setup(&block); end
2470
+ def parallelize_teardown(&block); end
2471
+ def test_order; end
2472
+ def test_order=(new_order); end
2473
+ end
2474
+ end
2475
+
2476
+ ActiveSupport::TestCase::Assertion = Minitest::Assertion
2477
+ module ActiveSupport::Testing; end
2478
+
2479
+ module ActiveSupport::Testing::Assertions
2480
+ def assert_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), to: T.unsafe(nil), &block); end
2481
+ def assert_difference(expression, *args, &block); end
2482
+ def assert_no_changes(expression, message = T.unsafe(nil), &block); end
2483
+ def assert_no_difference(expression, message = T.unsafe(nil), &block); end
2484
+ def assert_not(object, message = T.unsafe(nil)); end
2485
+ def assert_nothing_raised; end
2486
+ end
2487
+
2488
+ ActiveSupport::Testing::Assertions::UNTRACKED = T.let(T.unsafe(nil), Object)
2489
+
2490
+ module ActiveSupport::Testing::ConstantLookup
2491
+ extend ::ActiveSupport::Concern
2492
+
2493
+ mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods
2494
+ end
2495
+
2496
+ module ActiveSupport::Testing::ConstantLookup::ClassMethods
2497
+ def determine_constant_from_test_name(test_name); end
2498
+ end
2499
+
2500
+ module ActiveSupport::Testing::Declarative
2501
+ def test(name, &block); end
2502
+ end
2503
+
2504
+ module ActiveSupport::Testing::Deprecation
2505
+ def assert_deprecated(match = T.unsafe(nil), deprecator = T.unsafe(nil), &block); end
2506
+ def assert_not_deprecated(deprecator = T.unsafe(nil), &block); end
2507
+ def collect_deprecations(deprecator = T.unsafe(nil)); end
2508
+ end
2509
+
2510
+ module ActiveSupport::Testing::FileFixtures
2511
+ extend ::ActiveSupport::Concern
2512
+
2513
+ def file_fixture(fixture_name); end
2514
+ end
2515
+
2516
+ module ActiveSupport::Testing::Isolation
2517
+ include ::ActiveSupport::Testing::Isolation::Forking
2518
+
2519
+ def run; end
2520
+
2521
+ class << self
2522
+ def forking_env?; end
2523
+ def included(klass); end
2524
+ end
2525
+ end
2526
+
2527
+ module ActiveSupport::Testing::Isolation::Forking
2528
+ def run_in_isolation(&blk); end
2529
+ end
2530
+
2531
+ module ActiveSupport::Testing::Isolation::Subprocess
2532
+ def run_in_isolation(&blk); end
2533
+ end
2534
+
2535
+ ActiveSupport::Testing::Isolation::Subprocess::ORIG_ARGV = T.let(T.unsafe(nil), Array)
2536
+
2537
+ class ActiveSupport::Testing::Parallelization
2538
+ def initialize(worker_count); end
2539
+
2540
+ def <<(work); end
2541
+ def after_fork_hooks; end
2542
+ def run_cleanup_hooks; end
2543
+ def shutdown; end
2544
+ def start; end
2545
+
2546
+ class << self
2547
+ def after_fork_hook(&blk); end
2548
+ def after_fork_hooks; end
2549
+ def run_cleanup_hook(&blk); end
2550
+ def run_cleanup_hooks; end
2551
+ end
2552
+ end
2553
+
2554
+ class ActiveSupport::Testing::Parallelization::Server
2555
+ include ::DRb::DRbUndumped
2556
+
2557
+ def initialize; end
2558
+
2559
+ def <<(o); end
2560
+ def active_workers?; end
2561
+ def pop; end
2562
+ def record(reporter, result); end
2563
+ def shutdown; end
2564
+ def start_worker(worker_id); end
2565
+ def stop_worker(worker_id); end
2566
+ end
2567
+
2568
+ class ActiveSupport::Testing::Parallelization::Worker
2569
+ def initialize(number, url); end
2570
+
2571
+ def after_fork; end
2572
+ def perform_job(job); end
2573
+ def run_cleanup; end
2574
+ def safe_record(reporter, result); end
2575
+ def start; end
2576
+ def work_from_queue; end
2577
+
2578
+ private
2579
+
2580
+ def add_setup_exception(result); end
2581
+ def set_process_title(status); end
2582
+ end
2583
+
2584
+ module ActiveSupport::Testing::SetupAndTeardown
2585
+ def after_teardown; end
2586
+ def before_setup; end
2587
+
2588
+ class << self
2589
+ def prepended(klass); end
2590
+ end
2591
+ end
2592
+
2593
+ module ActiveSupport::Testing::SetupAndTeardown::ClassMethods
2594
+ def setup(*args, &block); end
2595
+ def teardown(*args, &block); end
2596
+ end
2597
+
2598
+ class ActiveSupport::Testing::SimpleStubs
2599
+ def initialize; end
2600
+
2601
+ def stub_object(object, method_name, &block); end
2602
+ def stubbed?; end
2603
+ def stubbing(object, method_name); end
2604
+ def unstub_all!; end
2605
+
2606
+ private
2607
+
2608
+ def unstub_object(stub); end
2609
+ end
2610
+
2611
+ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct
2612
+ def method_name; end
2613
+ def method_name=(_); end
2614
+ def object; end
2615
+ def object=(_); end
2616
+ def original_method; end
2617
+ def original_method=(_); end
2618
+
2619
+ class << self
2620
+ def [](*_arg0); end
2621
+ def inspect; end
2622
+ def members; end
2623
+ def new(*_arg0); end
2624
+ end
2625
+ end
2626
+
2627
+ module ActiveSupport::Testing::TaggedLogging
2628
+ def before_setup; end
2629
+ def tagged_logger=(_arg0); end
2630
+
2631
+ private
2632
+
2633
+ def tagged_logger; end
2634
+ end
2635
+
2636
+ module ActiveSupport::Testing::TimeHelpers
2637
+ def after_teardown; end
2638
+ def freeze_time(&block); end
2639
+ def travel(duration, &block); end
2640
+ def travel_back; end
2641
+ def travel_to(date_or_time); end
2642
+ def unfreeze_time; end
2643
+
2644
+ private
2645
+
2646
+ def simple_stubs; end
2647
+ end
2648
+
2649
+ class ActiveSupport::TimeWithZone
2650
+ include ::DateAndTime::Compatibility
2651
+ include ::Comparable
2652
+
2653
+ def initialize(utc_time, time_zone, local_time = T.unsafe(nil), period = T.unsafe(nil)); end
2654
+
2655
+ def +(other); end
2656
+ def -(other); end
2657
+ def <=>(other); end
2658
+ def acts_like_time?; end
2659
+ def advance(options); end
2660
+ def after?(_arg0); end
2661
+ def ago(other); end
2662
+ def as_json(options = T.unsafe(nil)); end
2663
+ def before?(_arg0); end
2664
+ def between?(min, max); end
2665
+ def blank?; end
2666
+ def change(options); end
2667
+ def comparable_time; end
2668
+ def day; end
2669
+ def dst?; end
2670
+ def encode_with(coder); end
2671
+ def eql?(other); end
2672
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
2673
+ def freeze; end
2674
+ def future?; end
2675
+ def getgm; end
2676
+ def getlocal(utc_offset = T.unsafe(nil)); end
2677
+ def getutc; end
2678
+ def gmt?; end
2679
+ def gmt_offset; end
2680
+ def gmtime; end
2681
+ def gmtoff; end
2682
+ def hash; end
2683
+ def hour; end
2684
+ def httpdate; end
2685
+ def in(other); end
2686
+ def in_time_zone(new_zone = T.unsafe(nil)); end
2687
+ def init_with(coder); end
2688
+ def inspect; end
2689
+ def is_a?(klass); end
2690
+ def isdst; end
2691
+ def iso8601(fraction_digits = T.unsafe(nil)); end
2692
+ def kind_of?(klass); end
2693
+ def localtime(utc_offset = T.unsafe(nil)); end
2694
+ def marshal_dump; end
2695
+ def marshal_load(variables); end
2696
+ def mday; end
2697
+ def method_missing(sym, *args, &block); end
2698
+ def min; end
2699
+ def mon; end
2700
+ def month; end
2701
+ def next_day?; end
2702
+ def nsec; end
2703
+ def past?; end
2704
+ def period; end
2705
+ def prev_day?; end
2706
+ def respond_to?(sym, include_priv = T.unsafe(nil)); end
2707
+ def rfc2822; end
2708
+ def rfc3339(fraction_digits = T.unsafe(nil)); end
2709
+ def rfc822; end
2710
+ def sec; end
2711
+ def since(other); end
2712
+ def strftime(format); end
2713
+ def time; end
2714
+ def time_zone; end
2715
+ def to_a; end
2716
+ def to_date; end
2717
+ def to_datetime; end
2718
+ def to_f; end
2719
+ def to_formatted_s(format = T.unsafe(nil)); end
2720
+ def to_i; end
2721
+ def to_r; end
2722
+ def to_s(format = T.unsafe(nil)); end
2723
+ def to_time; end
2724
+ def today?; end
2725
+ def tomorrow?; end
2726
+ def tv_sec; end
2727
+ def usec; end
2728
+ def utc; end
2729
+ def utc?; end
2730
+ def utc_offset; end
2731
+ def wday; end
2732
+ def xmlschema(fraction_digits = T.unsafe(nil)); end
2733
+ def yday; end
2734
+ def year; end
2735
+ def yesterday?; end
2736
+ def zone; end
2737
+
2738
+ private
2739
+
2740
+ def duration_of_variable_length?(obj); end
2741
+ def get_period_and_ensure_valid_local_time(period); end
2742
+ def incorporate_utc_offset(time, offset); end
2743
+ def respond_to_missing?(sym, include_priv); end
2744
+ def transfer_time_values_to_utc_constructor(time); end
2745
+ def wrap_with_time_zone(time); end
2746
+
2747
+ class << self
2748
+ def name; end
2749
+ end
2750
+ end
2751
+
2752
+ ActiveSupport::TimeWithZone::PRECISIONS = T.let(T.unsafe(nil), Hash)
2753
+ ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer)
2754
+
2755
+ class ActiveSupport::TimeZone
2756
+ include ::Comparable
2757
+
2758
+ def initialize(name, utc_offset = T.unsafe(nil), tzinfo = T.unsafe(nil)); end
2759
+
2760
+ def <=>(zone); end
2761
+ def =~(re); end
2762
+ def at(*args); end
2763
+ def encode_with(coder); end
2764
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
2765
+ def init_with(coder); end
2766
+ def iso8601(str); end
2767
+ def local(*args); end
2768
+ def local_to_utc(time, dst = T.unsafe(nil)); end
2769
+ def match?(re); end
2770
+ def name; end
2771
+ def now; end
2772
+ def parse(str, now = T.unsafe(nil)); end
2773
+ def period_for_local(time, dst = T.unsafe(nil)); end
2774
+ def period_for_utc(time); end
2775
+ def periods_for_local(time); end
2776
+ def rfc3339(str); end
2777
+ def strptime(str, format, now = T.unsafe(nil)); end
2778
+ def to_s; end
2779
+ def today; end
2780
+ def tomorrow; end
2781
+ def tzinfo; end
2782
+ def utc_offset; end
2783
+ def utc_to_local(time); end
2784
+ def yesterday; end
2785
+
2786
+ private
2787
+
2788
+ def parts_to_time(parts, now); end
2789
+ def time_now; end
2790
+
2791
+ class << self
2792
+ def [](arg); end
2793
+ def all; end
2794
+ def clear; end
2795
+ def country_zones(country_code); end
2796
+ def create(*_arg0); end
2797
+ def find_tzinfo(name); end
2798
+ def new(name); end
2799
+ def seconds_to_utc_offset(seconds, colon = T.unsafe(nil)); end
2800
+ def us_zones; end
2801
+
2802
+ private
2803
+
2804
+ def load_country_zones(code); end
2805
+ def zones_map; end
2806
+ end
2807
+ end
2808
+
2809
+ ActiveSupport::TimeZone::MAPPING = T.let(T.unsafe(nil), Hash)
2810
+ ActiveSupport::TimeZone::UTC_OFFSET_WITHOUT_COLON = T.let(T.unsafe(nil), String)
2811
+ ActiveSupport::TimeZone::UTC_OFFSET_WITH_COLON = T.let(T.unsafe(nil), String)
2812
+
2813
+ module ActiveSupport::ToJsonWithActiveSupportEncoder
2814
+ def to_json(options = T.unsafe(nil)); end
2815
+ end
2816
+
2817
+ module ActiveSupport::Tryable
2818
+ def try(method_name = T.unsafe(nil), *args, &b); end
2819
+ def try!(method_name = T.unsafe(nil), *args, &b); end
2820
+ end
2821
+
2822
+ module ActiveSupport::VERSION; end
2823
+ ActiveSupport::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
2824
+ ActiveSupport::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
2825
+ ActiveSupport::VERSION::PRE = T.let(T.unsafe(nil), String)
2826
+ ActiveSupport::VERSION::STRING = T.let(T.unsafe(nil), String)
2827
+ ActiveSupport::VERSION::TINY = T.let(T.unsafe(nil), Integer)
2828
+
2829
+ class ActiveSupport::XMLConverter
2830
+ def initialize(xml, disallowed_types = T.unsafe(nil)); end
2831
+
2832
+ def to_h; end
2833
+
2834
+ private
2835
+
2836
+ def become_array?(value); end
2837
+ def become_content?(value); end
2838
+ def become_empty_string?(value); end
2839
+ def become_hash?(value); end
2840
+ def deep_to_h(value); end
2841
+ def garbage?(value); end
2842
+ def normalize_keys(params); end
2843
+ def nothing?(value); end
2844
+ def process_array(value); end
2845
+ def process_content(value); end
2846
+ def process_hash(value); end
2847
+ end
2848
+
2849
+ ActiveSupport::XMLConverter::DISALLOWED_TYPES = T.let(T.unsafe(nil), Array)
2850
+
2851
+ class ActiveSupport::XMLConverter::DisallowedType < ::StandardError
2852
+ def initialize(type); end
2853
+ end
2854
+
2855
+ module ActiveSupport::XmlMini
2856
+ extend ::ActiveSupport::XmlMini
2857
+
2858
+ def backend; end
2859
+ def backend=(name); end
2860
+ def depth; end
2861
+ def depth=(_arg0); end
2862
+ def parse(*_arg0, &_arg1); end
2863
+ def rename_key(key, options = T.unsafe(nil)); end
2864
+ def to_tag(key, value, options); end
2865
+ def with_backend(name); end
2866
+
2867
+ private
2868
+
2869
+ def _dasherize(key); end
2870
+ def _parse_binary(bin, entity); end
2871
+ def _parse_file(file, entity); end
2872
+ def cast_backend_name_to_module(name); end
2873
+ def current_thread_backend; end
2874
+ def current_thread_backend=(name); end
2875
+ end
2876
+
2877
+ ActiveSupport::XmlMini::DEFAULT_ENCODINGS = T.let(T.unsafe(nil), Hash)
2878
+ ActiveSupport::XmlMini::FORMATTING = T.let(T.unsafe(nil), Hash)
2879
+
2880
+ module ActiveSupport::XmlMini::FileLike
2881
+ def content_type; end
2882
+ def content_type=(_arg0); end
2883
+ def original_filename; end
2884
+ def original_filename=(_arg0); end
2885
+ end
2886
+
2887
+ ActiveSupport::XmlMini::PARSING = T.let(T.unsafe(nil), Hash)
2888
+ ActiveSupport::XmlMini::TYPE_NAMES = T.let(T.unsafe(nil), Hash)
2889
+
2890
+ module ActiveSupport::XmlMini_REXML
2891
+ extend ::ActiveSupport::XmlMini_REXML
2892
+
2893
+ def parse(data); end
2894
+
2895
+ private
2896
+
2897
+ def collapse(element, depth); end
2898
+ def empty_content?(element); end
2899
+ def get_attributes(element); end
2900
+ def merge!(hash, key, value); end
2901
+ def merge_element!(hash, element, depth); end
2902
+ def merge_texts!(hash, element); end
2903
+ def require_rexml; end
2904
+ end
2905
+
2906
+ ActiveSupport::XmlMini_REXML::CONTENT_KEY = T.let(T.unsafe(nil), String)
2907
+
2908
+ class Array
2909
+ include ::Enumerable
2910
+ include ::JSON::Ext::Generator::GeneratorMethods::Array
2911
+
2912
+ def as_json(options = T.unsafe(nil)); end
2913
+ def compact_blank!; end
2914
+ def deep_dup; end
2915
+ def excluding(*elements); end
2916
+ def extract!; end
2917
+ def extract_options!; end
2918
+ def fifth; end
2919
+ def forty_two; end
2920
+ def fourth; end
2921
+ def from(position); end
2922
+ def in_groups(number, fill_with = T.unsafe(nil)); end
2923
+ def in_groups_of(number, fill_with = T.unsafe(nil)); end
2924
+ def including(*elements); end
2925
+ def inquiry; end
2926
+ def second; end
2927
+ def second_to_last; end
2928
+ def split(value = T.unsafe(nil)); end
2929
+ def sum(init = T.unsafe(nil), &block); end
2930
+ def third; end
2931
+ def third_to_last; end
2932
+ def to(position); end
2933
+ def to_formatted_s(format = T.unsafe(nil)); end
2934
+ def to_param; end
2935
+ def to_query(key); end
2936
+ def to_s(format = T.unsafe(nil)); end
2937
+ def to_sentence(options = T.unsafe(nil)); end
2938
+ def to_xml(options = T.unsafe(nil)); end
2939
+ def without(*elements); end
2940
+
2941
+ class << self
2942
+ def wrap(object); end
2943
+ end
2944
+ end
2945
+
2946
+ class BigDecimal < ::Numeric
2947
+ include ::ActiveSupport::BigDecimalWithDefaultFormat
2948
+ include ::ActiveSupport::NumericWithFormat
2949
+
2950
+ def as_json(options = T.unsafe(nil)); end
2951
+ end
2952
+
2953
+ BigDecimal::EXCEPTION_NaN = T.let(T.unsafe(nil), Integer)
2954
+ BigDecimal::VERSION = T.let(T.unsafe(nil), String)
2955
+
2956
+ class Class < ::Module
2957
+ def class_attribute(*attrs, instance_accessor: T.unsafe(nil), instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_predicate: T.unsafe(nil), default: T.unsafe(nil)); end
2958
+ def descendants; end
2959
+ def subclasses; end
2960
+ end
2961
+
2962
+ class Date
2963
+ include ::Comparable
2964
+ include ::DateAndTime::Zones
2965
+ include ::DateAndTime::Calculations
2966
+
2967
+ def +(other); end
2968
+ def -(other); end
2969
+ def <=>(other); end
2970
+ def acts_like_date?; end
2971
+ def advance(options); end
2972
+ def ago(seconds); end
2973
+ def as_json(options = T.unsafe(nil)); end
2974
+ def at_beginning_of_day; end
2975
+ def at_end_of_day; end
2976
+ def at_midday; end
2977
+ def at_middle_of_day; end
2978
+ def at_midnight; end
2979
+ def at_noon; end
2980
+ def beginning_of_day; end
2981
+ def blank?; end
2982
+ def change(options); end
2983
+ def compare_with_coercion(other); end
2984
+ def end_of_day; end
2985
+ def in(seconds); end
2986
+ def inspect; end
2987
+ def midday; end
2988
+ def middle_of_day; end
2989
+ def midnight; end
2990
+ def minus_with_duration(other); end
2991
+ def noon; end
2992
+ def plus_with_duration(other); end
2993
+ def readable_inspect; end
2994
+ def since(seconds); end
2995
+ def to_formatted_s(format = T.unsafe(nil)); end
2996
+ def to_s(format = T.unsafe(nil)); end
2997
+ def to_time(form = T.unsafe(nil)); end
2998
+ def xmlschema; end
2999
+
3000
+ class << self
3001
+ def beginning_of_week; end
3002
+ def beginning_of_week=(week_start); end
3003
+ def beginning_of_week_default; end
3004
+ def beginning_of_week_default=(_arg0); end
3005
+ def current; end
3006
+ def find_beginning_of_week!(week_start); end
3007
+ def tomorrow; end
3008
+ def yesterday; end
3009
+ end
3010
+ end
3011
+
3012
+ Date::DATE_FORMATS = T.let(T.unsafe(nil), Hash)
3013
+ module DateAndTime; end
3014
+
3015
+ module DateAndTime::Calculations
3016
+ def after?(date_or_time); end
3017
+ def all_day; end
3018
+ def all_month; end
3019
+ def all_quarter; end
3020
+ def all_week(start_day = T.unsafe(nil)); end
3021
+ def all_year; end
3022
+ def at_beginning_of_month; end
3023
+ def at_beginning_of_quarter; end
3024
+ def at_beginning_of_week(start_day = T.unsafe(nil)); end
3025
+ def at_beginning_of_year; end
3026
+ def at_end_of_month; end
3027
+ def at_end_of_quarter; end
3028
+ def at_end_of_week(start_day = T.unsafe(nil)); end
3029
+ def at_end_of_year; end
3030
+ def before?(date_or_time); end
3031
+ def beginning_of_month; end
3032
+ def beginning_of_quarter; end
3033
+ def beginning_of_week(start_day = T.unsafe(nil)); end
3034
+ def beginning_of_year; end
3035
+ def days_ago(days); end
3036
+ def days_since(days); end
3037
+ def days_to_week_start(start_day = T.unsafe(nil)); end
3038
+ def end_of_month; end
3039
+ def end_of_quarter; end
3040
+ def end_of_week(start_day = T.unsafe(nil)); end
3041
+ def end_of_year; end
3042
+ def future?; end
3043
+ def last_month; end
3044
+ def last_quarter; end
3045
+ def last_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end
3046
+ def last_weekday; end
3047
+ def last_year; end
3048
+ def monday; end
3049
+ def months_ago(months); end
3050
+ def months_since(months); end
3051
+ def next_day?; end
3052
+ def next_occurring(day_of_week); end
3053
+ def next_quarter; end
3054
+ def next_week(given_day_in_next_week = T.unsafe(nil), same_time: T.unsafe(nil)); end
3055
+ def next_weekday; end
3056
+ def on_weekday?; end
3057
+ def on_weekend?; end
3058
+ def past?; end
3059
+ def prev_day?; end
3060
+ def prev_occurring(day_of_week); end
3061
+ def prev_quarter; end
3062
+ def prev_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end
3063
+ def prev_weekday; end
3064
+ def sunday; end
3065
+ def today?; end
3066
+ def tomorrow; end
3067
+ def tomorrow?; end
3068
+ def weeks_ago(weeks); end
3069
+ def weeks_since(weeks); end
3070
+ def years_ago(years); end
3071
+ def years_since(years); end
3072
+ def yesterday; end
3073
+ def yesterday?; end
3074
+
3075
+ private
3076
+
3077
+ def copy_time_to(other); end
3078
+ def days_span(day); end
3079
+ def first_hour(date_or_time); end
3080
+ def last_hour(date_or_time); end
3081
+ end
3082
+
3083
+ DateAndTime::Calculations::DAYS_INTO_WEEK = T.let(T.unsafe(nil), Hash)
3084
+ DateAndTime::Calculations::WEEKEND_DAYS = T.let(T.unsafe(nil), Array)
3085
+
3086
+ module DateAndTime::Compatibility
3087
+ def preserve_timezone; end
3088
+ def utc_to_local_returns_utc_offset_times; end
3089
+
3090
+ class << self
3091
+ def preserve_timezone; end
3092
+ def preserve_timezone=(val); end
3093
+ def utc_to_local_returns_utc_offset_times; end
3094
+ def utc_to_local_returns_utc_offset_times=(val); end
3095
+ end
3096
+ end
3097
+
3098
+ module DateAndTime::Zones
3099
+ def in_time_zone(zone = T.unsafe(nil)); end
3100
+
3101
+ private
3102
+
3103
+ def time_with_zone(time, zone); end
3104
+ end
3105
+
3106
+ class DateTime < ::Date
3107
+ include ::DateAndTime::Compatibility
3108
+
3109
+ def <=>(other); end
3110
+ def acts_like_date?; end
3111
+ def acts_like_time?; end
3112
+ def advance(options); end
3113
+ def ago(seconds); end
3114
+ def as_json(options = T.unsafe(nil)); end
3115
+ def at_beginning_of_day; end
3116
+ def at_beginning_of_hour; end
3117
+ def at_beginning_of_minute; end
3118
+ def at_end_of_day; end
3119
+ def at_end_of_hour; end
3120
+ def at_end_of_minute; end
3121
+ def at_midday; end
3122
+ def at_middle_of_day; end
3123
+ def at_midnight; end
3124
+ def at_noon; end
3125
+ def beginning_of_day; end
3126
+ def beginning_of_hour; end
3127
+ def beginning_of_minute; end
3128
+ def blank?; end
3129
+ def change(options); end
3130
+ def end_of_day; end
3131
+ def end_of_hour; end
3132
+ def end_of_minute; end
3133
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
3134
+ def getgm; end
3135
+ def getlocal(utc_offset = T.unsafe(nil)); end
3136
+ def getutc; end
3137
+ def gmtime; end
3138
+ def in(seconds); end
3139
+ def inspect; end
3140
+ def localtime(utc_offset = T.unsafe(nil)); end
3141
+ def midday; end
3142
+ def middle_of_day; end
3143
+ def midnight; end
3144
+ def noon; end
3145
+ def nsec; end
3146
+ def readable_inspect; end
3147
+ def seconds_since_midnight; end
3148
+ def seconds_until_end_of_day; end
3149
+ def since(seconds); end
3150
+ def subsec; end
3151
+ def to_f; end
3152
+ def to_formatted_s(format = T.unsafe(nil)); end
3153
+ def to_i; end
3154
+ def to_s(format = T.unsafe(nil)); end
3155
+ def to_time; end
3156
+ def usec; end
3157
+ def utc; end
3158
+ def utc?; end
3159
+ def utc_offset; end
3160
+
3161
+ private
3162
+
3163
+ def offset_in_seconds; end
3164
+ def seconds_since_unix_epoch; end
3165
+
3166
+ class << self
3167
+ def civil_from_format(utc_or_local, year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), min = T.unsafe(nil), sec = T.unsafe(nil)); end
3168
+ def current; end
3169
+ end
3170
+ end
3171
+
3172
+ module Digest::UUID
3173
+ class << self
3174
+ def uuid_from_hash(hash_class, uuid_namespace, name); end
3175
+ def uuid_v3(uuid_namespace, name); end
3176
+ def uuid_v4; end
3177
+ def uuid_v5(uuid_namespace, name); end
3178
+ end
3179
+ end
3180
+
3181
+ Digest::UUID::DNS_NAMESPACE = T.let(T.unsafe(nil), String)
3182
+ Digest::UUID::OID_NAMESPACE = T.let(T.unsafe(nil), String)
3183
+ Digest::UUID::URL_NAMESPACE = T.let(T.unsafe(nil), String)
3184
+ Digest::UUID::X500_NAMESPACE = T.let(T.unsafe(nil), String)
3185
+
3186
+ module ERB::Util
3187
+ private
3188
+
3189
+ def h(s); end
3190
+ def html_escape(s); end
3191
+ def html_escape_once(s); end
3192
+ def json_escape(s); end
3193
+ def unwrapped_html_escape(s); end
3194
+
3195
+ class << self
3196
+ def h(s); end
3197
+ def html_escape(s); end
3198
+ def html_escape_once(s); end
3199
+ def json_escape(s); end
3200
+ def unwrapped_html_escape(s); end
3201
+ end
3202
+ end
3203
+
3204
+ ERB::Util::HTML_ESCAPE = T.let(T.unsafe(nil), Hash)
3205
+ ERB::Util::HTML_ESCAPE_ONCE_REGEXP = T.let(T.unsafe(nil), Regexp)
3206
+ ERB::Util::JSON_ESCAPE = T.let(T.unsafe(nil), Hash)
3207
+ ERB::Util::JSON_ESCAPE_REGEXP = T.let(T.unsafe(nil), Regexp)
3208
+
3209
+ module Enumerable
3210
+ def as_json(options = T.unsafe(nil)); end
3211
+ def compact_blank; end
3212
+ def exclude?(object); end
3213
+ def excluding(*elements); end
3214
+ def including(*elements); end
3215
+ def index_by; end
3216
+ def index_with(default = T.unsafe(nil)); end
3217
+ def many?; end
3218
+ def pick(*keys); end
3219
+ def pluck(*keys); end
3220
+ def sum(identity = T.unsafe(nil), &block); end
3221
+ def without(*elements); end
3222
+ end
3223
+
3224
+ Enumerable::INDEX_WITH_DEFAULT = T.let(T.unsafe(nil), Object)
3225
+
3226
+ class Exception
3227
+ include ::ActiveSupport::Dependencies::Blamable
3228
+
3229
+ def as_json(options = T.unsafe(nil)); end
3230
+ end
3231
+
3232
+ class FalseClass
3233
+ include ::JSON::Ext::Generator::GeneratorMethods::FalseClass
3234
+
3235
+ def as_json(options = T.unsafe(nil)); end
3236
+ def blank?; end
3237
+ def to_param; end
3238
+ end
3239
+
3240
+ class Float < ::Numeric
3241
+ include ::ActiveSupport::NumericWithFormat
3242
+ include ::JSON::Ext::Generator::GeneratorMethods::Float
3243
+
3244
+ def as_json(options = T.unsafe(nil)); end
3245
+ end
3246
+
3247
+ class Hash
3248
+ include ::Enumerable
3249
+ include ::JSON::Ext::Generator::GeneratorMethods::Hash
3250
+
3251
+ def as_json(options = T.unsafe(nil)); end
3252
+ def assert_valid_keys(*valid_keys); end
3253
+ def compact_blank; end
3254
+ def compact_blank!; end
3255
+ def deep_dup; end
3256
+ def deep_merge(other_hash, &block); end
3257
+ def deep_merge!(other_hash, &block); end
3258
+ def deep_stringify_keys; end
3259
+ def deep_stringify_keys!; end
3260
+ def deep_symbolize_keys; end
3261
+ def deep_symbolize_keys!; end
3262
+ def deep_transform_keys(&block); end
3263
+ def deep_transform_keys!(&block); end
3264
+ def deep_transform_values(&block); end
3265
+ def deep_transform_values!(&block); end
3266
+ def except!(*keys); end
3267
+ def extract!(*keys); end
3268
+ def extractable_options?; end
3269
+ def nested_under_indifferent_access; end
3270
+ def reverse_merge(other_hash); end
3271
+ def reverse_merge!(other_hash); end
3272
+ def reverse_update(other_hash); end
3273
+ def slice!(*keys); end
3274
+ def stringify_keys; end
3275
+ def stringify_keys!; end
3276
+ def symbolize_keys; end
3277
+ def symbolize_keys!; end
3278
+ def to_options; end
3279
+ def to_options!; end
3280
+ def to_param(namespace = T.unsafe(nil)); end
3281
+ def to_query(namespace = T.unsafe(nil)); end
3282
+ def to_xml(options = T.unsafe(nil)); end
3283
+ def with_defaults(other_hash); end
3284
+ def with_defaults!(other_hash); end
3285
+ def with_indifferent_access; end
3286
+
3287
+ private
3288
+
3289
+ def _deep_transform_keys_in_object(object, &block); end
3290
+ def _deep_transform_keys_in_object!(object, &block); end
3291
+ def _deep_transform_values_in_object(object, &block); end
3292
+ def _deep_transform_values_in_object!(object, &block); end
3293
+
3294
+ class << self
3295
+ def from_trusted_xml(xml); end
3296
+ def from_xml(xml, disallowed_types = T.unsafe(nil)); end
3297
+ end
3298
+ end
3299
+
3300
+ HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess
3301
+
3302
+ class IO
3303
+ include ::Enumerable
3304
+ include ::File::Constants
3305
+
3306
+ def as_json(options = T.unsafe(nil)); end
3307
+ end
3308
+
3309
+ class IO::ConsoleMode
3310
+ def echo=(_arg0); end
3311
+ def raw(*_arg0); end
3312
+ def raw!(*_arg0); end
3313
+
3314
+ private
3315
+
3316
+ def initialize_copy(_arg0); end
3317
+ end
3318
+
3319
+ class IO::EAGAINWaitReadable < ::Errno::EAGAIN
3320
+ include ::IO::WaitReadable
3321
+ end
3322
+
3323
+ class IO::EAGAINWaitWritable < ::Errno::EAGAIN
3324
+ include ::IO::WaitWritable
3325
+ end
3326
+
3327
+ class IO::EINPROGRESSWaitReadable < ::Errno::EINPROGRESS
3328
+ include ::IO::WaitReadable
3329
+ end
3330
+
3331
+ class IO::EINPROGRESSWaitWritable < ::Errno::EINPROGRESS
3332
+ include ::IO::WaitWritable
3333
+ end
3334
+
3335
+ IO::EWOULDBLOCKWaitReadable = IO::EAGAINWaitReadable
3336
+ IO::EWOULDBLOCKWaitWritable = IO::EAGAINWaitWritable
3337
+ IO::PRIORITY = T.let(T.unsafe(nil), Integer)
3338
+ IO::READABLE = T.let(T.unsafe(nil), Integer)
3339
+ IO::WRITABLE = T.let(T.unsafe(nil), Integer)
3340
+
3341
+ class IPAddr
3342
+ include ::Comparable
3343
+
3344
+ def as_json(options = T.unsafe(nil)); end
3345
+ end
3346
+
3347
+ class Integer < ::Numeric
3348
+ include ::ActiveSupport::NumericWithFormat
3349
+ include ::JSON::Ext::Generator::GeneratorMethods::Integer
3350
+
3351
+ def month; end
3352
+ def months; end
3353
+ def multiple_of?(number); end
3354
+ def ordinal; end
3355
+ def ordinalize; end
3356
+ def year; end
3357
+ def years; end
3358
+ end
3359
+
3360
+ Integer::GMP_VERSION = T.let(T.unsafe(nil), String)
3361
+
3362
+ module Kernel
3363
+ def class_eval(*args, &block); end
3364
+
3365
+ private
3366
+
3367
+ def concern(topic, &module_definition); end
3368
+ def enable_warnings; end
3369
+ def silence_warnings; end
3370
+ def suppress(*exception_classes); end
3371
+ def with_warnings(flag); end
3372
+
3373
+ class << self
3374
+ def concern(topic, &module_definition); end
3375
+ def enable_warnings; end
3376
+ def silence_warnings; end
3377
+ def suppress(*exception_classes); end
3378
+ def with_warnings(flag); end
3379
+ end
3380
+ end
3381
+
3382
+ class LoadError < ::ScriptError
3383
+ include ::DidYouMean::Correctable
3384
+
3385
+ def is_missing?(location); end
3386
+ end
3387
+
3388
+ class Method
3389
+ include ::MethodSource::SourceLocation::MethodExtensions
3390
+ include ::MethodSource::MethodExtensions
3391
+
3392
+ def duplicable?; end
3393
+ end
3394
+
3395
+ class Module
3396
+ include ::Module::Concerning
3397
+ include ::ActiveSupport::Dependencies::ModuleConstMissing
3398
+
3399
+ def alias_attribute(new_name, old_name); end
3400
+ def anonymous?; end
3401
+ def attr_internal(*attrs); end
3402
+ def attr_internal_accessor(*attrs); end
3403
+ def attr_internal_reader(*attrs); end
3404
+ def attr_internal_writer(*attrs); end
3405
+ def cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end
3406
+ def cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3407
+ def cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3408
+ def delegate(*methods, to: T.unsafe(nil), prefix: T.unsafe(nil), allow_nil: T.unsafe(nil), private: T.unsafe(nil)); end
3409
+ def delegate_missing_to(target, allow_nil: T.unsafe(nil)); end
3410
+ def deprecate(*method_names); end
3411
+ def mattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end
3412
+ def mattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3413
+ def mattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3414
+ def method_visibility(method); end
3415
+ def module_parent; end
3416
+ def module_parent_name; end
3417
+ def module_parents; end
3418
+ def redefine_method(method, &block); end
3419
+ def redefine_singleton_method(method, &block); end
3420
+ def remove_possible_method(method); end
3421
+ def remove_possible_singleton_method(method); end
3422
+ def silence_redefinition_of_method(method); end
3423
+ def thread_cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end
3424
+ def thread_cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end
3425
+ def thread_cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end
3426
+ def thread_mattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end
3427
+ def thread_mattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end
3428
+ def thread_mattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end
3429
+
3430
+ private
3431
+
3432
+ def attr_internal_define(attr_name, type); end
3433
+ def attr_internal_ivar_name(attr); end
3434
+
3435
+ class << self
3436
+ def attr_internal_naming_format; end
3437
+ def attr_internal_naming_format=(_arg0); end
3438
+ end
3439
+ end
3440
+
3441
+ module Module::Concerning
3442
+ def concern(topic, &module_definition); end
3443
+ def concerning(topic, prepend: T.unsafe(nil), &block); end
3444
+ end
3445
+
3446
+ Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
3447
+ Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set)
3448
+ class Module::DelegationError < ::NoMethodError; end
3449
+ Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
3450
+
3451
+ class NameError < ::StandardError
3452
+ include ::DidYouMean::Correctable
3453
+
3454
+ def missing_name; end
3455
+ def missing_name?(name); end
3456
+
3457
+ private
3458
+
3459
+ def real_mod_name(mod); end
3460
+ end
3461
+
3462
+ NameError::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod)
3463
+
3464
+ class NilClass
3465
+ include ::JSON::Ext::Generator::GeneratorMethods::NilClass
3466
+
3467
+ def as_json(options = T.unsafe(nil)); end
3468
+ def blank?; end
3469
+ def to_param; end
3470
+ def try(_method_name = T.unsafe(nil), *_arg1); end
3471
+ def try!(_method_name = T.unsafe(nil), *_arg1); end
3472
+ end
3473
+
3474
+ class Numeric
3475
+ include ::Comparable
3476
+
3477
+ def as_json(options = T.unsafe(nil)); end
3478
+ def blank?; end
3479
+ def byte; end
3480
+ def bytes; end
3481
+ def day; end
3482
+ def days; end
3483
+ def exabyte; end
3484
+ def exabytes; end
3485
+ def fortnight; end
3486
+ def fortnights; end
3487
+ def gigabyte; end
3488
+ def gigabytes; end
3489
+ def hour; end
3490
+ def hours; end
3491
+ def html_safe?; end
3492
+ def in_milliseconds; end
3493
+ def kilobyte; end
3494
+ def kilobytes; end
3495
+ def megabyte; end
3496
+ def megabytes; end
3497
+ def minute; end
3498
+ def minutes; end
3499
+ def petabyte; end
3500
+ def petabytes; end
3501
+ def second; end
3502
+ def seconds; end
3503
+ def terabyte; end
3504
+ def terabytes; end
3505
+ def week; end
3506
+ def weeks; end
3507
+ end
3508
+
3509
+ Numeric::EXABYTE = T.let(T.unsafe(nil), Integer)
3510
+ Numeric::GIGABYTE = T.let(T.unsafe(nil), Integer)
3511
+ Numeric::KILOBYTE = T.let(T.unsafe(nil), Integer)
3512
+ Numeric::MEGABYTE = T.let(T.unsafe(nil), Integer)
3513
+ Numeric::PETABYTE = T.let(T.unsafe(nil), Integer)
3514
+ Numeric::TERABYTE = T.let(T.unsafe(nil), Integer)
3515
+
3516
+ class Object < ::BasicObject
3517
+ include ::ActiveSupport::ToJsonWithActiveSupportEncoder
3518
+ include ::ActiveSupport::ForkTracker::CoreExt
3519
+ include ::ActiveSupport::ForkTracker::CoreExtPrivate
3520
+ include ::Kernel
3521
+ include ::ActiveSupport::ForkTracker::CoreExt
3522
+ include ::ActiveSupport::ForkTracker::CoreExtPrivate
3523
+ include ::JSON::Ext::Generator::GeneratorMethods::Object
3524
+ include ::PP::ObjectMixin
3525
+ include ::ActiveSupport::Tryable
3526
+ include ::ActiveSupport::Dependencies::Loadable
3527
+
3528
+ def acts_like?(duck); end
3529
+ def as_json(options = T.unsafe(nil)); end
3530
+ def blank?; end
3531
+ def deep_dup; end
3532
+ def duplicable?; end
3533
+ def html_safe?; end
3534
+ def in?(another_object); end
3535
+ def instance_values; end
3536
+ def instance_variable_names; end
3537
+ def presence; end
3538
+ def presence_in(another_object); end
3539
+ def present?; end
3540
+ def to_param; end
3541
+ def to_query(key); end
3542
+ def with_options(options, &block); end
3543
+ end
3544
+
3545
+ class Pathname
3546
+ def as_json(options = T.unsafe(nil)); end
3547
+ end
3548
+
3549
+ class Process::Status
3550
+ def as_json(options = T.unsafe(nil)); end
3551
+ end
3552
+
3553
+ class Range
3554
+ include ::ActiveSupport::RangeWithFormat
3555
+ include ::ActiveSupport::CompareWithRange
3556
+ include ::ActiveSupport::IncludeTimeWithZone
3557
+ include ::ActiveSupport::EachTimeWithZone
3558
+ include ::Enumerable
3559
+
3560
+ def as_json(options = T.unsafe(nil)); end
3561
+ def overlaps?(other); end
3562
+ def sum(identity = T.unsafe(nil)); end
3563
+ end
3564
+
3565
+ class Regexp
3566
+ def as_json(options = T.unsafe(nil)); end
3567
+ def multiline?; end
3568
+ end
3569
+
3570
+ module SecureRandom
3571
+ extend ::Random::Formatter
3572
+
3573
+ class << self
3574
+ def base36(n = T.unsafe(nil)); end
3575
+ def base58(n = T.unsafe(nil)); end
3576
+ end
3577
+ end
3578
+
3579
+ SecureRandom::BASE36_ALPHABET = T.let(T.unsafe(nil), Array)
3580
+ SecureRandom::BASE58_ALPHABET = T.let(T.unsafe(nil), Array)
3581
+
3582
+ class String
3583
+ include ::Comparable
3584
+ include ::JSON::Ext::Generator::GeneratorMethods::String
3585
+ include ::Colorize::InstanceMethods
3586
+ extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
3587
+ extend ::Colorize::ClassMethods
3588
+
3589
+ def acts_like_string?; end
3590
+ def as_json(options = T.unsafe(nil)); end
3591
+ def at(position); end
3592
+ def blank?; end
3593
+ def camelcase(first_letter = T.unsafe(nil)); end
3594
+ def camelize(first_letter = T.unsafe(nil)); end
3595
+ def classify; end
3596
+ def constantize; end
3597
+ def dasherize; end
3598
+ def deconstantize; end
3599
+ def demodulize; end
3600
+ def exclude?(string); end
3601
+ def first(limit = T.unsafe(nil)); end
3602
+ def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
3603
+ def from(position); end
3604
+ def html_safe; end
3605
+ def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
3606
+ def in_time_zone(zone = T.unsafe(nil)); end
3607
+ def indent(amount, indent_string = T.unsafe(nil), indent_empty_lines = T.unsafe(nil)); end
3608
+ def indent!(amount, indent_string = T.unsafe(nil), indent_empty_lines = T.unsafe(nil)); end
3609
+ def inquiry; end
3610
+ def is_utf8?; end
3611
+ def last(limit = T.unsafe(nil)); end
3612
+ def mb_chars; end
3613
+ def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
3614
+ def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end
3615
+ def remove(*patterns); end
3616
+ def remove!(*patterns); end
3617
+ def safe_constantize; end
3618
+ def singularize(locale = T.unsafe(nil)); end
3619
+ def squish; end
3620
+ def squish!; end
3621
+ def strip_heredoc; end
3622
+ def tableize; end
3623
+ def titlecase(keep_id_suffix: T.unsafe(nil)); end
3624
+ def titleize(keep_id_suffix: T.unsafe(nil)); end
3625
+ def to(position); end
3626
+ def to_date; end
3627
+ def to_datetime; end
3628
+ def to_time(form = T.unsafe(nil)); end
3629
+ def truncate(truncate_at, options = T.unsafe(nil)); end
3630
+ def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end
3631
+ def truncate_words(words_count, options = T.unsafe(nil)); end
3632
+
3633
+ sig { returns(String) }
3634
+ def underscore; end
3635
+
3636
+ def upcase_first; end
3637
+ end
3638
+
3639
+ String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
3640
+ String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
3641
+
3642
+ class Struct
3643
+ include ::Enumerable
3644
+
3645
+ def as_json(options = T.unsafe(nil)); end
3646
+ end
3647
+
3648
+ Struct::CompletionJourneyData = Struct
3649
+ Struct::Group = Etc::Group
3650
+ Struct::Key = Struct
3651
+ Struct::MenuInfo = Struct
3652
+ Struct::Passwd = Etc::Passwd
3653
+
3654
+ class Symbol
3655
+ include ::Comparable
3656
+
3657
+ def as_json(options = T.unsafe(nil)); end
3658
+ end
3659
+
3660
+ class Time
3661
+ include ::Comparable
3662
+ include ::DateAndTime::Zones
3663
+ include ::DateAndTime::Calculations
3664
+ include ::DateAndTime::Compatibility
3665
+
3666
+ def +(other); end
3667
+ def -(other); end
3668
+ def <=>(other); end
3669
+ def acts_like_time?; end
3670
+ def advance(options); end
3671
+ def ago(seconds); end
3672
+ def as_json(options = T.unsafe(nil)); end
3673
+ def at_beginning_of_day; end
3674
+ def at_beginning_of_hour; end
3675
+ def at_beginning_of_minute; end
3676
+ def at_end_of_day; end
3677
+ def at_end_of_hour; end
3678
+ def at_end_of_minute; end
3679
+ def at_midday; end
3680
+ def at_middle_of_day; end
3681
+ def at_midnight; end
3682
+ def at_noon; end
3683
+ def beginning_of_day; end
3684
+ def beginning_of_hour; end
3685
+ def beginning_of_minute; end
3686
+ def blank?; end
3687
+ def change(options); end
3688
+ def compare_with_coercion(other); end
3689
+ def end_of_day; end
3690
+ def end_of_hour; end
3691
+ def end_of_minute; end
3692
+ def eql?(other); end
3693
+ def eql_with_coercion(other); end
3694
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
3695
+ def in(seconds); end
3696
+ def midday; end
3697
+ def middle_of_day; end
3698
+ def midnight; end
3699
+ def minus_with_coercion(other); end
3700
+ def minus_with_duration(other); end
3701
+ def minus_without_coercion(other); end
3702
+ def next_day(days = T.unsafe(nil)); end
3703
+ def next_month(months = T.unsafe(nil)); end
3704
+ def next_year(years = T.unsafe(nil)); end
3705
+ def noon; end
3706
+ def plus_with_duration(other); end
3707
+ def prev_day(days = T.unsafe(nil)); end
3708
+ def prev_month(months = T.unsafe(nil)); end
3709
+ def prev_year(years = T.unsafe(nil)); end
3710
+ def sec_fraction; end
3711
+ def seconds_since_midnight; end
3712
+ def seconds_until_end_of_day; end
3713
+ def since(seconds); end
3714
+ def to_formatted_s(format = T.unsafe(nil)); end
3715
+ def to_s(format = T.unsafe(nil)); end
3716
+ def to_time; end
3717
+
3718
+ class << self
3719
+ def ===(other); end
3720
+ def at(*args); end
3721
+ def at_with_coercion(*args); end
3722
+ def current; end
3723
+ def days_in_month(month, year = T.unsafe(nil)); end
3724
+ def days_in_year(year = T.unsafe(nil)); end
3725
+ def find_zone(time_zone); end
3726
+ def find_zone!(time_zone); end
3727
+ def rfc3339(str); end
3728
+ def use_zone(time_zone); end
3729
+ def zone; end
3730
+ def zone=(time_zone); end
3731
+ def zone_default; end
3732
+ def zone_default=(_arg0); end
3733
+ end
3734
+ end
3735
+
3736
+ Time::COMMON_YEAR_DAYS_IN_MONTH = T.let(T.unsafe(nil), Array)
3737
+ Time::DATE_FORMATS = T.let(T.unsafe(nil), Hash)
3738
+
3739
+ class TrueClass
3740
+ include ::JSON::Ext::Generator::GeneratorMethods::TrueClass
3741
+
3742
+ def as_json(options = T.unsafe(nil)); end
3743
+ def blank?; end
3744
+ def to_param; end
3745
+ end
3746
+
3747
+ module URI
3748
+ include ::URI::RFC2396_REGEXP
3749
+
3750
+ class << self
3751
+ def parser; end
3752
+ end
3753
+ end
3754
+
3755
+ class URI::Generic
3756
+ include ::URI::RFC2396_REGEXP
3757
+ include ::URI
3758
+
3759
+ def as_json(options = T.unsafe(nil)); end
3760
+ end
3761
+
3762
+ URI::Parser = URI::RFC2396_Parser
3763
+ URI::REGEXP = URI::RFC2396_REGEXP
3764
+
3765
+ class UnboundMethod
3766
+ include ::MethodSource::SourceLocation::UnboundMethodExtensions
3767
+ include ::MethodSource::MethodExtensions
3768
+
3769
+ def duplicable?; end
3770
+ end