mangadex 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +81 -0
- data/LICENSE.txt +21 -0
- data/README.md +42 -0
- data/Rakefile +6 -0
- data/bin/console +23 -0
- data/bin/setup +8 -0
- data/lib/extensions.rb +12 -0
- data/lib/mangadex/README.md +93 -0
- data/lib/mangadex/api/context.rb +53 -0
- data/lib/mangadex/api/response.rb +104 -0
- data/lib/mangadex/api/user.rb +48 -0
- data/lib/mangadex/api/version.rb +21 -0
- data/lib/mangadex/api.rb +5 -0
- data/lib/mangadex/artist.rb +13 -0
- data/lib/mangadex/auth.rb +56 -0
- data/lib/mangadex/author.rb +101 -0
- data/lib/mangadex/chapter.rb +105 -0
- data/lib/mangadex/content_rating.rb +75 -0
- data/lib/mangadex/cover_art.rb +93 -0
- data/lib/mangadex/custom_list.rb +127 -0
- data/lib/mangadex/internal/definition.rb +162 -0
- data/lib/mangadex/internal/request.rb +121 -0
- data/lib/mangadex/internal/with_attributes.rb +120 -0
- data/lib/mangadex/internal.rb +3 -0
- data/lib/mangadex/manga.rb +188 -0
- data/lib/mangadex/mangadex_object.rb +62 -0
- data/lib/mangadex/relationship.rb +46 -0
- data/lib/mangadex/report_reason.rb +39 -0
- data/lib/mangadex/scanlation_group.rb +97 -0
- data/lib/mangadex/sorbet.rb +42 -0
- data/lib/mangadex/tag.rb +10 -0
- data/lib/mangadex/types.rb +24 -0
- data/lib/mangadex/upload.rb +78 -0
- data/lib/mangadex/user.rb +103 -0
- data/lib/mangadex/version.rb +4 -0
- data/lib/mangadex.rb +35 -0
- data/mangadex.gemspec +35 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport.rbi +1267 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1662 -0
- data/sorbet/rbi/gems/domain_name.rbi +52 -0
- data/sorbet/rbi/gems/http-accept.rbi +101 -0
- data/sorbet/rbi/gems/http-cookie.rbi +119 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/netrc.rbi +51 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/psych.rbi +471 -0
- data/sorbet/rbi/gems/rake.rbi +660 -0
- data/sorbet/rbi/gems/rest-client.rbi +454 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1939 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1150 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/tzinfo.rbi +586 -0
- data/sorbet/rbi/gems/unf.rbi +19 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +3942 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +8210 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/todo.rbi +7 -0
- metadata +243 -0
|
@@ -0,0 +1,1267 @@
|
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
|
2
|
+
# srb rbi gems
|
|
3
|
+
|
|
4
|
+
# typed: true
|
|
5
|
+
#
|
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
|
7
|
+
#
|
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/activesupport/all/activesupport.rbi
|
|
9
|
+
#
|
|
10
|
+
# activesupport-6.1.4.1
|
|
11
|
+
|
|
12
|
+
class Hash
|
|
13
|
+
def _deep_transform_keys_in_object!(object, &block); end
|
|
14
|
+
def _deep_transform_keys_in_object(object, &block); end
|
|
15
|
+
def assert_valid_keys(*valid_keys); end
|
|
16
|
+
def blank?; end
|
|
17
|
+
def compact_blank!; end
|
|
18
|
+
def compact_blank; end
|
|
19
|
+
def deep_merge!(other_hash, &block); end
|
|
20
|
+
def deep_merge(other_hash, &block); end
|
|
21
|
+
def deep_stringify_keys!; end
|
|
22
|
+
def deep_stringify_keys; end
|
|
23
|
+
def deep_symbolize_keys!; end
|
|
24
|
+
def deep_symbolize_keys; end
|
|
25
|
+
def deep_transform_keys!(&block); end
|
|
26
|
+
def deep_transform_keys(&block); end
|
|
27
|
+
def except!(*keys); end
|
|
28
|
+
def except(*keys); end
|
|
29
|
+
def extract!(*keys); end
|
|
30
|
+
def extractable_options?; end
|
|
31
|
+
def reverse_merge!(other_hash); end
|
|
32
|
+
def reverse_merge(other_hash); end
|
|
33
|
+
def reverse_update(other_hash); end
|
|
34
|
+
def slice!(*keys); end
|
|
35
|
+
def stringify_keys!; end
|
|
36
|
+
def stringify_keys; end
|
|
37
|
+
def symbolize_keys!; end
|
|
38
|
+
def symbolize_keys; end
|
|
39
|
+
def to_options!; end
|
|
40
|
+
def to_options; end
|
|
41
|
+
def to_param(namespace = nil); end
|
|
42
|
+
def to_query(namespace = nil); end
|
|
43
|
+
def with_defaults!(other_hash); end
|
|
44
|
+
def with_defaults(other_hash); end
|
|
45
|
+
end
|
|
46
|
+
module ActiveSupport
|
|
47
|
+
def self.eager_load!; end
|
|
48
|
+
def self.gem_version; end
|
|
49
|
+
def self.test_order; end
|
|
50
|
+
def self.test_order=(val); end
|
|
51
|
+
def self.to_time_preserves_timezone; end
|
|
52
|
+
def self.to_time_preserves_timezone=(value); end
|
|
53
|
+
def self.utc_to_local_returns_utc_offset_times; end
|
|
54
|
+
def self.utc_to_local_returns_utc_offset_times=(value); end
|
|
55
|
+
def self.version; end
|
|
56
|
+
def test_order; end
|
|
57
|
+
def test_order=(val); end
|
|
58
|
+
extend ActiveSupport::Autoload
|
|
59
|
+
extend ActiveSupport::LazyLoadHooks
|
|
60
|
+
end
|
|
61
|
+
module ActiveSupport::LazyLoadHooks
|
|
62
|
+
def execute_hook(name, base, options, block); end
|
|
63
|
+
def on_load(name, options = nil, &block); end
|
|
64
|
+
def run_load_hooks(name, base = nil); end
|
|
65
|
+
def self.extended(base); end
|
|
66
|
+
def with_execution_control(name, block, once); end
|
|
67
|
+
end
|
|
68
|
+
module ActiveSupport::Inflector
|
|
69
|
+
def apply_inflections(word, rules, locale = nil); end
|
|
70
|
+
def camelize(term, uppercase_first_letter = nil); end
|
|
71
|
+
def classify(table_name); end
|
|
72
|
+
def const_regexp(camel_cased_word); end
|
|
73
|
+
def constantize(camel_cased_word); end
|
|
74
|
+
def dasherize(underscored_word); end
|
|
75
|
+
def deconstantize(path); end
|
|
76
|
+
def demodulize(path); end
|
|
77
|
+
def foreign_key(class_name, separate_class_name_and_id_with_underscore = nil); end
|
|
78
|
+
def humanize(lower_case_and_underscored_word, capitalize: nil, keep_id_suffix: nil); end
|
|
79
|
+
def inflections(locale = nil); end
|
|
80
|
+
def ordinal(number); end
|
|
81
|
+
def ordinalize(number); end
|
|
82
|
+
def parameterize(string, separator: nil, preserve_case: nil, locale: nil); end
|
|
83
|
+
def pluralize(word, locale = nil); end
|
|
84
|
+
def safe_constantize(camel_cased_word); end
|
|
85
|
+
def singularize(word, locale = nil); end
|
|
86
|
+
def tableize(class_name); end
|
|
87
|
+
def titleize(word, keep_id_suffix: nil); end
|
|
88
|
+
def transliterate(string, replacement = nil, locale: nil); end
|
|
89
|
+
def underscore(camel_cased_word); end
|
|
90
|
+
def upcase_first(string); end
|
|
91
|
+
extend ActiveSupport::Inflector
|
|
92
|
+
extend ActiveSupport::Inflector
|
|
93
|
+
end
|
|
94
|
+
class ActiveSupport::Inflector::Inflections
|
|
95
|
+
def acronym(word); end
|
|
96
|
+
def acronyms; end
|
|
97
|
+
def acronyms_camelize_regex; end
|
|
98
|
+
def acronyms_underscore_regex; end
|
|
99
|
+
def clear(scope = nil); end
|
|
100
|
+
def define_acronym_regex_patterns; end
|
|
101
|
+
def human(rule, replacement); end
|
|
102
|
+
def humans; end
|
|
103
|
+
def initialize; end
|
|
104
|
+
def initialize_dup(orig); end
|
|
105
|
+
def irregular(singular, plural); end
|
|
106
|
+
def plural(rule, replacement); end
|
|
107
|
+
def plurals; end
|
|
108
|
+
def self.instance(locale = nil); end
|
|
109
|
+
def singular(rule, replacement); end
|
|
110
|
+
def singulars; end
|
|
111
|
+
def uncountable(*words); end
|
|
112
|
+
def uncountables; end
|
|
113
|
+
end
|
|
114
|
+
class ActiveSupport::Inflector::Inflections::Uncountables < Array
|
|
115
|
+
def <<(*word); end
|
|
116
|
+
def add(words); end
|
|
117
|
+
def delete(entry); end
|
|
118
|
+
def initialize; end
|
|
119
|
+
def to_regex(string); end
|
|
120
|
+
def uncountable?(str); end
|
|
121
|
+
end
|
|
122
|
+
class Object < BasicObject
|
|
123
|
+
def acts_like?(duck); end
|
|
124
|
+
def blank?; end
|
|
125
|
+
def presence; end
|
|
126
|
+
def present?; end
|
|
127
|
+
def to_param; end
|
|
128
|
+
def to_query(key); end
|
|
129
|
+
include ActiveSupport::Dependencies::Loadable
|
|
130
|
+
include ActiveSupport::Tryable
|
|
131
|
+
end
|
|
132
|
+
class NilClass
|
|
133
|
+
def blank?; end
|
|
134
|
+
def to_param; end
|
|
135
|
+
def try!(_method_name = nil, *arg1); end
|
|
136
|
+
def try(_method_name = nil, *arg1); end
|
|
137
|
+
end
|
|
138
|
+
class FalseClass
|
|
139
|
+
def blank?; end
|
|
140
|
+
def to_param; end
|
|
141
|
+
end
|
|
142
|
+
class TrueClass
|
|
143
|
+
def blank?; end
|
|
144
|
+
def to_param; end
|
|
145
|
+
end
|
|
146
|
+
class Array
|
|
147
|
+
def blank?; end
|
|
148
|
+
def compact_blank!; end
|
|
149
|
+
def extract_options!; end
|
|
150
|
+
def to_default_s; end
|
|
151
|
+
def to_formatted_s(format = nil); end
|
|
152
|
+
def to_param; end
|
|
153
|
+
def to_query(key); end
|
|
154
|
+
def to_sentence(options = nil); end
|
|
155
|
+
def to_xml(options = nil); end
|
|
156
|
+
end
|
|
157
|
+
class String
|
|
158
|
+
def blank?; end
|
|
159
|
+
def camelcase(first_letter = nil); end
|
|
160
|
+
def camelize(first_letter = nil); end
|
|
161
|
+
def classify; end
|
|
162
|
+
def constantize; end
|
|
163
|
+
def dasherize; end
|
|
164
|
+
def deconstantize; end
|
|
165
|
+
def demodulize; end
|
|
166
|
+
def foreign_key(separate_class_name_and_id_with_underscore = nil); end
|
|
167
|
+
def humanize(capitalize: nil, keep_id_suffix: nil); end
|
|
168
|
+
def is_utf8?; end
|
|
169
|
+
def mb_chars; end
|
|
170
|
+
def parameterize(separator: nil, preserve_case: nil, locale: nil); end
|
|
171
|
+
def pluralize(count = nil, locale = nil); end
|
|
172
|
+
def remove!(*patterns); end
|
|
173
|
+
def remove(*patterns); end
|
|
174
|
+
def safe_constantize; end
|
|
175
|
+
def singularize(locale = nil); end
|
|
176
|
+
def squish!; end
|
|
177
|
+
def squish; end
|
|
178
|
+
def tableize; end
|
|
179
|
+
def titlecase(keep_id_suffix: nil); end
|
|
180
|
+
def titleize(keep_id_suffix: nil); end
|
|
181
|
+
def truncate(truncate_at, options = nil); end
|
|
182
|
+
def truncate_bytes(truncate_at, omission: nil); end
|
|
183
|
+
def truncate_words(words_count, options = nil); end
|
|
184
|
+
def underscore; end
|
|
185
|
+
def upcase_first; end
|
|
186
|
+
end
|
|
187
|
+
class Numeric
|
|
188
|
+
def blank?; end
|
|
189
|
+
end
|
|
190
|
+
class Time
|
|
191
|
+
def acts_like_time?; end
|
|
192
|
+
def advance(options); end
|
|
193
|
+
def ago(seconds); end
|
|
194
|
+
def at_beginning_of_day; end
|
|
195
|
+
def at_beginning_of_hour; end
|
|
196
|
+
def at_beginning_of_minute; end
|
|
197
|
+
def at_end_of_day; end
|
|
198
|
+
def at_end_of_hour; end
|
|
199
|
+
def at_end_of_minute; end
|
|
200
|
+
def at_midday; end
|
|
201
|
+
def at_middle_of_day; end
|
|
202
|
+
def at_midnight; end
|
|
203
|
+
def at_noon; end
|
|
204
|
+
def beginning_of_day; end
|
|
205
|
+
def beginning_of_hour; end
|
|
206
|
+
def beginning_of_minute; end
|
|
207
|
+
def blank?; end
|
|
208
|
+
def ceil(precision = nil); end
|
|
209
|
+
def change(options); end
|
|
210
|
+
def compare_with_coercion(other); end
|
|
211
|
+
def compare_without_coercion(arg0); end
|
|
212
|
+
def end_of_day; end
|
|
213
|
+
def end_of_hour; end
|
|
214
|
+
def end_of_minute; end
|
|
215
|
+
def eql_with_coercion(other); end
|
|
216
|
+
def eql_without_coercion(arg0); end
|
|
217
|
+
def floor(precision = nil); end
|
|
218
|
+
def formatted_offset(colon = nil, alternate_utc_string = nil); end
|
|
219
|
+
def in(seconds); end
|
|
220
|
+
def midday; end
|
|
221
|
+
def middle_of_day; end
|
|
222
|
+
def midnight; end
|
|
223
|
+
def minus_with_coercion(other); end
|
|
224
|
+
def minus_with_duration(other); end
|
|
225
|
+
def minus_without_coercion(other); end
|
|
226
|
+
def minus_without_duration(arg0); end
|
|
227
|
+
def next_day(days = nil); end
|
|
228
|
+
def next_month(months = nil); end
|
|
229
|
+
def next_year(years = nil); end
|
|
230
|
+
def noon; end
|
|
231
|
+
def plus_with_duration(other); end
|
|
232
|
+
def plus_without_duration(arg0); end
|
|
233
|
+
def prev_day(days = nil); end
|
|
234
|
+
def prev_month(months = nil); end
|
|
235
|
+
def prev_year(years = nil); end
|
|
236
|
+
def rfc3339(fraction_digits = nil); end
|
|
237
|
+
def sec_fraction; end
|
|
238
|
+
def seconds_since_midnight; end
|
|
239
|
+
def seconds_until_end_of_day; end
|
|
240
|
+
def self.===(other); end
|
|
241
|
+
def self.at_with_coercion(*args); end
|
|
242
|
+
def self.at_without_coercion(*arg0); end
|
|
243
|
+
def self.current; end
|
|
244
|
+
def self.days_in_month(month, year = nil); end
|
|
245
|
+
def self.days_in_year(year = nil); end
|
|
246
|
+
def self.find_zone!(time_zone); end
|
|
247
|
+
def self.find_zone(time_zone); end
|
|
248
|
+
def self.rfc3339(str); end
|
|
249
|
+
def self.use_zone(time_zone); end
|
|
250
|
+
def self.zone; end
|
|
251
|
+
def self.zone=(time_zone); end
|
|
252
|
+
def self.zone_default; end
|
|
253
|
+
def self.zone_default=(arg0); end
|
|
254
|
+
def since(seconds); end
|
|
255
|
+
def to_default_s; end
|
|
256
|
+
def to_formatted_s(format = nil); end
|
|
257
|
+
include DateAndTime::Calculations
|
|
258
|
+
include DateAndTime::Zones
|
|
259
|
+
end
|
|
260
|
+
module ActiveSupport::Autoload
|
|
261
|
+
def autoload(const_name, path = nil); end
|
|
262
|
+
def autoload_at(path); end
|
|
263
|
+
def autoload_under(path); end
|
|
264
|
+
def autoloads; end
|
|
265
|
+
def eager_autoload; end
|
|
266
|
+
def eager_load!; end
|
|
267
|
+
def self.extended(base); end
|
|
268
|
+
end
|
|
269
|
+
module ActiveSupport::VERSION
|
|
270
|
+
end
|
|
271
|
+
module ActiveSupport::Concern
|
|
272
|
+
def append_features(base); end
|
|
273
|
+
def class_methods(&class_methods_module_definition); end
|
|
274
|
+
def included(base = nil, &block); end
|
|
275
|
+
def prepend_features(base); end
|
|
276
|
+
def prepended(base = nil, &block); end
|
|
277
|
+
def self.extended(base); end
|
|
278
|
+
end
|
|
279
|
+
class ActiveSupport::Concern::MultipleIncludedBlocks < StandardError
|
|
280
|
+
def initialize; end
|
|
281
|
+
end
|
|
282
|
+
class ActiveSupport::Concern::MultiplePrependBlocks < StandardError
|
|
283
|
+
def initialize; end
|
|
284
|
+
end
|
|
285
|
+
class Module
|
|
286
|
+
def alias_attribute(new_name, old_name); end
|
|
287
|
+
def anonymous?; end
|
|
288
|
+
def cattr_accessor(*syms, instance_reader: nil, instance_writer: nil, instance_accessor: nil, default: nil, &blk); end
|
|
289
|
+
def cattr_reader(*syms, instance_reader: nil, instance_accessor: nil, default: nil, location: nil); end
|
|
290
|
+
def cattr_writer(*syms, instance_writer: nil, instance_accessor: nil, default: nil, location: nil); end
|
|
291
|
+
def delegate(*methods, to: nil, prefix: nil, allow_nil: nil, private: nil); end
|
|
292
|
+
def delegate_missing_to(target, allow_nil: nil); end
|
|
293
|
+
def mattr_accessor(*syms, instance_reader: nil, instance_writer: nil, instance_accessor: nil, default: nil, &blk); end
|
|
294
|
+
def mattr_reader(*syms, instance_reader: nil, instance_accessor: nil, default: nil, location: nil); end
|
|
295
|
+
def mattr_writer(*syms, instance_writer: nil, instance_accessor: nil, default: nil, location: nil); end
|
|
296
|
+
def method_visibility(method); end
|
|
297
|
+
def module_parent; end
|
|
298
|
+
def module_parent_name; end
|
|
299
|
+
def module_parents; end
|
|
300
|
+
def redefine_method(method, &block); end
|
|
301
|
+
def redefine_singleton_method(method, &block); end
|
|
302
|
+
def remove_possible_method(method); end
|
|
303
|
+
def remove_possible_singleton_method(method); end
|
|
304
|
+
def silence_redefinition_of_method(method); end
|
|
305
|
+
include ActiveSupport::Dependencies::ModuleConstMissing
|
|
306
|
+
end
|
|
307
|
+
module ActiveSupport::LoggerThreadSafeLevel
|
|
308
|
+
def add(severity, message = nil, progname = nil, &block); end
|
|
309
|
+
def debug?; end
|
|
310
|
+
def error?; end
|
|
311
|
+
def fatal?; end
|
|
312
|
+
def info?; end
|
|
313
|
+
def level; end
|
|
314
|
+
def local_level; end
|
|
315
|
+
def local_level=(level); end
|
|
316
|
+
def local_log_id; end
|
|
317
|
+
def log_at(level); end
|
|
318
|
+
def unknown?; end
|
|
319
|
+
def warn?; end
|
|
320
|
+
extend ActiveSupport::Concern
|
|
321
|
+
end
|
|
322
|
+
module ActiveSupport::LoggerSilence
|
|
323
|
+
def silence(severity = nil); end
|
|
324
|
+
extend ActiveSupport::Concern
|
|
325
|
+
end
|
|
326
|
+
class ActiveSupport::Logger < Logger
|
|
327
|
+
def initialize(*args, **kwargs); end
|
|
328
|
+
def self.broadcast(logger); end
|
|
329
|
+
def self.local_levels; end
|
|
330
|
+
def self.local_levels=(val); end
|
|
331
|
+
def self.logger_outputs_to?(logger, *sources); end
|
|
332
|
+
def self.silencer; end
|
|
333
|
+
def self.silencer=(val); end
|
|
334
|
+
def silencer; end
|
|
335
|
+
def silencer=(val); end
|
|
336
|
+
include ActiveSupport::LoggerSilence
|
|
337
|
+
include ActiveSupport::LoggerThreadSafeLevel
|
|
338
|
+
end
|
|
339
|
+
class ActiveSupport::Logger::SimpleFormatter < Logger::Formatter
|
|
340
|
+
def call(severity, timestamp, progname, msg); end
|
|
341
|
+
end
|
|
342
|
+
module DateAndTime
|
|
343
|
+
end
|
|
344
|
+
module DateAndTime::Compatibility
|
|
345
|
+
def preserve_timezone; end
|
|
346
|
+
def self.preserve_timezone; end
|
|
347
|
+
def self.preserve_timezone=(val); end
|
|
348
|
+
def self.utc_to_local_returns_utc_offset_times; end
|
|
349
|
+
def self.utc_to_local_returns_utc_offset_times=(val); end
|
|
350
|
+
def utc_to_local_returns_utc_offset_times; end
|
|
351
|
+
end
|
|
352
|
+
module ActiveSupport::ActionableError
|
|
353
|
+
def self.actions(error); end
|
|
354
|
+
def self.dispatch(error, name); end
|
|
355
|
+
extend ActiveSupport::Concern
|
|
356
|
+
end
|
|
357
|
+
class ActiveSupport::ActionableError::NonActionable < StandardError
|
|
358
|
+
end
|
|
359
|
+
module ActiveSupport::ActionableError::ClassMethods
|
|
360
|
+
def action(name, &block); end
|
|
361
|
+
end
|
|
362
|
+
module ActiveSupport::DescendantsTracker
|
|
363
|
+
def descendants; end
|
|
364
|
+
def direct_descendants; end
|
|
365
|
+
def inherited(base); end
|
|
366
|
+
def self.accumulate_descendants(klass, acc); end
|
|
367
|
+
def self.clear; end
|
|
368
|
+
def self.descendants(klass); end
|
|
369
|
+
def self.direct_descendants(klass); end
|
|
370
|
+
def self.store_inherited(klass, descendant); end
|
|
371
|
+
def self.subclasses(klass); end
|
|
372
|
+
def subclasses; end
|
|
373
|
+
end
|
|
374
|
+
class ActiveSupport::DescendantsTracker::DescendantsArray
|
|
375
|
+
def <<(klass); end
|
|
376
|
+
def cleanup!; end
|
|
377
|
+
def each; end
|
|
378
|
+
def initialize; end
|
|
379
|
+
def initialize_copy(orig); end
|
|
380
|
+
def refs_size; end
|
|
381
|
+
def reject!; end
|
|
382
|
+
include Enumerable
|
|
383
|
+
end
|
|
384
|
+
class Class < Module
|
|
385
|
+
def class_attribute(*attrs, instance_accessor: nil, instance_reader: nil, instance_writer: nil, instance_predicate: nil, default: nil); end
|
|
386
|
+
end
|
|
387
|
+
module ActiveSupport::Callbacks
|
|
388
|
+
def halted_callback_hook(filter, name); end
|
|
389
|
+
def run_callbacks(kind); end
|
|
390
|
+
extend ActiveSupport::Concern
|
|
391
|
+
end
|
|
392
|
+
module ActiveSupport::Callbacks::Conditionals
|
|
393
|
+
end
|
|
394
|
+
class ActiveSupport::Callbacks::Conditionals::Value
|
|
395
|
+
def call(target, value); end
|
|
396
|
+
def initialize(&block); end
|
|
397
|
+
end
|
|
398
|
+
module ActiveSupport::Callbacks::Filters
|
|
399
|
+
end
|
|
400
|
+
class ActiveSupport::Callbacks::Filters::Environment < Struct
|
|
401
|
+
def halted; end
|
|
402
|
+
def halted=(_); end
|
|
403
|
+
def self.[](*arg0); end
|
|
404
|
+
def self.inspect; end
|
|
405
|
+
def self.members; end
|
|
406
|
+
def self.new(*arg0); end
|
|
407
|
+
def target; end
|
|
408
|
+
def target=(_); end
|
|
409
|
+
def value; end
|
|
410
|
+
def value=(_); end
|
|
411
|
+
end
|
|
412
|
+
class ActiveSupport::Callbacks::Filters::Before
|
|
413
|
+
def self.build(callback_sequence, user_callback, user_conditions, chain_config, filter, name); end
|
|
414
|
+
def self.halting(callback_sequence, user_callback, halted_lambda, filter, name); end
|
|
415
|
+
def self.halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter, name); end
|
|
416
|
+
end
|
|
417
|
+
class ActiveSupport::Callbacks::Filters::After
|
|
418
|
+
def self.build(callback_sequence, user_callback, user_conditions, chain_config); end
|
|
419
|
+
def self.conditional(callback_sequence, user_callback, user_conditions); end
|
|
420
|
+
def self.halting(callback_sequence, user_callback); end
|
|
421
|
+
def self.halting_and_conditional(callback_sequence, user_callback, user_conditions); end
|
|
422
|
+
def self.simple(callback_sequence, user_callback); end
|
|
423
|
+
end
|
|
424
|
+
class ActiveSupport::Callbacks::Callback
|
|
425
|
+
def apply(callback_sequence); end
|
|
426
|
+
def chain_config; end
|
|
427
|
+
def check_conditionals(conditionals); end
|
|
428
|
+
def compute_identifier(filter); end
|
|
429
|
+
def conditions_lambdas; end
|
|
430
|
+
def current_scopes; end
|
|
431
|
+
def duplicates?(other); end
|
|
432
|
+
def filter; end
|
|
433
|
+
def initialize(name, filter, kind, options, chain_config); end
|
|
434
|
+
def kind; end
|
|
435
|
+
def kind=(arg0); end
|
|
436
|
+
def matches?(_kind, _filter); end
|
|
437
|
+
def merge_conditional_options(chain, if_option:, unless_option:); end
|
|
438
|
+
def name; end
|
|
439
|
+
def name=(arg0); end
|
|
440
|
+
def raw_filter; end
|
|
441
|
+
def self.build(chain, filter, kind, options); end
|
|
442
|
+
end
|
|
443
|
+
class ActiveSupport::Callbacks::CallTemplate
|
|
444
|
+
def expand(target, value, block); end
|
|
445
|
+
def initialize(target, method, arguments, block); end
|
|
446
|
+
def inverted_lambda; end
|
|
447
|
+
def make_lambda; end
|
|
448
|
+
def self.build(filter, callback); end
|
|
449
|
+
end
|
|
450
|
+
class ActiveSupport::Callbacks::CallbackSequence
|
|
451
|
+
def after(&after); end
|
|
452
|
+
def around(call_template, user_conditions); end
|
|
453
|
+
def before(&before); end
|
|
454
|
+
def expand_call_template(arg, block); end
|
|
455
|
+
def final?; end
|
|
456
|
+
def initialize(nested = nil, call_template = nil, user_conditions = nil); end
|
|
457
|
+
def invoke_after(arg); end
|
|
458
|
+
def invoke_before(arg); end
|
|
459
|
+
def nested; end
|
|
460
|
+
def skip?(arg); end
|
|
461
|
+
end
|
|
462
|
+
class ActiveSupport::Callbacks::CallbackChain
|
|
463
|
+
def append(*callbacks); end
|
|
464
|
+
def append_one(callback); end
|
|
465
|
+
def chain; end
|
|
466
|
+
def clear; end
|
|
467
|
+
def compile; end
|
|
468
|
+
def config; end
|
|
469
|
+
def default_terminator; end
|
|
470
|
+
def delete(o); end
|
|
471
|
+
def each(&block); end
|
|
472
|
+
def empty?; end
|
|
473
|
+
def index(o); end
|
|
474
|
+
def initialize(name, config); end
|
|
475
|
+
def initialize_copy(other); end
|
|
476
|
+
def insert(index, o); end
|
|
477
|
+
def name; end
|
|
478
|
+
def prepend(*callbacks); end
|
|
479
|
+
def prepend_one(callback); end
|
|
480
|
+
def remove_duplicates(callback); end
|
|
481
|
+
include Enumerable
|
|
482
|
+
end
|
|
483
|
+
module ActiveSupport::Callbacks::ClassMethods
|
|
484
|
+
def __update_callbacks(name); end
|
|
485
|
+
def define_callbacks(*names); end
|
|
486
|
+
def get_callbacks(name); end
|
|
487
|
+
def normalize_callback_params(filters, block); end
|
|
488
|
+
def reset_callbacks(name); end
|
|
489
|
+
def set_callback(name, *filter_list, &block); end
|
|
490
|
+
def set_callbacks(name, callbacks); end
|
|
491
|
+
def skip_callback(name, *filter_list, &block); end
|
|
492
|
+
end
|
|
493
|
+
module Enumerable
|
|
494
|
+
def _original_sum_with_required_identity(*arg0); end
|
|
495
|
+
def compact_blank; end
|
|
496
|
+
def exclude?(object); end
|
|
497
|
+
def excluding(*elements); end
|
|
498
|
+
def including(*elements); end
|
|
499
|
+
def index_by; end
|
|
500
|
+
def index_with(default = nil); end
|
|
501
|
+
def many?; end
|
|
502
|
+
def pick(*keys); end
|
|
503
|
+
def pluck(*keys); end
|
|
504
|
+
def without(*elements); end
|
|
505
|
+
end
|
|
506
|
+
class Range
|
|
507
|
+
def sum(identity = nil); end
|
|
508
|
+
end
|
|
509
|
+
class Module::DelegationError < NoMethodError
|
|
510
|
+
end
|
|
511
|
+
class ActiveSupport::CurrentAttributes
|
|
512
|
+
def __callbacks; end
|
|
513
|
+
def __callbacks?; end
|
|
514
|
+
def _reset_callbacks; end
|
|
515
|
+
def _run_reset_callbacks(&block); end
|
|
516
|
+
def assign_attributes(new_attributes); end
|
|
517
|
+
def attributes; end
|
|
518
|
+
def attributes=(arg0); end
|
|
519
|
+
def compute_attributes(keys); end
|
|
520
|
+
def initialize; end
|
|
521
|
+
def reset; end
|
|
522
|
+
def self.__callbacks; end
|
|
523
|
+
def self.__callbacks=(value); end
|
|
524
|
+
def self.__callbacks?; end
|
|
525
|
+
def self._reset_callbacks; end
|
|
526
|
+
def self._reset_callbacks=(value); end
|
|
527
|
+
def self.after_reset(&block); end
|
|
528
|
+
def self.attribute(*names); end
|
|
529
|
+
def self.before_reset(&block); end
|
|
530
|
+
def self.clear_all; end
|
|
531
|
+
def self.current_instances; end
|
|
532
|
+
def self.current_instances_key; end
|
|
533
|
+
def self.generated_attribute_methods; end
|
|
534
|
+
def self.instance; end
|
|
535
|
+
def self.method_missing(name, *args, &block); end
|
|
536
|
+
def self.reset(*args, &block); end
|
|
537
|
+
def self.reset_all; end
|
|
538
|
+
def self.resets(&block); end
|
|
539
|
+
def self.set(*args, &block); end
|
|
540
|
+
def set(set_attributes); end
|
|
541
|
+
extend ActiveSupport::Callbacks::ClassMethods
|
|
542
|
+
extend ActiveSupport::DescendantsTracker
|
|
543
|
+
include ActiveSupport::Callbacks
|
|
544
|
+
end
|
|
545
|
+
module ActiveSupport::Multibyte
|
|
546
|
+
def self.proxy_class; end
|
|
547
|
+
def self.proxy_class=(klass); end
|
|
548
|
+
end
|
|
549
|
+
module Kernel
|
|
550
|
+
def enable_warnings; end
|
|
551
|
+
def self.enable_warnings; end
|
|
552
|
+
def self.silence_warnings; end
|
|
553
|
+
def self.suppress(*exception_classes); end
|
|
554
|
+
def self.with_warnings(flag); end
|
|
555
|
+
def silence_warnings; end
|
|
556
|
+
def suppress(*exception_classes); end
|
|
557
|
+
def with_warnings(flag); end
|
|
558
|
+
end
|
|
559
|
+
class LoadError < ScriptError
|
|
560
|
+
def is_missing?(location); end
|
|
561
|
+
end
|
|
562
|
+
class NameError < StandardError
|
|
563
|
+
def missing_name; end
|
|
564
|
+
def missing_name?(name); end
|
|
565
|
+
def real_mod_name(mod); end
|
|
566
|
+
end
|
|
567
|
+
module ActiveSupport::Concurrency
|
|
568
|
+
end
|
|
569
|
+
class ActiveSupport::Concurrency::ShareLock
|
|
570
|
+
def busy_for_exclusive?(purpose); end
|
|
571
|
+
def busy_for_sharing?(purpose); end
|
|
572
|
+
def eligible_waiters?(compatible); end
|
|
573
|
+
def exclusive(purpose: nil, compatible: nil, after_compatible: nil, no_wait: nil); end
|
|
574
|
+
def initialize; end
|
|
575
|
+
def raw_state; end
|
|
576
|
+
def sharing; end
|
|
577
|
+
def start_exclusive(purpose: nil, compatible: nil, no_wait: nil); end
|
|
578
|
+
def start_sharing; end
|
|
579
|
+
def stop_exclusive(compatible: nil); end
|
|
580
|
+
def stop_sharing; end
|
|
581
|
+
def wait_for(method); end
|
|
582
|
+
def yield_shares(purpose: nil, compatible: nil, block_share: nil); end
|
|
583
|
+
include MonitorMixin
|
|
584
|
+
end
|
|
585
|
+
module ActiveSupport::Dependencies
|
|
586
|
+
def _eager_load_paths; end
|
|
587
|
+
def _eager_load_paths=(val); end
|
|
588
|
+
def autoload_module!(into, const_name, qualified_name, path_suffix); end
|
|
589
|
+
def autoload_once_paths; end
|
|
590
|
+
def autoload_once_paths=(val); end
|
|
591
|
+
def autoload_paths; end
|
|
592
|
+
def autoload_paths=(val); end
|
|
593
|
+
def autoloadable_module?(path_suffix); end
|
|
594
|
+
def autoloaded?(desc); end
|
|
595
|
+
def autoloaded_constants; end
|
|
596
|
+
def autoloaded_constants=(val); end
|
|
597
|
+
def clear; end
|
|
598
|
+
def constant_watch_stack; end
|
|
599
|
+
def constant_watch_stack=(val); end
|
|
600
|
+
def constantize(name); end
|
|
601
|
+
def depend_on(file_name, message = nil); end
|
|
602
|
+
def explicitly_unloadable_constants; end
|
|
603
|
+
def explicitly_unloadable_constants=(val); end
|
|
604
|
+
def history; end
|
|
605
|
+
def history=(val); end
|
|
606
|
+
def hook!; end
|
|
607
|
+
def interlock; end
|
|
608
|
+
def interlock=(val); end
|
|
609
|
+
def load?; end
|
|
610
|
+
def load_file(path, const_paths = nil); end
|
|
611
|
+
def load_missing_constant(from_mod, const_name); end
|
|
612
|
+
def load_once_path?(path); end
|
|
613
|
+
def loadable_constants_for_path(path, bases = nil); end
|
|
614
|
+
def loaded; end
|
|
615
|
+
def loaded=(val); end
|
|
616
|
+
def loading; end
|
|
617
|
+
def loading=(val); end
|
|
618
|
+
def log(message); end
|
|
619
|
+
def logger; end
|
|
620
|
+
def logger=(val); end
|
|
621
|
+
def mark_for_unload(const_desc); end
|
|
622
|
+
def mechanism; end
|
|
623
|
+
def mechanism=(val); end
|
|
624
|
+
def new_constants_in(*descs); end
|
|
625
|
+
def qualified_const_defined?(path); end
|
|
626
|
+
def qualified_name_for(mod, name); end
|
|
627
|
+
def real_mod_name(mod); end
|
|
628
|
+
def reference(klass); end
|
|
629
|
+
def remove_constant(const); end
|
|
630
|
+
def remove_unloadable_constants!; end
|
|
631
|
+
def require_or_load(file_name, const_path = nil); end
|
|
632
|
+
def safe_constantize(name); end
|
|
633
|
+
def search_for_file(path_suffix); end
|
|
634
|
+
def self._eager_load_paths; end
|
|
635
|
+
def self._eager_load_paths=(val); end
|
|
636
|
+
def self.autoload_once_paths; end
|
|
637
|
+
def self.autoload_once_paths=(val); end
|
|
638
|
+
def self.autoload_paths; end
|
|
639
|
+
def self.autoload_paths=(val); end
|
|
640
|
+
def self.autoloaded_constants; end
|
|
641
|
+
def self.autoloaded_constants=(val); end
|
|
642
|
+
def self.constant_watch_stack; end
|
|
643
|
+
def self.constant_watch_stack=(val); end
|
|
644
|
+
def self.explicitly_unloadable_constants; end
|
|
645
|
+
def self.explicitly_unloadable_constants=(val); end
|
|
646
|
+
def self.history; end
|
|
647
|
+
def self.history=(val); end
|
|
648
|
+
def self.interlock; end
|
|
649
|
+
def self.interlock=(val); end
|
|
650
|
+
def self.load_interlock; end
|
|
651
|
+
def self.loaded; end
|
|
652
|
+
def self.loaded=(val); end
|
|
653
|
+
def self.loading; end
|
|
654
|
+
def self.loading=(val); end
|
|
655
|
+
def self.logger; end
|
|
656
|
+
def self.logger=(val); end
|
|
657
|
+
def self.mechanism; end
|
|
658
|
+
def self.mechanism=(val); end
|
|
659
|
+
def self.run_interlock; end
|
|
660
|
+
def self.unload_interlock; end
|
|
661
|
+
def self.verbose; end
|
|
662
|
+
def self.verbose=(val); end
|
|
663
|
+
def self.warnings_on_first_load; end
|
|
664
|
+
def self.warnings_on_first_load=(val); end
|
|
665
|
+
def to_constant_name(desc); end
|
|
666
|
+
def unhook!; end
|
|
667
|
+
def uninitialized_constant(qualified_name, const_name, receiver:); end
|
|
668
|
+
def verbose; end
|
|
669
|
+
def verbose=(val); end
|
|
670
|
+
def warnings_on_first_load; end
|
|
671
|
+
def warnings_on_first_load=(val); end
|
|
672
|
+
def will_unload?(const_desc); end
|
|
673
|
+
extend ActiveSupport::Dependencies
|
|
674
|
+
end
|
|
675
|
+
class ActiveSupport::Dependencies::Interlock
|
|
676
|
+
def done_running; end
|
|
677
|
+
def done_unloading; end
|
|
678
|
+
def initialize; end
|
|
679
|
+
def loading; end
|
|
680
|
+
def permit_concurrent_loads; end
|
|
681
|
+
def raw_state(&block); end
|
|
682
|
+
def running; end
|
|
683
|
+
def start_running; end
|
|
684
|
+
def start_unloading; end
|
|
685
|
+
def unloading; end
|
|
686
|
+
end
|
|
687
|
+
class ActiveSupport::Dependencies::WatchStack
|
|
688
|
+
def each(&block); end
|
|
689
|
+
def initialize; end
|
|
690
|
+
def new_constants; end
|
|
691
|
+
def pop_modules(modules); end
|
|
692
|
+
def watch_namespaces(namespaces); end
|
|
693
|
+
def watching; end
|
|
694
|
+
def watching?; end
|
|
695
|
+
include Enumerable
|
|
696
|
+
end
|
|
697
|
+
module ActiveSupport::Dependencies::ModuleConstMissing
|
|
698
|
+
def const_missing(const_name); end
|
|
699
|
+
def guess_for_anonymous(const_name); end
|
|
700
|
+
def self.append_features(base); end
|
|
701
|
+
def self.exclude_from(base); end
|
|
702
|
+
def self.include_into(base); end
|
|
703
|
+
def unloadable(const_desc = nil); end
|
|
704
|
+
end
|
|
705
|
+
module ActiveSupport::Dependencies::Loadable
|
|
706
|
+
def load(file, wrap = nil); end
|
|
707
|
+
def load_dependency(file); end
|
|
708
|
+
def require(file); end
|
|
709
|
+
def require_dependency(file_name, message = nil); end
|
|
710
|
+
def require_or_load(file_name); end
|
|
711
|
+
def self.exclude_from(base); end
|
|
712
|
+
def self.include_into(base); end
|
|
713
|
+
def unloadable(const_desc); end
|
|
714
|
+
end
|
|
715
|
+
module ActiveSupport::Dependencies::Blamable
|
|
716
|
+
def blame_file!(file); end
|
|
717
|
+
def blamed_files; end
|
|
718
|
+
def copy_blame!(exc); end
|
|
719
|
+
def describe_blame; end
|
|
720
|
+
end
|
|
721
|
+
class ActiveSupport::Dependencies::ClassCache
|
|
722
|
+
def [](key); end
|
|
723
|
+
def clear!; end
|
|
724
|
+
def empty?; end
|
|
725
|
+
def get(key); end
|
|
726
|
+
def initialize; end
|
|
727
|
+
def key?(key); end
|
|
728
|
+
def safe_get(key); end
|
|
729
|
+
def store(klass); end
|
|
730
|
+
end
|
|
731
|
+
class Exception
|
|
732
|
+
include ActiveSupport::Dependencies::Blamable
|
|
733
|
+
end
|
|
734
|
+
class ActiveSupport::ExecutionWrapper
|
|
735
|
+
def __callbacks; end
|
|
736
|
+
def __callbacks?; end
|
|
737
|
+
def _complete_callbacks; end
|
|
738
|
+
def _run_callbacks; end
|
|
739
|
+
def _run_complete_callbacks(&block); end
|
|
740
|
+
def _run_run_callbacks(&block); end
|
|
741
|
+
def complete!; end
|
|
742
|
+
def hook_state; end
|
|
743
|
+
def run!; end
|
|
744
|
+
def self.__callbacks; end
|
|
745
|
+
def self.__callbacks=(value); end
|
|
746
|
+
def self.__callbacks?; end
|
|
747
|
+
def self._complete_callbacks; end
|
|
748
|
+
def self._complete_callbacks=(value); end
|
|
749
|
+
def self._run_callbacks; end
|
|
750
|
+
def self._run_callbacks=(value); end
|
|
751
|
+
def self.active; end
|
|
752
|
+
def self.active=(arg0); end
|
|
753
|
+
def self.active?; end
|
|
754
|
+
def self.inherited(other); end
|
|
755
|
+
def self.register_hook(hook, outer: nil); end
|
|
756
|
+
def self.run!; end
|
|
757
|
+
def self.to_complete(*args, &block); end
|
|
758
|
+
def self.to_run(*args, &block); end
|
|
759
|
+
def self.wrap; end
|
|
760
|
+
extend ActiveSupport::Callbacks::ClassMethods
|
|
761
|
+
extend ActiveSupport::DescendantsTracker
|
|
762
|
+
include ActiveSupport::Callbacks
|
|
763
|
+
end
|
|
764
|
+
class ActiveSupport::ExecutionWrapper::RunHook < Struct
|
|
765
|
+
def before(target); end
|
|
766
|
+
def hook; end
|
|
767
|
+
def hook=(_); end
|
|
768
|
+
def self.[](*arg0); end
|
|
769
|
+
def self.inspect; end
|
|
770
|
+
def self.members; end
|
|
771
|
+
def self.new(*arg0); end
|
|
772
|
+
end
|
|
773
|
+
class ActiveSupport::ExecutionWrapper::CompleteHook < Struct
|
|
774
|
+
def after(target); end
|
|
775
|
+
def before(target); end
|
|
776
|
+
def hook; end
|
|
777
|
+
def hook=(_); end
|
|
778
|
+
def self.[](*arg0); end
|
|
779
|
+
def self.inspect; end
|
|
780
|
+
def self.members; end
|
|
781
|
+
def self.new(*arg0); end
|
|
782
|
+
end
|
|
783
|
+
class ActiveSupport::Executor < ActiveSupport::ExecutionWrapper
|
|
784
|
+
end
|
|
785
|
+
class DateTime < Date
|
|
786
|
+
def <=>(other); end
|
|
787
|
+
def advance(options); end
|
|
788
|
+
def ago(seconds); end
|
|
789
|
+
def at_beginning_of_day; end
|
|
790
|
+
def at_beginning_of_hour; end
|
|
791
|
+
def at_beginning_of_minute; end
|
|
792
|
+
def at_end_of_day; end
|
|
793
|
+
def at_end_of_hour; end
|
|
794
|
+
def at_end_of_minute; end
|
|
795
|
+
def at_midday; end
|
|
796
|
+
def at_middle_of_day; end
|
|
797
|
+
def at_midnight; end
|
|
798
|
+
def at_noon; end
|
|
799
|
+
def beginning_of_day; end
|
|
800
|
+
def beginning_of_hour; end
|
|
801
|
+
def beginning_of_minute; end
|
|
802
|
+
def change(options); end
|
|
803
|
+
def default_inspect; end
|
|
804
|
+
def end_of_day; end
|
|
805
|
+
def end_of_hour; end
|
|
806
|
+
def end_of_minute; end
|
|
807
|
+
def formatted_offset(colon = nil, alternate_utc_string = nil); end
|
|
808
|
+
def getgm; end
|
|
809
|
+
def getlocal(utc_offset = nil); end
|
|
810
|
+
def getutc; end
|
|
811
|
+
def gmtime; end
|
|
812
|
+
def in(seconds); end
|
|
813
|
+
def inspect; end
|
|
814
|
+
def localtime(utc_offset = nil); end
|
|
815
|
+
def midday; end
|
|
816
|
+
def middle_of_day; end
|
|
817
|
+
def midnight; end
|
|
818
|
+
def noon; end
|
|
819
|
+
def nsec; end
|
|
820
|
+
def offset_in_seconds; end
|
|
821
|
+
def readable_inspect; end
|
|
822
|
+
def seconds_since_midnight; end
|
|
823
|
+
def seconds_since_unix_epoch; end
|
|
824
|
+
def seconds_until_end_of_day; end
|
|
825
|
+
def self.civil_from_format(utc_or_local, year, month = nil, day = nil, hour = nil, min = nil, sec = nil); end
|
|
826
|
+
def self.current; end
|
|
827
|
+
def since(seconds); end
|
|
828
|
+
def subsec; end
|
|
829
|
+
def to_default_s; end
|
|
830
|
+
def to_f; end
|
|
831
|
+
def to_formatted_s(format = nil); end
|
|
832
|
+
def to_i; end
|
|
833
|
+
def usec; end
|
|
834
|
+
def utc; end
|
|
835
|
+
def utc?; end
|
|
836
|
+
def utc_offset; end
|
|
837
|
+
end
|
|
838
|
+
module ActiveSupport::XmlMini_REXML
|
|
839
|
+
def collapse(element, depth); end
|
|
840
|
+
def empty_content?(element); end
|
|
841
|
+
def get_attributes(element); end
|
|
842
|
+
def merge!(hash, key, value); end
|
|
843
|
+
def merge_element!(hash, element, depth); end
|
|
844
|
+
def merge_texts!(hash, element); end
|
|
845
|
+
def parse(data); end
|
|
846
|
+
def require_rexml; end
|
|
847
|
+
extend ActiveSupport::XmlMini_REXML
|
|
848
|
+
end
|
|
849
|
+
module ActiveSupport::XmlMini
|
|
850
|
+
def _dasherize(key); end
|
|
851
|
+
def _parse_binary(bin, entity); end
|
|
852
|
+
def _parse_file(file, entity); end
|
|
853
|
+
def backend; end
|
|
854
|
+
def backend=(name); end
|
|
855
|
+
def cast_backend_name_to_module(name); end
|
|
856
|
+
def current_thread_backend; end
|
|
857
|
+
def current_thread_backend=(name); end
|
|
858
|
+
def depth; end
|
|
859
|
+
def depth=(arg0); end
|
|
860
|
+
def parse(*args, &block); end
|
|
861
|
+
def rename_key(key, options = nil); end
|
|
862
|
+
def to_tag(key, value, options); end
|
|
863
|
+
def with_backend(name); end
|
|
864
|
+
extend ActiveSupport::XmlMini
|
|
865
|
+
end
|
|
866
|
+
module ActiveSupport::XmlMini::FileLike
|
|
867
|
+
def content_type; end
|
|
868
|
+
def content_type=(arg0); end
|
|
869
|
+
def original_filename; end
|
|
870
|
+
def original_filename=(arg0); end
|
|
871
|
+
end
|
|
872
|
+
class ActiveSupport::Duration
|
|
873
|
+
def %(other); end
|
|
874
|
+
def *(other); end
|
|
875
|
+
def +(other); end
|
|
876
|
+
def +@; end
|
|
877
|
+
def -(other); end
|
|
878
|
+
def -@; end
|
|
879
|
+
def /(other); end
|
|
880
|
+
def <=>(other); end
|
|
881
|
+
def ==(other); end
|
|
882
|
+
def after(time = nil); end
|
|
883
|
+
def ago(time = nil); end
|
|
884
|
+
def as_json(options = nil); end
|
|
885
|
+
def before(time = nil); end
|
|
886
|
+
def coerce(other); end
|
|
887
|
+
def encode_with(coder); end
|
|
888
|
+
def eql?(other); end
|
|
889
|
+
def from_now(time = nil); end
|
|
890
|
+
def hash; end
|
|
891
|
+
def in_days; end
|
|
892
|
+
def in_hours; end
|
|
893
|
+
def in_minutes; end
|
|
894
|
+
def in_months; end
|
|
895
|
+
def in_seconds; end
|
|
896
|
+
def in_weeks; end
|
|
897
|
+
def in_years; end
|
|
898
|
+
def init_with(coder); end
|
|
899
|
+
def initialize(value, parts); end
|
|
900
|
+
def inspect; end
|
|
901
|
+
def instance_of?(klass); end
|
|
902
|
+
def is_a?(klass); end
|
|
903
|
+
def iso8601(precision: nil); end
|
|
904
|
+
def kind_of?(klass); end
|
|
905
|
+
def method_missing(method, *args, &block); end
|
|
906
|
+
def parts; end
|
|
907
|
+
def parts=(arg0); end
|
|
908
|
+
def raise_type_error(other); end
|
|
909
|
+
def respond_to_missing?(method, _); end
|
|
910
|
+
def self.===(other); end
|
|
911
|
+
def self.build(value); end
|
|
912
|
+
def self.calculate_total_seconds(parts); end
|
|
913
|
+
def self.days(value); end
|
|
914
|
+
def self.hours(value); end
|
|
915
|
+
def self.minutes(value); end
|
|
916
|
+
def self.months(value); end
|
|
917
|
+
def self.parse(iso8601duration); end
|
|
918
|
+
def self.seconds(value); end
|
|
919
|
+
def self.weeks(value); end
|
|
920
|
+
def self.years(value); end
|
|
921
|
+
def since(time = nil); end
|
|
922
|
+
def sum(sign, time = nil); end
|
|
923
|
+
def to_i; end
|
|
924
|
+
def to_s; end
|
|
925
|
+
def until(time = nil); end
|
|
926
|
+
def value; end
|
|
927
|
+
def value=(arg0); end
|
|
928
|
+
end
|
|
929
|
+
class ActiveSupport::Duration::Scalar < Numeric
|
|
930
|
+
def %(other); end
|
|
931
|
+
def *(other); end
|
|
932
|
+
def +(other); end
|
|
933
|
+
def -(other); end
|
|
934
|
+
def -@; end
|
|
935
|
+
def /(other); end
|
|
936
|
+
def <=>(other); end
|
|
937
|
+
def calculate(op, other); end
|
|
938
|
+
def coerce(other); end
|
|
939
|
+
def initialize(value); end
|
|
940
|
+
def raise_type_error(other); end
|
|
941
|
+
def to_f(*args, &block); end
|
|
942
|
+
def to_i(*args, &block); end
|
|
943
|
+
def to_s(*args, &block); end
|
|
944
|
+
def value; end
|
|
945
|
+
end
|
|
946
|
+
class ActiveSupport::TimeZone
|
|
947
|
+
def <=>(zone); end
|
|
948
|
+
def =~(re); end
|
|
949
|
+
def at(*args); end
|
|
950
|
+
def encode_with(coder); end
|
|
951
|
+
def formatted_offset(colon = nil, alternate_utc_string = nil); end
|
|
952
|
+
def init_with(coder); end
|
|
953
|
+
def initialize(name, utc_offset = nil, tzinfo = nil); end
|
|
954
|
+
def iso8601(str); end
|
|
955
|
+
def local(*args); end
|
|
956
|
+
def local_to_utc(time, dst = nil); end
|
|
957
|
+
def match?(re); end
|
|
958
|
+
def name; end
|
|
959
|
+
def now; end
|
|
960
|
+
def parse(str, now = nil); end
|
|
961
|
+
def parts_to_time(parts, now); end
|
|
962
|
+
def period_for_local(time, dst = nil); end
|
|
963
|
+
def period_for_utc(time); end
|
|
964
|
+
def periods_for_local(time); end
|
|
965
|
+
def rfc3339(str); end
|
|
966
|
+
def self.[](arg); end
|
|
967
|
+
def self.all; end
|
|
968
|
+
def self.clear; end
|
|
969
|
+
def self.country_zones(country_code); end
|
|
970
|
+
def self.create(*arg0); end
|
|
971
|
+
def self.find_tzinfo(name); end
|
|
972
|
+
def self.load_country_zones(code); end
|
|
973
|
+
def self.new(name); end
|
|
974
|
+
def self.seconds_to_utc_offset(seconds, colon = nil); end
|
|
975
|
+
def self.us_zones; end
|
|
976
|
+
def self.zones_map; end
|
|
977
|
+
def strptime(str, format, now = nil); end
|
|
978
|
+
def time_now; end
|
|
979
|
+
def to_s; end
|
|
980
|
+
def today; end
|
|
981
|
+
def tomorrow; end
|
|
982
|
+
def tzinfo; end
|
|
983
|
+
def utc_offset; end
|
|
984
|
+
def utc_to_local(time); end
|
|
985
|
+
def yesterday; end
|
|
986
|
+
include Comparable
|
|
987
|
+
end
|
|
988
|
+
class ActiveSupport::TimeWithZone
|
|
989
|
+
def +(other); end
|
|
990
|
+
def -(other); end
|
|
991
|
+
def <=>(other); end
|
|
992
|
+
def acts_like_time?; end
|
|
993
|
+
def advance(options); end
|
|
994
|
+
def after?(arg0); end
|
|
995
|
+
def ago(other); end
|
|
996
|
+
def as_json(options = nil); end
|
|
997
|
+
def before?(arg0); end
|
|
998
|
+
def between?(min, max); end
|
|
999
|
+
def blank?; end
|
|
1000
|
+
def change(options); end
|
|
1001
|
+
def comparable_time; end
|
|
1002
|
+
def day; end
|
|
1003
|
+
def dst?; end
|
|
1004
|
+
def duration_of_variable_length?(obj); end
|
|
1005
|
+
def encode_with(coder); end
|
|
1006
|
+
def eql?(other); end
|
|
1007
|
+
def formatted_offset(colon = nil, alternate_utc_string = nil); end
|
|
1008
|
+
def freeze; end
|
|
1009
|
+
def future?; end
|
|
1010
|
+
def get_period_and_ensure_valid_local_time(period); end
|
|
1011
|
+
def getgm; end
|
|
1012
|
+
def getlocal(utc_offset = nil); end
|
|
1013
|
+
def getutc; end
|
|
1014
|
+
def gmt?; end
|
|
1015
|
+
def gmt_offset; end
|
|
1016
|
+
def gmtime; end
|
|
1017
|
+
def gmtoff; end
|
|
1018
|
+
def hash; end
|
|
1019
|
+
def hour; end
|
|
1020
|
+
def httpdate; end
|
|
1021
|
+
def in(other); end
|
|
1022
|
+
def in_time_zone(new_zone = nil); end
|
|
1023
|
+
def incorporate_utc_offset(time, offset); end
|
|
1024
|
+
def init_with(coder); end
|
|
1025
|
+
def initialize(utc_time, time_zone, local_time = nil, period = nil); end
|
|
1026
|
+
def inspect; end
|
|
1027
|
+
def is_a?(klass); end
|
|
1028
|
+
def isdst; end
|
|
1029
|
+
def iso8601(fraction_digits = nil); end
|
|
1030
|
+
def kind_of?(klass); end
|
|
1031
|
+
def localtime(utc_offset = nil); end
|
|
1032
|
+
def marshal_dump; end
|
|
1033
|
+
def marshal_load(variables); end
|
|
1034
|
+
def mday; end
|
|
1035
|
+
def method_missing(sym, *args, &block); end
|
|
1036
|
+
def min; end
|
|
1037
|
+
def mon; end
|
|
1038
|
+
def month; end
|
|
1039
|
+
def next_day?; end
|
|
1040
|
+
def nsec; end
|
|
1041
|
+
def past?; end
|
|
1042
|
+
def period; end
|
|
1043
|
+
def prev_day?; end
|
|
1044
|
+
def respond_to?(sym, include_priv = nil); end
|
|
1045
|
+
def respond_to_missing?(sym, include_priv); end
|
|
1046
|
+
def rfc2822; end
|
|
1047
|
+
def rfc3339(fraction_digits = nil); end
|
|
1048
|
+
def rfc822; end
|
|
1049
|
+
def sec; end
|
|
1050
|
+
def self.name; end
|
|
1051
|
+
def since(other); end
|
|
1052
|
+
def strftime(format); end
|
|
1053
|
+
def time; end
|
|
1054
|
+
def time_zone; end
|
|
1055
|
+
def to_a; end
|
|
1056
|
+
def to_date; end
|
|
1057
|
+
def to_datetime; end
|
|
1058
|
+
def to_f; end
|
|
1059
|
+
def to_formatted_s(format = nil); end
|
|
1060
|
+
def to_i; end
|
|
1061
|
+
def to_r; end
|
|
1062
|
+
def to_s(format = nil); end
|
|
1063
|
+
def to_time; end
|
|
1064
|
+
def today?; end
|
|
1065
|
+
def tomorrow?; end
|
|
1066
|
+
def transfer_time_values_to_utc_constructor(time); end
|
|
1067
|
+
def tv_sec; end
|
|
1068
|
+
def usec; end
|
|
1069
|
+
def utc; end
|
|
1070
|
+
def utc?; end
|
|
1071
|
+
def utc_offset; end
|
|
1072
|
+
def wday; end
|
|
1073
|
+
def wrap_with_time_zone(time); end
|
|
1074
|
+
def xmlschema(fraction_digits = nil); end
|
|
1075
|
+
def yday; end
|
|
1076
|
+
def year; end
|
|
1077
|
+
def yesterday?; end
|
|
1078
|
+
def zone; end
|
|
1079
|
+
include Comparable
|
|
1080
|
+
end
|
|
1081
|
+
module DateAndTime::Zones
|
|
1082
|
+
def in_time_zone(zone = nil); end
|
|
1083
|
+
def time_with_zone(time, zone); end
|
|
1084
|
+
end
|
|
1085
|
+
module ActiveSupport::Tryable
|
|
1086
|
+
def try!(method_name = nil, *args, &b); end
|
|
1087
|
+
def try(method_name = nil, *args, &b); end
|
|
1088
|
+
end
|
|
1089
|
+
class Delegator < BasicObject
|
|
1090
|
+
include ActiveSupport::Tryable
|
|
1091
|
+
end
|
|
1092
|
+
module DateAndTime::Calculations
|
|
1093
|
+
def after?(date_or_time); end
|
|
1094
|
+
def all_day; end
|
|
1095
|
+
def all_month; end
|
|
1096
|
+
def all_quarter; end
|
|
1097
|
+
def all_week(start_day = nil); end
|
|
1098
|
+
def all_year; end
|
|
1099
|
+
def at_beginning_of_month; end
|
|
1100
|
+
def at_beginning_of_quarter; end
|
|
1101
|
+
def at_beginning_of_week(start_day = nil); end
|
|
1102
|
+
def at_beginning_of_year; end
|
|
1103
|
+
def at_end_of_month; end
|
|
1104
|
+
def at_end_of_quarter; end
|
|
1105
|
+
def at_end_of_week(start_day = nil); end
|
|
1106
|
+
def at_end_of_year; end
|
|
1107
|
+
def before?(date_or_time); end
|
|
1108
|
+
def beginning_of_month; end
|
|
1109
|
+
def beginning_of_quarter; end
|
|
1110
|
+
def beginning_of_week(start_day = nil); end
|
|
1111
|
+
def beginning_of_year; end
|
|
1112
|
+
def copy_time_to(other); end
|
|
1113
|
+
def days_ago(days); end
|
|
1114
|
+
def days_since(days); end
|
|
1115
|
+
def days_span(day); end
|
|
1116
|
+
def days_to_week_start(start_day = nil); end
|
|
1117
|
+
def end_of_month; end
|
|
1118
|
+
def end_of_quarter; end
|
|
1119
|
+
def end_of_week(start_day = nil); end
|
|
1120
|
+
def end_of_year; end
|
|
1121
|
+
def first_hour(date_or_time); end
|
|
1122
|
+
def future?; end
|
|
1123
|
+
def last_hour(date_or_time); end
|
|
1124
|
+
def last_month; end
|
|
1125
|
+
def last_quarter; end
|
|
1126
|
+
def last_week(start_day = nil, same_time: nil); end
|
|
1127
|
+
def last_weekday; end
|
|
1128
|
+
def last_year; end
|
|
1129
|
+
def monday; end
|
|
1130
|
+
def months_ago(months); end
|
|
1131
|
+
def months_since(months); end
|
|
1132
|
+
def next_day?; end
|
|
1133
|
+
def next_occurring(day_of_week); end
|
|
1134
|
+
def next_quarter; end
|
|
1135
|
+
def next_week(given_day_in_next_week = nil, same_time: nil); end
|
|
1136
|
+
def next_weekday; end
|
|
1137
|
+
def on_weekday?; end
|
|
1138
|
+
def on_weekend?; end
|
|
1139
|
+
def past?; end
|
|
1140
|
+
def prev_day?; end
|
|
1141
|
+
def prev_occurring(day_of_week); end
|
|
1142
|
+
def prev_quarter; end
|
|
1143
|
+
def prev_week(start_day = nil, same_time: nil); end
|
|
1144
|
+
def prev_weekday; end
|
|
1145
|
+
def sunday; end
|
|
1146
|
+
def today?; end
|
|
1147
|
+
def tomorrow; end
|
|
1148
|
+
def tomorrow?; end
|
|
1149
|
+
def weeks_ago(weeks); end
|
|
1150
|
+
def weeks_since(weeks); end
|
|
1151
|
+
def years_ago(years); end
|
|
1152
|
+
def years_since(years); end
|
|
1153
|
+
def yesterday; end
|
|
1154
|
+
def yesterday?; end
|
|
1155
|
+
end
|
|
1156
|
+
class Date
|
|
1157
|
+
def advance(options); end
|
|
1158
|
+
def ago(seconds); end
|
|
1159
|
+
def at_beginning_of_day; end
|
|
1160
|
+
def at_end_of_day; end
|
|
1161
|
+
def at_midday; end
|
|
1162
|
+
def at_middle_of_day; end
|
|
1163
|
+
def at_midnight; end
|
|
1164
|
+
def at_noon; end
|
|
1165
|
+
def beginning_of_day; end
|
|
1166
|
+
def change(options); end
|
|
1167
|
+
def compare_with_coercion(other); end
|
|
1168
|
+
def compare_without_coercion(arg0); end
|
|
1169
|
+
def end_of_day; end
|
|
1170
|
+
def in(seconds); end
|
|
1171
|
+
def midday; end
|
|
1172
|
+
def middle_of_day; end
|
|
1173
|
+
def midnight; end
|
|
1174
|
+
def minus_with_duration(other); end
|
|
1175
|
+
def minus_without_duration(arg0); end
|
|
1176
|
+
def noon; end
|
|
1177
|
+
def plus_with_duration(other); end
|
|
1178
|
+
def plus_without_duration(arg0); end
|
|
1179
|
+
def self.beginning_of_week; end
|
|
1180
|
+
def self.beginning_of_week=(week_start); end
|
|
1181
|
+
def self.beginning_of_week_default; end
|
|
1182
|
+
def self.beginning_of_week_default=(arg0); end
|
|
1183
|
+
def self.current; end
|
|
1184
|
+
def self.find_beginning_of_week!(week_start); end
|
|
1185
|
+
def self.tomorrow; end
|
|
1186
|
+
def self.yesterday; end
|
|
1187
|
+
def since(seconds); end
|
|
1188
|
+
include DateAndTime::Calculations
|
|
1189
|
+
include DateAndTime::Zones
|
|
1190
|
+
end
|
|
1191
|
+
class ActiveSupport::FileUpdateChecker
|
|
1192
|
+
def compile_ext(array); end
|
|
1193
|
+
def compile_glob(hash); end
|
|
1194
|
+
def escape(key); end
|
|
1195
|
+
def execute; end
|
|
1196
|
+
def execute_if_updated; end
|
|
1197
|
+
def initialize(files, dirs = nil, &block); end
|
|
1198
|
+
def max_mtime(paths); end
|
|
1199
|
+
def updated?; end
|
|
1200
|
+
def updated_at(paths); end
|
|
1201
|
+
def watched; end
|
|
1202
|
+
end
|
|
1203
|
+
class ActiveSupport::HashWithIndifferentAccess < Hash
|
|
1204
|
+
def [](key); end
|
|
1205
|
+
def []=(key, value); end
|
|
1206
|
+
def assoc(key); end
|
|
1207
|
+
def compact; end
|
|
1208
|
+
def convert_key(key); end
|
|
1209
|
+
def convert_value(value, conversion: nil); end
|
|
1210
|
+
def deep_stringify_keys!; end
|
|
1211
|
+
def deep_stringify_keys; end
|
|
1212
|
+
def deep_symbolize_keys; end
|
|
1213
|
+
def default(*args); end
|
|
1214
|
+
def delete(key); end
|
|
1215
|
+
def dig(*args); end
|
|
1216
|
+
def dup; end
|
|
1217
|
+
def except(*keys); end
|
|
1218
|
+
def extractable_options?; end
|
|
1219
|
+
def fetch(key, *extras); end
|
|
1220
|
+
def fetch_values(*indices, &block); end
|
|
1221
|
+
def has_key?(key); end
|
|
1222
|
+
def include?(key); end
|
|
1223
|
+
def initialize(constructor = nil); end
|
|
1224
|
+
def key?(key); end
|
|
1225
|
+
def member?(key); end
|
|
1226
|
+
def merge!(*other_hashes, &block); end
|
|
1227
|
+
def merge(*hashes, &block); end
|
|
1228
|
+
def nested_under_indifferent_access; end
|
|
1229
|
+
def regular_update(*arg0); end
|
|
1230
|
+
def regular_writer(arg0, arg1); end
|
|
1231
|
+
def reject(*args, &block); end
|
|
1232
|
+
def replace(other_hash); end
|
|
1233
|
+
def reverse_merge!(other_hash); end
|
|
1234
|
+
def reverse_merge(other_hash); end
|
|
1235
|
+
def select(*args, &block); end
|
|
1236
|
+
def self.[](*args); end
|
|
1237
|
+
def set_defaults(target); end
|
|
1238
|
+
def slice!(*keys); end
|
|
1239
|
+
def slice(*keys); end
|
|
1240
|
+
def store(key, value); end
|
|
1241
|
+
def stringify_keys!; end
|
|
1242
|
+
def stringify_keys; end
|
|
1243
|
+
def symbolize_keys; end
|
|
1244
|
+
def to_hash; end
|
|
1245
|
+
def to_options!; end
|
|
1246
|
+
def to_options; end
|
|
1247
|
+
def transform_keys!; end
|
|
1248
|
+
def transform_keys(*args, &block); end
|
|
1249
|
+
def transform_values(*args, &block); end
|
|
1250
|
+
def update(*other_hashes, &block); end
|
|
1251
|
+
def update_with_single_argument(other_hash, block); end
|
|
1252
|
+
def values_at(*keys); end
|
|
1253
|
+
def with_defaults!(other_hash); end
|
|
1254
|
+
def with_defaults(other_hash); end
|
|
1255
|
+
def with_indifferent_access; end
|
|
1256
|
+
def without(*keys); end
|
|
1257
|
+
end
|
|
1258
|
+
class Symbol
|
|
1259
|
+
def end_with?(*suffixes); end
|
|
1260
|
+
def ends_with?(*suffixes); end
|
|
1261
|
+
def start_with?(*prefixes); end
|
|
1262
|
+
def starts_with?(*prefixes); end
|
|
1263
|
+
end
|
|
1264
|
+
class ActiveSupport::StringInquirer < String
|
|
1265
|
+
def method_missing(method_name, *arguments); end
|
|
1266
|
+
def respond_to_missing?(method_name, include_private = nil); end
|
|
1267
|
+
end
|