wt_activerecord_index_spy 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +3 -0
  3. data/.rubocop.yml +3 -0
  4. data/CHANGELOG.md +3 -0
  5. data/Rakefile +0 -14
  6. data/lib/wt_activerecord_index_spy/aggregator.rb +29 -4
  7. data/lib/wt_activerecord_index_spy/notification_listener.rb +3 -2
  8. data/lib/wt_activerecord_index_spy/query_analyser/mysql.rb +1 -0
  9. data/lib/wt_activerecord_index_spy/query_analyser/postgres.rb +1 -0
  10. data/lib/wt_activerecord_index_spy/query_analyser.rb +1 -0
  11. data/lib/wt_activerecord_index_spy/test_helpers.rb +1 -0
  12. data/lib/wt_activerecord_index_spy/test_models.rb +1 -0
  13. data/lib/wt_activerecord_index_spy/version.rb +2 -1
  14. data/lib/wt_activerecord_index_spy.rb +2 -0
  15. data/sorbet/config +3 -0
  16. data/sorbet/rbi/gems/activemodel.rbi +839 -0
  17. data/sorbet/rbi/gems/activerecord.rbi +5324 -0
  18. data/sorbet/rbi/gems/activesupport.rbi +1783 -0
  19. data/sorbet/rbi/gems/ast.rbi +49 -0
  20. data/sorbet/rbi/gems/byebug.rbi +1041 -0
  21. data/sorbet/rbi/gems/coderay.rbi +92 -0
  22. data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
  23. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  24. data/sorbet/rbi/gems/faraday.rbi +544 -0
  25. data/sorbet/rbi/gems/gemfury.rbi +135 -0
  26. data/sorbet/rbi/gems/highline.rbi +567 -0
  27. data/sorbet/rbi/gems/i18n.rbi +445 -0
  28. data/sorbet/rbi/gems/method_source.rbi +64 -0
  29. data/sorbet/rbi/gems/minitest.rbi +420 -0
  30. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  31. data/sorbet/rbi/gems/multipart-post.rbi +53 -0
  32. data/sorbet/rbi/gems/mysql2.rbi +114 -0
  33. data/sorbet/rbi/gems/netrc.rbi +51 -0
  34. data/sorbet/rbi/gems/parallel.rbi +83 -0
  35. data/sorbet/rbi/gems/parser.rbi +1431 -0
  36. data/sorbet/rbi/gems/pg.rbi +546 -0
  37. data/sorbet/rbi/gems/progressbar.rbi +14 -0
  38. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  39. data/sorbet/rbi/gems/pry.rbi +1949 -0
  40. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  41. data/sorbet/rbi/gems/rake.rbi +662 -0
  42. data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
  43. data/sorbet/rbi/gems/rexml.rbi +599 -0
  44. data/sorbet/rbi/gems/rspec-core.rbi +1961 -0
  45. data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
  46. data/sorbet/rbi/gems/rspec-mocks.rbi +1091 -0
  47. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  48. data/sorbet/rbi/gems/rspec.rbi +15 -0
  49. data/sorbet/rbi/gems/rubocop-ast.rbi +1372 -0
  50. data/sorbet/rbi/gems/rubocop-sorbet.rbi +197 -0
  51. data/sorbet/rbi/gems/rubocop.rbi +8089 -0
  52. data/sorbet/rbi/gems/ruby-progressbar.rbi +303 -0
  53. data/sorbet/rbi/gems/thor.rbi +525 -0
  54. data/sorbet/rbi/gems/tzinfo.rbi +588 -0
  55. data/sorbet/rbi/gems/unicode-display_width.rbi +20 -0
  56. data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
  57. data/sorbet/rbi/hidden-definitions/errors.txt +15220 -0
  58. data/sorbet/rbi/hidden-definitions/hidden.rbi +28001 -0
  59. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +715 -0
  60. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5/activerecord.rbi +97 -0
  61. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +29 -0
  62. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1674 -0
  63. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/model_schema.rbi +79 -0
  64. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/sanitization.rbi +36 -0
  65. data/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.1.0.rc1/activerecord.rbi +502 -0
  66. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
  67. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
  68. data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
  69. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  70. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  71. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  72. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  73. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +12 -0
  74. data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
  75. data/sorbet/rbi/todo.rbi +10 -0
  76. data/sorbet.md +23 -0
  77. data/wt_activerecord_index_spy.gemspec +3 -0
  78. metadata +106 -2
