wal 0.0.2 → 0.0.4
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/Rakefile +0 -7
- data/exe/wal +19 -14
- data/lib/wal/noop_watcher.rb +0 -4
- data/lib/wal/record_watcher.rb +4 -58
- data/lib/wal/replicator.rb +2 -21
- data/lib/wal/streaming_watcher.rb +0 -9
- data/lib/wal/version.rb +1 -2
- data/lib/wal/watcher.rb +0 -25
- data/lib/wal.rb +5 -64
- data/rbi/wal.rbi +21 -102
- metadata +2 -161
- data/sorbet/config +0 -7
- data/sorbet/rbi/annotations/.gitattributes +0 -1
- data/sorbet/rbi/annotations/activemodel.rbi +0 -89
- data/sorbet/rbi/annotations/activerecord.rbi +0 -98
- data/sorbet/rbi/annotations/activesupport.rbi +0 -463
- data/sorbet/rbi/annotations/minitest.rbi +0 -119
- data/sorbet/rbi/annotations/rainbow.rbi +0 -269
- data/sorbet/rbi/gems/.gitattributes +0 -1
- data/sorbet/rbi/gems/actioncable@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/actionmailbox@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/actionmailer@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/actionpack@8.0.2.rbi +0 -21122
- data/sorbet/rbi/gems/actiontext@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/actionview@8.0.2.rbi +0 -16423
- data/sorbet/rbi/gems/activejob@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/activemodel@8.0.2.rbi +0 -6866
- data/sorbet/rbi/gems/activerecord@8.0.2.rbi +0 -43227
- data/sorbet/rbi/gems/activestorage@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/activesupport@8.0.2.rbi +0 -21110
- data/sorbet/rbi/gems/ast@2.4.3.rbi +0 -585
- data/sorbet/rbi/gems/base64@0.3.0.rbi +0 -545
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +0 -619
- data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +0 -78
- data/sorbet/rbi/gems/builder@3.3.0.rbi +0 -9
- data/sorbet/rbi/gems/commander@5.0.0.rbi +0 -9
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +0 -11657
- data/sorbet/rbi/gems/connection_pool@2.5.3.rbi +0 -9
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -623
- data/sorbet/rbi/gems/date@3.4.1.rbi +0 -75
- data/sorbet/rbi/gems/diff-lcs@1.6.2.rbi +0 -1134
- data/sorbet/rbi/gems/docker-api@2.4.0.rbi +0 -1719
- data/sorbet/rbi/gems/docopt@0.6.1.rbi +0 -9
- data/sorbet/rbi/gems/drb@2.2.3.rbi +0 -1661
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +0 -155
- data/sorbet/rbi/gems/excon@1.2.7.rbi +0 -1514
- data/sorbet/rbi/gems/globalid@1.2.1.rbi +0 -9
- data/sorbet/rbi/gems/highline@3.0.1.rbi +0 -9
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +0 -2359
- data/sorbet/rbi/gems/io-console@0.8.0.rbi +0 -9
- data/sorbet/rbi/gems/logger@1.7.0.rbi +0 -963
- data/sorbet/rbi/gems/loofah@2.24.1.rbi +0 -1105
- data/sorbet/rbi/gems/mail@2.8.1.rbi +0 -9
- data/sorbet/rbi/gems/marcel@1.0.4.rbi +0 -9
- data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +0 -9
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +0 -1704
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
- data/sorbet/rbi/gems/net-imap@0.5.9.rbi +0 -9
- data/sorbet/rbi/gems/net-pop@0.1.2.rbi +0 -9
- data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +0 -292
- data/sorbet/rbi/gems/net-smtp@0.5.1.rbi +0 -9
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
- data/sorbet/rbi/gems/nio4r@2.7.4.rbi +0 -9
- data/sorbet/rbi/gems/nokogiri@1.18.8.rbi +0 -8206
- data/sorbet/rbi/gems/ostruct@0.6.2.rbi +0 -354
- data/sorbet/rbi/gems/parallel@1.27.0.rbi +0 -291
- data/sorbet/rbi/gems/parlour@9.1.1.rbi +0 -3071
- data/sorbet/rbi/gems/parser@3.3.8.0.rbi +0 -7338
- data/sorbet/rbi/gems/pg-replication-protocol@0.0.7.rbi +0 -633
- data/sorbet/rbi/gems/pg@1.5.9.rbi +0 -2806
- data/sorbet/rbi/gems/pp@0.6.2.rbi +0 -368
- data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +0 -477
- data/sorbet/rbi/gems/prism@1.4.0.rbi +0 -41732
- data/sorbet/rbi/gems/psych@5.2.3.rbi +0 -2435
- data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -160
- data/sorbet/rbi/gems/rack-session@2.1.1.rbi +0 -727
- data/sorbet/rbi/gems/rack-test@2.2.0.rbi +0 -734
- data/sorbet/rbi/gems/rack@3.1.16.rbi +0 -4940
- data/sorbet/rbi/gems/rackup@2.2.1.rbi +0 -230
- data/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi +0 -858
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +0 -785
- data/sorbet/rbi/gems/rails@8.0.2.rbi +0 -9
- data/sorbet/rbi/gems/railties@8.0.2.rbi +0 -3865
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -3120
- data/sorbet/rbi/gems/rbi@0.3.6.rbi +0 -6893
- data/sorbet/rbi/gems/rbs@3.9.4.rbi +0 -6978
- data/sorbet/rbi/gems/rdoc@6.12.0.rbi +0 -12760
- data/sorbet/rbi/gems/reline@0.6.0.rbi +0 -2451
- data/sorbet/rbi/gems/rexml@3.4.1.rbi +0 -5240
- data/sorbet/rbi/gems/rspec-core@3.13.4.rbi +0 -11348
- data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +0 -8189
- data/sorbet/rbi/gems/rspec-mocks@3.13.5.rbi +0 -5350
- data/sorbet/rbi/gems/rspec-sorbet@1.9.2.rbi +0 -164
- data/sorbet/rbi/gems/rspec-support@3.13.4.rbi +0 -1630
- data/sorbet/rbi/gems/rspec@3.13.1.rbi +0 -83
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +0 -75
- data/sorbet/rbi/gems/spoom@1.6.3.rbi +0 -6985
- data/sorbet/rbi/gems/stringio@3.1.5.rbi +0 -9
- data/sorbet/rbi/gems/tapioca@0.16.11.rbi +0 -3628
- data/sorbet/rbi/gems/testcontainers-core@0.2.0.rbi +0 -1005
- data/sorbet/rbi/gems/testcontainers-postgres@0.2.0.rbi +0 -145
- data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
- data/sorbet/rbi/gems/timeout@0.4.3.rbi +0 -157
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
- data/sorbet/rbi/gems/uri@1.0.3.rbi +0 -2349
- data/sorbet/rbi/gems/useragent@0.16.11.rbi +0 -9
- data/sorbet/rbi/gems/websocket-driver@0.8.0.rbi +0 -9
- data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -9
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
- data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18379
- data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +0 -9
- data/sorbet/tapioca/config.yml +0 -5
- data/sorbet/tapioca/require.rb +0 -12
@@ -1,268 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `multi_json` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem multi_json`.
|
6
|
-
|
7
|
-
|
8
|
-
# source://multi_json//lib/multi_json/options.rb#1
|
9
|
-
module MultiJson
|
10
|
-
include ::MultiJson::Options
|
11
|
-
extend ::MultiJson::Options
|
12
|
-
extend ::MultiJson
|
13
|
-
|
14
|
-
# Get the current adapter class.
|
15
|
-
#
|
16
|
-
# source://multi_json//lib/multi_json.rb#70
|
17
|
-
def adapter; end
|
18
|
-
|
19
|
-
# Set the JSON parser utilizing a symbol, string, or class.
|
20
|
-
# Supported by default are:
|
21
|
-
#
|
22
|
-
# * <tt>:oj</tt>
|
23
|
-
# * <tt>:json_gem</tt>
|
24
|
-
# * <tt>:json_pure</tt>
|
25
|
-
# * <tt>:ok_json</tt>
|
26
|
-
# * <tt>:yajl</tt>
|
27
|
-
# * <tt>:nsjsonserialization</tt> (MacRuby only)
|
28
|
-
# * <tt>:gson</tt> (JRuby only)
|
29
|
-
# * <tt>:jr_jackson</tt> (JRuby only)
|
30
|
-
#
|
31
|
-
# source://multi_json//lib/multi_json.rb#90
|
32
|
-
def adapter=(new_adapter); end
|
33
|
-
|
34
|
-
# source://multi_json//lib/multi_json.rb#26
|
35
|
-
def cached_options(*_arg0); end
|
36
|
-
|
37
|
-
# source://multi_json//lib/multi_json.rb#129
|
38
|
-
def current_adapter(options = T.unsafe(nil)); end
|
39
|
-
|
40
|
-
# Decode a JSON string into Ruby.
|
41
|
-
#
|
42
|
-
# <b>Options</b>
|
43
|
-
#
|
44
|
-
# <tt>:symbolize_keys</tt> :: If true, will use symbols instead of strings for the keys.
|
45
|
-
# <tt>:adapter</tt> :: If set, the selected adapter will be used for this call.
|
46
|
-
#
|
47
|
-
# source://multi_json//lib/multi_json.rb#119
|
48
|
-
def decode(string, options = T.unsafe(nil)); end
|
49
|
-
|
50
|
-
# The default adapter based on what you currently
|
51
|
-
# have loaded and installed. First checks to see
|
52
|
-
# if any adapters are already loaded, then checks
|
53
|
-
# to see which are installed if none are loaded.
|
54
|
-
#
|
55
|
-
# source://multi_json//lib/multi_json.rb#46
|
56
|
-
def default_adapter; end
|
57
|
-
|
58
|
-
# The default adapter based on what you currently
|
59
|
-
# have loaded and installed. First checks to see
|
60
|
-
# if any adapters are already loaded, then checks
|
61
|
-
# to see which are installed if none are loaded.
|
62
|
-
#
|
63
|
-
# source://multi_json//lib/multi_json.rb#46
|
64
|
-
def default_engine; end
|
65
|
-
|
66
|
-
# source://multi_json//lib/multi_json.rb#18
|
67
|
-
def default_options; end
|
68
|
-
|
69
|
-
# source://multi_json//lib/multi_json.rb#11
|
70
|
-
def default_options=(value); end
|
71
|
-
|
72
|
-
# Encodes a Ruby object as JSON.
|
73
|
-
#
|
74
|
-
# source://multi_json//lib/multi_json.rb#138
|
75
|
-
def dump(object, options = T.unsafe(nil)); end
|
76
|
-
|
77
|
-
# Encodes a Ruby object as JSON.
|
78
|
-
#
|
79
|
-
# source://multi_json//lib/multi_json.rb#138
|
80
|
-
def encode(object, options = T.unsafe(nil)); end
|
81
|
-
|
82
|
-
# Get the current adapter class.
|
83
|
-
#
|
84
|
-
# source://multi_json//lib/multi_json.rb#70
|
85
|
-
def engine; end
|
86
|
-
|
87
|
-
# Set the JSON parser utilizing a symbol, string, or class.
|
88
|
-
# Supported by default are:
|
89
|
-
#
|
90
|
-
# * <tt>:oj</tt>
|
91
|
-
# * <tt>:json_gem</tt>
|
92
|
-
# * <tt>:json_pure</tt>
|
93
|
-
# * <tt>:ok_json</tt>
|
94
|
-
# * <tt>:yajl</tt>
|
95
|
-
# * <tt>:nsjsonserialization</tt> (MacRuby only)
|
96
|
-
# * <tt>:gson</tt> (JRuby only)
|
97
|
-
# * <tt>:jr_jackson</tt> (JRuby only)
|
98
|
-
#
|
99
|
-
# source://multi_json//lib/multi_json.rb#90
|
100
|
-
def engine=(new_adapter); end
|
101
|
-
|
102
|
-
# Decode a JSON string into Ruby.
|
103
|
-
#
|
104
|
-
# <b>Options</b>
|
105
|
-
#
|
106
|
-
# <tt>:symbolize_keys</tt> :: If true, will use symbols instead of strings for the keys.
|
107
|
-
# <tt>:adapter</tt> :: If set, the selected adapter will be used for this call.
|
108
|
-
#
|
109
|
-
# source://multi_json//lib/multi_json.rb#119
|
110
|
-
def load(string, options = T.unsafe(nil)); end
|
111
|
-
|
112
|
-
# source://multi_json//lib/multi_json.rb#98
|
113
|
-
def load_adapter(new_adapter); end
|
114
|
-
|
115
|
-
# source://multi_json//lib/multi_json.rb#26
|
116
|
-
def reset_cached_options!(*_arg0); end
|
117
|
-
|
118
|
-
# Set the JSON parser utilizing a symbol, string, or class.
|
119
|
-
# Supported by default are:
|
120
|
-
#
|
121
|
-
# * <tt>:oj</tt>
|
122
|
-
# * <tt>:json_gem</tt>
|
123
|
-
# * <tt>:json_pure</tt>
|
124
|
-
# * <tt>:ok_json</tt>
|
125
|
-
# * <tt>:yajl</tt>
|
126
|
-
# * <tt>:nsjsonserialization</tt> (MacRuby only)
|
127
|
-
# * <tt>:gson</tt> (JRuby only)
|
128
|
-
# * <tt>:jr_jackson</tt> (JRuby only)
|
129
|
-
#
|
130
|
-
# source://multi_json//lib/multi_json.rb#90
|
131
|
-
def use(new_adapter); end
|
132
|
-
|
133
|
-
# Executes passed block using specified adapter.
|
134
|
-
#
|
135
|
-
# source://multi_json//lib/multi_json.rb#144
|
136
|
-
def with_adapter(new_adapter); end
|
137
|
-
|
138
|
-
# Executes passed block using specified adapter.
|
139
|
-
#
|
140
|
-
# source://multi_json//lib/multi_json.rb#144
|
141
|
-
def with_engine(new_adapter); end
|
142
|
-
|
143
|
-
private
|
144
|
-
|
145
|
-
# source://multi_json//lib/multi_json.rb#155
|
146
|
-
def load_adapter_from_string_name(name); end
|
147
|
-
end
|
148
|
-
|
149
|
-
# source://multi_json//lib/multi_json.rb#31
|
150
|
-
MultiJson::ALIASES = T.let(T.unsafe(nil), Hash)
|
151
|
-
|
152
|
-
# source://multi_json//lib/multi_json/adapter_error.rb#2
|
153
|
-
class MultiJson::AdapterError < ::ArgumentError
|
154
|
-
# Returns the value of attribute cause.
|
155
|
-
#
|
156
|
-
# source://multi_json//lib/multi_json/adapter_error.rb#3
|
157
|
-
def cause; end
|
158
|
-
|
159
|
-
class << self
|
160
|
-
# source://multi_json//lib/multi_json/adapter_error.rb#5
|
161
|
-
def build(original_exception); end
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
# Legacy support
|
166
|
-
#
|
167
|
-
# source://multi_json//lib/multi_json/parse_error.rb#16
|
168
|
-
MultiJson::DecodeError = MultiJson::ParseError
|
169
|
-
|
170
|
-
# source://multi_json//lib/multi_json/parse_error.rb#16
|
171
|
-
MultiJson::LoadError = MultiJson::ParseError
|
172
|
-
|
173
|
-
# source://multi_json//lib/multi_json/options.rb#2
|
174
|
-
module MultiJson::Options
|
175
|
-
# source://multi_json//lib/multi_json/options.rb#25
|
176
|
-
def default_dump_options; end
|
177
|
-
|
178
|
-
# source://multi_json//lib/multi_json/options.rb#21
|
179
|
-
def default_load_options; end
|
180
|
-
|
181
|
-
# source://multi_json//lib/multi_json/options.rb#17
|
182
|
-
def dump_options(*args); end
|
183
|
-
|
184
|
-
# source://multi_json//lib/multi_json/options.rb#8
|
185
|
-
def dump_options=(options); end
|
186
|
-
|
187
|
-
# source://multi_json//lib/multi_json/options.rb#13
|
188
|
-
def load_options(*args); end
|
189
|
-
|
190
|
-
# source://multi_json//lib/multi_json/options.rb#3
|
191
|
-
def load_options=(options); end
|
192
|
-
|
193
|
-
private
|
194
|
-
|
195
|
-
# source://multi_json//lib/multi_json/options.rb#31
|
196
|
-
def get_options(options, *args); end
|
197
|
-
end
|
198
|
-
|
199
|
-
# source://multi_json//lib/multi_json/options_cache.rb#2
|
200
|
-
module MultiJson::OptionsCache
|
201
|
-
extend ::MultiJson::OptionsCache
|
202
|
-
|
203
|
-
# source://multi_json//lib/multi_json/options_cache.rb#10
|
204
|
-
def fetch(type, key, &block); end
|
205
|
-
|
206
|
-
# source://multi_json//lib/multi_json/options_cache.rb#5
|
207
|
-
def reset; end
|
208
|
-
|
209
|
-
private
|
210
|
-
|
211
|
-
# source://multi_json//lib/multi_json/options_cache.rb#24
|
212
|
-
def write(cache, key); end
|
213
|
-
end
|
214
|
-
|
215
|
-
# Normally MultiJson is used with a few option sets for both dump/load
|
216
|
-
# methods. When options are generated dynamically though, every call would
|
217
|
-
# cause a cache miss and the cache would grow indefinitely. To prevent
|
218
|
-
# this, we just reset the cache every time the number of keys outgrows
|
219
|
-
# 1000.
|
220
|
-
#
|
221
|
-
# source://multi_json//lib/multi_json/options_cache.rb#22
|
222
|
-
MultiJson::OptionsCache::MAX_CACHE_SIZE = T.let(T.unsafe(nil), Integer)
|
223
|
-
|
224
|
-
# source://multi_json//lib/multi_json/parse_error.rb#2
|
225
|
-
class MultiJson::ParseError < ::StandardError
|
226
|
-
# Returns the value of attribute cause.
|
227
|
-
#
|
228
|
-
# source://multi_json//lib/multi_json/parse_error.rb#3
|
229
|
-
def cause; end
|
230
|
-
|
231
|
-
# Returns the value of attribute data.
|
232
|
-
#
|
233
|
-
# source://multi_json//lib/multi_json/parse_error.rb#3
|
234
|
-
def data; end
|
235
|
-
|
236
|
-
class << self
|
237
|
-
# source://multi_json//lib/multi_json/parse_error.rb#5
|
238
|
-
def build(original_exception, data); end
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
# source://multi_json//lib/multi_json.rb#33
|
243
|
-
MultiJson::REQUIREMENT_MAP = T.let(T.unsafe(nil), Array)
|
244
|
-
|
245
|
-
# source://multi_json//lib/multi_json/version.rb#16
|
246
|
-
MultiJson::VERSION = T.let(T.unsafe(nil), String)
|
247
|
-
|
248
|
-
# source://multi_json//lib/multi_json/version.rb#2
|
249
|
-
class MultiJson::Version
|
250
|
-
class << self
|
251
|
-
# @return [String]
|
252
|
-
#
|
253
|
-
# source://multi_json//lib/multi_json/version.rb#10
|
254
|
-
def to_s; end
|
255
|
-
end
|
256
|
-
end
|
257
|
-
|
258
|
-
# source://multi_json//lib/multi_json/version.rb#3
|
259
|
-
MultiJson::Version::MAJOR = T.let(T.unsafe(nil), Integer)
|
260
|
-
|
261
|
-
# source://multi_json//lib/multi_json/version.rb#4
|
262
|
-
MultiJson::Version::MINOR = T.let(T.unsafe(nil), Integer)
|
263
|
-
|
264
|
-
# source://multi_json//lib/multi_json/version.rb#5
|
265
|
-
MultiJson::Version::PATCH = T.let(T.unsafe(nil), Integer)
|
266
|
-
|
267
|
-
# source://multi_json//lib/multi_json/version.rb#6
|
268
|
-
MultiJson::Version::PRE = T.let(T.unsafe(nil), T.untyped)
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `net-imap` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem net-imap`.
|
6
|
-
|
7
|
-
|
8
|
-
# THIS IS AN EMPTY RBI FILE.
|
9
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `net-pop` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem net-pop`.
|
6
|
-
|
7
|
-
|
8
|
-
# THIS IS AN EMPTY RBI FILE.
|
9
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -1,292 +0,0 @@
|
|
1
|
-
# typed: false
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `net-protocol` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem net-protocol`.
|
6
|
-
|
7
|
-
|
8
|
-
# source://net-protocol//lib/net/protocol.rb#115
|
9
|
-
class Net::BufferedIO
|
10
|
-
# @return [BufferedIO] a new instance of BufferedIO
|
11
|
-
#
|
12
|
-
# source://net-protocol//lib/net/protocol.rb#116
|
13
|
-
def initialize(io, read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), continue_timeout: T.unsafe(nil), debug_output: T.unsafe(nil)); end
|
14
|
-
|
15
|
-
# source://net-protocol//lib/net/protocol.rb#285
|
16
|
-
def <<(*strs); end
|
17
|
-
|
18
|
-
# source://net-protocol//lib/net/protocol.rb#145
|
19
|
-
def close; end
|
20
|
-
|
21
|
-
# @return [Boolean]
|
22
|
-
#
|
23
|
-
# source://net-protocol//lib/net/protocol.rb#141
|
24
|
-
def closed?; end
|
25
|
-
|
26
|
-
# Returns the value of attribute continue_timeout.
|
27
|
-
#
|
28
|
-
# source://net-protocol//lib/net/protocol.rb#130
|
29
|
-
def continue_timeout; end
|
30
|
-
|
31
|
-
# Sets the attribute continue_timeout
|
32
|
-
#
|
33
|
-
# @param value the value to set the attribute continue_timeout to.
|
34
|
-
#
|
35
|
-
# source://net-protocol//lib/net/protocol.rb#130
|
36
|
-
def continue_timeout=(_arg0); end
|
37
|
-
|
38
|
-
# Returns the value of attribute debug_output.
|
39
|
-
#
|
40
|
-
# source://net-protocol//lib/net/protocol.rb#131
|
41
|
-
def debug_output; end
|
42
|
-
|
43
|
-
# Sets the attribute debug_output
|
44
|
-
#
|
45
|
-
# @param value the value to set the attribute debug_output to.
|
46
|
-
#
|
47
|
-
# source://net-protocol//lib/net/protocol.rb#131
|
48
|
-
def debug_output=(_arg0); end
|
49
|
-
|
50
|
-
# @return [Boolean]
|
51
|
-
#
|
52
|
-
# source://net-protocol//lib/net/protocol.rb#137
|
53
|
-
def eof?; end
|
54
|
-
|
55
|
-
# source://net-protocol//lib/net/protocol.rb#133
|
56
|
-
def inspect; end
|
57
|
-
|
58
|
-
# Returns the value of attribute io.
|
59
|
-
#
|
60
|
-
# source://net-protocol//lib/net/protocol.rb#127
|
61
|
-
def io; end
|
62
|
-
|
63
|
-
# source://net-protocol//lib/net/protocol.rb#155
|
64
|
-
def read(len, dest = T.unsafe(nil), ignore_eof = T.unsafe(nil)); end
|
65
|
-
|
66
|
-
# source://net-protocol//lib/net/protocol.rb#176
|
67
|
-
def read_all(dest = T.unsafe(nil)); end
|
68
|
-
|
69
|
-
# Returns the value of attribute read_timeout.
|
70
|
-
#
|
71
|
-
# source://net-protocol//lib/net/protocol.rb#128
|
72
|
-
def read_timeout; end
|
73
|
-
|
74
|
-
# Sets the attribute read_timeout
|
75
|
-
#
|
76
|
-
# @param value the value to set the attribute read_timeout to.
|
77
|
-
#
|
78
|
-
# source://net-protocol//lib/net/protocol.rb#128
|
79
|
-
def read_timeout=(_arg0); end
|
80
|
-
|
81
|
-
# source://net-protocol//lib/net/protocol.rb#208
|
82
|
-
def readline; end
|
83
|
-
|
84
|
-
# source://net-protocol//lib/net/protocol.rb#194
|
85
|
-
def readuntil(terminator, ignore_eof = T.unsafe(nil)); end
|
86
|
-
|
87
|
-
# source://net-protocol//lib/net/protocol.rb#285
|
88
|
-
def write(*strs); end
|
89
|
-
|
90
|
-
# Returns the value of attribute write_timeout.
|
91
|
-
#
|
92
|
-
# source://net-protocol//lib/net/protocol.rb#129
|
93
|
-
def write_timeout; end
|
94
|
-
|
95
|
-
# Sets the attribute write_timeout
|
96
|
-
#
|
97
|
-
# @param value the value to set the attribute write_timeout to.
|
98
|
-
#
|
99
|
-
# source://net-protocol//lib/net/protocol.rb#129
|
100
|
-
def write_timeout=(_arg0); end
|
101
|
-
|
102
|
-
# source://net-protocol//lib/net/protocol.rb#293
|
103
|
-
def writeline(str); end
|
104
|
-
|
105
|
-
private
|
106
|
-
|
107
|
-
# source://net-protocol//lib/net/protocol.rb#356
|
108
|
-
def LOG(msg); end
|
109
|
-
|
110
|
-
# source://net-protocol//lib/net/protocol.rb#347
|
111
|
-
def LOG_off; end
|
112
|
-
|
113
|
-
# source://net-protocol//lib/net/protocol.rb#352
|
114
|
-
def LOG_on; end
|
115
|
-
|
116
|
-
# source://net-protocol//lib/net/protocol.rb#257
|
117
|
-
def rbuf_consume(len = T.unsafe(nil)); end
|
118
|
-
|
119
|
-
# source://net-protocol//lib/net/protocol.rb#253
|
120
|
-
def rbuf_consume_all; end
|
121
|
-
|
122
|
-
# source://net-protocol//lib/net/protocol.rb#216
|
123
|
-
def rbuf_fill; end
|
124
|
-
|
125
|
-
# source://net-protocol//lib/net/protocol.rb#241
|
126
|
-
def rbuf_flush; end
|
127
|
-
|
128
|
-
# source://net-protocol//lib/net/protocol.rb#249
|
129
|
-
def rbuf_size; end
|
130
|
-
|
131
|
-
# source://net-protocol//lib/net/protocol.rb#311
|
132
|
-
def write0(*strs); end
|
133
|
-
|
134
|
-
# source://net-protocol//lib/net/protocol.rb#301
|
135
|
-
def writing; end
|
136
|
-
end
|
137
|
-
|
138
|
-
# source://net-protocol//lib/net/protocol.rb#363
|
139
|
-
class Net::InternetMessageIO < ::Net::BufferedIO
|
140
|
-
# @return [InternetMessageIO] a new instance of InternetMessageIO
|
141
|
-
#
|
142
|
-
# source://net-protocol//lib/net/protocol.rb#364
|
143
|
-
def initialize(*_arg0, **_arg1); end
|
144
|
-
|
145
|
-
# *library private* (cannot handle 'break')
|
146
|
-
#
|
147
|
-
# source://net-protocol//lib/net/protocol.rb#386
|
148
|
-
def each_list_item; end
|
149
|
-
|
150
|
-
# Read
|
151
|
-
#
|
152
|
-
# source://net-protocol//lib/net/protocol.rb#373
|
153
|
-
def each_message_chunk; end
|
154
|
-
|
155
|
-
# Write
|
156
|
-
#
|
157
|
-
# source://net-protocol//lib/net/protocol.rb#404
|
158
|
-
def write_message(src); end
|
159
|
-
|
160
|
-
# source://net-protocol//lib/net/protocol.rb#392
|
161
|
-
def write_message_0(src); end
|
162
|
-
|
163
|
-
# source://net-protocol//lib/net/protocol.rb#417
|
164
|
-
def write_message_by_block(&block); end
|
165
|
-
|
166
|
-
private
|
167
|
-
|
168
|
-
# source://net-protocol//lib/net/protocol.rb#460
|
169
|
-
def buffer_filling(buf, src); end
|
170
|
-
|
171
|
-
# source://net-protocol//lib/net/protocol.rb#436
|
172
|
-
def dot_stuff(s); end
|
173
|
-
|
174
|
-
# source://net-protocol//lib/net/protocol.rb#452
|
175
|
-
def each_crlf_line(src); end
|
176
|
-
|
177
|
-
# source://net-protocol//lib/net/protocol.rb#440
|
178
|
-
def using_each_crlf_line; end
|
179
|
-
end
|
180
|
-
|
181
|
-
# source://net-protocol//lib/net/protocol.rb#541
|
182
|
-
Net::NetPrivate::Socket = Net::InternetMessageIO
|
183
|
-
|
184
|
-
# source://net-protocol//lib/net/protocol.rb#68
|
185
|
-
Net::ProtocRetryError = Net::ProtoRetriableError
|
186
|
-
|
187
|
-
# source://net-protocol//lib/net/protocol.rb#28
|
188
|
-
class Net::Protocol
|
189
|
-
private
|
190
|
-
|
191
|
-
# source://net-protocol//lib/net/protocol.rb#40
|
192
|
-
def ssl_socket_connect(s, timeout); end
|
193
|
-
|
194
|
-
class << self
|
195
|
-
# source://net-protocol//lib/net/protocol.rb#32
|
196
|
-
def protocol_param(name, val); end
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
# source://net-protocol//lib/net/protocol.rb#29
|
201
|
-
Net::Protocol::VERSION = T.let(T.unsafe(nil), String)
|
202
|
-
|
203
|
-
# source://net-protocol//lib/net/protocol.rb#516
|
204
|
-
class Net::ReadAdapter
|
205
|
-
# @return [ReadAdapter] a new instance of ReadAdapter
|
206
|
-
#
|
207
|
-
# source://net-protocol//lib/net/protocol.rb#517
|
208
|
-
def initialize(block); end
|
209
|
-
|
210
|
-
# source://net-protocol//lib/net/protocol.rb#525
|
211
|
-
def <<(str); end
|
212
|
-
|
213
|
-
# source://net-protocol//lib/net/protocol.rb#521
|
214
|
-
def inspect; end
|
215
|
-
|
216
|
-
private
|
217
|
-
|
218
|
-
# This method is needed because @block must be called by yield,
|
219
|
-
# not Proc#call. You can see difference when using `break' in
|
220
|
-
# the block.
|
221
|
-
#
|
222
|
-
# @yield [str]
|
223
|
-
#
|
224
|
-
# source://net-protocol//lib/net/protocol.rb#534
|
225
|
-
def call_block(str); end
|
226
|
-
end
|
227
|
-
|
228
|
-
# ReadTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
229
|
-
# response cannot be read within the read_timeout.
|
230
|
-
#
|
231
|
-
# source://net-protocol//lib/net/protocol.rb#80
|
232
|
-
class Net::ReadTimeout < ::Timeout::Error
|
233
|
-
# @return [ReadTimeout] a new instance of ReadTimeout
|
234
|
-
#
|
235
|
-
# source://net-protocol//lib/net/protocol.rb#81
|
236
|
-
def initialize(io = T.unsafe(nil)); end
|
237
|
-
|
238
|
-
# Returns the value of attribute io.
|
239
|
-
#
|
240
|
-
# source://net-protocol//lib/net/protocol.rb#84
|
241
|
-
def io; end
|
242
|
-
|
243
|
-
# source://net-protocol//lib/net/protocol.rb#86
|
244
|
-
def message; end
|
245
|
-
end
|
246
|
-
|
247
|
-
# The writer adapter class
|
248
|
-
#
|
249
|
-
# source://net-protocol//lib/net/protocol.rb#486
|
250
|
-
class Net::WriteAdapter
|
251
|
-
# @return [WriteAdapter] a new instance of WriteAdapter
|
252
|
-
#
|
253
|
-
# source://net-protocol//lib/net/protocol.rb#487
|
254
|
-
def initialize(writer); end
|
255
|
-
|
256
|
-
# source://net-protocol//lib/net/protocol.rb#501
|
257
|
-
def <<(str); end
|
258
|
-
|
259
|
-
# source://net-protocol//lib/net/protocol.rb#491
|
260
|
-
def inspect; end
|
261
|
-
|
262
|
-
# source://net-protocol//lib/net/protocol.rb#495
|
263
|
-
def print(str); end
|
264
|
-
|
265
|
-
# source://net-protocol//lib/net/protocol.rb#510
|
266
|
-
def printf(*args); end
|
267
|
-
|
268
|
-
# source://net-protocol//lib/net/protocol.rb#506
|
269
|
-
def puts(str = T.unsafe(nil)); end
|
270
|
-
|
271
|
-
# source://net-protocol//lib/net/protocol.rb#495
|
272
|
-
def write(str); end
|
273
|
-
end
|
274
|
-
|
275
|
-
# WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the
|
276
|
-
# response cannot be written within the write_timeout. Not raised on Windows.
|
277
|
-
#
|
278
|
-
# source://net-protocol//lib/net/protocol.rb#99
|
279
|
-
class Net::WriteTimeout < ::Timeout::Error
|
280
|
-
# @return [WriteTimeout] a new instance of WriteTimeout
|
281
|
-
#
|
282
|
-
# source://net-protocol//lib/net/protocol.rb#100
|
283
|
-
def initialize(io = T.unsafe(nil)); end
|
284
|
-
|
285
|
-
# Returns the value of attribute io.
|
286
|
-
#
|
287
|
-
# source://net-protocol//lib/net/protocol.rb#103
|
288
|
-
def io; end
|
289
|
-
|
290
|
-
# source://net-protocol//lib/net/protocol.rb#105
|
291
|
-
def message; end
|
292
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `net-smtp` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem net-smtp`.
|
6
|
-
|
7
|
-
|
8
|
-
# THIS IS AN EMPTY RBI FILE.
|
9
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|