dry-monads-sorbet 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -22
  3. data/.gitignore +3 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -6
  6. data/bin/tapioca +29 -0
  7. data/dry-monads-sorbet.gemspec +3 -2
  8. data/lib/bundled_rbi/dry-monads.rbi +3 -3
  9. data/lib/dry/monads/sorbet/version.rb +1 -1
  10. data/nix/sources.json +14 -0
  11. data/nix/sources.nix +174 -0
  12. data/run_ci.sh +7 -0
  13. data/shell.nix +20 -0
  14. data/sorbet/config +6 -0
  15. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  16. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  17. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  18. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
  19. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  20. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  21. data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
  22. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
  23. data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
  24. data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
  25. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  26. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  27. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
  28. data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
  29. data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
  30. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  31. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
  32. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  33. data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
  34. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  35. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  36. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
  37. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2345 -1766
  38. data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
  39. data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
  40. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  41. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  42. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  43. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  44. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  45. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  46. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  47. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  48. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  49. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  50. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  51. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  52. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  53. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  54. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  55. data/sorbet/tapioca/require.rb +4 -0
  56. metadata +65 -68
  57. data/.ruby-version +0 -1
  58. data/sorbet/rbi/gems/activesupport.rbi +0 -1722
  59. data/sorbet/rbi/gems/byebug.rbi +0 -1041
  60. data/sorbet/rbi/gems/coderay.rbi +0 -285
  61. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  62. data/sorbet/rbi/gems/docile.rbi +0 -32
  63. data/sorbet/rbi/gems/dry-core.rbi +0 -38
  64. data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
  65. data/sorbet/rbi/gems/dry-monads.rbi +0 -510
  66. data/sorbet/rbi/gems/em-websocket.rbi +0 -225
  67. data/sorbet/rbi/gems/eventmachine.rbi +0 -489
  68. data/sorbet/rbi/gems/ffaker.rbi +0 -60
  69. data/sorbet/rbi/gems/guard.rbi +0 -397
  70. data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
  71. data/sorbet/rbi/gems/i18n.rbi +0 -133
  72. data/sorbet/rbi/gems/kwalify.rbi +0 -340
  73. data/sorbet/rbi/gems/listen.rbi +0 -324
  74. data/sorbet/rbi/gems/lumberjack.rbi +0 -300
  75. data/sorbet/rbi/gems/method_source.rbi +0 -64
  76. data/sorbet/rbi/gems/multi_json.rbi +0 -62
  77. data/sorbet/rbi/gems/nenv.rbi +0 -60
  78. data/sorbet/rbi/gems/notiffany.rbi +0 -215
  79. data/sorbet/rbi/gems/parallel.rbi +0 -82
  80. data/sorbet/rbi/gems/parser.rbi +0 -1846
  81. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  82. data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
  83. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  84. data/sorbet/rbi/gems/reek.rbi +0 -1027
  85. data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
  86. data/sorbet/rbi/gems/rspec-support.rbi +0 -280
  87. data/sorbet/rbi/gems/rspec.rbi +0 -15
  88. data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
  89. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
  90. data/sorbet/rbi/gems/rubocop.rbi +0 -6841
  91. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  92. data/sorbet/rbi/gems/shellany.rbi +0 -29
  93. data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
  94. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  95. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  96. data/sorbet/rbi/gems/sqlite3.rbi +0 -354
  97. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  98. data/sorbet/rbi/gems/thor.rbi +0 -32
  99. data/sorbet/rbi/gems/thread_safe.rbi +0 -82
  100. data/sorbet/rbi/gems/timecop.rbi +0 -98
  101. data/sorbet/rbi/gems/tzinfo.rbi +0 -406
  102. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  103. data/sorbet/rbi/hidden-definitions/errors.txt +0 -7267
  104. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14661
  105. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  106. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
  107. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  108. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  109. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
  110. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
  111. data/sorbet/rbi/todo.rbi +0 -8
