packwerk 2.2.0 → 2.2.2

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