dry-monads-sorbet 1.1.5 → 1.1.6.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -3
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/bundled_rbi/dry-monads.rbi +3 -7
- data/lib/dry-monads-sorbet.rb +1 -0
- data/lib/dry-monads-sorbet/railtie.rb +1 -0
- data/lib/dry/monads/sorbet/version.rb +2 -1
- data/sorbet/config +4 -0
- data/sorbet/rbi/gems/activesupport.rbi +1722 -0
- data/sorbet/rbi/gems/ast.rbi +48 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/dry-core.rbi +38 -0
- data/sorbet/rbi/gems/dry-equalizer.rbi +26 -0
- data/sorbet/rbi/gems/dry-monads.rbi +510 -0
- data/sorbet/rbi/gems/em-websocket.rbi +225 -0
- data/sorbet/rbi/gems/eventmachine.rbi +489 -0
- data/sorbet/rbi/gems/ffaker.rbi +60 -0
- data/sorbet/rbi/gems/guard.rbi +397 -0
- data/sorbet/rbi/gems/http_parser.rb.rbi +37 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/kwalify.rbi +340 -0
- data/sorbet/rbi/gems/listen.rbi +324 -0
- data/sorbet/rbi/gems/lumberjack.rbi +300 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/nenv.rbi +60 -0
- data/sorbet/rbi/gems/notiffany.rbi +215 -0
- data/sorbet/rbi/gems/parallel.rbi +82 -0
- data/sorbet/rbi/gems/parser.rbi +1846 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +648 -0
- data/sorbet/rbi/gems/rb-fsevent.rbi +31 -0
- data/sorbet/rbi/gems/rb-readline.rbi +767 -0
- data/sorbet/rbi/gems/reek.rbi +1027 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +913 -0
- data/sorbet/rbi/gems/rexml.rbi +605 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1913 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1053 -0
- data/sorbet/rbi/gems/rubocop-rspec.rbi +937 -0
- data/sorbet/rbi/gems/rubocop.rbi +6841 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
- data/sorbet/rbi/gems/shellany.rbi +29 -0
- data/sorbet/rbi/gems/shoulda-matchers.rbi +1848 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +361 -0
- data/sorbet/rbi/gems/sqlite3.rbi +354 -0
- data/sorbet/rbi/gems/stackprof.rbi +52 -0
- data/sorbet/rbi/gems/thor.rbi +32 -0
- data/sorbet/rbi/gems/thread_safe.rbi +82 -0
- data/sorbet/rbi/gems/timecop.rbi +98 -0
- data/sorbet/rbi/gems/tzinfo.rbi +406 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +7267 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +14661 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -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/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +398 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +2072 -0
- data/sorbet/rbi/todo.rbi +8 -0
- metadata +71 -8
@@ -0,0 +1,52 @@
|
|
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/stackprof/all/stackprof.rbi
|
9
|
+
#
|
10
|
+
# stackprof-0.2.15
|
11
|
+
|
12
|
+
module StackProf
|
13
|
+
def self.results(*arg0); end
|
14
|
+
def self.run(*arg0); end
|
15
|
+
def self.running?; end
|
16
|
+
def self.sample; end
|
17
|
+
def self.start(*arg0); end
|
18
|
+
def self.stop; end
|
19
|
+
end
|
20
|
+
class StackProf::Report
|
21
|
+
def +(other); end
|
22
|
+
def add_lines(a, b); end
|
23
|
+
def callers_for(addr); end
|
24
|
+
def convert_to_d3_flame_graph_format(name, stacks, depth); end
|
25
|
+
def data; end
|
26
|
+
def files; end
|
27
|
+
def flamegraph_row(f, x, y, weight, addr); end
|
28
|
+
def frames(sort_by_total = nil); end
|
29
|
+
def initialize(data); end
|
30
|
+
def max_samples; end
|
31
|
+
def modeline; end
|
32
|
+
def normalized_frames; end
|
33
|
+
def overall_samples; end
|
34
|
+
def print_alphabetical_flamegraph(f = nil, skip_common = nil); end
|
35
|
+
def print_callgrind(f = nil); end
|
36
|
+
def print_d3_flamegraph(f = nil, skip_common = nil); end
|
37
|
+
def print_debug; end
|
38
|
+
def print_dump(f = nil); end
|
39
|
+
def print_file(filter, f = nil); end
|
40
|
+
def print_files(sort_by_total = nil, limit = nil, f = nil); end
|
41
|
+
def print_flamegraph(f, skip_common, alphabetical = nil); end
|
42
|
+
def print_graphviz(options = nil, f = nil); end
|
43
|
+
def print_json(f = nil); end
|
44
|
+
def print_method(name, f = nil); end
|
45
|
+
def print_stackcollapse; end
|
46
|
+
def print_text(sort_by_total = nil, limit = nil, select_files = nil, reject_files = nil, select_names = nil, reject_names = nil, f = nil); end
|
47
|
+
def print_timeline_flamegraph(f = nil, skip_common = nil); end
|
48
|
+
def root_frames; end
|
49
|
+
def source_display(f, file, lines, range = nil); end
|
50
|
+
def version; end
|
51
|
+
def walk_method(name); end
|
52
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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/thor/all/thor.rbi
|
9
|
+
#
|
10
|
+
# thor-1.0.1
|
11
|
+
|
12
|
+
class Thor
|
13
|
+
end
|
14
|
+
module Thor::CoreExt
|
15
|
+
end
|
16
|
+
class Thor::CoreExt::HashWithIndifferentAccess < Hash
|
17
|
+
def [](key); end
|
18
|
+
def []=(key, value); end
|
19
|
+
def convert_key(key); end
|
20
|
+
def delete(key); end
|
21
|
+
def fetch(key, *args); end
|
22
|
+
def initialize(hash = nil); end
|
23
|
+
def key?(key); end
|
24
|
+
def merge!(other); end
|
25
|
+
def merge(other); end
|
26
|
+
def method_missing(method, *args); end
|
27
|
+
def replace(other_hash); end
|
28
|
+
def reverse_merge!(other_hash); end
|
29
|
+
def reverse_merge(other); end
|
30
|
+
def to_hash; end
|
31
|
+
def values_at(*indices); end
|
32
|
+
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,98 @@
|
|
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/timecop/all/timecop.rbi
|
9
|
+
#
|
10
|
+
# timecop-0.9.1
|
11
|
+
|
12
|
+
class Time
|
13
|
+
def self.mock_time; end
|
14
|
+
def self.new(*args); end
|
15
|
+
def self.new_with_mock_time(*args); end
|
16
|
+
def self.new_without_mock_time(*arg0); end
|
17
|
+
def self.now_with_mock_time; end
|
18
|
+
def self.now_without_mock_time; end
|
19
|
+
end
|
20
|
+
class Date
|
21
|
+
def self.closest_wday(wday); end
|
22
|
+
def self.mock_date; end
|
23
|
+
def self.mocked_time_stack_item; end
|
24
|
+
def self.parse_with_mock_date(*args); end
|
25
|
+
def self.parse_without_mock_date(*arg0); end
|
26
|
+
def self.strptime_with_mock_date(str = nil, fmt = nil, start = nil); end
|
27
|
+
def self.strptime_without_mock_date(*arg0); end
|
28
|
+
def self.today_with_mock_date; end
|
29
|
+
def self.today_without_mock_date(*arg0); end
|
30
|
+
end
|
31
|
+
class DateTime < Date
|
32
|
+
def self.mock_time; end
|
33
|
+
def self.mocked_time_stack_item; end
|
34
|
+
def self.now_with_mock_time; end
|
35
|
+
def self.now_without_mock_time(*arg0); end
|
36
|
+
def self.parse_with_mock_date(*args); end
|
37
|
+
def self.parse_without_mock_date(*arg0); end
|
38
|
+
end
|
39
|
+
class Timecop
|
40
|
+
def baseline; end
|
41
|
+
def baseline=(b); end
|
42
|
+
def initialize; end
|
43
|
+
def return(&block); end
|
44
|
+
def return_to_baseline; end
|
45
|
+
def self.allocate; end
|
46
|
+
def self.baseline; end
|
47
|
+
def self.baseline=(baseline); end
|
48
|
+
def self.freeze(*args, &block); end
|
49
|
+
def self.frozen?; end
|
50
|
+
def self.instance; end
|
51
|
+
def self.new(*arg0); end
|
52
|
+
def self.return(&block); end
|
53
|
+
def self.return_to_baseline; end
|
54
|
+
def self.safe_mode=(safe); end
|
55
|
+
def self.safe_mode?; end
|
56
|
+
def self.scale(*args, &block); end
|
57
|
+
def self.send_travel(mock_type, *args, &block); end
|
58
|
+
def self.thread_safe; end
|
59
|
+
def self.thread_safe=(t); end
|
60
|
+
def self.top_stack_item; end
|
61
|
+
def self.travel(*args, &block); end
|
62
|
+
def set_baseline(b); end
|
63
|
+
def set_stack(s); end
|
64
|
+
def stack; end
|
65
|
+
def thread_safe; end
|
66
|
+
def thread_safe=(t); end
|
67
|
+
def travel(mock_type, *args, &block); end
|
68
|
+
def unmock!; end
|
69
|
+
extend Singleton::SingletonClassMethods
|
70
|
+
include Singleton
|
71
|
+
end
|
72
|
+
class Timecop::TimeStackItem
|
73
|
+
def compute_travel_offset; end
|
74
|
+
def date(date_klass = nil); end
|
75
|
+
def datetime(datetime_klass = nil); end
|
76
|
+
def day; end
|
77
|
+
def hour; end
|
78
|
+
def initialize(mock_type, *args); end
|
79
|
+
def min; end
|
80
|
+
def mock_type; end
|
81
|
+
def month; end
|
82
|
+
def parse_time(*args); end
|
83
|
+
def rational_to_utc_offset(rational); end
|
84
|
+
def scaled_time; end
|
85
|
+
def scaling_factor; end
|
86
|
+
def sec; end
|
87
|
+
def time(time_klass = nil); end
|
88
|
+
def time_klass; end
|
89
|
+
def times_are_equal_within_epsilon(t1, t2, epsilon_in_seconds); end
|
90
|
+
def travel_offset; end
|
91
|
+
def travel_offset_days; end
|
92
|
+
def utc_offset; end
|
93
|
+
def utc_offset_to_rational(utc_offset); end
|
94
|
+
def year; end
|
95
|
+
end
|
96
|
+
class Timecop::SafeModeException < StandardError
|
97
|
+
def initialize; end
|
98
|
+
end
|
@@ -0,0 +1,406 @@
|
|
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::OffsetRationals
|
25
|
+
def rational_for_offset(offset); end
|
26
|
+
def self.rational_for_offset(offset); end
|
27
|
+
end
|
28
|
+
class TZInfo::TimeOrDateTime
|
29
|
+
def +(seconds); end
|
30
|
+
def -(seconds); end
|
31
|
+
def <=>(timeOrDateTime); end
|
32
|
+
def add_with_convert(seconds); end
|
33
|
+
def day; end
|
34
|
+
def eql?(todt); end
|
35
|
+
def hash; end
|
36
|
+
def hour; end
|
37
|
+
def initialize(timeOrDateTime); end
|
38
|
+
def inspect; end
|
39
|
+
def mday; end
|
40
|
+
def min; end
|
41
|
+
def mon; end
|
42
|
+
def month; end
|
43
|
+
def sec; end
|
44
|
+
def self.wrap(timeOrDateTime); end
|
45
|
+
def to_datetime; end
|
46
|
+
def to_i; end
|
47
|
+
def to_orig; end
|
48
|
+
def to_s; end
|
49
|
+
def to_time; end
|
50
|
+
def usec; end
|
51
|
+
def year; end
|
52
|
+
include Comparable
|
53
|
+
end
|
54
|
+
module TZInfo::TimezoneDefinition
|
55
|
+
def self.append_features(base); end
|
56
|
+
end
|
57
|
+
module TZInfo::TimezoneDefinition::ClassMethods
|
58
|
+
def get; end
|
59
|
+
def linked_timezone(identifier, link_to_identifier); end
|
60
|
+
def timezone(identifier); end
|
61
|
+
end
|
62
|
+
class TZInfo::TimezoneOffset
|
63
|
+
def ==(toi); end
|
64
|
+
def abbreviation; end
|
65
|
+
def dst?; end
|
66
|
+
def eql?(toi); end
|
67
|
+
def hash; end
|
68
|
+
def initialize(utc_offset, std_offset, abbreviation); end
|
69
|
+
def inspect; end
|
70
|
+
def std_offset; end
|
71
|
+
def to_local(utc); end
|
72
|
+
def to_utc(local); end
|
73
|
+
def utc_offset; end
|
74
|
+
def utc_total_offset; end
|
75
|
+
end
|
76
|
+
class TZInfo::TimezoneTransition
|
77
|
+
def ==(tti); end
|
78
|
+
def at; end
|
79
|
+
def datetime; end
|
80
|
+
def eql?(tti); end
|
81
|
+
def hash; end
|
82
|
+
def initialize(offset, previous_offset); end
|
83
|
+
def inspect; end
|
84
|
+
def local_end; end
|
85
|
+
def local_end_at; end
|
86
|
+
def local_end_time; end
|
87
|
+
def local_start; end
|
88
|
+
def local_start_at; end
|
89
|
+
def local_start_time; end
|
90
|
+
def offset; end
|
91
|
+
def previous_offset; end
|
92
|
+
def raise_not_implemented(method_name); end
|
93
|
+
def time; end
|
94
|
+
end
|
95
|
+
class TZInfo::TimezoneTransitionDefinition < TZInfo::TimezoneTransition
|
96
|
+
def at; end
|
97
|
+
def denominator; end
|
98
|
+
def eql?(tti); end
|
99
|
+
def hash; end
|
100
|
+
def initialize(offset, previous_offset, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil); end
|
101
|
+
def numerator_or_time; end
|
102
|
+
end
|
103
|
+
module TZInfo::TimezoneIndexDefinition
|
104
|
+
def self.append_features(base); end
|
105
|
+
end
|
106
|
+
module TZInfo::TimezoneIndexDefinition::ClassMethods
|
107
|
+
def data_timezones; end
|
108
|
+
def linked_timezone(identifier); end
|
109
|
+
def linked_timezones; end
|
110
|
+
def timezone(identifier); end
|
111
|
+
def timezones; end
|
112
|
+
end
|
113
|
+
class TZInfo::TimezoneInfo
|
114
|
+
def create_timezone; end
|
115
|
+
def identifier; end
|
116
|
+
def initialize(identifier); end
|
117
|
+
def inspect; end
|
118
|
+
def raise_not_implemented(method_name); end
|
119
|
+
end
|
120
|
+
class TZInfo::DataTimezoneInfo < TZInfo::TimezoneInfo
|
121
|
+
def create_timezone; end
|
122
|
+
def period_for_utc(utc); end
|
123
|
+
def periods_for_local(local); end
|
124
|
+
def raise_not_implemented(method_name); end
|
125
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
126
|
+
end
|
127
|
+
class TZInfo::LinkedTimezoneInfo < TZInfo::TimezoneInfo
|
128
|
+
def create_timezone; end
|
129
|
+
def initialize(identifier, link_to_identifier); end
|
130
|
+
def inspect; end
|
131
|
+
def link_to_identifier; end
|
132
|
+
end
|
133
|
+
class TZInfo::NoOffsetsDefined < StandardError
|
134
|
+
end
|
135
|
+
class TZInfo::TransitionDataTimezoneInfo < TZInfo::DataTimezoneInfo
|
136
|
+
def initialize(identifier); end
|
137
|
+
def offset(id, utc_offset, std_offset, abbreviation); end
|
138
|
+
def period_for_utc(utc); end
|
139
|
+
def periods_for_local(local); end
|
140
|
+
def transition(year, month, offset_id, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil); end
|
141
|
+
def transition_after_start(index); end
|
142
|
+
def transition_before_end(index); end
|
143
|
+
def transition_index(year, month); end
|
144
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
145
|
+
end
|
146
|
+
class TZInfo::InvalidZoneinfoFile < StandardError
|
147
|
+
end
|
148
|
+
class TZInfo::ZoneinfoTimezoneInfo < TZInfo::TransitionDataTimezoneInfo
|
149
|
+
def check_read(file, bytes); end
|
150
|
+
def define_offset(index, offset); end
|
151
|
+
def derive_offsets(transitions, offsets); end
|
152
|
+
def initialize(identifier, file_path); end
|
153
|
+
def make_signed_int32(long); end
|
154
|
+
def make_signed_int64(high, low); end
|
155
|
+
def parse(file); end
|
156
|
+
end
|
157
|
+
class TZInfo::InvalidDataSource < StandardError
|
158
|
+
end
|
159
|
+
class TZInfo::DataSourceNotFound < StandardError
|
160
|
+
end
|
161
|
+
class TZInfo::DataSource
|
162
|
+
def country_codes; end
|
163
|
+
def data_timezone_identifiers; end
|
164
|
+
def inspect; end
|
165
|
+
def linked_timezone_identifiers; end
|
166
|
+
def load_country_info(code); end
|
167
|
+
def load_timezone_info(identifier); end
|
168
|
+
def raise_invalid_data_source(method_name); end
|
169
|
+
def self.create_default_data_source; end
|
170
|
+
def self.get; end
|
171
|
+
def self.set(data_source_or_type, *args); end
|
172
|
+
def timezone_identifiers; end
|
173
|
+
def to_s; end
|
174
|
+
end
|
175
|
+
class TZInfo::RubyDataSource < TZInfo::DataSource
|
176
|
+
def country_codes; end
|
177
|
+
def data_timezone_identifiers; end
|
178
|
+
def initialize; end
|
179
|
+
def linked_timezone_identifiers; end
|
180
|
+
def load_country_index; end
|
181
|
+
def load_country_info(code); end
|
182
|
+
def load_timezone_index; end
|
183
|
+
def load_timezone_info(identifier); end
|
184
|
+
def require_data(*file); end
|
185
|
+
def require_definition(identifier); end
|
186
|
+
def require_index(name); end
|
187
|
+
def timezone_identifiers; end
|
188
|
+
def to_s; end
|
189
|
+
end
|
190
|
+
class TZInfo::InvalidZoneinfoDirectory < StandardError
|
191
|
+
end
|
192
|
+
class TZInfo::ZoneinfoDirectoryNotFound < StandardError
|
193
|
+
end
|
194
|
+
class TZInfo::ZoneinfoDataSource < TZInfo::DataSource
|
195
|
+
def country_codes; end
|
196
|
+
def data_timezone_identifiers; end
|
197
|
+
def dms_to_rational(sign, degrees, minutes, seconds = nil); end
|
198
|
+
def enum_timezones(dir, exclude = nil, &block); end
|
199
|
+
def find_zoneinfo_dir; end
|
200
|
+
def initialize(zoneinfo_dir = nil, alternate_iso3166_tab_path = nil); end
|
201
|
+
def inspect; end
|
202
|
+
def linked_timezone_identifiers; end
|
203
|
+
def load_country_index(iso3166_tab_path, zone_tab_path); end
|
204
|
+
def load_country_info(code); end
|
205
|
+
def load_timezone_index; end
|
206
|
+
def load_timezone_info(identifier); end
|
207
|
+
def resolve_tab_path(zoneinfo_path, standard_names, tab_name); end
|
208
|
+
def self.alternate_iso3166_tab_search_path; end
|
209
|
+
def self.alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path); end
|
210
|
+
def self.process_search_path(path, default); end
|
211
|
+
def self.search_path; end
|
212
|
+
def self.search_path=(search_path); end
|
213
|
+
def timezone_identifiers; end
|
214
|
+
def to_s; end
|
215
|
+
def validate_zoneinfo_dir(path, iso3166_tab_path = nil); end
|
216
|
+
def zoneinfo_dir; end
|
217
|
+
end
|
218
|
+
class TZInfo::TimezonePeriod
|
219
|
+
def ==(p); end
|
220
|
+
def abbreviation; end
|
221
|
+
def dst?; end
|
222
|
+
def end_transition; end
|
223
|
+
def eql?(p); end
|
224
|
+
def hash; end
|
225
|
+
def initialize(start_transition, end_transition, offset = nil); end
|
226
|
+
def inspect; end
|
227
|
+
def local_after_start?(local); end
|
228
|
+
def local_before_end?(local); end
|
229
|
+
def local_end; end
|
230
|
+
def local_end_time; end
|
231
|
+
def local_start; end
|
232
|
+
def local_start_time; end
|
233
|
+
def offset; end
|
234
|
+
def start_transition; end
|
235
|
+
def std_offset; end
|
236
|
+
def to_local(utc); end
|
237
|
+
def to_utc(local); end
|
238
|
+
def utc_after_start?(utc); end
|
239
|
+
def utc_before_end?(utc); end
|
240
|
+
def utc_end; end
|
241
|
+
def utc_end_time; end
|
242
|
+
def utc_offset; end
|
243
|
+
def utc_start; end
|
244
|
+
def utc_start_time; end
|
245
|
+
def utc_total_offset; end
|
246
|
+
def utc_total_offset_rational; end
|
247
|
+
def valid_for_local?(local); end
|
248
|
+
def valid_for_utc?(utc); end
|
249
|
+
def zone_identifier; end
|
250
|
+
end
|
251
|
+
class TZInfo::AmbiguousTime < StandardError
|
252
|
+
end
|
253
|
+
class TZInfo::PeriodNotFound < StandardError
|
254
|
+
end
|
255
|
+
class TZInfo::InvalidTimezoneIdentifier < StandardError
|
256
|
+
end
|
257
|
+
class TZInfo::UnknownTimezone < StandardError
|
258
|
+
end
|
259
|
+
class TZInfo::Timezone
|
260
|
+
def <=>(tz); end
|
261
|
+
def _dump(limit); end
|
262
|
+
def canonical_identifier; end
|
263
|
+
def canonical_zone; end
|
264
|
+
def current_period; end
|
265
|
+
def current_period_and_time; end
|
266
|
+
def current_time_and_period; end
|
267
|
+
def eql?(tz); end
|
268
|
+
def friendly_identifier(skip_first_part = nil); end
|
269
|
+
def hash; end
|
270
|
+
def identifier; end
|
271
|
+
def inspect; end
|
272
|
+
def local_to_utc(local, dst = nil); end
|
273
|
+
def name; end
|
274
|
+
def now; end
|
275
|
+
def offsets_up_to(utc_to, utc_from = nil); end
|
276
|
+
def period_for_local(local, dst = nil); end
|
277
|
+
def period_for_utc(utc); end
|
278
|
+
def periods_for_local(local); end
|
279
|
+
def raise_unknown_timezone; end
|
280
|
+
def self._load(data); end
|
281
|
+
def self.all; end
|
282
|
+
def self.all_country_zone_identifiers; end
|
283
|
+
def self.all_country_zones; end
|
284
|
+
def self.all_data_zone_identifiers; end
|
285
|
+
def self.all_data_zones; end
|
286
|
+
def self.all_identifiers; end
|
287
|
+
def self.all_linked_zone_identifiers; end
|
288
|
+
def self.all_linked_zones; end
|
289
|
+
def self.data_source; end
|
290
|
+
def self.default_dst; end
|
291
|
+
def self.default_dst=(value); end
|
292
|
+
def self.get(identifier); end
|
293
|
+
def self.get_proxies(identifiers); end
|
294
|
+
def self.get_proxy(identifier); end
|
295
|
+
def self.init_loaded_zones; end
|
296
|
+
def self.new(identifier = nil); end
|
297
|
+
def self.us_zone_identifiers; end
|
298
|
+
def self.us_zones; end
|
299
|
+
def strftime(format, utc = nil); end
|
300
|
+
def to_s; end
|
301
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
302
|
+
def utc_to_local(utc); end
|
303
|
+
include Comparable
|
304
|
+
end
|
305
|
+
class TZInfo::InfoTimezone < TZInfo::Timezone
|
306
|
+
def identifier; end
|
307
|
+
def info; end
|
308
|
+
def self.new(info); end
|
309
|
+
def setup(info); end
|
310
|
+
end
|
311
|
+
class TZInfo::DataTimezone < TZInfo::InfoTimezone
|
312
|
+
def canonical_zone; end
|
313
|
+
def period_for_utc(utc); end
|
314
|
+
def periods_for_local(local); end
|
315
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
316
|
+
end
|
317
|
+
class TZInfo::LinkedTimezone < TZInfo::InfoTimezone
|
318
|
+
def canonical_zone; end
|
319
|
+
def period_for_utc(utc); end
|
320
|
+
def periods_for_local(local); end
|
321
|
+
def setup(info); end
|
322
|
+
def transitions_up_to(utc_to, utc_from = nil); end
|
323
|
+
end
|
324
|
+
class TZInfo::TimezoneProxy < TZInfo::Timezone
|
325
|
+
def _dump(limit); end
|
326
|
+
def canonical_zone; end
|
327
|
+
def identifier; end
|
328
|
+
def period_for_utc(utc); end
|
329
|
+
def periods_for_local(local); end
|
330
|
+
def real_timezone; end
|
331
|
+
def self._load(data); end
|
332
|
+
def self.new(identifier); end
|
333
|
+
def setup(identifier); end
|
334
|
+
def transitions_up_to(to, from = nil); end
|
335
|
+
end
|
336
|
+
module TZInfo::CountryIndexDefinition
|
337
|
+
def self.append_features(base); end
|
338
|
+
end
|
339
|
+
module TZInfo::CountryIndexDefinition::ClassMethods
|
340
|
+
def countries; end
|
341
|
+
def country(code, name, &block); end
|
342
|
+
end
|
343
|
+
class TZInfo::CountryInfo
|
344
|
+
def code; end
|
345
|
+
def initialize(code, name); end
|
346
|
+
def inspect; end
|
347
|
+
def name; end
|
348
|
+
def raise_not_implemented(method_name); end
|
349
|
+
def zone_identifiers; end
|
350
|
+
def zones; end
|
351
|
+
end
|
352
|
+
class TZInfo::RubyCountryInfo < TZInfo::CountryInfo
|
353
|
+
def initialize(code, name, &block); end
|
354
|
+
def zone_identifiers; end
|
355
|
+
def zones; end
|
356
|
+
end
|
357
|
+
class TZInfo::RubyCountryInfo::Zones
|
358
|
+
def initialize; end
|
359
|
+
def list; end
|
360
|
+
def timezone(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
|
361
|
+
end
|
362
|
+
class TZInfo::ZoneinfoCountryInfo < TZInfo::CountryInfo
|
363
|
+
def initialize(code, name, zones); end
|
364
|
+
def zone_identifiers; end
|
365
|
+
def zones; end
|
366
|
+
end
|
367
|
+
class TZInfo::InvalidCountryCode < StandardError
|
368
|
+
end
|
369
|
+
class TZInfo::Country
|
370
|
+
def <=>(c); end
|
371
|
+
def _dump(limit); end
|
372
|
+
def code; end
|
373
|
+
def eql?(c); end
|
374
|
+
def hash; end
|
375
|
+
def inspect; end
|
376
|
+
def name; end
|
377
|
+
def self._load(data); end
|
378
|
+
def self.all; end
|
379
|
+
def self.all_codes; end
|
380
|
+
def self.data_source; end
|
381
|
+
def self.get(identifier); end
|
382
|
+
def self.init_countries; end
|
383
|
+
def self.new(identifier); end
|
384
|
+
def setup(info); end
|
385
|
+
def to_s; end
|
386
|
+
def zone_identifiers; end
|
387
|
+
def zone_info; end
|
388
|
+
def zone_names; end
|
389
|
+
def zones; end
|
390
|
+
include Comparable
|
391
|
+
end
|
392
|
+
class TZInfo::CountryTimezone
|
393
|
+
def ==(ct); end
|
394
|
+
def description; end
|
395
|
+
def description_or_friendly_identifier; end
|
396
|
+
def eql?(ct); end
|
397
|
+
def hash; end
|
398
|
+
def identifier; end
|
399
|
+
def initialize(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil); end
|
400
|
+
def inspect; end
|
401
|
+
def latitude; end
|
402
|
+
def longitude; end
|
403
|
+
def self.new!(*arg0); end
|
404
|
+
def self.new(identifier, latitude, longitude, description = nil); end
|
405
|
+
def timezone; end
|
406
|
+
end
|