@@ -0,0 +1,588 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
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/tzinfo/all/tzinfo.rbi
9
+ #
10
+ # tzinfo-2.0.4
11
+
12
+ module TZInfo
13
+ end
14
+ module TZInfo::UntaintExt
15
+ end
16
+ class TZInfo::StringDeduper
17
+ def create_hash(&block); end
18
+ def dedupe(string); end
19
+ def initialize; end
20
+ def self.global; end
21
+ end
22
+ class TZInfo::ConcurrentStringDeduper < TZInfo::StringDeduper
23
+ def create_hash(&block); end
24
+ end
25
+ class TZInfo::UnaryMinusGlobalStringDeduper
26
+ def dedupe(string); end
27
+ end
28
+ class TZInfo::Timestamp
29
+ def <=>(t); end
30
+ def add_and_set_utc_offset(seconds, utc_offset); end
31
+ def eql?(arg0); end
32
+ def hash; end
33
+ def initialize!(value, sub_second = nil, utc_offset = nil); end
34
+ def initialize(value, sub_second = nil, utc_offset = nil); end
35
+ def inspect; end
36
+ def new_datetime(klass = nil); end
37
+ def new_time(klass = nil); end
38
+ def self.create(year, month = nil, day = nil, hour = nil, minute = nil, second = nil, sub_second = nil, utc_offset = nil); end
39
+ def self.for(value, offset = nil); end
40
+ def self.for_datetime(datetime, ignore_offset, target_utc_offset); end
41
+ def self.for_time(time, ignore_offset, target_utc_offset); end
42
+ def self.for_time_like(time_like, ignore_offset, target_utc_offset); end
43
+ def self.for_timestamp(timestamp, ignore_offset, target_utc_offset); end
44
+ def self.is_time_like?(value); end
45
+ def self.new!(value, sub_second = nil, utc_offset = nil); end
46
+ def self.utc(value, sub_second = nil); end
47
+ def strftime(format); end
48
+ def sub_second; end
49
+ def sub_second_to_s; end
50
+ def to_datetime; end
51
+ def to_i; end
52
+ def to_s; end
53
+ def to_time; end
54
+ def utc; end
55
+ def utc?; end
56
+ def utc_offset; end
57
+ def value; end
58
+ def value_and_sub_second_to_s(offset = nil); end
59
+ include Comparable
60
+ end
61
+ module TZInfo::WithOffset
62
+ def if_timezone_offset(result = nil); end
63
+ def strftime(format); end
64
+ end
65
+ class TZInfo::DateTimeWithOffset < DateTime
66
+ def clear_timezone_offset; end
67
+ def downto(min); end
68
+ def england; end
69
+ def gregorian; end
70
+ def italy; end
71
+ def julian; end
72
+ def new_start(start = nil); end
73
+ def set_timezone_offset(timezone_offset); end
74
+ def step(limit, step = nil); end
75
+ def timezone_offset; end
76
+ def to_time; end
77
+ def upto(max); end
78
+ include TZInfo::WithOffset
79
+ end
80
+ class TZInfo::TimeWithOffset < Time
81
+ def clear_timezone_offset; end
82
+ def dst?; end
83
+ def getlocal(*args); end
84
+ def gmtime; end
85
+ def isdst; end
86
+ def localtime(*args); end
87
+ def round(ndigits = nil); end
88
+ def set_timezone_offset(timezone_offset); end
89
+ def timezone_offset; end
90
+ def to_a; end
91
+ def to_datetime; end
92
+ def utc; end
93
+ def zone; end
94
+ include TZInfo::WithOffset
95
+ end
96
+ class TZInfo::TimestampWithOffset < TZInfo::Timestamp
97
+ def self.set_timezone_offset(timestamp, timezone_offset); end
98
+ def set_timezone_offset(timezone_offset); end
99
+ def timezone_offset; end
100
+ def to_datetime; end
101
+ def to_time; end
102
+ include TZInfo::WithOffset
103
+ end
104
+ class TZInfo::TimezoneOffset
105
+ def ==(toi); end
106
+ def abbr; end
107
+ def abbreviation; end
108
+ def base_utc_offset; end
109
+ def dst?; end
110
+ def eql?(toi); end
111
+ def hash; end
112
+ def initialize(base_utc_offset, std_offset, abbreviation); end
113
+ def inspect; end
114
+ def observed_utc_offset; end
115
+ def std_offset; end
116
+ def utc_offset; end
117
+ def utc_total_offset; end
118
+ end
119
+ class TZInfo::TimezoneTransition
120
+ def ==(tti); end
121
+ def at; end
122
+ def eql?(tti); end
123
+ def hash; end
124
+ def initialize(offset, previous_offset, timestamp_value); end
125
+ def local_end_at; end
126
+ def local_start_at; end
127
+ def offset; end
128
+ def previous_offset; end
129
+ def timestamp_value; end
130
+ end
131
+ class TZInfo::TransitionRule
132
+ def ==(r); end
133
+ def at(offset, year); end
134
+ def eql?(r); end
135
+ def hash; end
136
+ def hash_args; end
137
+ def initialize(transition_at); end
138
+ def transition_at; end
139
+ end
140
+ class TZInfo::DayOfYearTransitionRule < TZInfo::TransitionRule
141
+ def ==(r); end
142
+ def eql?(r); end
143
+ def hash_args; end
144
+ def initialize(day, transition_at); end
145
+ def seconds; end
146
+ end
147
+ class TZInfo::AbsoluteDayOfYearTransitionRule < TZInfo::DayOfYearTransitionRule
148
+ def ==(r); end
149
+ def eql?(r); end
150
+ def get_day(offset, year); end
151
+ def hash_args; end
152
+ def initialize(day, transition_at = nil); end
153
+ def is_always_first_day_of_year?; end
154
+ def is_always_last_day_of_year?; end
155
+ end
156
+ class TZInfo::JulianDayOfYearTransitionRule < TZInfo::DayOfYearTransitionRule
157
+ def ==(r); end
158
+ def eql?(r); end
159
+ def get_day(offset, year); end
160
+ def hash_args; end
161
+ def initialize(day, transition_at = nil); end
162
+ def is_always_first_day_of_year?; end
163
+ def is_always_last_day_of_year?; end
164
+ end
165
+ class TZInfo::DayOfWeekTransitionRule < TZInfo::TransitionRule
166
+ def ==(r); end
167
+ def day_of_week; end
168
+ def eql?(r); end
169
+ def hash_args; end
170
+ def initialize(month, day_of_week, transition_at); end
171
+ def is_always_first_day_of_year?; end
172
+ def is_always_last_day_of_year?; end
173
+ def month; end
174
+ end
175
+ class TZInfo::DayOfMonthTransitionRule < TZInfo::DayOfWeekTransitionRule
176
+ def ==(r); end
177
+ def eql?(r); end
178
+ def get_day(offset, year); end
179
+ def hash_args; end
180
+ def initialize(month, week, day_of_week, transition_at = nil); end
181
+ def offset_start; end
182
+ end
183
+ class TZInfo::LastDayOfMonthTransitionRule < TZInfo::DayOfWeekTransitionRule
184
+ def ==(r); end
185
+ def eql?(r); end
186
+ def get_day(offset, year); end
187
+ def initialize(month, day_of_week, transition_at = nil); end
188
+ end
189
+ class TZInfo::AnnualRules
190
+ def apply_rule(rule, from_offset, to_offset, year); end
191
+ def dst_end_rule; end
192
+ def dst_offset; end
193
+ def dst_start_rule; end
194
+ def initialize(std_offset, dst_offset, dst_start_rule, dst_end_rule); end
195
+ def std_offset; end
196
+ def transitions(year); end
197
+ end
198
+ module TZInfo::DataSources
199
+ end
200
+ class TZInfo::DataSources::TimezoneInfo
201
+ def create_timezone; end
202
+ def identifier; end
203
+ def initialize(identifier); end
204
+ def inspect; end
205
+ def raise_not_implemented(method_name); end
206
+ end
207
+ class TZInfo::DataSources::DataTimezoneInfo < TZInfo::DataSources::TimezoneInfo
208
+ def create_timezone; end
209
+ def period_for(timestamp); end
210
+ def periods_for_local(local_timestamp); end
211
+ def raise_not_implemented(method_name); end
212
+ def transitions_up_to(to_timestamp, from_timestamp = nil); end
213
+ end
214
+ class TZInfo::DataSources::LinkedTimezoneInfo < TZInfo::DataSources::TimezoneInfo
215
+ def create_timezone; end
216
+ def initialize(identifier, link_to_identifier); end
217
+ def link_to_identifier; end
218
+ end
219
+ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < TZInfo::DataSources::DataTimezoneInfo
220
+ def constant_offset; end
221
+ def constant_period; end
222
+ def initialize(identifier, constant_offset); end
223
+ def period_for(timestamp); end
224
+ def periods_for_local(local_timestamp); end
225
+ def transitions_up_to(to_timestamp, from_timestamp = nil); end
226
+ end
227
+ class TZInfo::DataSources::TransitionsDataTimezoneInfo < TZInfo::DataSources::DataTimezoneInfo
228
+ def find_minimum_transition(&block); end
229
+ def initialize(identifier, transitions); end
230
+ def period_for(timestamp); end
231
+ def periods_for_local(local_timestamp); end
232
+ def transition_on_or_after_timestamp?(transition, timestamp); end
233
+ def transitions; end
234
+ def transitions_up_to(to_timestamp, from_timestamp = nil); end
235
+ end
236
+ class TZInfo::DataSources::CountryInfo
237
+ def code; end
238
+ def initialize(code, name, zones); end
239
+ def inspect; end
240
+ def name; end
241
+ def zones; end
242
+ end
243
+ class TZInfo::DataSources::InvalidPosixTimeZone < StandardError
244
+ end
245
+ class TZInfo::DataSources::PosixTimeZoneParser
246
+ def check_scan(s, pattern); end
247
+ def get_offset_from_hms(h, m, s); end
248
+ def get_seconds_after_midnight_from_hms(h, m, s); end
249
+ def initialize(string_deduper); end
250
+ def parse(tz_string); end
251
+ def parse_rule(s, type); end
252
+ end
253
+ class TZInfo::DataSources::InvalidZoneinfoFile < StandardError
254
+ end
255
+ class TZInfo::DataSources::ZoneinfoReader
256
+ def apply_rules_with_transitions(file, transitions, offsets, rules); end
257
+ def apply_rules_without_transitions(file, first_offset, rules); end
258
+ def check_read(file, bytes); end
259
+ def derive_offsets(transitions, offsets); end
260
+ def find_existing_offset(offsets, offset); end
261
+ def initialize(posix_tz_parser, string_deduper); end
262
+ def make_signed_int32(long); end
263
+ def make_signed_int64(high, low); end
264
+ def offset_matches_rule?(offset, rule_offset); end
265
+ def parse(file); end
266
+ def read(file_path); end
267
+ def replace_with_existing_offsets(offsets, annual_rules); end
268
+ def validate_and_fix_last_defined_transition_offset(file, last_defined, first_rule_offset); end
269
+ end
270
+ class TZInfo::InvalidDataSource < StandardError
271
+ end
272
+ class TZInfo::DataSourceNotFound < StandardError
273
+ end
274
+ class TZInfo::DataSource
275
+ def build_timezone_identifiers; end
276
+ def country_codes; end
277
+ def data_timezone_identifiers; end
278
+ def find_timezone_identifier(identifier); end
279
+ def get_country_info(code); end
280
+ def get_timezone_info(identifier); end
281
+ def initialize; end
282
+ def inspect; end
283
+ def linked_timezone_identifiers; end
284
+ def load_country_info(code); end
285
+ def load_timezone_info(identifier); end
286
+ def lookup_country_info(hash, code, encoding = nil); end
287
+ def raise_invalid_data_source(method_name); end
288
+ def self.create_default_data_source; end
289
+ def self.get; end
290
+ def self.set(data_source_or_type, *args); end
291
+ def timezone_identifier_encoding; end
292
+ def timezone_identifiers; end
293
+ def to_s; end
294
+ def try_with_encoding(string, encoding); end
295
+ def validate_timezone_identifier(identifier); end
296
+ end
297
+ class TZInfo::DataSources::TZInfoDataNotFound < StandardError
298
+ end
299
+ class TZInfo::DataSources::RubyDataSource < TZInfo::DataSource
300
+ def country_codes; end
301
+ def data_timezone_identifiers; end
302
+ def initialize; end
303
+ def inspect; end
304
+ def linked_timezone_identifiers; end
305
+ def load_country_info(code); end
306
+ def load_timezone_info(identifier); end
307
+ def require_data(*file); end
308
+ def require_definition(identifier); end
309
+ def require_index(name); end
310
+ def to_s; end
311
+ def version_info; end
312
+ end
313
+ class TZInfo::DataSources::InvalidZoneinfoDirectory < StandardError
314
+ end
315
+ class TZInfo::DataSources::ZoneinfoDirectoryNotFound < StandardError
316
+ end
317
+ class TZInfo::DataSources::ZoneinfoDataSource < TZInfo::DataSource
318
+ def country_codes; end
319
+ def data_timezone_identifiers; end
320
+ def dms_to_rational(sign, degrees, minutes, seconds = nil); end
321
+ def enum_timezones(dir, exclude = nil, &block); end
322
+ def find_zoneinfo_dir; end
323
+ def initialize(zoneinfo_dir = nil, alternate_iso3166_tab_path = nil); end
324
+ def inspect; end
325
+ def linked_timezone_identifiers; end
326
+ def load_countries(iso3166_tab_path, zone_tab_path); end
327
+ def load_country_info(code); end
328
+ def load_timezone_identifiers; end
329
+ def load_timezone_info(identifier); end
330
+ def resolve_tab_path(zoneinfo_path, standard_names, tab_name); end
331
+ def self.alternate_iso3166_tab_search_path; end
332
+ def self.alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path); end
333
+ def self.process_search_path(path, default); end
334
+ def self.search_path; end
335
+ def self.search_path=(search_path); end
336
+ def to_s; end
337
+ def validate_zoneinfo_dir(path, iso3166_tab_path = nil); end
338
+ def zoneinfo_dir; end
339
+ end
340
+ class TZInfo::TimezonePeriod
341
+ def abbr; end
342
+ def abbreviation; end
343
+ def base_utc_offset; end
344
+ def dst?; end
345
+ def end_transition; end
346
+ def ends_at; end
347
+ def initialize(offset); end
348
+ def local_ends_at; end
349
+ def local_starts_at; end
350
+ def observed_utc_offset; end
351
+ def offset; end
352
+ def raise_not_implemented(method_name); end
353
+ def start_transition; end
354
+ def starts_at; end
355
+ def std_offset; end
356
+ def timestamp(transition); end
357
+ def timestamp_with_offset(transition); end
358
+ def utc_offset; end
359
+ def utc_total_offset; end
360
+ def zone_identifier; end
361
+ end
362
+ class TZInfo::OffsetTimezonePeriod < TZInfo::TimezonePeriod
363
+ def ==(p); end
364
+ def end_transition; end
365
+ def eql?(p); end
366
+ def hash; end
367
+ def initialize(offset); end
368
+ def start_transition; end
369
+ end
370
+ class TZInfo::TransitionsTimezonePeriod < TZInfo::TimezonePeriod
371
+ def ==(p); end
372
+ def end_transition; end
373
+ def eql?(p); end
374
+ def hash; end
375
+ def initialize(start_transition, end_transition); end
376
+ def inspect; end
377
+ def start_transition; end
378
+ end
379
+ class TZInfo::AmbiguousTime < StandardError
380
+ end
381
+ class TZInfo::PeriodNotFound < StandardError
382
+ end
383
+ class TZInfo::InvalidTimezoneIdentifier < StandardError
384
+ end
385
+ class TZInfo::UnknownTimezone < StandardError
386
+ end
387
+ class TZInfo::Timezone
388
+ def <=>(tz); end
389
+ def =~(regexp); end
390
+ def _dump(limit); end
391
+ def abbr(time = nil); end
392
+ def abbreviation(time = nil); end
393
+ def base_utc_offset(time = nil); end
394
+ def canonical_identifier; end
395
+ def canonical_zone; end
396
+ def current_period; end
397
+ def current_period_and_time; end
398
+ def current_time_and_period; end
399
+ def dst?(time = nil); end
400
+ def eql?(tz); end
401
+ def friendly_identifier(skip_first_part = nil); end
402
+ def hash; end
403
+ def identifier; end
404
+ def inspect; end
405
+ def local_datetime(year, month = nil, day = nil, hour = nil, minute = nil, second = nil, sub_second = nil, dst = nil, &block); end
406
+ def local_time(year, month = nil, day = nil, hour = nil, minute = nil, second = nil, sub_second = nil, dst = nil, &block); end
407
+ def local_timestamp(year, month = nil, day = nil, hour = nil, minute = nil, second = nil, sub_second = nil, dst = nil, &block); end
408
+ def local_to_utc(local_time, dst = nil); end
409
+ def name; end
410
+ def now; end
411
+ def observed_utc_offset(time = nil); end
412
+ def offsets_up_to(to, from = nil); end
413
+ def period_for(time); end
414
+ def period_for_local(local_time, dst = nil); end
415
+ def period_for_utc(utc_time); end
416
+ def periods_for_local(local_time); end
417
+ def raise_unknown_timezone; end
418
+ def self._load(data); end
419
+ def self.all; end
420
+ def self.all_country_zone_identifiers; end
421
+ def self.all_country_zones; end
422
+ def self.all_data_zone_identifiers; end
423
+ def self.all_data_zones; end
424
+ def self.all_identifiers; end
425
+ def self.all_linked_zone_identifiers; end
426
+ def self.all_linked_zones; end
427
+ def self.data_source; end
428
+ def self.default_dst; end
429
+ def self.default_dst=(value); end
430
+ def self.get(identifier); end
431
+ def self.get_proxies(identifiers); end
432
+ def self.get_proxy(identifier); end
433
+ def strftime(format, time = nil); end
434
+ def to_local(time); end
435
+ def to_s; end
436
+ def transitions_up_to(to, from = nil); end
437
+ def utc_offset(time = nil); end
438
+ def utc_to_local(utc_time); end
439
+ include Comparable
440
+ end
441
+ class TZInfo::InfoTimezone < TZInfo::Timezone
442
+ def identifier; end
443
+ def info; end
444
+ def initialize(info); end
445
+ end
446
+ class TZInfo::DataTimezone < TZInfo::InfoTimezone
447
+ def canonical_zone; end
448
+ def period_for(time); end
449
+ def periods_for_local(local_time); end
450
+ def transitions_up_to(to, from = nil); end
451
+ end
452
+ class TZInfo::LinkedTimezone < TZInfo::InfoTimezone
453
+ def canonical_zone; end
454
+ def initialize(info); end
455
+ def period_for(time); end
456
+ def periods_for_local(local_time); end
457
+ def transitions_up_to(to, from = nil); end
458
+ end
459
+ class TZInfo::TimezoneProxy < TZInfo::Timezone
460
+ def _dump(limit); end
461
+ def canonical_zone; end
462
+ def identifier; end
463
+ def initialize(identifier); end
464
+ def period_for(time); end
465
+ def periods_for_local(local_time); end
466
+ def real_timezone; end
467
+ def self._load(data); end
468
+ def transitions_up_to(to, from = nil); end
469
+ end
470
+ class TZInfo::InvalidCountryCode < StandardError
471
+ end
472
+ class TZInfo::Country
473
+ def <=>(c); end
474
+ def =~(regexp); end
475
+ def _dump(limit); end
476
+ def code; end
477
+ def eql?(c); end
478
+ def hash; end
479
+ def initialize(info); end
480
+ def inspect; end
481
+ def name; end
482
+ def self._load(data); end
483
+ def self.all; end
484
+ def self.all_codes; end
485
+ def self.data_source; end
486
+ def self.get(code); end
487
+ def to_s; end
488
+ def zone_identifiers; end
489
+ def zone_info; end
490
+ def zone_names; end
491
+ def zones; end
492
+ include Comparable
493
+ end
494
+ class TZInfo::CountryTimezone
495
+ def ==(ct); end
496
+ def description; end
497
+ def description_or_friendly_identifier; end
498
+ def eql?(ct); end
499
+ def hash; end
500
+ def identifier; end
501
+ def initialize(identifier, latitude, longitude, description = nil); end
502
+ def latitude; end
503
+ def longitude; end
504
+ def timezone; end
505
+ end
506
+ module TZInfo::Format2
507
+ end
508
+ class TZInfo::Format2::CountryDefiner
509
+ def initialize(shared_timezones, identifier_deduper, description_deduper); end
510
+ def timezone(identifier_or_reference, latitude_numerator = nil, latitude_denominator = nil, longitude_numerator = nil, longitude_denominator = nil, description = nil); end
511
+ def timezones; end
512
+ end
513
+ class TZInfo::Format2::CountryIndexDefiner
514
+ def countries; end
515
+ def country(code, name); end
516
+ def initialize(identifier_deduper, description_deduper); end
517
+ def timezone(reference, identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
518
+ end
519
+ module TZInfo::Format2::CountryIndexDefinition
520
+ def self.append_features(base); end
521
+ end
522
+ module TZInfo::Format2::CountryIndexDefinition::ClassMethods
523
+ def countries; end
524
+ def country_index; end
525
+ end
526
+ class TZInfo::Format2::TimezoneDefiner
527
+ def first_offset; end
528
+ def initialize(string_deduper); end
529
+ def offset(id, base_utc_offset, std_offset, abbreviation); end
530
+ def subsequent_rules(*args); end
531
+ def transition(offset_id, timestamp_value); end
532
+ def transitions; end
533
+ end
534
+ module TZInfo::Format2::TimezoneDefinition
535
+ def self.append_features(base); end
536
+ end
537
+ module TZInfo::Format2::TimezoneDefinition::ClassMethods
538
+ def get; end
539
+ def linked_timezone(identifier, link_to_identifier); end
540
+ def timezone(identifier); end
541
+ def timezone_definer_class; end
542
+ end
543
+ class TZInfo::Format2::TimezoneIndexDefiner
544
+ def data_timezone(identifier); end
545
+ def data_timezones; end
546
+ def initialize(string_deduper); end
547
+ def linked_timezone(identifier); end
548
+ def linked_timezones; end
549
+ end
550
+ module TZInfo::Format2::TimezoneIndexDefinition
551
+ def self.append_features(base); end
552
+ end
553
+ module TZInfo::Format2::TimezoneIndexDefinition::ClassMethods
554
+ def data_timezones; end
555
+ def linked_timezones; end
556
+ def timezone_index; end
557
+ end
558
+ module TZInfo::Format1
559
+ end
560
+ class TZInfo::Format1::CountryDefiner < TZInfo::Format2::CountryDefiner
561
+ def initialize(identifier_deduper, description_deduper); end
562
+ end
563
+ module TZInfo::Format1::CountryIndexDefinition
564
+ def self.append_features(base); end
565
+ end
566
+ module TZInfo::Format1::CountryIndexDefinition::ClassMethods
567
+ def countries; end
568
+ def country(code, name); end
569
+ end
570
+ class TZInfo::Format1::TimezoneDefiner < TZInfo::Format2::TimezoneDefiner
571
+ def offset(id, utc_offset, std_offset, abbreviation); end
572
+ def transition(year, month, offset_id, timestamp_value, datetime_numerator = nil, datetime_denominator = nil); end
573
+ end
574
+ module TZInfo::Format1::TimezoneDefinition
575
+ def self.append_features(base); end
576
+ end
577
+ module TZInfo::Format1::TimezoneDefinition::ClassMethods
578
+ def timezone_definer_class; end
579
+ end
580
+ module TZInfo::Format1::TimezoneIndexDefinition
581
+ def self.append_features(base); end
582
+ end
583
+ module TZInfo::Format1::TimezoneIndexDefinition::ClassMethods
584
+ def data_timezones; end
585
+ def linked_timezone(identifier); end
586
+ def linked_timezones; end
587
+ def timezone(identifier); end
588
+ end