schema_dot_org 1.6.1 → 1.7.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 +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +11 -4
- data/Rakefile +3 -3
- data/bin/console +3 -3
- data/lib/schema_dot_org.rb +5 -11
- data/lib/schema_dot_org/organization.rb +9 -9
- data/lib/schema_dot_org/person.rb +2 -3
- data/lib/schema_dot_org/place.rb +2 -2
- data/lib/schema_dot_org/search_action.rb +3 -3
- data/lib/schema_dot_org/web_site.rb +4 -4
- data/schema_dot_org.gemspec +11 -3
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/activemodel.rbi +262 -0
- data/sorbet/rbi/gems/activesupport.rbi +912 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/rake.rbi +644 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1872 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1090 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/thread_safe.rbi +82 -0
- data/sorbet/rbi/gems/tzinfo.rbi +408 -0
- data/sorbet/rbi/gems/validated_object.rbi +60 -0
- data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +597 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +36 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/test-script.rb +9 -11
- metadata +51 -5
@@ -0,0 +1,280 @@
|
|
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/rspec-support/all/rspec-support.rbi
|
9
|
+
#
|
10
|
+
# rspec-support-3.9.3
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
extend RSpec::Support::Warnings
|
14
|
+
end
|
15
|
+
module RSpec::Support
|
16
|
+
def self.class_of(object); end
|
17
|
+
def self.define_optimized_require_for_rspec(lib, &require_relative); end
|
18
|
+
def self.deregister_matcher_definition(&block); end
|
19
|
+
def self.failure_notifier; end
|
20
|
+
def self.failure_notifier=(callable); end
|
21
|
+
def self.is_a_matcher?(object); end
|
22
|
+
def self.matcher_definitions; end
|
23
|
+
def self.method_handle_for(object, method_name); end
|
24
|
+
def self.notify_failure(failure, options = nil); end
|
25
|
+
def self.register_matcher_definition(&block); end
|
26
|
+
def self.require_rspec_support(f); end
|
27
|
+
def self.rspec_description_for_object(object); end
|
28
|
+
def self.thread_local_data; end
|
29
|
+
def self.warning_notifier; end
|
30
|
+
def self.warning_notifier=(arg0); end
|
31
|
+
def self.with_failure_notifier(callable); end
|
32
|
+
end
|
33
|
+
module RSpec::Support::Version
|
34
|
+
end
|
35
|
+
class RSpec::Support::ComparableVersion
|
36
|
+
def <=>(other); end
|
37
|
+
def initialize(string); end
|
38
|
+
def segments; end
|
39
|
+
def string; end
|
40
|
+
include Comparable
|
41
|
+
end
|
42
|
+
module RSpec::Support::OS
|
43
|
+
def self.windows?; end
|
44
|
+
def self.windows_file_path?; end
|
45
|
+
def windows?; end
|
46
|
+
def windows_file_path?; end
|
47
|
+
end
|
48
|
+
module RSpec::Support::Ruby
|
49
|
+
def jruby?; end
|
50
|
+
def jruby_9000?; end
|
51
|
+
def jruby_version; end
|
52
|
+
def mri?; end
|
53
|
+
def non_mri?; end
|
54
|
+
def rbx?; end
|
55
|
+
def self.jruby?; end
|
56
|
+
def self.jruby_9000?; end
|
57
|
+
def self.jruby_version; end
|
58
|
+
def self.mri?; end
|
59
|
+
def self.non_mri?; end
|
60
|
+
def self.rbx?; end
|
61
|
+
def self.truffleruby?; end
|
62
|
+
def truffleruby?; end
|
63
|
+
end
|
64
|
+
module RSpec::Support::RubyFeatures
|
65
|
+
def caller_locations_supported?; end
|
66
|
+
def fork_supported?; end
|
67
|
+
def kw_args_supported?; end
|
68
|
+
def module_prepends_supported?; end
|
69
|
+
def module_refinement_supported?; end
|
70
|
+
def optional_and_splat_args_supported?; end
|
71
|
+
def required_kw_args_supported?; end
|
72
|
+
def ripper_supported?; end
|
73
|
+
def self.caller_locations_supported?; end
|
74
|
+
def self.fork_supported?; end
|
75
|
+
def self.kw_args_supported?; end
|
76
|
+
def self.module_prepends_supported?; end
|
77
|
+
def self.module_refinement_supported?; end
|
78
|
+
def self.optional_and_splat_args_supported?; end
|
79
|
+
def self.required_kw_args_supported?; end
|
80
|
+
def self.ripper_supported?; end
|
81
|
+
def self.supports_exception_cause?; end
|
82
|
+
def self.supports_rebinding_module_methods?; end
|
83
|
+
def self.supports_taint?; end
|
84
|
+
def supports_exception_cause?; end
|
85
|
+
def supports_rebinding_module_methods?; end
|
86
|
+
def supports_taint?; end
|
87
|
+
end
|
88
|
+
module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
|
89
|
+
def self.===(exception); end
|
90
|
+
end
|
91
|
+
class RSpec::CallerFilter
|
92
|
+
def self.first_non_rspec_line(skip_frames = nil, increment = nil); end
|
93
|
+
end
|
94
|
+
module RSpec::Support::Warnings
|
95
|
+
def deprecate(deprecated, options = nil); end
|
96
|
+
def warn_deprecation(message, options = nil); end
|
97
|
+
def warn_with(message, options = nil); end
|
98
|
+
def warning(text, options = nil); end
|
99
|
+
end
|
100
|
+
class RSpec::Support::EncodedString
|
101
|
+
def <<(string); end
|
102
|
+
def ==(*args, &block); end
|
103
|
+
def detect_source_encoding(string); end
|
104
|
+
def empty?(*args, &block); end
|
105
|
+
def encoding(*args, &block); end
|
106
|
+
def eql?(*args, &block); end
|
107
|
+
def initialize(string, encoding = nil); end
|
108
|
+
def lines(*args, &block); end
|
109
|
+
def matching_encoding(string); end
|
110
|
+
def remove_invalid_bytes(string); end
|
111
|
+
def self.pick_encoding(source_a, source_b); end
|
112
|
+
def source_encoding; end
|
113
|
+
def split(regex_or_string); end
|
114
|
+
def to_s; end
|
115
|
+
def to_str; end
|
116
|
+
end
|
117
|
+
class RSpec::Support::ReentrantMutex
|
118
|
+
def enter; end
|
119
|
+
def exit; end
|
120
|
+
def initialize; end
|
121
|
+
def synchronize; end
|
122
|
+
end
|
123
|
+
class RSpec::Support::Mutex < Thread::Mutex
|
124
|
+
def self.new; end
|
125
|
+
end
|
126
|
+
class RSpec::Support::DirectoryMaker
|
127
|
+
def self.directory_exists?(dirname); end
|
128
|
+
def self.generate_path(stack, part); end
|
129
|
+
def self.generate_stack(path); end
|
130
|
+
def self.mkdir_p(path); end
|
131
|
+
end
|
132
|
+
class RSpec::Support::MethodSignature
|
133
|
+
def arbitrary_kw_args?; end
|
134
|
+
def classify_arity(arity = nil); end
|
135
|
+
def classify_parameters; end
|
136
|
+
def could_contain_kw_args?(args); end
|
137
|
+
def description; end
|
138
|
+
def has_kw_args_in?(args); end
|
139
|
+
def initialize(method); end
|
140
|
+
def invalid_kw_args_from(given_kw_args); end
|
141
|
+
def max_non_kw_args; end
|
142
|
+
def min_non_kw_args; end
|
143
|
+
def missing_kw_args_from(given_kw_args); end
|
144
|
+
def non_kw_args_arity_description; end
|
145
|
+
def optional_kw_args; end
|
146
|
+
def required_kw_args; end
|
147
|
+
def unlimited_args?; end
|
148
|
+
def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = nil); end
|
149
|
+
end
|
150
|
+
class RSpec::Support::MethodSignatureExpectation
|
151
|
+
def empty?; end
|
152
|
+
def expect_arbitrary_keywords; end
|
153
|
+
def expect_arbitrary_keywords=(arg0); end
|
154
|
+
def expect_unlimited_arguments; end
|
155
|
+
def expect_unlimited_arguments=(arg0); end
|
156
|
+
def initialize; end
|
157
|
+
def keywords; end
|
158
|
+
def keywords=(values); end
|
159
|
+
def max_count; end
|
160
|
+
def max_count=(number); end
|
161
|
+
def min_count; end
|
162
|
+
def min_count=(number); end
|
163
|
+
end
|
164
|
+
class RSpec::Support::BlockSignature < RSpec::Support::MethodSignature
|
165
|
+
def classify_parameters; end
|
166
|
+
end
|
167
|
+
class RSpec::Support::MethodSignatureVerifier
|
168
|
+
def arbitrary_kw_args?; end
|
169
|
+
def error_message; end
|
170
|
+
def initialize(signature, args = nil); end
|
171
|
+
def invalid_kw_args; end
|
172
|
+
def kw_args; end
|
173
|
+
def max_non_kw_args; end
|
174
|
+
def min_non_kw_args; end
|
175
|
+
def missing_kw_args; end
|
176
|
+
def non_kw_args; end
|
177
|
+
def split_args(*args); end
|
178
|
+
def unlimited_args?; end
|
179
|
+
def valid?; end
|
180
|
+
def valid_non_kw_args?; end
|
181
|
+
def with_expectation(expectation); end
|
182
|
+
end
|
183
|
+
class RSpec::Support::LooseSignatureVerifier < RSpec::Support::MethodSignatureVerifier
|
184
|
+
def split_args(*args); end
|
185
|
+
end
|
186
|
+
class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
|
187
|
+
def has_kw_args_in?(args); end
|
188
|
+
def initialize(signature); end
|
189
|
+
def invalid_kw_args_from(_kw_args); end
|
190
|
+
def missing_kw_args_from(_kw_args); end
|
191
|
+
def non_kw_args_arity_description; end
|
192
|
+
def valid_non_kw_args?(*args); end
|
193
|
+
end
|
194
|
+
module RSpec::Support::WithKeywordsWhenNeeded
|
195
|
+
def class_exec(klass, *args, &block); end
|
196
|
+
def self.class_exec(klass, *args, &block); end
|
197
|
+
end
|
198
|
+
module RSpec::Support::RecursiveConstMethods
|
199
|
+
def const_defined_on?(mod, const_name); end
|
200
|
+
def constants_defined_on(mod); end
|
201
|
+
def get_const_defined_on(mod, const_name); end
|
202
|
+
def normalize_const_name(const_name); end
|
203
|
+
def recursive_const_defined?(const_name); end
|
204
|
+
def recursive_const_get(const_name); end
|
205
|
+
end
|
206
|
+
class RSpec::Support::ObjectFormatter
|
207
|
+
def format(object); end
|
208
|
+
def initialize(max_formatted_output_length = nil); end
|
209
|
+
def max_formatted_output_length; end
|
210
|
+
def max_formatted_output_length=(arg0); end
|
211
|
+
def prepare_array(array); end
|
212
|
+
def prepare_element(element); end
|
213
|
+
def prepare_for_inspection(object); end
|
214
|
+
def prepare_hash(input_hash); end
|
215
|
+
def recursive_structure?(object); end
|
216
|
+
def self.default_instance; end
|
217
|
+
def self.format(object); end
|
218
|
+
def self.prepare_for_inspection(object); end
|
219
|
+
def sort_hash_keys(input_hash); end
|
220
|
+
def truncate_string(str, start_index, end_index); end
|
221
|
+
def with_entering_structure(structure); end
|
222
|
+
end
|
223
|
+
class RSpec::Support::ObjectFormatter::InspectableItem < Struct
|
224
|
+
def inspect; end
|
225
|
+
def pretty_print(pp); end
|
226
|
+
def self.[](*arg0); end
|
227
|
+
def self.inspect; end
|
228
|
+
def self.members; end
|
229
|
+
def self.new(*arg0); end
|
230
|
+
def text; end
|
231
|
+
def text=(_); end
|
232
|
+
end
|
233
|
+
class RSpec::Support::ObjectFormatter::BaseInspector < Struct
|
234
|
+
def formatter; end
|
235
|
+
def formatter=(_); end
|
236
|
+
def inspect; end
|
237
|
+
def object; end
|
238
|
+
def object=(_); end
|
239
|
+
def pretty_print(pp); end
|
240
|
+
def self.[](*arg0); end
|
241
|
+
def self.can_inspect?(_object); end
|
242
|
+
def self.inspect; end
|
243
|
+
def self.members; end
|
244
|
+
def self.new(*arg0); end
|
245
|
+
end
|
246
|
+
class RSpec::Support::ObjectFormatter::TimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
247
|
+
def inspect; end
|
248
|
+
def self.can_inspect?(object); end
|
249
|
+
end
|
250
|
+
class RSpec::Support::ObjectFormatter::DateTimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
251
|
+
def inspect; end
|
252
|
+
def self.can_inspect?(object); end
|
253
|
+
end
|
254
|
+
class RSpec::Support::ObjectFormatter::BigDecimalInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
255
|
+
def inspect; end
|
256
|
+
def self.can_inspect?(object); end
|
257
|
+
end
|
258
|
+
class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
259
|
+
def inspect; end
|
260
|
+
def self.can_inspect?(object); end
|
261
|
+
end
|
262
|
+
class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
263
|
+
def inspect; end
|
264
|
+
def klass; end
|
265
|
+
def native_object_id; end
|
266
|
+
def self.can_inspect?(object); end
|
267
|
+
end
|
268
|
+
class RSpec::Support::ObjectFormatter::DelegatorInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
269
|
+
def inspect; end
|
270
|
+
def self.can_inspect?(object); end
|
271
|
+
end
|
272
|
+
class RSpec::Support::ObjectFormatter::InspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
273
|
+
def inspect; end
|
274
|
+
def self.can_inspect?(object); end
|
275
|
+
end
|
276
|
+
module RSpec::Support::FuzzyMatcher
|
277
|
+
def self.arrays_match?(expected_list, actual_list); end
|
278
|
+
def self.hashes_match?(expected_hash, actual_hash); end
|
279
|
+
def self.values_match?(expected, actual); end
|
280
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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/rspec/all/rspec.rbi
|
9
|
+
#
|
10
|
+
# rspec-3.9.0
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
end
|
14
|
+
module RSpec::Version
|
15
|
+
end
|
@@ -0,0 +1,82 @@
|
|
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/thread_safe/all/thread_safe.rbi
|
9
|
+
#
|
10
|
+
# thread_safe-0.3.6
|
11
|
+
|
12
|
+
module ThreadSafe
|
13
|
+
end
|
14
|
+
module Threadsafe
|
15
|
+
def self.const_missing(name); end
|
16
|
+
end
|
17
|
+
class SynchronizedDelegator < SimpleDelegator
|
18
|
+
def initialize(obj); end
|
19
|
+
def method_missing(method, *args, &block); end
|
20
|
+
def setup; end
|
21
|
+
def teardown; end
|
22
|
+
end
|
23
|
+
class ThreadSafe::NonConcurrentCacheBackend
|
24
|
+
def [](key); end
|
25
|
+
def []=(key, value); end
|
26
|
+
def _get(key); end
|
27
|
+
def _set(key, value); end
|
28
|
+
def clear; end
|
29
|
+
def compute(key); end
|
30
|
+
def compute_if_absent(key); end
|
31
|
+
def compute_if_present(key); end
|
32
|
+
def delete(key); end
|
33
|
+
def delete_pair(key, value); end
|
34
|
+
def dupped_backend; end
|
35
|
+
def each_pair; end
|
36
|
+
def get_and_set(key, value); end
|
37
|
+
def get_or_default(key, default_value); end
|
38
|
+
def initialize(options = nil); end
|
39
|
+
def initialize_copy(other); end
|
40
|
+
def key?(key); end
|
41
|
+
def merge_pair(key, value); end
|
42
|
+
def pair?(key, expected_value); end
|
43
|
+
def replace_if_exists(key, new_value); end
|
44
|
+
def replace_pair(key, old_value, new_value); end
|
45
|
+
def size; end
|
46
|
+
def store_computed_value(key, new_value); end
|
47
|
+
def value?(value); end
|
48
|
+
end
|
49
|
+
class ThreadSafe::MriCacheBackend < ThreadSafe::NonConcurrentCacheBackend
|
50
|
+
def []=(key, value); end
|
51
|
+
def clear; end
|
52
|
+
def compute(key); end
|
53
|
+
def compute_if_absent(key); end
|
54
|
+
def compute_if_present(key); end
|
55
|
+
def delete(key); end
|
56
|
+
def delete_pair(key, value); end
|
57
|
+
def get_and_set(key, value); end
|
58
|
+
def merge_pair(key, value); end
|
59
|
+
def replace_if_exists(key, new_value); end
|
60
|
+
def replace_pair(key, old_value, new_value); end
|
61
|
+
end
|
62
|
+
class ThreadSafe::Cache < ThreadSafe::MriCacheBackend
|
63
|
+
def [](key); end
|
64
|
+
def each_key; end
|
65
|
+
def each_value; end
|
66
|
+
def empty?; end
|
67
|
+
def fetch(key, default_value = nil); end
|
68
|
+
def fetch_or_store(key, default_value = nil); end
|
69
|
+
def get(key); end
|
70
|
+
def initialize(options = nil, &block); end
|
71
|
+
def initialize_copy(other); end
|
72
|
+
def key(value); end
|
73
|
+
def keys; end
|
74
|
+
def marshal_dump; end
|
75
|
+
def marshal_load(hash); end
|
76
|
+
def populate_from(hash); end
|
77
|
+
def put(key, value); end
|
78
|
+
def put_if_absent(key, value); end
|
79
|
+
def raise_fetch_no_key; end
|
80
|
+
def validate_options_hash!(options); end
|
81
|
+
def values; end
|
82
|
+
end
|
@@ -0,0 +1,408 @@
|
|
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-1.2.7
|
11
|
+
|
12
|
+
module TZInfo
|
13
|
+
end
|
14
|
+
module TZInfo::RubyCoreSupport
|
15
|
+
def self.datetime_new!(ajd = nil, of = nil, sg = nil); end
|
16
|
+
def self.datetime_new(y = nil, m = nil, d = nil, h = nil, min = nil, s = nil, of = nil, sg = nil); end
|
17
|
+
def self.force_encoding(str, encoding); end
|
18
|
+
def self.open_file(file_name, mode, opts, &block); end
|
19
|
+
def self.rational_new!(numerator, denominator = nil); end
|
20
|
+
def self.time_nsec(time); end
|
21
|
+
def self.time_supports_64bit; end
|
22
|
+
def self.time_supports_negative; end
|
23
|
+
end
|
24
|
+
module TZInfo::RubyCoreSupport::UntaintExt
|
25
|
+
end
|
26
|
+
module TZInfo::OffsetRationals
|
27
|
+
def rational_for_offset(offset); end
|
28
|
+
def self.rational_for_offset(offset); end
|
29
|
+
end
|
30
|
+
class TZInfo::TimeOrDateTime
|
31
|
+
def +(seconds); end
|
32
|
+
def -(seconds); end
|
33
|
+
def <=>(timeOrDateTime); end
|
34
|
+
def add_with_convert(seconds); end
|
35
|
+
def day; end
|
36
|
+
def eql?(todt); end
|
37
|
+
def hash; end
|
38
|
+
def hour; end
|
39
|
+
def initialize(timeOrDateTime); end
|
40
|
+
def inspect; end
|
41
|
+
def mday; end
|
42
|
+
def min; end
|
43
|
+
def mon; end
|
44
|
+
def month; end
|
45
|
+
def sec; end
|
46
|
+
def self.wrap(timeOrDateTime); end
|
47
|
+
def to_datetime; end
|
48
|
+
def to_i; end
|
49
|
+
def to_orig; end
|
50
|
+
def to_s; end
|
51
|
+
def to_time; end
|
52
|
+
def usec; end
|
53
|
+
def year; end
|
54
|
+
include Comparable
|
55
|
+
end
|
56
|
+
module TZInfo::TimezoneDefinition
|
57
|
+
def self.append_features(base); end
|
58
|
+
end
|
59
|
+
module TZInfo::TimezoneDefinition::ClassMethods
|
60
|
+
def get; end
|
61
|
+
def linked_timezone(identifier, link_to_identifier); end
|
62
|
+
def timezone(identifier); end
|
63
|
+
end
|
64
|
+
class TZInfo::TimezoneOffset
|
65
|
+
def ==(toi); end
|
66
|
+
def abbreviation; end
|
67
|
+
def dst?; end
|
68
|
+
def eql?(toi); end
|
69
|
+
def hash; end
|
70
|
+
def initialize(utc_offset, std_offset, abbreviation); end
|
71
|
+
def inspect; end
|
72
|
+
def std_offset; end
|
73
|
+
def to_local(utc); end
|
74
|
+
def to_utc(local); end
|
75
|
+
def utc_offset; end
|
76
|
+
def utc_total_offset; end
|
77
|
+
end
|
78
|
+
class TZInfo::TimezoneTransition
|
79
|
+
def ==(tti); end
|
80
|
+
def at; end
|
81
|
+
def datetime; end
|
82
|
+
def eql?(tti); end
|
83
|
+
def hash; end
|
84
|
+
def initialize(offset, previous_offset); end
|
85
|
+
def inspect; end
|
86
|
+
def local_end; end
|
87
|
+
def local_end_at; end
|
88
|
+
def local_end_time; end
|
89
|
+
def local_start; end
|
90
|
+
def local_start_at; end
|
91
|
+
def local_start_time; end
|
92
|
+
def offset; end
|
93
|
+
def previous_offset; end
|
94
|
+
def raise_not_implemented(method_name); end
|
95
|
+
def time; end
|
96
|
+
end
|
97
|
+
class TZInfo::TimezoneTransitionDefinition < TZInfo::TimezoneTransition
|
98
|
+
def at; end
|
99
|
+
def denominator; end
|
100
|
+
def eql?(tti); end
|
101
|
+
def hash; end
|
102
|
+
def initialize(offset, previous_offset, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil); end
|
103
|
+
def numerator_or_time; end
|
104
|
+
end
|
105
|
+
module TZInfo::TimezoneIndexDefinition
|
106
|
+
def self.append_features(base); end
|
107
|
+
end
|
108
|
+
module TZInfo::TimezoneIndexDefinition::ClassMethods
|
109
|
+
def data_timezones; end
|
110
|
+
def linked_timezone(identifier); end
|
111
|
+
def linked_timezones; end
|
112
|
+
def timezone(identifier); end
|
113
|
+
def timezones; end
|
114
|
+
end
|
115
|
+
class TZInfo::TimezoneInfo
|
116
|
+
def create_timezone; end
|
117
|
+
def identifier; end
|
118
|
+
def initialize(identifier); end
|
119
|
+
def inspect; end
|
120
|
+
def raise_not_implemented(method_name); end
|
121
|
+
end
|
122
|
+
class TZInfo::DataTimezoneInfo < TZInfo::TimezoneInfo
|
123
|
+
def create_timezone; end
|
124
|
+
def period_for_utc(utc); end
|
125
|
+
def periods_for_local(local); end
|
126
|
+
def raise_not_implemented(method_name); end
|
127
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
128
|
+
end
|
129
|
+
class TZInfo::LinkedTimezoneInfo < TZInfo::TimezoneInfo
|
130
|
+
def create_timezone; end
|
131
|
+
def initialize(identifier, link_to_identifier); end
|
132
|
+
def inspect; end
|
133
|
+
def link_to_identifier; end
|
134
|
+
end
|
135
|
+
class TZInfo::NoOffsetsDefined < StandardError
|
136
|
+
end
|
137
|
+
class TZInfo::TransitionDataTimezoneInfo < TZInfo::DataTimezoneInfo
|
138
|
+
def initialize(identifier); end
|
139
|
+
def offset(id, utc_offset, std_offset, abbreviation); end
|
140
|
+
def period_for_utc(utc); end
|
141
|
+
def periods_for_local(local); end
|
142
|
+
def transition(year, month, offset_id, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil); end
|
143
|
+
def transition_after_start(index); end
|
144
|
+
def transition_before_end(index); end
|
145
|
+
def transition_index(year, month); end
|
146
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
147
|
+
end
|
148
|
+
class TZInfo::InvalidZoneinfoFile < StandardError
|
149
|
+
end
|
150
|
+
class TZInfo::ZoneinfoTimezoneInfo < TZInfo::TransitionDataTimezoneInfo
|
151
|
+
def check_read(file, bytes); end
|
152
|
+
def define_offset(index, offset); end
|
153
|
+
def derive_offsets(transitions, offsets); end
|
154
|
+
def initialize(identifier, file_path); end
|
155
|
+
def make_signed_int32(long); end
|
156
|
+
def make_signed_int64(high, low); end
|
157
|
+
def parse(file); end
|
158
|
+
end
|
159
|
+
class TZInfo::InvalidDataSource < StandardError
|
160
|
+
end
|
161
|
+
class TZInfo::DataSourceNotFound < StandardError
|
162
|
+
end
|
163
|
+
class TZInfo::DataSource
|
164
|
+
def country_codes; end
|
165
|
+
def data_timezone_identifiers; end
|
166
|
+
def inspect; end
|
167
|
+
def linked_timezone_identifiers; end
|
168
|
+
def load_country_info(code); end
|
169
|
+
def load_timezone_info(identifier); end
|
170
|
+
def raise_invalid_data_source(method_name); end
|
171
|
+
def self.create_default_data_source; end
|
172
|
+
def self.get; end
|
173
|
+
def self.set(data_source_or_type, *args); end
|
174
|
+
def timezone_identifiers; end
|
175
|
+
def to_s; end
|
176
|
+
end
|
177
|
+
class TZInfo::RubyDataSource < TZInfo::DataSource
|
178
|
+
def country_codes; end
|
179
|
+
def data_timezone_identifiers; end
|
180
|
+
def initialize; end
|
181
|
+
def linked_timezone_identifiers; end
|
182
|
+
def load_country_index; end
|
183
|
+
def load_country_info(code); end
|
184
|
+
def load_timezone_index; end
|
185
|
+
def load_timezone_info(identifier); end
|
186
|
+
def require_data(*file); end
|
187
|
+
def require_definition(identifier); end
|
188
|
+
def require_index(name); end
|
189
|
+
def timezone_identifiers; end
|
190
|
+
def to_s; end
|
191
|
+
end
|
192
|
+
class TZInfo::InvalidZoneinfoDirectory < StandardError
|
193
|
+
end
|
194
|
+
class TZInfo::ZoneinfoDirectoryNotFound < StandardError
|
195
|
+
end
|
196
|
+
class TZInfo::ZoneinfoDataSource < TZInfo::DataSource
|
197
|
+
def country_codes; end
|
198
|
+
def data_timezone_identifiers; end
|
199
|
+
def dms_to_rational(sign, degrees, minutes, seconds = nil); end
|
200
|
+
def enum_timezones(dir, exclude = nil, &block); end
|
201
|
+
def find_zoneinfo_dir; end
|
202
|
+
def initialize(zoneinfo_dir = nil, alternate_iso3166_tab_path = nil); end
|
203
|
+
def inspect; end
|
204
|
+
def linked_timezone_identifiers; end
|
205
|
+
def load_country_index(iso3166_tab_path, zone_tab_path); end
|
206
|
+
def load_country_info(code); end
|
207
|
+
def load_timezone_index; end
|
208
|
+
def load_timezone_info(identifier); end
|
209
|
+
def resolve_tab_path(zoneinfo_path, standard_names, tab_name); end
|
210
|
+
def self.alternate_iso3166_tab_search_path; end
|
211
|
+
def self.alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path); end
|
212
|
+
def self.process_search_path(path, default); end
|
213
|
+
def self.search_path; end
|
214
|
+
def self.search_path=(search_path); end
|
215
|
+
def timezone_identifiers; end
|
216
|
+
def to_s; end
|
217
|
+
def validate_zoneinfo_dir(path, iso3166_tab_path = nil); end
|
218
|
+
def zoneinfo_dir; end
|
219
|
+
end
|
220
|
+
class TZInfo::TimezonePeriod
|
221
|
+
def ==(p); end
|
222
|
+
def abbreviation; end
|
223
|
+
def dst?; end
|
224
|
+
def end_transition; end
|
225
|
+
def eql?(p); end
|
226
|
+
def hash; end
|
227
|
+
def initialize(start_transition, end_transition, offset = nil); end
|
228
|
+
def inspect; end
|
229
|
+
def local_after_start?(local); end
|
230
|
+
def local_before_end?(local); end
|
231
|
+
def local_end; end
|
232
|
+
def local_end_time; end
|
233
|
+
def local_start; end
|
234
|
+
def local_start_time; end
|
235
|
+
def offset; end
|
236
|
+
def start_transition; end
|
237
|
+
def std_offset; end
|
238
|
+
def to_local(utc); end
|
239
|
+
def to_utc(local); end
|
240
|
+
def utc_after_start?(utc); end
|
241
|
+
def utc_before_end?(utc); end
|
242
|
+
def utc_end; end
|
243
|
+
def utc_end_time; end
|
244
|
+
def utc_offset; end
|
245
|
+
def utc_start; end
|
246
|
+
def utc_start_time; end
|
247
|
+
def utc_total_offset; end
|
248
|
+
def utc_total_offset_rational; end
|
249
|
+
def valid_for_local?(local); end
|
250
|
+
def valid_for_utc?(utc); end
|
251
|
+
def zone_identifier; end
|
252
|
+
end
|
253
|
+
class TZInfo::AmbiguousTime < StandardError
|
254
|
+
end
|
255
|
+
class TZInfo::PeriodNotFound < StandardError
|
256
|
+
end
|
257
|
+
class TZInfo::InvalidTimezoneIdentifier < StandardError
|
258
|
+
end
|
259
|
+
class TZInfo::UnknownTimezone < StandardError
|
260
|
+
end
|
261
|
+
class TZInfo::Timezone
|
262
|
+
def <=>(tz); end
|
263
|
+
def _dump(limit); end
|
264
|
+
def canonical_identifier; end
|
265
|
+
def canonical_zone; end
|
266
|
+
def current_period; end
|
267
|
+
def current_period_and_time; end
|
268
|
+
def current_time_and_period; end
|
269
|
+
def eql?(tz); end
|
270
|
+
def friendly_identifier(skip_first_part = nil); end
|
271
|
+
def hash; end
|
272
|
+
def identifier; end
|
273
|
+
def inspect; end
|
274
|
+
def local_to_utc(local, dst = nil); end
|
275
|
+
def name; end
|
276
|
+
def now; end
|
277
|
+
def offsets_up_to(utc_to, utc_from = nil); end
|
278
|
+
def period_for_local(local, dst = nil); end
|
279
|
+
def period_for_utc(utc); end
|
280
|
+
def periods_for_local(local); end
|
281
|
+
def raise_unknown_timezone; end
|
282
|
+
def self._load(data); end
|
283
|
+
def self.all; end
|
284
|
+
def self.all_country_zone_identifiers; end
|
285
|
+
def self.all_country_zones; end
|
286
|
+
def self.all_data_zone_identifiers; end
|
287
|
+
def self.all_data_zones; end
|
288
|
+
def self.all_identifiers; end
|
289
|
+
def self.all_linked_zone_identifiers; end
|
290
|
+
def self.all_linked_zones; end
|
291
|
+
def self.data_source; end
|
292
|
+
def self.default_dst; end
|
293
|
+
def self.default_dst=(value); end
|
294
|
+
def self.get(identifier); end
|
295
|
+
def self.get_proxies(identifiers); end
|
296
|
+
def self.get_proxy(identifier); end
|
297
|
+
def self.init_loaded_zones; end
|
298
|
+
def self.new(identifier = nil); end
|
299
|
+
def self.us_zone_identifiers; end
|
300
|
+
def self.us_zones; end
|
301
|
+
def strftime(format, utc = nil); end
|
302
|
+
def to_s; end
|
303
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
304
|
+
def utc_to_local(utc); end
|
305
|
+
include Comparable
|
306
|
+
end
|
307
|
+
class TZInfo::InfoTimezone < TZInfo::Timezone
|
308
|
+
def identifier; end
|
309
|
+
def info; end
|
310
|
+
def self.new(info); end
|
311
|
+
def setup(info); end
|
312
|
+
end
|
313
|
+
class TZInfo::DataTimezone < TZInfo::InfoTimezone
|
314
|
+
def canonical_zone; end
|
315
|
+
def period_for_utc(utc); end
|
316
|
+
def periods_for_local(local); end
|
317
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
318
|
+
end
|
319
|
+
class TZInfo::LinkedTimezone < TZInfo::InfoTimezone
|
320
|
+
def canonical_zone; end
|
321
|
+
def period_for_utc(utc); end
|
322
|
+
def periods_for_local(local); end
|
323
|
+
def setup(info); end
|
324
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
325
|
+
end
|
326
|
+
class TZInfo::TimezoneProxy < TZInfo::Timezone
|
327
|
+
def _dump(limit); end
|
328
|
+
def canonical_zone; end
|
329
|
+
def identifier; end
|
330
|
+
def period_for_utc(utc); end
|
331
|
+
def periods_for_local(local); end
|
332
|
+
def real_timezone; end
|
333
|
+
def self._load(data); end
|
334
|
+
def self.new(identifier); end
|
335
|
+
def setup(identifier); end
|
336
|
+
def transitions_up_to(to, from = nil); end
|
337
|
+
end
|
338
|
+
module TZInfo::CountryIndexDefinition
|
339
|
+
def self.append_features(base); end
|
340
|
+
end
|
341
|
+
module TZInfo::CountryIndexDefinition::ClassMethods
|
342
|
+
def countries; end
|
343
|
+
def country(code, name, &block); end
|
344
|
+
end
|
345
|
+
class TZInfo::CountryInfo
|
346
|
+
def code; end
|
347
|
+
def initialize(code, name); end
|
348
|
+
def inspect; end
|
349
|
+
def name; end
|
350
|
+
def raise_not_implemented(method_name); end
|
351
|
+
def zone_identifiers; end
|
352
|
+
def zones; end
|
353
|
+
end
|
354
|
+
class TZInfo::RubyCountryInfo < TZInfo::CountryInfo
|
355
|
+
def initialize(code, name, &block); end
|
356
|
+
def zone_identifiers; end
|
357
|
+
def zones; end
|
358
|
+
end
|
359
|
+
class TZInfo::RubyCountryInfo::Zones
|
360
|
+
def initialize; end
|
361
|
+
def list; end
|
362
|
+
def timezone(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
|
363
|
+
end
|
364
|
+
class TZInfo::ZoneinfoCountryInfo < TZInfo::CountryInfo
|
365
|
+
def initialize(code, name, zones); end
|
366
|
+
def zone_identifiers; end
|
367
|
+
def zones; end
|
368
|
+
end
|
369
|
+
class TZInfo::InvalidCountryCode < StandardError
|
370
|
+
end
|
371
|
+
class TZInfo::Country
|
372
|
+
def <=>(c); end
|
373
|
+
def _dump(limit); end
|
374
|
+
def code; end
|
375
|
+
def eql?(c); end
|
376
|
+
def hash; end
|
377
|
+
def inspect; end
|
378
|
+
def name; end
|
379
|
+
def self._load(data); end
|
380
|
+
def self.all; end
|
381
|
+
def self.all_codes; end
|
382
|
+
def self.data_source; end
|
383
|
+
def self.get(identifier); end
|
384
|
+
def self.init_countries; end
|
385
|
+
def self.new(identifier); end
|
386
|
+
def setup(info); end
|
387
|
+
def to_s; end
|
388
|
+
def zone_identifiers; end
|
389
|
+
def zone_info; end
|
390
|
+
def zone_names; end
|
391
|
+
def zones; end
|
392
|
+
include Comparable
|
393
|
+
end
|
394
|
+
class TZInfo::CountryTimezone
|
395
|
+
def ==(ct); end
|
396
|
+
def description; end
|
397
|
+
def description_or_friendly_identifier; end
|
398
|
+
def eql?(ct); end
|
399
|
+
def hash; end
|
400
|
+
def identifier; end
|
401
|
+
def initialize(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
|
402
|
+
def inspect; end
|
403
|
+
def latitude; end
|
404
|
+
def longitude; end
|
405
|
+
def self.new!(*arg0); end
|
406
|
+
def self.new(identifier, latitude, longitude, description = nil); end
|
407
|
+
def timezone; end
|
408
|
+
end
|