@@ -1,225 +0,0 @@
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/em-websocket/all/em-websocket.rbi
9
- #
10
- # em-websocket-0.5.1
11
-
12
- module EventMachine
13
- end
14
- module EventMachine::WebSocket
15
- def self.close_timeout; end
16
- def self.close_timeout=(arg0); end
17
- def self.max_frame_size; end
18
- def self.max_frame_size=(arg0); end
19
- def self.run(options); end
20
- def self.start(options, &blk); end
21
- def self.stop; end
22
- end
23
- module EventMachine::WebSocket::Debugger
24
- def debug(*data); end
25
- end
26
- class EventMachine::WebSocket::WebSocketError < RuntimeError
27
- end
28
- class EventMachine::WebSocket::HandshakeError < EventMachine::WebSocket::WebSocketError
29
- end
30
- class EventMachine::WebSocket::WSProtocolError < EventMachine::WebSocket::WebSocketError
31
- def code; end
32
- end
33
- class EventMachine::WebSocket::InvalidDataError < EventMachine::WebSocket::WSProtocolError
34
- def code; end
35
- end
36
- class EventMachine::WebSocket::WSMessageTooBigError < EventMachine::WebSocket::WSProtocolError
37
- def code; end
38
- end
39
- class EventMachine::WebSocket::Connection < EventMachine::Connection
40
- def abort; end
41
- def acceptable_close_code?(code); end
42
- def close(code = nil, body = nil); end
43
- def close_timeout; end
44
- def close_websocket(code = nil, body = nil); end
45
- def close_websocket_private(code, body); end
46
- def dispatch(data); end
47
- def initialize(options); end
48
- def max_frame_size; end
49
- def max_frame_size=(arg0); end
50
- def onbinary(&blk); end
51
- def onclose(&blk); end
52
- def onerror(&blk); end
53
- def onmessage(&blk); end
54
- def onopen(&blk); end
55
- def onping(&blk); end
56
- def onpong(&blk); end
57
- def ping(body = nil); end
58
- def pingable?; end
59
- def pong(body = nil); end
60
- def post_init; end
61
- def receive_data(data); end
62
- def send(data); end
63
- def send_binary(data); end
64
- def send_flash_cross_domain_file; end
65
- def send_text(data); end
66
- def state; end
67
- def supports_close_codes?; end
68
- def trigger_on_binary(msg); end
69
- def trigger_on_close(event = nil); end
70
- def trigger_on_error(reason); end
71
- def trigger_on_message(msg); end
72
- def trigger_on_open(handshake); end
73
- def trigger_on_ping(data); end
74
- def trigger_on_pong(data); end
75
- def unbind; end
76
- include EventMachine::WebSocket::Debugger
77
- end
78
- class EventMachine::WebSocket::Handshake
79
- def headers; end
80
- def headers_downcased; end
81
- def initialize(secure); end
82
- def origin; end
83
- def parser; end
84
- def path; end
85
- def process(headers, remains); end
86
- def protocol_version; end
87
- def query; end
88
- def query_string; end
89
- def receive_data(data); end
90
- def secure?; end
91
- include EventMachine::Deferrable
92
- end
93
- module EventMachine::WebSocket::Handshake75
94
- def self.handshake(headers, path, secure); end
95
- end
96
- module EventMachine::WebSocket::Handshake76
97
- def self.handshake(headers, path, secure); end
98
- def self.numbers_over_spaces(string); end
99
- def self.solve_challenge(first, second, third); end
100
- def self.validate_protocol!(protocol); end
101
- end
102
- module EventMachine::WebSocket::Handshake04
103
- def self.handshake(headers, _, __); end
104
- end
105
- module EventMachine::WebSocket::Framing76
106
- def initialize_framing; end
107
- def process_data; end
108
- def send_text_frame(data); end
109
- end
110
- module EventMachine::WebSocket::Framing03
111
- def data_frame?(type); end
112
- def fin; end
113
- def initialize_framing; end
114
- def opcode_to_type(opcode); end
115
- def process_data; end
116
- def send_frame(frame_type, application_data); end
117
- def send_text_frame(data); end
118
- def type_to_opcode(frame_type); end
119
- end
120
- module EventMachine::WebSocket::Framing04
121
- def fin; end
122
- include EventMachine::WebSocket::Framing03
123
- end
124
- module EventMachine::WebSocket::Framing05
125
- def data_frame?(type); end
126
- def initialize_framing; end
127
- def opcode_to_type(opcode); end
128
- def process_data; end
129
- def send_frame(frame_type, application_data); end
130
- def send_text_frame(data); end
131
- def type_to_opcode(frame_type); end
132
- end
133
- module EventMachine::WebSocket::Framing07
134
- def data_frame?(type); end
135
- def initialize_framing; end
136
- def opcode_to_type(opcode); end
137
- def process_data; end
138
- def send_frame(frame_type, application_data); end
139
- def send_text_frame(data); end
140
- def type_to_opcode(frame_type); end
141
- end
142
- module EventMachine::WebSocket::Close75
143
- def close_websocket(code, body); end
144
- def supports_close_codes?; end
145
- end
146
- module EventMachine::WebSocket::Close03
147
- def close_websocket(code, body); end
148
- def supports_close_codes?; end
149
- end
150
- module EventMachine::WebSocket::Close05
151
- def close_websocket(code, body); end
152
- def supports_close_codes?; end
153
- end
154
- module EventMachine::WebSocket::Close06
155
- def close_websocket(code, body); end
156
- def supports_close_codes?; end
157
- end
158
- class EventMachine::WebSocket::MaskedString < String
159
- def getbyte(index); end
160
- def getbytes(start_index, count); end
161
- def read_mask; end
162
- def unset_mask; end
163
- end
164
- module EventMachine::WebSocket::MessageProcessor03
165
- def message(message_type, extension_data, application_data); end
166
- def pingable?; end
167
- end
168
- module EventMachine::WebSocket::MessageProcessor06
169
- def message(message_type, extension_data, application_data); end
170
- def pingable?; end
171
- end
172
- class EventMachine::WebSocket::Handler
173
- def close_websocket(code, body); end
174
- def fail_websocket(e); end
175
- def initialize(connection, debug = nil); end
176
- def ping; end
177
- def pingable?; end
178
- def receive_data(data); end
179
- def request; end
180
- def self.klass_factory(version); end
181
- def start_close_timeout; end
182
- def state; end
183
- def unbind; end
184
- include EventMachine::WebSocket::Debugger
185
- end
186
- class EventMachine::WebSocket::Handler75 < EventMachine::WebSocket::Handler
187
- include EventMachine::WebSocket::Close75
188
- include EventMachine::WebSocket::Framing76
189
- include EventMachine::WebSocket::Handshake75
190
- end
191
- class EventMachine::WebSocket::Handler76 < EventMachine::WebSocket::Handler
192
- include EventMachine::WebSocket::Close75
193
- include EventMachine::WebSocket::Framing76
194
- include EventMachine::WebSocket::Handshake76
195
- end
196
- class EventMachine::WebSocket::Handler03 < EventMachine::WebSocket::Handler
197
- include EventMachine::WebSocket::Close03
198
- include EventMachine::WebSocket::Framing03
199
- include EventMachine::WebSocket::MessageProcessor03
200
- end
201
- class EventMachine::WebSocket::Handler05 < EventMachine::WebSocket::Handler
202
- include EventMachine::WebSocket::Close05
203
- include EventMachine::WebSocket::Framing05
204
- include EventMachine::WebSocket::MessageProcessor03
205
- end
206
- class EventMachine::WebSocket::Handler06 < EventMachine::WebSocket::Handler
207
- include EventMachine::WebSocket::Close06
208
- include EventMachine::WebSocket::Framing05
209
- include EventMachine::WebSocket::MessageProcessor06
210
- end
211
- class EventMachine::WebSocket::Handler07 < EventMachine::WebSocket::Handler
212
- include EventMachine::WebSocket::Close06
213
- include EventMachine::WebSocket::Framing07
214
- include EventMachine::WebSocket::MessageProcessor06
215
- end
216
- class EventMachine::WebSocket::Handler08 < EventMachine::WebSocket::Handler
217
- include EventMachine::WebSocket::Close06
218
- include EventMachine::WebSocket::Framing07
219
- include EventMachine::WebSocket::MessageProcessor06
220
- end
221
- class EventMachine::WebSocket::Handler13 < EventMachine::WebSocket::Handler
222
- include EventMachine::WebSocket::Close06
223
- include EventMachine::WebSocket::Framing07
224
- include EventMachine::WebSocket::MessageProcessor06
225
- end
@@ -1,489 +0,0 @@
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/eventmachine/all/eventmachine.rbi
9
- #
10
- # eventmachine-1.2.7
11
-
12
- module EventMachine
13
- def add_oneshot_timer(arg0); end
14
- def attach_fd(arg0, arg1); end
15
- def attach_sd(arg0); end
16
- def bind_connect_server(arg0, arg1, arg2, arg3); end
17
- def close_connection(arg0, arg1); end
18
- def connect_server(arg0, arg1); end
19
- def connect_unix_server(arg0); end
20
- def connection_paused?(arg0); end
21
- def current_time; end
22
- def detach_fd(arg0); end
23
- def epoll; end
24
- def epoll=(arg0); end
25
- def epoll?; end
26
- def get_cipher_bits(arg0); end
27
- def get_cipher_name(arg0); end
28
- def get_cipher_protocol(arg0); end
29
- def get_comm_inactivity_timeout(arg0); end
30
- def get_connection_count; end
31
- def get_file_descriptor(arg0); end
32
- def get_heartbeat_interval; end
33
- def get_idle_time(arg0); end
34
- def get_max_timer_count; end
35
- def get_peer_cert(arg0); end
36
- def get_peername(arg0); end
37
- def get_pending_connect_timeout(arg0); end
38
- def get_proxied_bytes(arg0); end
39
- def get_simultaneous_accept_count; end
40
- def get_sni_hostname(arg0); end
41
- def get_sock_opt(arg0, arg1, arg2); end
42
- def get_sockname(arg0); end
43
- def get_subprocess_pid(arg0); end
44
- def get_subprocess_status(arg0); end
45
- def initialize_event_machine; end
46
- def invoke_popen(arg0); end
47
- def is_notify_readable(arg0); end
48
- def is_notify_writable(arg0); end
49
- def kqueue; end
50
- def kqueue=(arg0); end
51
- def kqueue?; end
52
- def library_type; end
53
- def num_close_scheduled; end
54
- def open_udp_socket(arg0, arg1); end
55
- def pause_connection(arg0); end
56
- def read_keyboard; end
57
- def release_machine; end
58
- def report_connection_error_status(arg0); end
59
- def resume_connection(arg0); end
60
- def run_machine; end
61
- def run_machine_once; end
62
- def run_machine_without_threads; end
63
- def self.Callback(object = nil, method = nil, &blk); end
64
- def self._open_file_for_writing(filename, handler = nil); end
65
- def self.add_oneshot_timer(arg0); end
66
- def self.add_periodic_timer(*args, &block); end
67
- def self.add_shutdown_hook(&block); end
68
- def self.add_timer(*args, &block); end
69
- def self.attach(io, handler = nil, *args, &blk); end
70
- def self.attach_fd(arg0, arg1); end
71
- def self.attach_io(io, watch_mode, handler = nil, *args); end
72
- def self.attach_sd(arg0); end
73
- def self.attach_server(sock, handler = nil, *args, &block); end
74
- def self.bind_connect(bind_addr, bind_port, server, port = nil, handler = nil, *args); end
75
- def self.bind_connect_server(arg0, arg1, arg2, arg3); end
76
- def self.cancel_timer(timer_or_sig); end
77
- def self.cleanup_machine; end
78
- def self.close_connection(arg0, arg1); end
79
- def self.connect(server, port = nil, handler = nil, *args, &blk); end
80
- def self.connect_server(arg0, arg1); end
81
- def self.connect_unix_domain(socketname, *args, &blk); end
82
- def self.connect_unix_server(arg0); end
83
- def self.connection_count; end
84
- def self.connection_paused?(arg0); end
85
- def self.current_time; end
86
- def self.defer(op = nil, callback = nil, errback = nil, &blk); end
87
- def self.defers_finished?; end
88
- def self.detach_fd(arg0); end
89
- def self.disable_proxy(from); end
90
- def self.enable_proxy(from, to, bufsize = nil, length = nil); end
91
- def self.epoll; end
92
- def self.epoll=(arg0); end
93
- def self.epoll?; end
94
- def self.error_handler(cb = nil, &blk); end
95
- def self.event_callback(conn_binding, opcode, data); end
96
- def self.fork_reactor(&block); end
97
- def self.get_cipher_bits(arg0); end
98
- def self.get_cipher_name(arg0); end
99
- def self.get_cipher_protocol(arg0); end
100
- def self.get_comm_inactivity_timeout(arg0); end
101
- def self.get_connection_count; end
102
- def self.get_file_descriptor(arg0); end
103
- def self.get_heartbeat_interval; end
104
- def self.get_idle_time(arg0); end
105
- def self.get_max_timer_count; end
106
- def self.get_max_timers; end
107
- def self.get_peer_cert(arg0); end
108
- def self.get_peername(arg0); end
109
- def self.get_pending_connect_timeout(arg0); end
110
- def self.get_proxied_bytes(arg0); end
111
- def self.get_simultaneous_accept_count; end
112
- def self.get_sni_hostname(arg0); end
113
- def self.get_sock_opt(arg0, arg1, arg2); end
114
- def self.get_sockname(arg0); end
115
- def self.get_subprocess_pid(arg0); end
116
- def self.get_subprocess_status(arg0); end
117
- def self.heartbeat_interval; end
118
- def self.heartbeat_interval=(time); end
119
- def self.initialize_event_machine; end
120
- def self.invoke_popen(arg0); end
121
- def self.is_notify_readable(arg0); end
122
- def self.is_notify_writable(arg0); end
123
- def self.klass_from_handler(klass = nil, handler = nil, *args); end
124
- def self.kqueue; end
125
- def self.kqueue=(arg0); end
126
- def self.kqueue?; end
127
- def self.library_type; end
128
- def self.next_tick(pr = nil, &block); end
129
- def self.num_close_scheduled; end
130
- def self.open_datagram_socket(address, port, handler = nil, *args); end
131
- def self.open_keyboard(handler = nil, *args); end
132
- def self.open_udp_socket(arg0, arg1); end
133
- def self.pause_connection(arg0); end
134
- def self.popen(cmd, handler = nil, *args); end
135
- def self.reactor_running?; end
136
- def self.reactor_thread; end
137
- def self.reactor_thread?; end
138
- def self.read_keyboard; end
139
- def self.reconnect(server, port, handler); end
140
- def self.release_machine; end
141
- def self.report_connection_error_status(arg0); end
142
- def self.resume_connection(arg0); end
143
- def self.run(blk = nil, tail = nil, &block); end
144
- def self.run_block(&block); end
145
- def self.run_deferred_callbacks; end
146
- def self.run_machine; end
147
- def self.run_machine_once; end
148
- def self.run_machine_without_threads; end
149
- def self.schedule(*a, &b); end
150
- def self.send_data(arg0, arg1, arg2); end
151
- def self.send_datagram(arg0, arg1, arg2, arg3, arg4); end
152
- def self.send_file_data(arg0, arg1); end
153
- def self.set_comm_inactivity_timeout(arg0, arg1); end
154
- def self.set_descriptor_table_size(n_descriptors = nil); end
155
- def self.set_effective_user(username); end
156
- def self.set_heartbeat_interval(arg0); end
157
- def self.set_max_timer_count(arg0); end
158
- def self.set_max_timers(ct); end
159
- def self.set_notify_readable(arg0, arg1); end
160
- def self.set_notify_writable(arg0, arg1); end
161
- def self.set_pending_connect_timeout(arg0, arg1); end
162
- def self.set_quantum(mills); end
163
- def self.set_rlimit_nofile(arg0); end
164
- def self.set_simultaneous_accept_count(arg0); end
165
- def self.set_sock_opt(arg0, arg1, arg2, arg3); end
166
- def self.set_timer_quantum(arg0); end
167
- def self.set_tls_parms(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); end
168
- def self.setuid_string(arg0); end
169
- def self.signal_loopbreak; end
170
- def self.spawn(&block); end
171
- def self.spawn_threadpool; end
172
- def self.ssl?; end
173
- def self.start_proxy(arg0, arg1, arg2, arg3); end
174
- def self.start_server(server, port = nil, handler = nil, *args, &block); end
175
- def self.start_tcp_server(arg0, arg1); end
176
- def self.start_tls(arg0); end
177
- def self.start_unix_domain_server(filename, *args, &block); end
178
- def self.start_unix_server(arg0); end
179
- def self.stop; end
180
- def self.stop_event_loop; end
181
- def self.stop_proxy(arg0); end
182
- def self.stop_server(signature); end
183
- def self.stop_tcp_server(arg0); end
184
- def self.stopping?; end
185
- def self.system(cmd, *args, &cb); end
186
- def self.threadpool; end
187
- def self.threadpool_size; end
188
- def self.threadpool_size=(arg0); end
189
- def self.tick_loop(*a, &b); end
190
- def self.unwatch_filename(arg0); end
191
- def self.unwatch_pid(arg0); end
192
- def self.watch(io, handler = nil, *args, &blk); end
193
- def self.watch_file(filename, handler = nil, *args); end
194
- def self.watch_filename(arg0); end
195
- def self.watch_pid(arg0); end
196
- def self.watch_process(pid, handler = nil, *args); end
197
- def self.yield(&block); end
198
- def self.yield_and_notify(&block); end
199
- def send_data(arg0, arg1, arg2); end
200
- def send_datagram(arg0, arg1, arg2, arg3, arg4); end
201
- def send_file_data(arg0, arg1); end
202
- def set_comm_inactivity_timeout(arg0, arg1); end
203
- def set_heartbeat_interval(arg0); end
204
- def set_max_timer_count(arg0); end
205
- def set_notify_readable(arg0, arg1); end
206
- def set_notify_writable(arg0, arg1); end
207
- def set_pending_connect_timeout(arg0, arg1); end
208
- def set_rlimit_nofile(arg0); end
209
- def set_simultaneous_accept_count(arg0); end
210
- def set_sock_opt(arg0, arg1, arg2, arg3); end
211
- def set_timer_quantum(arg0); end
212
- def set_tls_parms(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); end
213
- def setuid_string(arg0); end
214
- def signal_loopbreak; end
215
- def ssl?; end
216
- def start_proxy(arg0, arg1, arg2, arg3); end
217
- def start_tcp_server(arg0, arg1); end
218
- def start_tls(arg0); end
219
- def start_unix_server(arg0); end
220
- def stop; end
221
- def stop_proxy(arg0); end
222
- def stop_tcp_server(arg0); end
223
- def stopping?; end
224
- def unwatch_filename(arg0); end
225
- def unwatch_pid(arg0); end
226
- def watch_filename(arg0); end
227
- def watch_pid(arg0); end
228
- end
229
- class EventMachine::Connection
230
- def associate_callback_target(arg0); end
231
- def close_connection(after_writing = nil); end
232
- def close_connection_after_writing; end
233
- def comm_inactivity_timeout; end
234
- def comm_inactivity_timeout=(value); end
235
- def connection_completed; end
236
- def detach; end
237
- def error?; end
238
- def get_cipher_bits; end
239
- def get_cipher_name; end
240
- def get_cipher_protocol; end
241
- def get_idle_time; end
242
- def get_outbound_data_size; end
243
- def get_peer_cert; end
244
- def get_peername; end
245
- def get_pid; end
246
- def get_proxied_bytes; end
247
- def get_sni_hostname; end
248
- def get_sock_opt(level, option); end
249
- def get_sockname; end
250
- def get_status; end
251
- def initialize(*args); end
252
- def notify_readable=(mode); end
253
- def notify_readable?; end
254
- def notify_writable=(mode); end
255
- def notify_writable?; end
256
- def original_method(arg0); end
257
- def pause; end
258
- def paused?; end
259
- def pending_connect_timeout; end
260
- def pending_connect_timeout=(value); end
261
- def post_init; end
262
- def proxy_completed; end
263
- def proxy_incoming_to(conn, bufsize = nil); end
264
- def proxy_target_unbound; end
265
- def receive_data(data); end
266
- def reconnect(server, port); end
267
- def resume; end
268
- def self.new(sig, *args); end
269
- def send_data(data); end
270
- def send_datagram(data, recipient_address, recipient_port); end
271
- def send_file_data(filename); end
272
- def set_comm_inactivity_timeout(value); end
273
- def set_pending_connect_timeout(value); end
274
- def set_sock_opt(level, optname, optval); end
275
- def signature; end
276
- def signature=(arg0); end
277
- def ssl_handshake_completed; end
278
- def ssl_verify_peer(cert); end
279
- def start_tls(args = nil); end
280
- def stop_proxying; end
281
- def stream_file_data(filename, args = nil); end
282
- def unbind; end
283
- end
284
- class EventMachine::Pool
285
- def add(resource); end
286
- def completion(deferrable, resource); end
287
- def contents; end
288
- def failure(resource); end
289
- def initialize; end
290
- def num_waiting; end
291
- def on_error(*a, &b); end
292
- def perform(*a, &b); end
293
- def process(work, resource); end
294
- def remove(resource); end
295
- def removed?(resource); end
296
- def requeue(resource); end
297
- def reschedule(*a, &b); end
298
- end
299
- module EventMachine::Deferrable
300
- def callback(&block); end
301
- def cancel_callback(block); end
302
- def cancel_errback(block); end
303
- def cancel_timeout; end
304
- def errback(&block); end
305
- def fail(*args); end
306
- def self.future(arg, cb = nil, eb = nil, &blk); end
307
- def set_deferred_failure(*args); end
308
- def set_deferred_status(status, *args); end
309
- def set_deferred_success(*args); end
310
- def succeed(*args); end
311
- def timeout(seconds, *args); end
312
- end
313
- class EventMachine::DefaultDeferrable
314
- include EventMachine::Deferrable
315
- end
316
- class EventMachine::FileStreamer
317
- def ensure_mapping_extension_is_present; end
318
- def initialize(connection, filename, args = nil); end
319
- def stream_one_chunk; end
320
- def stream_with_mapping(filename); end
321
- def stream_without_mapping(filename); end
322
- include EventMachine::Deferrable
323
- end
324
- class EventMachine::SpawnedProcess
325
- def notify(*x); end
326
- def resume(*x); end
327
- def run(*x); end
328
- def set_receiver(blk); end
329
- end
330
- class EventMachine::YieldBlockFromSpawnedProcess
331
- def initialize(block, notify); end
332
- def pull_out_yield_block; end
333
- end
334
- class EventMachine::DeferrableChildProcess < EventMachine::Connection
335
- def initialize; end
336
- def receive_data(data); end
337
- def self.open(cmd); end
338
- def unbind; end
339
- include EventMachine::Deferrable
340
- end
341
- class EventMachine::SystemCmd < EventMachine::Connection
342
- def initialize(cb); end
343
- def receive_data(data); end
344
- def unbind; end
345
- end
346
- class EventMachine::Iterator
347
- def concurrency; end
348
- def concurrency=(val); end
349
- def each(foreach = nil, after = nil, &blk); end
350
- def initialize(list, concurrency = nil); end
351
- def inject(obj, foreach, after); end
352
- def map(foreach, after); end
353
- def next_item; end
354
- def spawn_workers; end
355
- end
356
- class BufferedTokenizer
357
- def extract(data); end
358
- def flush; end
359
- def initialize(delimiter = nil); end
360
- end
361
- class EventMachine::Timer
362
- def cancel; end
363
- def initialize(interval, callback = nil, &block); end
364
- end
365
- class EventMachine::PeriodicTimer
366
- def cancel; end
367
- def fire; end
368
- def initialize(interval, callback = nil, &block); end
369
- def interval; end
370
- def interval=(arg0); end
371
- def schedule; end
372
- end
373
- module EventMachine::Protocols
374
- end
375
- class EventMachine::FileNotFoundException < Exception
376
- end
377
- class EventMachine::Queue
378
- def <<(*items); end
379
- def empty?; end
380
- def initialize; end
381
- def num_waiting; end
382
- def pop(*a, &b); end
383
- def push(*items); end
384
- def size; end
385
- end
386
- class EventMachine::Channel
387
- def <<(*items); end
388
- def gen_id; end
389
- def initialize; end
390
- def num_subscribers; end
391
- def pop(*a, &b); end
392
- def push(*items); end
393
- def subscribe(*a, &b); end
394
- def unsubscribe(name); end
395
- end
396
- class EventMachine::FileWatch < EventMachine::Connection
397
- def file_deleted; end
398
- def file_modified; end
399
- def file_moved; end
400
- def path; end
401
- def receive_data(data); end
402
- def stop_watching; end
403
- end
404
- class EventMachine::ProcessWatch < EventMachine::Connection
405
- def pid; end
406
- def process_exited; end
407
- def process_forked; end
408
- def receive_data(data); end
409
- def stop_watching; end
410
- end
411
- class EventMachine::TickLoop
412
- def initialize(*a, &b); end
413
- def on_stop(*a, &b); end
414
- def schedule; end
415
- def start; end
416
- def stop; end
417
- def stopped?; end
418
- end
419
- module EventMachine::DNS
420
- end
421
- class EventMachine::DNS::Resolver
422
- def self.hosts; end
423
- def self.nameserver; end
424
- def self.nameservers; end
425
- def self.nameservers=(ns); end
426
- def self.resolve(hostname); end
427
- def self.socket; end
428
- def self.windows?; end
429
- end
430
- class EventMachine::DNS::RequestIdAlreadyUsed < RuntimeError
431
- end
432
- class EventMachine::DNS::Socket < EventMachine::Connection
433
- def deregister_request(id, req); end
434
- def initialize; end
435
- def nameserver; end
436
- def nameserver=(ns); end
437
- def post_init; end
438
- def receive_data(data); end
439
- def register_request(id, req); end
440
- def self.open; end
441
- def send_packet(pkt); end
442
- def start_timer; end
443
- def stop_timer; end
444
- def tick; end
445
- def unbind; end
446
- end
447
- class EventMachine::DNS::Request
448
- def id; end
449
- def initialize(socket, hostname); end
450
- def max_tries; end
451
- def max_tries=(arg0); end
452
- def packet; end
453
- def receive_answer(msg); end
454
- def retry_interval; end
455
- def retry_interval=(arg0); end
456
- def send; end
457
- def tick; end
458
- include EventMachine::Deferrable
459
- end
460
- class EventMachine::Completion
461
- def callback(*a, &b); end
462
- def cancel_callback(*a, &b); end
463
- def cancel_errback(*a, &b); end
464
- def cancel_timeout; end
465
- def change_state(state, *args); end
466
- def clear_dead_callbacks; end
467
- def completed?; end
468
- def completion(*a, &b); end
469
- def completion_states; end
470
- def errback(*a, &b); end
471
- def execute_callbacks; end
472
- def execute_state_callbacks(state); end
473
- def fail(*args); end
474
- def initialize; end
475
- def set_deferred_failure(*args); end
476
- def set_deferred_status(state, *args); end
477
- def set_deferred_success(*args); end
478
- def state; end
479
- def stateback(state, *a, &b); end
480
- def succeed(*args); end
481
- def timeout(time, *args); end
482
- def value; end
483
- include EventMachine::Deferrable
484
- end
485
- class EventMachine::ThreadedResource
486
- def dispatch; end
487
- def initialize; end
488
- def shutdown; end
489
- end