ledger_tiller_export 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/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +91 -0
- data/LICENSE.txt +21 -0
- data/README.md +162 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/ledger_tiller_export.gemspec +32 -0
- data/lib/ledger_tiller_export.rb +180 -0
- data/lib/ledger_tiller_export/version.rb +4 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/addressable.rbi +199 -0
- data/sorbet/rbi/gems/declarative-option.rbi +24 -0
- data/sorbet/rbi/gems/declarative.rbi +75 -0
- data/sorbet/rbi/gems/faraday.rbi +316 -0
- data/sorbet/rbi/gems/google-api-client.rbi +4822 -0
- data/sorbet/rbi/gems/google_drive.rbi +360 -0
- data/sorbet/rbi/gems/googleauth.rbi +172 -0
- data/sorbet/rbi/gems/httpclient.rbi +810 -0
- data/sorbet/rbi/gems/jwt.rbi +68 -0
- data/sorbet/rbi/gems/ledger_gen.rbi +39 -0
- data/sorbet/rbi/gems/memoist.rbi +42 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1007 -0
- data/sorbet/rbi/gems/os.rbi +46 -0
- data/sorbet/rbi/gems/public_suffix.rbi +18 -0
- data/sorbet/rbi/gems/rake.rbi +636 -0
- data/sorbet/rbi/gems/representable.rbi +276 -0
- data/sorbet/rbi/gems/retriable.rbi +21 -0
- data/sorbet/rbi/gems/rspec-core.rbi +194 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +859 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +192 -0
- data/sorbet/rbi/gems/rspec-support.rbi +38 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/signet.rbi +121 -0
- data/sorbet/rbi/gems/uber.rbi +26 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +6574 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +11607 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- metadata +190 -0
@@ -0,0 +1,810 @@
|
|
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/httpclient/all/httpclient.rbi
|
9
|
+
#
|
10
|
+
# httpclient-2.8.3
|
11
|
+
|
12
|
+
class HTTPClient
|
13
|
+
def adapt_block(&block); end
|
14
|
+
def agent_name; end
|
15
|
+
def agent_name=(rhs); end
|
16
|
+
def base_url; end
|
17
|
+
def base_url=(arg0); end
|
18
|
+
def connect_timeout; end
|
19
|
+
def connect_timeout=(rhs); end
|
20
|
+
def cookie_manager; end
|
21
|
+
def cookie_manager=(arg0); end
|
22
|
+
def cookies; end
|
23
|
+
def create_boundary; end
|
24
|
+
def create_request(method, uri, query, body, header); end
|
25
|
+
def debug_dev; end
|
26
|
+
def debug_dev=(dev); end
|
27
|
+
def default_header; end
|
28
|
+
def default_header=(arg0); end
|
29
|
+
def default_redirect_uri_callback(uri, res); end
|
30
|
+
def delete(uri, *args, &block); end
|
31
|
+
def delete_async(uri, *args); end
|
32
|
+
def do_get_block(req, proxy, conn, &block); end
|
33
|
+
def do_get_header(req, res, sess); end
|
34
|
+
def do_get_stream(req, proxy, conn); end
|
35
|
+
def do_request(method, uri, query, body, header, &block); end
|
36
|
+
def do_request_async(method, uri, query, body, header); end
|
37
|
+
def dump_dummy_request_response(req, res); end
|
38
|
+
def file_in_form_data?(body); end
|
39
|
+
def follow_redirect(method, uri, query, body, header, &block); end
|
40
|
+
def follow_redirect_count; end
|
41
|
+
def follow_redirect_count=(arg0); end
|
42
|
+
def force_basic_auth=(force_basic_auth); end
|
43
|
+
def from; end
|
44
|
+
def from=(rhs); end
|
45
|
+
def get(uri, *args, &block); end
|
46
|
+
def get_async(uri, *args); end
|
47
|
+
def get_content(uri, *args, &block); end
|
48
|
+
def getenv(name); end
|
49
|
+
def hashy_argument_has_keys(args, *key); end
|
50
|
+
def head(uri, *args); end
|
51
|
+
def head_async(uri, *args); end
|
52
|
+
def initialize(*args, &block); end
|
53
|
+
def keep_alive_timeout; end
|
54
|
+
def keep_alive_timeout=(rhs); end
|
55
|
+
def keep_webmock_compat; end
|
56
|
+
def load_environment; end
|
57
|
+
def no_proxy; end
|
58
|
+
def no_proxy=(no_proxy); end
|
59
|
+
def no_proxy?(uri); end
|
60
|
+
def options(uri, *args, &block); end
|
61
|
+
def options_async(uri, *args); end
|
62
|
+
def override_header(header, key, value); end
|
63
|
+
def patch(uri, *args, &block); end
|
64
|
+
def patch_async(uri, *args); end
|
65
|
+
def post(uri, *args, &block); end
|
66
|
+
def post_async(uri, *args); end
|
67
|
+
def post_content(uri, *args, &block); end
|
68
|
+
def propfind(uri, *args, &block); end
|
69
|
+
def propfind_async(uri, *args); end
|
70
|
+
def proppatch(uri, *args, &block); end
|
71
|
+
def proppatch_async(uri, *args); end
|
72
|
+
def protect_keep_alive_disconnected; end
|
73
|
+
def protocol_retry_count; end
|
74
|
+
def protocol_retry_count=(rhs); end
|
75
|
+
def protocol_version; end
|
76
|
+
def protocol_version=(rhs); end
|
77
|
+
def proxy; end
|
78
|
+
def proxy=(proxy); end
|
79
|
+
def proxy_auth; end
|
80
|
+
def put(uri, *args, &block); end
|
81
|
+
def put_async(uri, *args); end
|
82
|
+
def read_block_size; end
|
83
|
+
def read_block_size=(rhs); end
|
84
|
+
def receive_timeout; end
|
85
|
+
def receive_timeout=(rhs); end
|
86
|
+
def redirect_uri_callback=(redirect_uri_callback); end
|
87
|
+
def request(method, uri, *args, &block); end
|
88
|
+
def request_async(method, uri, query = nil, body = nil, header = nil); end
|
89
|
+
def request_async2(method, uri, *args); end
|
90
|
+
def request_filter; end
|
91
|
+
def reset(uri); end
|
92
|
+
def reset_all; end
|
93
|
+
def save_cookie_store; end
|
94
|
+
def self.attr_proxy(symbol, assignable = nil); end
|
95
|
+
def self.delete(*arg, &block); end
|
96
|
+
def self.get(*arg, &block); end
|
97
|
+
def self.get_content(*arg, &block); end
|
98
|
+
def self.head(*arg, &block); end
|
99
|
+
def self.options(*arg, &block); end
|
100
|
+
def self.post(*arg, &block); end
|
101
|
+
def self.post_content(*arg, &block); end
|
102
|
+
def self.propfind(*arg, &block); end
|
103
|
+
def self.proppatch(*arg, &block); end
|
104
|
+
def self.put(*arg, &block); end
|
105
|
+
def self.trace(*arg, &block); end
|
106
|
+
def send_timeout; end
|
107
|
+
def send_timeout=(rhs); end
|
108
|
+
def set_auth(domain, user, passwd); end
|
109
|
+
def set_basic_auth(domain, user, passwd); end
|
110
|
+
def set_cookie_store(filename); end
|
111
|
+
def set_encoding(str, encoding); end
|
112
|
+
def set_proxy_auth(user, passwd); end
|
113
|
+
def socket_local; end
|
114
|
+
def socket_local=(rhs); end
|
115
|
+
def socket_sync; end
|
116
|
+
def socket_sync=(rhs); end
|
117
|
+
def ssl_config; end
|
118
|
+
def strict_redirect_uri_callback(uri, res); end
|
119
|
+
def strict_response_size_check; end
|
120
|
+
def strict_response_size_check=(rhs); end
|
121
|
+
def success_content(res); end
|
122
|
+
def tcp_keepalive; end
|
123
|
+
def tcp_keepalive=(rhs); end
|
124
|
+
def test_loopback_http_response; end
|
125
|
+
def test_loopback_response; end
|
126
|
+
def to_resource_url(uri); end
|
127
|
+
def trace(uri, *args, &block); end
|
128
|
+
def trace_async(uri, *args); end
|
129
|
+
def transparent_gzip_decompression; end
|
130
|
+
def transparent_gzip_decompression=(rhs); end
|
131
|
+
def www_auth; end
|
132
|
+
include HTTPClient::Util
|
133
|
+
end
|
134
|
+
module HTTPClient::Util
|
135
|
+
def argument_to_hash(args, *field); end
|
136
|
+
def hash_find_value(hash, &block); end
|
137
|
+
def http?(uri); end
|
138
|
+
def https?(uri); end
|
139
|
+
def keyword_argument(args, *field); end
|
140
|
+
def self.hash_find_value(hash, &block); end
|
141
|
+
def self.try_require(feature); end
|
142
|
+
def self.uri_dirname(uri); end
|
143
|
+
def self.uri_part_of(uri, part); end
|
144
|
+
def self.urify(uri); end
|
145
|
+
def try_require(feature); end
|
146
|
+
def uri_dirname(uri); end
|
147
|
+
def uri_part_of(uri, part); end
|
148
|
+
def urify(uri); end
|
149
|
+
def warning(message); end
|
150
|
+
end
|
151
|
+
class HTTPClient::Util::AddressableURI < Addressable::URI
|
152
|
+
def authority; end
|
153
|
+
def hostname; end
|
154
|
+
def port; end
|
155
|
+
end
|
156
|
+
class HTTPClient::SSLConfig
|
157
|
+
def add_crl(crl); end
|
158
|
+
def add_trust_ca(trust_ca_file_or_hashed_dir); end
|
159
|
+
def add_trust_ca_to_store(cert_store, trust_ca_file_or_hashed_dir); end
|
160
|
+
def cert_store; end
|
161
|
+
def cert_store=(cert_store); end
|
162
|
+
def cert_store_crl_items; end
|
163
|
+
def cert_store_items; end
|
164
|
+
def change_notify; end
|
165
|
+
def ciphers; end
|
166
|
+
def ciphers=(rhs); end
|
167
|
+
def clear_cert_store; end
|
168
|
+
def client_ca; end
|
169
|
+
def client_ca=(rhs); end
|
170
|
+
def client_cert; end
|
171
|
+
def client_cert=(rhs); end
|
172
|
+
def client_key; end
|
173
|
+
def client_key=(rhs); end
|
174
|
+
def client_key_pass; end
|
175
|
+
def client_key_pass=(rhs); end
|
176
|
+
def default_verify_callback(is_ok, ctx); end
|
177
|
+
def initialize(client); end
|
178
|
+
def load_cacerts(cert_store); end
|
179
|
+
def load_trust_ca; end
|
180
|
+
def options; end
|
181
|
+
def options=(rhs); end
|
182
|
+
def post_connection_check(peer_cert, hostname); end
|
183
|
+
def sample_verify_callback(is_ok, ctx); end
|
184
|
+
def self.attr_config(symbol); end
|
185
|
+
def set_client_cert_file(cert_file, key_file, pass = nil); end
|
186
|
+
def set_context(ctx); end
|
187
|
+
def set_crl(crl); end
|
188
|
+
def set_default_paths; end
|
189
|
+
def set_trust_ca(trust_ca_file_or_hashed_dir); end
|
190
|
+
def ssl_version; end
|
191
|
+
def ssl_version=(rhs); end
|
192
|
+
def timeout; end
|
193
|
+
def timeout=(rhs); end
|
194
|
+
def verify?; end
|
195
|
+
def verify_callback; end
|
196
|
+
def verify_callback=(rhs); end
|
197
|
+
def verify_depth; end
|
198
|
+
def verify_depth=(rhs); end
|
199
|
+
def verify_mode; end
|
200
|
+
def verify_mode=(rhs); end
|
201
|
+
include HTTPClient::Util
|
202
|
+
include OpenSSL
|
203
|
+
end
|
204
|
+
module OpenSSL
|
205
|
+
end
|
206
|
+
module OpenSSL::X509
|
207
|
+
end
|
208
|
+
class OpenSSL::X509::Store
|
209
|
+
def _httpclient_cert_store_items; end
|
210
|
+
end
|
211
|
+
class HTTPClient::Connection
|
212
|
+
def async_thread; end
|
213
|
+
def async_thread=(arg0); end
|
214
|
+
def finished?; end
|
215
|
+
def initialize(header_queue = nil, body_queue = nil); end
|
216
|
+
def join; end
|
217
|
+
def pop; end
|
218
|
+
def push(result); end
|
219
|
+
end
|
220
|
+
module HTTPClient::Timeout
|
221
|
+
end
|
222
|
+
module HTTP
|
223
|
+
end
|
224
|
+
module HTTP::Status
|
225
|
+
def self.redirect?(status); end
|
226
|
+
def self.successful?(status); end
|
227
|
+
end
|
228
|
+
class HTTP::Message
|
229
|
+
def body; end
|
230
|
+
def body=(body); end
|
231
|
+
def body_encoding; end
|
232
|
+
def code; end
|
233
|
+
def content; end
|
234
|
+
def content_type; end
|
235
|
+
def content_type=(content_type); end
|
236
|
+
def contenttype; end
|
237
|
+
def contenttype=(content_type); end
|
238
|
+
def cookies; end
|
239
|
+
def dump(dev = nil); end
|
240
|
+
def header; end
|
241
|
+
def headers; end
|
242
|
+
def http_body; end
|
243
|
+
def http_body=(body); end
|
244
|
+
def http_header; end
|
245
|
+
def http_header=(arg0); end
|
246
|
+
def http_version; end
|
247
|
+
def http_version=(http_version); end
|
248
|
+
def initialize; end
|
249
|
+
def ok?; end
|
250
|
+
def peer_cert; end
|
251
|
+
def peer_cert=(arg0); end
|
252
|
+
def previous; end
|
253
|
+
def previous=(arg0); end
|
254
|
+
def reason; end
|
255
|
+
def reason=(reason); end
|
256
|
+
def redirect?; end
|
257
|
+
def see_other?; end
|
258
|
+
def self.create_query_part_str(query); end
|
259
|
+
def self.escape(str); end
|
260
|
+
def self.escape_query(query); end
|
261
|
+
def self.file?(obj); end
|
262
|
+
def self.get_mime_type_func; end
|
263
|
+
def self.internal_mime_type(path); end
|
264
|
+
def self.keep_alive_enabled?(version); end
|
265
|
+
def self.mime_type(path); end
|
266
|
+
def self.mime_type_handler; end
|
267
|
+
def self.mime_type_handler=(handler); end
|
268
|
+
def self.multiparam_query?(query); end
|
269
|
+
def self.new(*arg0); end
|
270
|
+
def self.new_connect_request(uri); end
|
271
|
+
def self.new_request(method, uri, query = nil, body = nil, boundary = nil); end
|
272
|
+
def self.new_response(body, req = nil); end
|
273
|
+
def self.parse(query); end
|
274
|
+
def self.set_mime_type_func(handler); end
|
275
|
+
def self.unescape(string); end
|
276
|
+
def status; end
|
277
|
+
def status=(status); end
|
278
|
+
def status_code; end
|
279
|
+
def version; end
|
280
|
+
def version=(version); end
|
281
|
+
include HTTPClient::Util
|
282
|
+
end
|
283
|
+
class HTTP::Message::Headers
|
284
|
+
def [](key); end
|
285
|
+
def []=(key, value); end
|
286
|
+
def add(key, value); end
|
287
|
+
def all; end
|
288
|
+
def body_charset; end
|
289
|
+
def body_charset=(arg0); end
|
290
|
+
def body_date; end
|
291
|
+
def body_date=(arg0); end
|
292
|
+
def body_encoding; end
|
293
|
+
def body_size; end
|
294
|
+
def body_size=(body_size); end
|
295
|
+
def body_type; end
|
296
|
+
def body_type=(arg0); end
|
297
|
+
def charset_label; end
|
298
|
+
def chunked; end
|
299
|
+
def chunked=(arg0); end
|
300
|
+
def content_type; end
|
301
|
+
def content_type=(content_type); end
|
302
|
+
def contenttype; end
|
303
|
+
def contenttype=(content_type); end
|
304
|
+
def create_query_part; end
|
305
|
+
def create_query_uri; end
|
306
|
+
def delete(key); end
|
307
|
+
def dump; end
|
308
|
+
def get(key = nil); end
|
309
|
+
def http_version; end
|
310
|
+
def http_version=(arg0); end
|
311
|
+
def init_connect_request(uri); end
|
312
|
+
def init_request(method, uri, query = nil); end
|
313
|
+
def init_response(status_code, req = nil); end
|
314
|
+
def initialize; end
|
315
|
+
def reason_phrase; end
|
316
|
+
def reason_phrase=(arg0); end
|
317
|
+
def request_absolute_uri; end
|
318
|
+
def request_absolute_uri=(arg0); end
|
319
|
+
def request_line; end
|
320
|
+
def request_method; end
|
321
|
+
def request_query; end
|
322
|
+
def request_query=(arg0); end
|
323
|
+
def request_uri; end
|
324
|
+
def request_uri=(arg0); end
|
325
|
+
def response_status_line; end
|
326
|
+
def set(key, value); end
|
327
|
+
def set_body_encoding; end
|
328
|
+
def set_date_header; end
|
329
|
+
def set_header; end
|
330
|
+
def set_headers(headers); end
|
331
|
+
def set_request_header; end
|
332
|
+
def set_response_header; end
|
333
|
+
def status_code; end
|
334
|
+
def status_code=(status_code); end
|
335
|
+
end
|
336
|
+
class HTTP::Message::Body
|
337
|
+
def build_query_multipart_str(query, boundary); end
|
338
|
+
def chunk_size; end
|
339
|
+
def chunk_size=(arg0); end
|
340
|
+
def content; end
|
341
|
+
def dump(header = nil, dev = nil); end
|
342
|
+
def dump_chunk(str); end
|
343
|
+
def dump_chunk_size(size); end
|
344
|
+
def dump_chunked(header = nil, dev = nil); end
|
345
|
+
def dump_chunks(io, dev); end
|
346
|
+
def dump_file(io, dev, sz); end
|
347
|
+
def dump_last_chunk; end
|
348
|
+
def init_request(body = nil, boundary = nil); end
|
349
|
+
def init_response(body = nil); end
|
350
|
+
def initialize; end
|
351
|
+
def params_from_file(value); end
|
352
|
+
def positions; end
|
353
|
+
def positions=(arg0); end
|
354
|
+
def remember_pos(io); end
|
355
|
+
def reset_pos(io); end
|
356
|
+
def set_content(body, boundary = nil); end
|
357
|
+
def size; end
|
358
|
+
end
|
359
|
+
class HTTP::Message::Body::Parts
|
360
|
+
def add(part); end
|
361
|
+
def add_size(part, sz); end
|
362
|
+
def initialize; end
|
363
|
+
def parts; end
|
364
|
+
def size; end
|
365
|
+
def sizes; end
|
366
|
+
end
|
367
|
+
class HTTPClient::SSLSocket
|
368
|
+
def <<(str); end
|
369
|
+
def check_mask(value, mask); end
|
370
|
+
def close; end
|
371
|
+
def closed?; end
|
372
|
+
def create_openssl_socket(socket); end
|
373
|
+
def debug(str); end
|
374
|
+
def eof?; end
|
375
|
+
def flush; end
|
376
|
+
def gets(rs); end
|
377
|
+
def initialize(socket, dest, config, opts = nil); end
|
378
|
+
def peer_cert; end
|
379
|
+
def post_connection_check(hostname); end
|
380
|
+
def read(size, buf = nil); end
|
381
|
+
def readpartial(size, buf = nil); end
|
382
|
+
def self.create_socket(session); end
|
383
|
+
def ssl_connect(hostname = nil); end
|
384
|
+
def sync; end
|
385
|
+
def sync=(sync); end
|
386
|
+
end
|
387
|
+
class HTTPClient::Site
|
388
|
+
def ==(rhs); end
|
389
|
+
def addr; end
|
390
|
+
def eql?(rhs); end
|
391
|
+
def hash; end
|
392
|
+
def host; end
|
393
|
+
def host=(arg0); end
|
394
|
+
def hostname; end
|
395
|
+
def initialize(uri = nil); end
|
396
|
+
def inspect; end
|
397
|
+
def match(uri); end
|
398
|
+
def port; end
|
399
|
+
def port=(arg0); end
|
400
|
+
def scheme; end
|
401
|
+
def scheme=(arg0); end
|
402
|
+
def to_s; end
|
403
|
+
end
|
404
|
+
class HTTPClient::SessionManager
|
405
|
+
def add_cached_session(sess); end
|
406
|
+
def agent_name; end
|
407
|
+
def agent_name=(arg0); end
|
408
|
+
def chunk_size; end
|
409
|
+
def chunk_size=(arg0); end
|
410
|
+
def close(dest); end
|
411
|
+
def close_all; end
|
412
|
+
def connect_retry; end
|
413
|
+
def connect_retry=(arg0); end
|
414
|
+
def connect_timeout; end
|
415
|
+
def connect_timeout=(arg0); end
|
416
|
+
def debug_dev; end
|
417
|
+
def debug_dev=(arg0); end
|
418
|
+
def from; end
|
419
|
+
def from=(arg0); end
|
420
|
+
def get_cached_session(site); end
|
421
|
+
def get_session(req, via_proxy = nil); end
|
422
|
+
def initialize(client); end
|
423
|
+
def keep(sess); end
|
424
|
+
def keep_alive_timeout; end
|
425
|
+
def keep_alive_timeout=(arg0); end
|
426
|
+
def open(uri, via_proxy = nil); end
|
427
|
+
def protocol_retry_count; end
|
428
|
+
def protocol_retry_count=(arg0); end
|
429
|
+
def protocol_version; end
|
430
|
+
def protocol_version=(arg0); end
|
431
|
+
def proxy=(proxy); end
|
432
|
+
def query(req, via_proxy); end
|
433
|
+
def read_block_size; end
|
434
|
+
def read_block_size=(arg0); end
|
435
|
+
def receive_timeout; end
|
436
|
+
def receive_timeout=(arg0); end
|
437
|
+
def reset(uri); end
|
438
|
+
def reset_all; end
|
439
|
+
def scrub_cached_session(now); end
|
440
|
+
def send_timeout; end
|
441
|
+
def send_timeout=(arg0); end
|
442
|
+
def socket_local; end
|
443
|
+
def socket_local=(arg0); end
|
444
|
+
def socket_sync; end
|
445
|
+
def socket_sync=(arg0); end
|
446
|
+
def ssl_config; end
|
447
|
+
def ssl_config=(arg0); end
|
448
|
+
def strict_response_size_check; end
|
449
|
+
def strict_response_size_check=(arg0); end
|
450
|
+
def tcp_keepalive; end
|
451
|
+
def tcp_keepalive=(arg0); end
|
452
|
+
def test_loopback_http_response; end
|
453
|
+
def transparent_gzip_decompression; end
|
454
|
+
def transparent_gzip_decompression=(arg0); end
|
455
|
+
def valid_session?(sess, now); end
|
456
|
+
end
|
457
|
+
module HTTPClient::SocketWrap
|
458
|
+
def <<(str); end
|
459
|
+
def close; end
|
460
|
+
def closed?; end
|
461
|
+
def eof?; end
|
462
|
+
def flush; end
|
463
|
+
def gets(rs); end
|
464
|
+
def initialize(socket, *args); end
|
465
|
+
def read(size, buf = nil); end
|
466
|
+
def readpartial(size, buf = nil); end
|
467
|
+
def sync; end
|
468
|
+
def sync=(sync); end
|
469
|
+
end
|
470
|
+
module HTTPClient::DebugSocket
|
471
|
+
def <<(str); end
|
472
|
+
def close; end
|
473
|
+
def debug(str); end
|
474
|
+
def debug_dev=(debug_dev); end
|
475
|
+
def gets(rs); end
|
476
|
+
def read(size, buf = nil); end
|
477
|
+
def readpartial(size, buf = nil); end
|
478
|
+
extend HTTPClient::SocketWrap
|
479
|
+
end
|
480
|
+
class HTTPClient::LoopBackSocket
|
481
|
+
def <<(str); end
|
482
|
+
def initialize(host, port, response); end
|
483
|
+
def peer_cert; end
|
484
|
+
include HTTPClient::SocketWrap
|
485
|
+
end
|
486
|
+
class HTTPClient::Session
|
487
|
+
def close; end
|
488
|
+
def closed?; end
|
489
|
+
def connect; end
|
490
|
+
def connect_retry; end
|
491
|
+
def connect_retry=(arg0); end
|
492
|
+
def connect_ssl_proxy(socket, uri); end
|
493
|
+
def connect_timeout; end
|
494
|
+
def connect_timeout=(arg0); end
|
495
|
+
def content_inflater_block(content_encoding, block); end
|
496
|
+
def create_loopback_socket(host, port, str); end
|
497
|
+
def create_socket(host, port); end
|
498
|
+
def debug_dev; end
|
499
|
+
def debug_dev=(arg0); end
|
500
|
+
def dest; end
|
501
|
+
def empty_bin_str; end
|
502
|
+
def eof?; end
|
503
|
+
def get_body(&block); end
|
504
|
+
def get_header; end
|
505
|
+
def initialize(client, dest, agent_name, from); end
|
506
|
+
def last_used; end
|
507
|
+
def no_message_body?(status); end
|
508
|
+
def parse_content_header(key, value); end
|
509
|
+
def parse_header(socket); end
|
510
|
+
def protocol_retry_count; end
|
511
|
+
def protocol_retry_count=(arg0); end
|
512
|
+
def proxy; end
|
513
|
+
def proxy=(arg0); end
|
514
|
+
def query(req); end
|
515
|
+
def read_block_size; end
|
516
|
+
def read_block_size=(arg0); end
|
517
|
+
def read_body_chunked(&block); end
|
518
|
+
def read_body_length(&block); end
|
519
|
+
def read_body_rest; end
|
520
|
+
def read_header; end
|
521
|
+
def receive_timeout; end
|
522
|
+
def receive_timeout=(arg0); end
|
523
|
+
def requested_version; end
|
524
|
+
def requested_version=(arg0); end
|
525
|
+
def send_timeout; end
|
526
|
+
def send_timeout=(arg0); end
|
527
|
+
def set_header(req); end
|
528
|
+
def socket_local; end
|
529
|
+
def socket_local=(arg0); end
|
530
|
+
def socket_sync; end
|
531
|
+
def socket_sync=(arg0); end
|
532
|
+
def ssl_config; end
|
533
|
+
def ssl_config=(arg0); end
|
534
|
+
def ssl_peer_cert; end
|
535
|
+
def strict_response_size_check; end
|
536
|
+
def strict_response_size_check=(arg0); end
|
537
|
+
def tcp_keepalive; end
|
538
|
+
def tcp_keepalive=(arg0); end
|
539
|
+
def test_loopback_http_response; end
|
540
|
+
def test_loopback_http_response=(arg0); end
|
541
|
+
def transparent_gzip_decompression; end
|
542
|
+
def transparent_gzip_decompression=(arg0); end
|
543
|
+
include HTTPClient::Timeout
|
544
|
+
include HTTPClient::Util
|
545
|
+
end
|
546
|
+
class HTTPClient::Session::LenientInflater
|
547
|
+
def first_inflate(body); end
|
548
|
+
def inflate(body); end
|
549
|
+
def initialize; end
|
550
|
+
end
|
551
|
+
class HTTPClient::AuthFilterBase
|
552
|
+
def parse_authentication_header(res, tag); end
|
553
|
+
def parse_challenge_header(challenge); end
|
554
|
+
end
|
555
|
+
class HTTPClient::WWWAuth < HTTPClient::AuthFilterBase
|
556
|
+
def basic_auth; end
|
557
|
+
def digest_auth; end
|
558
|
+
def filter_request(req); end
|
559
|
+
def filter_response(req, res); end
|
560
|
+
def initialize; end
|
561
|
+
def negotiate_auth; end
|
562
|
+
def oauth; end
|
563
|
+
def reset_challenge; end
|
564
|
+
def set_auth(uri, user, passwd); end
|
565
|
+
def sspi_negotiate_auth; end
|
566
|
+
end
|
567
|
+
class HTTPClient::ProxyAuth < HTTPClient::AuthFilterBase
|
568
|
+
def basic_auth; end
|
569
|
+
def digest_auth; end
|
570
|
+
def filter_request(req); end
|
571
|
+
def filter_response(req, res); end
|
572
|
+
def initialize; end
|
573
|
+
def negotiate_auth; end
|
574
|
+
def reset_challenge; end
|
575
|
+
def set_auth(user, passwd); end
|
576
|
+
def sspi_negotiate_auth; end
|
577
|
+
end
|
578
|
+
class HTTPClient::AuthBase
|
579
|
+
def initialize(scheme); end
|
580
|
+
def reset_challenge; end
|
581
|
+
def scheme; end
|
582
|
+
include HTTPClient::Util
|
583
|
+
end
|
584
|
+
class HTTPClient::BasicAuth < HTTPClient::AuthBase
|
585
|
+
def challenge(uri, param_str = nil); end
|
586
|
+
def force_auth; end
|
587
|
+
def force_auth=(arg0); end
|
588
|
+
def get(req); end
|
589
|
+
def initialize; end
|
590
|
+
def lock; end
|
591
|
+
def locked?; end
|
592
|
+
def set(uri, user, passwd); end
|
593
|
+
def set?; end
|
594
|
+
def synchronize(&block); end
|
595
|
+
def try_lock; end
|
596
|
+
def unlock; end
|
597
|
+
include Mutex_m
|
598
|
+
end
|
599
|
+
class HTTPClient::ProxyBasicAuth < HTTPClient::BasicAuth
|
600
|
+
def challenge(uri, param_str = nil); end
|
601
|
+
def get(req); end
|
602
|
+
def set(uri, user, passwd); end
|
603
|
+
end
|
604
|
+
class HTTPClient::DigestAuth < HTTPClient::AuthBase
|
605
|
+
def calc_cred(req, user, passwd, param); end
|
606
|
+
def challenge(uri, param_str); end
|
607
|
+
def generate_cnonce; end
|
608
|
+
def get(req); end
|
609
|
+
def initialize; end
|
610
|
+
def lock; end
|
611
|
+
def locked?; end
|
612
|
+
def parse_challenge_param(param_str); end
|
613
|
+
def set(uri, user, passwd); end
|
614
|
+
def set?; end
|
615
|
+
def synchronize(&block); end
|
616
|
+
def try_lock; end
|
617
|
+
def unlock; end
|
618
|
+
include Mutex_m
|
619
|
+
end
|
620
|
+
class HTTPClient::ProxyDigestAuth < HTTPClient::DigestAuth
|
621
|
+
def challenge(uri, param_str); end
|
622
|
+
def get(req); end
|
623
|
+
def reset_challenge; end
|
624
|
+
def set(uri, user, passwd); end
|
625
|
+
end
|
626
|
+
class HTTPClient::NegotiateAuth < HTTPClient::AuthBase
|
627
|
+
def challenge(uri, param_str); end
|
628
|
+
def get(req); end
|
629
|
+
def initialize(scheme = nil); end
|
630
|
+
def lock; end
|
631
|
+
def locked?; end
|
632
|
+
def ntlm_opt; end
|
633
|
+
def set(uri, user, passwd); end
|
634
|
+
def set?; end
|
635
|
+
def synchronize(&block); end
|
636
|
+
def try_lock; end
|
637
|
+
def unlock; end
|
638
|
+
include Mutex_m
|
639
|
+
end
|
640
|
+
class HTTPClient::SSPINegotiateAuth < HTTPClient::AuthBase
|
641
|
+
def challenge(uri, param_str); end
|
642
|
+
def get(req); end
|
643
|
+
def initialize; end
|
644
|
+
def lock; end
|
645
|
+
def locked?; end
|
646
|
+
def set(*args); end
|
647
|
+
def set?; end
|
648
|
+
def synchronize(&block); end
|
649
|
+
def try_lock; end
|
650
|
+
def unlock; end
|
651
|
+
include Mutex_m
|
652
|
+
end
|
653
|
+
class HTTPClient::OAuth < HTTPClient::AuthBase
|
654
|
+
def calc_cred(req, config); end
|
655
|
+
def challenge(uri, param_str = nil); end
|
656
|
+
def create_base_string(config, header, req); end
|
657
|
+
def do_get_config(uri = nil); end
|
658
|
+
def encode_header(k, v); end
|
659
|
+
def encode_param(params); end
|
660
|
+
def escape(str); end
|
661
|
+
def generate_nonce; end
|
662
|
+
def get(req); end
|
663
|
+
def get_config(uri = nil); end
|
664
|
+
def initialize; end
|
665
|
+
def lock; end
|
666
|
+
def locked?; end
|
667
|
+
def self.escape(str); end
|
668
|
+
def set(*args); end
|
669
|
+
def set?; end
|
670
|
+
def set_config(uri, config); end
|
671
|
+
def sign(config, header, req); end
|
672
|
+
def sign_hmac_sha1(config, base_string); end
|
673
|
+
def synchronize(&block); end
|
674
|
+
def try_lock; end
|
675
|
+
def unlock; end
|
676
|
+
include Mutex_m
|
677
|
+
end
|
678
|
+
class HTTPClient::OAuth::Config
|
679
|
+
def callback; end
|
680
|
+
def callback=(arg0); end
|
681
|
+
def consumer_key; end
|
682
|
+
def consumer_key=(arg0); end
|
683
|
+
def consumer_secret; end
|
684
|
+
def consumer_secret=(arg0); end
|
685
|
+
def debug_nonce; end
|
686
|
+
def debug_nonce=(arg0); end
|
687
|
+
def debug_timestamp; end
|
688
|
+
def debug_timestamp=(arg0); end
|
689
|
+
def http_method; end
|
690
|
+
def http_method=(arg0); end
|
691
|
+
def initialize(*args); end
|
692
|
+
def realm; end
|
693
|
+
def realm=(arg0); end
|
694
|
+
def secret; end
|
695
|
+
def secret=(arg0); end
|
696
|
+
def session_handle; end
|
697
|
+
def session_handle=(arg0); end
|
698
|
+
def signature_handler; end
|
699
|
+
def signature_method; end
|
700
|
+
def signature_method=(arg0); end
|
701
|
+
def token; end
|
702
|
+
def token=(arg0); end
|
703
|
+
def verifier; end
|
704
|
+
def verifier=(arg0); end
|
705
|
+
def version; end
|
706
|
+
def version=(arg0); end
|
707
|
+
include HTTPClient::Util
|
708
|
+
end
|
709
|
+
class WebAgent
|
710
|
+
end
|
711
|
+
module WebAgent::CookieUtils
|
712
|
+
def domain_match(host, domain); end
|
713
|
+
def head_match?(str1, str2); end
|
714
|
+
def tail_match?(str1, str2); end
|
715
|
+
end
|
716
|
+
class WebAgent::Cookie
|
717
|
+
def discard=(arg0); end
|
718
|
+
def discard?; end
|
719
|
+
def domain; end
|
720
|
+
def domain=(arg0); end
|
721
|
+
def domain_orig=(arg0); end
|
722
|
+
def domain_orig?; end
|
723
|
+
def expires; end
|
724
|
+
def expires=(arg0); end
|
725
|
+
def flag; end
|
726
|
+
def http_only=(arg0); end
|
727
|
+
def http_only?; end
|
728
|
+
def initialize; end
|
729
|
+
def join_quotedstr(array, sep); end
|
730
|
+
def match?(url); end
|
731
|
+
def name; end
|
732
|
+
def name=(arg0); end
|
733
|
+
def normalize_cookie_value(value); end
|
734
|
+
def override=(arg0); end
|
735
|
+
def override?; end
|
736
|
+
def parse(str, url); end
|
737
|
+
def path; end
|
738
|
+
def path=(arg0); end
|
739
|
+
def path_orig=(arg0); end
|
740
|
+
def path_orig?; end
|
741
|
+
def secure=(arg0); end
|
742
|
+
def secure?; end
|
743
|
+
def self.parse(str, url); end
|
744
|
+
def set_flag(flag); end
|
745
|
+
def url; end
|
746
|
+
def url=(arg0); end
|
747
|
+
def use=(arg0); end
|
748
|
+
def use?; end
|
749
|
+
def value; end
|
750
|
+
def value=(arg0); end
|
751
|
+
include WebAgent::CookieUtils
|
752
|
+
end
|
753
|
+
class WebAgent::SynchronizedArray < Array
|
754
|
+
include MonitorMixin
|
755
|
+
end
|
756
|
+
class WebAgent::CookieManager
|
757
|
+
def accept_domains; end
|
758
|
+
def accept_domains=(arg0); end
|
759
|
+
def add(given); end
|
760
|
+
def check_cookie_accept_domain(domain); end
|
761
|
+
def check_domain(domain, hostname, override); end
|
762
|
+
def check_expired_cookies; end
|
763
|
+
def cookie_error(err, override); end
|
764
|
+
def cookie_value(url); end
|
765
|
+
def cookies; end
|
766
|
+
def cookies=(cookies); end
|
767
|
+
def cookies_file; end
|
768
|
+
def cookies_file=(arg0); end
|
769
|
+
def find(url); end
|
770
|
+
def initialize(file = nil); end
|
771
|
+
def load_cookies; end
|
772
|
+
def make_cookie_str(cookie_list); end
|
773
|
+
def netscape_rule; end
|
774
|
+
def netscape_rule=(arg0); end
|
775
|
+
def parse(str, url); end
|
776
|
+
def reject_domains; end
|
777
|
+
def reject_domains=(arg0); end
|
778
|
+
def save_all_cookies(force = nil, save_unused = nil, save_discarded = nil); end
|
779
|
+
def save_cookies(force = nil); end
|
780
|
+
include WebAgent::CookieUtils
|
781
|
+
end
|
782
|
+
class WebAgent::CookieManager::Error < StandardError
|
783
|
+
end
|
784
|
+
class WebAgent::CookieManager::ErrorOverrideOK < WebAgent::CookieManager::Error
|
785
|
+
end
|
786
|
+
class WebAgent::CookieManager::SpecialError < WebAgent::CookieManager::Error
|
787
|
+
end
|
788
|
+
class HTTPClient::ConfigurationError < StandardError
|
789
|
+
end
|
790
|
+
class HTTPClient::BadResponseError < RuntimeError
|
791
|
+
def initialize(msg, res = nil); end
|
792
|
+
def res; end
|
793
|
+
end
|
794
|
+
class HTTPClient::TimeoutError < RuntimeError
|
795
|
+
end
|
796
|
+
class HTTPClient::ConnectTimeoutError < HTTPClient::TimeoutError
|
797
|
+
end
|
798
|
+
class HTTPClient::SendTimeoutError < HTTPClient::TimeoutError
|
799
|
+
end
|
800
|
+
class HTTPClient::ReceiveTimeoutError < HTTPClient::TimeoutError
|
801
|
+
end
|
802
|
+
class HTTPClient::RetryableResponse < StandardError
|
803
|
+
def initialize(res = nil); end
|
804
|
+
def res; end
|
805
|
+
end
|
806
|
+
class HTTPClient::KeepAliveDisconnected < StandardError
|
807
|
+
def cause; end
|
808
|
+
def initialize(sess = nil, cause = nil); end
|
809
|
+
def sess; end
|
810
|
+
end
|