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