roast-ai 1.0.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/commands/docs/write-comments.md +1 -1
- data/.rubocop.yml +12 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +149 -34
- data/README.md +56 -3
- data/examples/agent_with_multiple_prompts.rb +27 -0
- data/examples/custom_logging.rb +4 -2
- data/examples/demo/Gemfile.lock +49 -15
- data/examples/plugin-gem-example/Gemfile.lock +19 -15
- data/examples/simple_chat.rb +1 -1
- data/examples/simple_pi_agent.rb +18 -0
- data/internal/rubocop/cop/roast/no_test_class_nesting.rb +126 -0
- data/internal/rubocop/rubocop-roast.yml +6 -0
- data/internal/workflows/maintenance/branch_docs_impact.rb +97 -0
- data/internal/workflows/maintenance/deprecated_models_docs_updater.rb +78 -0
- data/lib/roast/cog/config.rb +1 -1
- data/lib/roast/cog/output.rb +2 -1
- data/lib/roast/cog/registry.rb +3 -3
- data/lib/roast/cog_input_manager.rb +28 -7
- data/lib/roast/cogs/agent/config.rb +2 -2
- data/lib/roast/cogs/agent/input.rb +20 -22
- data/lib/roast/cogs/agent/providers/claude/claude_invocation.rb +13 -5
- data/lib/roast/cogs/agent/providers/claude/messages/result_message.rb +1 -1
- data/lib/roast/cogs/agent/providers/claude/tool_result.rb +344 -4
- data/lib/roast/cogs/agent/providers/claude/tool_use.rb +356 -1
- data/lib/roast/cogs/agent/providers/claude.rb +16 -3
- data/lib/roast/cogs/agent/providers/pi/messages/tool_call_message.rb +60 -0
- data/lib/roast/cogs/agent/providers/pi/messages/tool_result_message.rb +57 -0
- data/lib/roast/cogs/agent/providers/pi/pi_invocation.rb +352 -0
- data/lib/roast/cogs/agent/providers/pi.rb +41 -0
- data/lib/roast/cogs/agent/stats.rb +29 -0
- data/lib/roast/cogs/agent/usage.rb +22 -0
- data/lib/roast/cogs/agent.rb +5 -6
- data/lib/roast/cogs/chat/config.rb +28 -2
- data/lib/roast/cogs/chat.rb +82 -10
- data/lib/roast/event.rb +1 -0
- data/lib/roast/event_monitor.rb +35 -3
- data/lib/roast/log.rb +21 -0
- data/lib/roast/log_formatter.rb +9 -7
- data/lib/roast/version.rb +1 -1
- data/lib/roast.rb +1 -3
- data/roast-ai.gemspec +2 -1
- data/sorbet/rbi/gems/activesupport@8.0.2.rbi +549 -383
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +46 -44
- data/sorbet/rbi/gems/ast@2.4.3.rbi +7 -6
- data/sorbet/rbi/gems/async@2.34.0.rbi +21 -3
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +7 -7
- data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +198 -1
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +405 -328
- data/sorbet/rbi/gems/console@1.34.2.rbi +2 -2
- data/sorbet/rbi/gems/docile@1.4.1.rbi +30 -30
- data/sorbet/rbi/gems/drb@2.2.3.rbi +25 -25
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +2 -0
- data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +2 -77
- data/sorbet/rbi/gems/faraday-retry@2.3.2.rbi +2 -57
- data/sorbet/rbi/gems/faraday@2.14.1.rbi +382 -75
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +1 -110
- data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +0 -139
- data/sorbet/rbi/gems/guard@2.19.1.rbi +38 -38
- data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +3 -3
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +53 -29
- data/sorbet/rbi/gems/io-event@1.14.0.rbi +67 -10
- data/sorbet/rbi/gems/json@2.18.1.rbi +227 -5
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +83 -0
- data/sorbet/rbi/gems/listen@3.9.0.rbi +7 -7
- data/sorbet/rbi/gems/logger@1.7.0.rbi +3 -3
- data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +21 -21
- data/sorbet/rbi/gems/marcel@1.1.0.rbi +1 -1
- data/sorbet/rbi/gems/minitest-rg@5.3.0.rbi +0 -96
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +1 -16
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +27 -19
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +18 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +20 -20
- data/sorbet/rbi/gems/ostruct@0.6.2.rbi +149 -15
- data/sorbet/rbi/gems/parser@3.3.8.0.rbi +141 -139
- data/sorbet/rbi/gems/prism@1.4.0.rbi +922 -864
- data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +56 -35
- data/sorbet/rbi/gems/racc@1.8.1.rbi +10 -2
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +12 -12
- data/sorbet/rbi/gems/rake@13.3.0.rbi +219 -318
- data/sorbet/rbi/gems/{rbi@0.3.6.rbi → rbi@0.3.9.rbi} +612 -2267
- data/sorbet/rbi/gems/{rbs@3.9.4.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +151 -113
- data/sorbet/rbi/gems/require-hooks@0.2.3.rbi +110 -0
- data/sorbet/rbi/gems/rexml@3.4.2.rbi +24 -51
- data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +506 -815
- data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +16 -16
- data/sorbet/rbi/gems/rubocop@1.77.0.rbi +2692 -2327
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -8
- data/sorbet/rbi/gems/ruby_llm@1.8.2.rbi +38 -23
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +1 -1
- data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +2 -131
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +28 -127
- data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
- data/sorbet/rbi/gems/sqlite3@2.9.0.rbi +91 -1
- data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
- data/sorbet/rbi/gems/thor@1.4.0.rbi +53 -53
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/type_toolkit@0.0.5.rbi +49 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +144 -143
- data/sorbet/rbi/gems/uri@1.1.1.rbi +7 -7
- data/sorbet/rbi/gems/vcr@6.3.1.rbi +53 -36
- data/sorbet/rbi/gems/webmock@3.25.1.rbi +38 -13
- data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +39 -272
- data/sorbet/rbi/shims/lib/roast/execution_context.rbi +3 -3
- data/tutorial/01_your_first_workflow/README.md +9 -5
- data/tutorial/01_your_first_workflow/configured_chat.rb +1 -1
- data/tutorial/02_chaining_cogs/README.md +2 -2
- data/tutorial/02_chaining_cogs/code_review.rb +1 -1
- data/tutorial/02_chaining_cogs/session_resumption.rb +1 -1
- data/tutorial/03_targets_and_params/README.md +1 -1
- data/tutorial/04_configuration_options/README.md +2 -2
- data/tutorial/08_iterative_workflows/README.md +1 -1
- data/tutorial/README.md +1 -1
- metadata +39 -17
- data/docs/AGENT_STEPS.md +0 -288
- data/docs/INSTRUMENTATION.md +0 -243
- data/docs/ITERATION_SYNTAX.md +0 -147
- data/docs/VALIDATION.md +0 -178
- data/lib/roast/nil_assertions.rb +0 -23
- /data/internal/documentation/{architectural-notes.md → comments/architectural-notes.md} +0 -0
- /data/internal/documentation/{doc-comments-external.md → comments/doc-comments-external.md} +0 -0
- /data/internal/documentation/{doc-comments-internal.md → comments/doc-comments-internal.md} +0 -0
- /data/internal/documentation/{doc-comments.md → comments/doc-comments.md} +0 -0
|
@@ -464,7 +464,7 @@ module Console::Interface
|
|
|
464
464
|
def warn(*_arg0, **_arg1, &_arg2); end
|
|
465
465
|
|
|
466
466
|
class << self
|
|
467
|
-
# source://
|
|
467
|
+
# source://console//lib/console/interface.rb#12
|
|
468
468
|
def fiber_local_attribute_name; end
|
|
469
469
|
|
|
470
470
|
# Create a new (thread local) logger instance.
|
|
@@ -742,7 +742,7 @@ class Console::Output::Terminal::Buffer < ::StringIO
|
|
|
742
742
|
# Write lines using the given prefix.
|
|
743
743
|
# Write a line to the buffer.
|
|
744
744
|
#
|
|
745
|
-
# source://console//lib/console/output/terminal.rb#
|
|
745
|
+
# source://console//lib/console/output/terminal.rb#45
|
|
746
746
|
def <<(*lines, prefix: T.unsafe(nil)); end
|
|
747
747
|
|
|
748
748
|
# Returns the value of attribute prefix.
|
|
@@ -37,10 +37,10 @@ module Docile
|
|
|
37
37
|
# end
|
|
38
38
|
# #=> [1, 3]
|
|
39
39
|
# @note Use with an *imperative* DSL (commands modify the context object)
|
|
40
|
-
# @param dsl [Object] context object whose methods make up the DSL
|
|
41
40
|
# @param args [Array] arguments to be passed to the block
|
|
42
41
|
# @param block [Proc] the block of DSL commands to be executed against the
|
|
43
42
|
# `dsl` context object
|
|
43
|
+
# @param dsl [Object] context object whose methods make up the DSL
|
|
44
44
|
# @return [Object] the `dsl` context object after executing the block
|
|
45
45
|
#
|
|
46
46
|
# source://docile//lib/docile.rb#45
|
|
@@ -55,25 +55,25 @@ module Docile
|
|
|
55
55
|
# 2. Each command returns the next DSL context object
|
|
56
56
|
# 3. The final return value is the value returned by the last command
|
|
57
57
|
#
|
|
58
|
-
# @example Use a frozen String as a DSL
|
|
59
|
-
# Docile.dsl_eval_immutable("I'm immutable!".freeze) do
|
|
60
|
-
# reverse
|
|
61
|
-
# upcase
|
|
62
|
-
# end
|
|
63
|
-
# #=> "!ELBATUMMI M'I"
|
|
64
58
|
# @example Use a Float as a DSL
|
|
65
59
|
# Docile.dsl_eval_immutable(84.5) do
|
|
66
60
|
# fdiv(2)
|
|
67
61
|
# floor
|
|
68
62
|
# end
|
|
69
63
|
# #=> 42
|
|
64
|
+
# @example Use a frozen String as a DSL
|
|
65
|
+
# Docile.dsl_eval_immutable("I'm immutable!".freeze) do
|
|
66
|
+
# reverse
|
|
67
|
+
# upcase
|
|
68
|
+
# end
|
|
69
|
+
# #=> "!ELBATUMMI M'I"
|
|
70
70
|
# @note Use with a *functional* DSL (commands return successor
|
|
71
71
|
# context objects)
|
|
72
|
-
# @param dsl [Object] immutable context object whose methods make up the
|
|
73
|
-
# initial DSL
|
|
74
72
|
# @param args [Array] arguments to be passed to the block
|
|
75
73
|
# @param block [Proc] the block of DSL commands to be executed against the
|
|
76
74
|
# `dsl` context object and successor return values
|
|
75
|
+
# @param dsl [Object] immutable context object whose methods make up the
|
|
76
|
+
# initial DSL
|
|
77
77
|
# @return [Object] the return value of the final command in the block
|
|
78
78
|
#
|
|
79
79
|
# source://docile//lib/docile.rb#128
|
|
@@ -105,10 +105,10 @@ module Docile
|
|
|
105
105
|
# end
|
|
106
106
|
# #=> 2
|
|
107
107
|
# @note Use with an *imperative* DSL (commands modify the context object)
|
|
108
|
-
# @param dsl [Object] context object whose methods make up the DSL
|
|
109
108
|
# @param args [Array] arguments to be passed to the block
|
|
110
109
|
# @param block [Proc] the block of DSL commands to be executed against the
|
|
111
110
|
# `dsl` context object
|
|
111
|
+
# @param dsl [Object] context object whose methods make up the DSL
|
|
112
112
|
# @return [Object] the return value from executing the block
|
|
113
113
|
#
|
|
114
114
|
# source://docile//lib/docile.rb#87
|
|
@@ -139,13 +139,13 @@ module Docile
|
|
|
139
139
|
# end
|
|
140
140
|
# #=> [1, 3]
|
|
141
141
|
# @note Use with an *imperative* DSL (commands modify the context object)
|
|
142
|
-
# @param dsl [Object] context object whose methods make up the DSL
|
|
143
142
|
# @param args [Array] arguments to be passed to the block
|
|
144
143
|
# @param block [Proc] the block of DSL commands to be executed against the
|
|
145
144
|
# `dsl` context object
|
|
145
|
+
# @param dsl [Object] context object whose methods make up the DSL
|
|
146
146
|
# @return [Object] the `dsl` context object after executing the block
|
|
147
147
|
#
|
|
148
|
-
# source://docile//lib/docile.rb#
|
|
148
|
+
# source://docile//lib/docile.rb#51
|
|
149
149
|
def dsl_eval(dsl, *args, **_arg2, &block); end
|
|
150
150
|
|
|
151
151
|
# Execute a block in the context of an immutable object whose methods,
|
|
@@ -157,28 +157,28 @@ module Docile
|
|
|
157
157
|
# 2. Each command returns the next DSL context object
|
|
158
158
|
# 3. The final return value is the value returned by the last command
|
|
159
159
|
#
|
|
160
|
-
# @example Use a frozen String as a DSL
|
|
161
|
-
# Docile.dsl_eval_immutable("I'm immutable!".freeze) do
|
|
162
|
-
# reverse
|
|
163
|
-
# upcase
|
|
164
|
-
# end
|
|
165
|
-
# #=> "!ELBATUMMI M'I"
|
|
166
160
|
# @example Use a Float as a DSL
|
|
167
161
|
# Docile.dsl_eval_immutable(84.5) do
|
|
168
162
|
# fdiv(2)
|
|
169
163
|
# floor
|
|
170
164
|
# end
|
|
171
165
|
# #=> 42
|
|
166
|
+
# @example Use a frozen String as a DSL
|
|
167
|
+
# Docile.dsl_eval_immutable("I'm immutable!".freeze) do
|
|
168
|
+
# reverse
|
|
169
|
+
# upcase
|
|
170
|
+
# end
|
|
171
|
+
# #=> "!ELBATUMMI M'I"
|
|
172
172
|
# @note Use with a *functional* DSL (commands return successor
|
|
173
173
|
# context objects)
|
|
174
|
-
# @param dsl [Object] immutable context object whose methods make up the
|
|
175
|
-
# initial DSL
|
|
176
174
|
# @param args [Array] arguments to be passed to the block
|
|
177
175
|
# @param block [Proc] the block of DSL commands to be executed against the
|
|
178
176
|
# `dsl` context object and successor return values
|
|
177
|
+
# @param dsl [Object] immutable context object whose methods make up the
|
|
178
|
+
# initial DSL
|
|
179
179
|
# @return [Object] the return value of the final command in the block
|
|
180
180
|
#
|
|
181
|
-
# source://docile//lib/docile.rb#
|
|
181
|
+
# source://docile//lib/docile.rb#133
|
|
182
182
|
def dsl_eval_immutable(dsl, *args, **_arg2, &block); end
|
|
183
183
|
|
|
184
184
|
# Execute a block in the context of an object whose methods represent the
|
|
@@ -207,13 +207,13 @@ module Docile
|
|
|
207
207
|
# end
|
|
208
208
|
# #=> 2
|
|
209
209
|
# @note Use with an *imperative* DSL (commands modify the context object)
|
|
210
|
-
# @param dsl [Object] context object whose methods make up the DSL
|
|
211
210
|
# @param args [Array] arguments to be passed to the block
|
|
212
211
|
# @param block [Proc] the block of DSL commands to be executed against the
|
|
213
212
|
# `dsl` context object
|
|
213
|
+
# @param dsl [Object] context object whose methods make up the DSL
|
|
214
214
|
# @return [Object] the return value from executing the block
|
|
215
215
|
#
|
|
216
|
-
# source://docile//lib/docile.rb#
|
|
216
|
+
# source://docile//lib/docile.rb#94
|
|
217
217
|
def dsl_eval_with_block_return(dsl, *args, **_arg2, &block); end
|
|
218
218
|
end
|
|
219
219
|
end
|
|
@@ -278,11 +278,11 @@ module Docile::Execution
|
|
|
278
278
|
# commands in a DSL, using a specific proxy class.
|
|
279
279
|
#
|
|
280
280
|
# @api private
|
|
281
|
+
# @param args [Array] arguments to be passed to the block
|
|
282
|
+
# @param block [Proc] the block of DSL commands to be executed
|
|
281
283
|
# @param dsl [Object] context object whose methods make up the
|
|
282
284
|
# (initial) DSL
|
|
283
285
|
# @param proxy_type [FallbackContextProxy, ChainingFallbackContextProxy] which class to instantiate as proxy context
|
|
284
|
-
# @param args [Array] arguments to be passed to the block
|
|
285
|
-
# @param block [Proc] the block of DSL commands to be executed
|
|
286
286
|
# @return [Object] the return value of the block
|
|
287
287
|
#
|
|
288
288
|
# source://docile//lib/docile/execution.rb#19
|
|
@@ -293,14 +293,14 @@ module Docile::Execution
|
|
|
293
293
|
# commands in a DSL, using a specific proxy class.
|
|
294
294
|
#
|
|
295
295
|
# @api private
|
|
296
|
+
# @param args [Array] arguments to be passed to the block
|
|
297
|
+
# @param block [Proc] the block of DSL commands to be executed
|
|
296
298
|
# @param dsl [Object] context object whose methods make up the
|
|
297
299
|
# (initial) DSL
|
|
298
300
|
# @param proxy_type [FallbackContextProxy, ChainingFallbackContextProxy] which class to instantiate as proxy context
|
|
299
|
-
# @param args [Array] arguments to be passed to the block
|
|
300
|
-
# @param block [Proc] the block of DSL commands to be executed
|
|
301
301
|
# @return [Object] the return value of the block
|
|
302
302
|
#
|
|
303
|
-
# source://docile//lib/docile/execution.rb#
|
|
303
|
+
# source://docile//lib/docile/execution.rb#51
|
|
304
304
|
def exec_in_proxy_context(dsl, proxy_type, *args, **_arg3, &block); end
|
|
305
305
|
end
|
|
306
306
|
end
|
|
@@ -321,10 +321,10 @@ end
|
|
|
321
321
|
# source://docile//lib/docile/fallback_context_proxy.rb#20
|
|
322
322
|
class Docile::FallbackContextProxy
|
|
323
323
|
# @api private
|
|
324
|
-
# @param receiver [Object] the primary proxy target to which all methods
|
|
325
|
-
# initially will be forwarded
|
|
326
324
|
# @param fallback [Object] the fallback proxy target to which any methods
|
|
327
325
|
# not handled by `receiver` will be forwarded
|
|
326
|
+
# @param receiver [Object] the primary proxy target to which all methods
|
|
327
|
+
# initially will be forwarded
|
|
328
328
|
# @return [FallbackContextProxy] a new instance of FallbackContextProxy
|
|
329
329
|
#
|
|
330
330
|
# source://docile//lib/docile/fallback_context_proxy.rb#46
|
|
@@ -459,7 +459,7 @@ module DRb
|
|
|
459
459
|
# If there is no current server, this returns the default configuration.
|
|
460
460
|
# See #current_server and DRbServer::make_config.
|
|
461
461
|
#
|
|
462
|
-
# source://drb//lib/drb/drb.rb#
|
|
462
|
+
# source://drb//lib/drb/drb.rb#1887
|
|
463
463
|
def config; end
|
|
464
464
|
|
|
465
465
|
# Get the 'current' server.
|
|
@@ -475,14 +475,14 @@ module DRb
|
|
|
475
475
|
#
|
|
476
476
|
# @raise [DRbServerNotFound]
|
|
477
477
|
#
|
|
478
|
-
# source://drb//lib/drb/drb.rb#
|
|
478
|
+
# source://drb//lib/drb/drb.rb#1845
|
|
479
479
|
def current_server; end
|
|
480
480
|
|
|
481
481
|
# Retrieves the server with the given +uri+.
|
|
482
482
|
#
|
|
483
483
|
# See also regist_server and remove_server.
|
|
484
484
|
#
|
|
485
|
-
# source://drb//lib/drb/drb.rb#
|
|
485
|
+
# source://drb//lib/drb/drb.rb#1987
|
|
486
486
|
def fetch_server(uri); end
|
|
487
487
|
|
|
488
488
|
# Get the front object of the current server.
|
|
@@ -490,21 +490,21 @@ module DRb
|
|
|
490
490
|
# This raises a DRbServerNotFound error if there is no current server.
|
|
491
491
|
# See #current_server.
|
|
492
492
|
#
|
|
493
|
-
# source://drb//lib/drb/drb.rb#
|
|
493
|
+
# source://drb//lib/drb/drb.rb#1896
|
|
494
494
|
def front; end
|
|
495
495
|
|
|
496
496
|
# Is +uri+ the URI for the current local server?
|
|
497
497
|
#
|
|
498
498
|
# @return [Boolean]
|
|
499
499
|
#
|
|
500
|
-
# source://drb//lib/drb/drb.rb#
|
|
500
|
+
# source://drb//lib/drb/drb.rb#1876
|
|
501
501
|
def here?(uri); end
|
|
502
502
|
|
|
503
503
|
# Set the default ACL to +acl+.
|
|
504
504
|
#
|
|
505
505
|
# See DRb::DRbServer.default_acl.
|
|
506
506
|
#
|
|
507
|
-
# source://drb//lib/drb/drb.rb#
|
|
507
|
+
# source://drb//lib/drb/drb.rb#1941
|
|
508
508
|
def install_acl(acl); end
|
|
509
509
|
|
|
510
510
|
# Set the default id conversion object.
|
|
@@ -514,24 +514,24 @@ module DRb
|
|
|
514
514
|
#
|
|
515
515
|
# See DRbServer#default_id_conv.
|
|
516
516
|
#
|
|
517
|
-
# source://drb//lib/drb/drb.rb#
|
|
517
|
+
# source://drb//lib/drb/drb.rb#1933
|
|
518
518
|
def install_id_conv(idconv); end
|
|
519
519
|
|
|
520
|
-
# source://drb//lib/drb/drb.rb#
|
|
520
|
+
# source://drb//lib/drb/drb.rb#1947
|
|
521
521
|
def mutex; end
|
|
522
522
|
|
|
523
523
|
# The primary local dRuby server.
|
|
524
524
|
#
|
|
525
525
|
# This is the server created by the #start_service call.
|
|
526
526
|
#
|
|
527
|
-
# source://drb//lib/drb/drb.rb#
|
|
527
|
+
# source://drb//lib/drb/drb.rb#1827
|
|
528
528
|
def primary_server; end
|
|
529
529
|
|
|
530
530
|
# The primary local dRuby server.
|
|
531
531
|
#
|
|
532
532
|
# This is the server created by the #start_service call.
|
|
533
533
|
#
|
|
534
|
-
# source://drb//lib/drb/drb.rb#
|
|
534
|
+
# source://drb//lib/drb/drb.rb#1827
|
|
535
535
|
def primary_server=(_arg0); end
|
|
536
536
|
|
|
537
537
|
# Registers +server+ with DRb.
|
|
@@ -547,12 +547,12 @@ module DRb
|
|
|
547
547
|
# s = DRb::DRbServer.new # automatically calls regist_server
|
|
548
548
|
# DRb.fetch_server s.uri #=> #<DRb::DRbServer:0x...>
|
|
549
549
|
#
|
|
550
|
-
# source://drb//lib/drb/drb.rb#
|
|
550
|
+
# source://drb//lib/drb/drb.rb#1968
|
|
551
551
|
def regist_server(server); end
|
|
552
552
|
|
|
553
553
|
# Removes +server+ from the list of registered servers.
|
|
554
554
|
#
|
|
555
|
-
# source://drb//lib/drb/drb.rb#
|
|
555
|
+
# source://drb//lib/drb/drb.rb#1979
|
|
556
556
|
def remove_server(server); end
|
|
557
557
|
|
|
558
558
|
# Start a dRuby server locally.
|
|
@@ -571,7 +571,7 @@ module DRb
|
|
|
571
571
|
#
|
|
572
572
|
# See DRbServer::new.
|
|
573
573
|
#
|
|
574
|
-
# source://drb//lib/drb/drb.rb#
|
|
574
|
+
# source://drb//lib/drb/drb.rb#1821
|
|
575
575
|
def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end
|
|
576
576
|
|
|
577
577
|
# Stop the local dRuby server.
|
|
@@ -579,14 +579,14 @@ module DRb
|
|
|
579
579
|
# This operates on the primary server. If there is no primary
|
|
580
580
|
# server currently running, it is a noop.
|
|
581
581
|
#
|
|
582
|
-
# source://drb//lib/drb/drb.rb#
|
|
582
|
+
# source://drb//lib/drb/drb.rb#1855
|
|
583
583
|
def stop_service; end
|
|
584
584
|
|
|
585
585
|
# Get the thread of the primary server.
|
|
586
586
|
#
|
|
587
587
|
# This returns nil if there is no primary server. See #primary_server.
|
|
588
588
|
#
|
|
589
|
-
# source://drb//lib/drb/drb.rb#
|
|
589
|
+
# source://drb//lib/drb/drb.rb#1922
|
|
590
590
|
def thread; end
|
|
591
591
|
|
|
592
592
|
# Get a reference id for an object using the current server.
|
|
@@ -594,7 +594,7 @@ module DRb
|
|
|
594
594
|
# This raises a DRbServerNotFound error if there is no current server.
|
|
595
595
|
# See #current_server.
|
|
596
596
|
#
|
|
597
|
-
# source://drb//lib/drb/drb.rb#
|
|
597
|
+
# source://drb//lib/drb/drb.rb#1913
|
|
598
598
|
def to_id(obj); end
|
|
599
599
|
|
|
600
600
|
# Convert a reference into an object using the current server.
|
|
@@ -602,14 +602,14 @@ module DRb
|
|
|
602
602
|
# This raises a DRbServerNotFound error if there is no current server.
|
|
603
603
|
# See #current_server.
|
|
604
604
|
#
|
|
605
|
-
# source://drb//lib/drb/drb.rb#
|
|
605
|
+
# source://drb//lib/drb/drb.rb#1914
|
|
606
606
|
def to_obj(ref); end
|
|
607
607
|
|
|
608
608
|
# Get the URI defining the local dRuby space.
|
|
609
609
|
#
|
|
610
610
|
# This is the URI of the current server. See #current_server.
|
|
611
611
|
#
|
|
612
|
-
# source://drb//lib/drb/drb.rb#
|
|
612
|
+
# source://drb//lib/drb/drb.rb#1869
|
|
613
613
|
def uri; end
|
|
614
614
|
end
|
|
615
615
|
end
|
|
@@ -795,7 +795,7 @@ class DRb::DRbObject
|
|
|
795
795
|
# source://drb//lib/drb/drb.rb#1108
|
|
796
796
|
def _dump(lv); end
|
|
797
797
|
|
|
798
|
-
# source://drb//lib/drb/eq.rb#
|
|
798
|
+
# source://drb//lib/drb/eq.rb#13
|
|
799
799
|
def eql?(other); end
|
|
800
800
|
|
|
801
801
|
# source://drb//lib/drb/eq.rb#9
|
|
@@ -989,10 +989,10 @@ module DRb::DRbProtocol
|
|
|
989
989
|
class << self
|
|
990
990
|
# Add a new protocol to the DRbProtocol module.
|
|
991
991
|
#
|
|
992
|
-
# source://drb//lib/drb/drb.rb#
|
|
992
|
+
# source://drb//lib/drb/drb.rb#755
|
|
993
993
|
def add_protocol(prot); end
|
|
994
994
|
|
|
995
|
-
# source://drb//lib/drb/drb.rb#
|
|
995
|
+
# source://drb//lib/drb/drb.rb#835
|
|
996
996
|
def auto_load(uri); end
|
|
997
997
|
|
|
998
998
|
# Open a client connection to +uri+ with the configuration +config+.
|
|
@@ -1005,7 +1005,7 @@ module DRb::DRbProtocol
|
|
|
1005
1005
|
#
|
|
1006
1006
|
# @raise [DRbBadURI]
|
|
1007
1007
|
#
|
|
1008
|
-
# source://drb//lib/drb/drb.rb#
|
|
1008
|
+
# source://drb//lib/drb/drb.rb#781
|
|
1009
1009
|
def open(uri, config, first = T.unsafe(nil)); end
|
|
1010
1010
|
|
|
1011
1011
|
# Open a server listening for connections at +uri+ with
|
|
@@ -1020,7 +1020,7 @@ module DRb::DRbProtocol
|
|
|
1020
1020
|
#
|
|
1021
1021
|
# @raise [DRbBadURI]
|
|
1022
1022
|
#
|
|
1023
|
-
# source://drb//lib/drb/drb.rb#
|
|
1023
|
+
# source://drb//lib/drb/drb.rb#805
|
|
1024
1024
|
def open_server(uri, config, first = T.unsafe(nil)); end
|
|
1025
1025
|
|
|
1026
1026
|
# Parse +uri+ into a [uri, option] pair.
|
|
@@ -1032,7 +1032,7 @@ module DRb::DRbProtocol
|
|
|
1032
1032
|
#
|
|
1033
1033
|
# @raise [DRbBadURI]
|
|
1034
1034
|
#
|
|
1035
|
-
# source://drb//lib/drb/drb.rb#
|
|
1035
|
+
# source://drb//lib/drb/drb.rb#828
|
|
1036
1036
|
def uri_option(uri, config, first = T.unsafe(nil)); end
|
|
1037
1037
|
end
|
|
1038
1038
|
end
|
|
@@ -1503,7 +1503,7 @@ class DRb::DRbURIOption
|
|
|
1503
1503
|
# source://drb//lib/drb/drb.rb#1056
|
|
1504
1504
|
def ==(other); end
|
|
1505
1505
|
|
|
1506
|
-
# source://drb//lib/drb/drb.rb#
|
|
1506
|
+
# source://drb//lib/drb/drb.rb#1065
|
|
1507
1507
|
def eql?(other); end
|
|
1508
1508
|
|
|
1509
1509
|
# source://drb//lib/drb/drb.rb#1061
|
|
@@ -6,85 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#12
|
|
9
|
-
module Faraday
|
|
10
|
-
class << self
|
|
11
|
-
# source://faraday/2.14.1/lib/faraday.rb#56
|
|
12
|
-
def default_adapter; end
|
|
13
|
-
|
|
14
|
-
# source://faraday/2.14.1/lib/faraday.rb#103
|
|
15
|
-
def default_adapter=(adapter); end
|
|
16
|
-
|
|
17
|
-
# source://faraday/2.14.1/lib/faraday.rb#60
|
|
18
|
-
def default_adapter_options; end
|
|
19
|
-
|
|
20
|
-
# source://faraday/2.14.1/lib/faraday.rb#60
|
|
21
|
-
def default_adapter_options=(_arg0); end
|
|
22
|
-
|
|
23
|
-
# source://faraday/2.14.1/lib/faraday.rb#121
|
|
24
|
-
def default_connection; end
|
|
25
|
-
|
|
26
|
-
# source://faraday/2.14.1/lib/faraday.rb#63
|
|
27
|
-
def default_connection=(_arg0); end
|
|
28
|
-
|
|
29
|
-
# source://faraday/2.14.1/lib/faraday.rb#128
|
|
30
|
-
def default_connection_options; end
|
|
31
|
-
|
|
32
|
-
# source://faraday/2.14.1/lib/faraday.rb#135
|
|
33
|
-
def default_connection_options=(options); end
|
|
34
|
-
|
|
35
|
-
# source://faraday/2.14.1/lib/faraday.rb#68
|
|
36
|
-
def ignore_env_proxy; end
|
|
37
|
-
|
|
38
|
-
# source://faraday/2.14.1/lib/faraday.rb#68
|
|
39
|
-
def ignore_env_proxy=(_arg0); end
|
|
40
|
-
|
|
41
|
-
# source://faraday/2.14.1/lib/faraday.rb#47
|
|
42
|
-
def lib_path; end
|
|
43
|
-
|
|
44
|
-
# source://faraday/2.14.1/lib/faraday.rb#47
|
|
45
|
-
def lib_path=(_arg0); end
|
|
46
|
-
|
|
47
|
-
# source://faraday/2.14.1/lib/faraday.rb#97
|
|
48
|
-
def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
|
49
|
-
|
|
50
|
-
# source://faraday/2.14.1/lib/faraday.rb#108
|
|
51
|
-
def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
|
|
52
|
-
|
|
53
|
-
# source://faraday/2.14.1/lib/faraday.rb#43
|
|
54
|
-
def root_path; end
|
|
55
|
-
|
|
56
|
-
# source://faraday/2.14.1/lib/faraday.rb#43
|
|
57
|
-
def root_path=(_arg0); end
|
|
58
|
-
|
|
59
|
-
private
|
|
60
|
-
|
|
61
|
-
# source://faraday/2.14.1/lib/faraday.rb#144
|
|
62
|
-
def method_missing(name, *args, &block); end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
9
|
+
module Faraday; end
|
|
65
10
|
|
|
66
11
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#13
|
|
67
|
-
class Faraday::Adapter
|
|
68
|
-
# source://faraday/2.14.1/lib/faraday/adapter.rb#28
|
|
69
|
-
def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
|
|
70
|
-
|
|
71
|
-
# source://faraday/2.14.1/lib/faraday/adapter.rb#55
|
|
72
|
-
def call(env); end
|
|
73
|
-
|
|
74
|
-
# source://faraday/2.14.1/lib/faraday/adapter.rb#50
|
|
75
|
-
def close; end
|
|
76
|
-
|
|
77
|
-
# source://faraday/2.14.1/lib/faraday/adapter.rb#41
|
|
78
|
-
def connection(env); end
|
|
79
|
-
|
|
80
|
-
private
|
|
81
|
-
|
|
82
|
-
# source://faraday/2.14.1/lib/faraday/adapter.rb#85
|
|
83
|
-
def request_timeout(type, options); end
|
|
84
|
-
|
|
85
|
-
# source://faraday/2.14.1/lib/faraday/adapter.rb#62
|
|
86
|
-
def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end
|
|
87
|
-
end
|
|
12
|
+
class Faraday::Adapter; end
|
|
88
13
|
|
|
89
14
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#14
|
|
90
15
|
class Faraday::Adapter::NetHttp < ::Faraday::Adapter
|
|
@@ -8,62 +8,7 @@
|
|
|
8
8
|
# Faraday namespace.
|
|
9
9
|
#
|
|
10
10
|
# source://faraday-retry//lib/faraday/retriable_response.rb#4
|
|
11
|
-
module Faraday
|
|
12
|
-
class << self
|
|
13
|
-
# source://faraday/2.14.1/lib/faraday.rb#56
|
|
14
|
-
def default_adapter; end
|
|
15
|
-
|
|
16
|
-
# source://faraday/2.14.1/lib/faraday.rb#103
|
|
17
|
-
def default_adapter=(adapter); end
|
|
18
|
-
|
|
19
|
-
# source://faraday/2.14.1/lib/faraday.rb#60
|
|
20
|
-
def default_adapter_options; end
|
|
21
|
-
|
|
22
|
-
# source://faraday/2.14.1/lib/faraday.rb#60
|
|
23
|
-
def default_adapter_options=(_arg0); end
|
|
24
|
-
|
|
25
|
-
# source://faraday/2.14.1/lib/faraday.rb#121
|
|
26
|
-
def default_connection; end
|
|
27
|
-
|
|
28
|
-
# source://faraday/2.14.1/lib/faraday.rb#63
|
|
29
|
-
def default_connection=(_arg0); end
|
|
30
|
-
|
|
31
|
-
# source://faraday/2.14.1/lib/faraday.rb#128
|
|
32
|
-
def default_connection_options; end
|
|
33
|
-
|
|
34
|
-
# source://faraday/2.14.1/lib/faraday.rb#135
|
|
35
|
-
def default_connection_options=(options); end
|
|
36
|
-
|
|
37
|
-
# source://faraday/2.14.1/lib/faraday.rb#68
|
|
38
|
-
def ignore_env_proxy; end
|
|
39
|
-
|
|
40
|
-
# source://faraday/2.14.1/lib/faraday.rb#68
|
|
41
|
-
def ignore_env_proxy=(_arg0); end
|
|
42
|
-
|
|
43
|
-
# source://faraday/2.14.1/lib/faraday.rb#47
|
|
44
|
-
def lib_path; end
|
|
45
|
-
|
|
46
|
-
# source://faraday/2.14.1/lib/faraday.rb#47
|
|
47
|
-
def lib_path=(_arg0); end
|
|
48
|
-
|
|
49
|
-
# source://faraday/2.14.1/lib/faraday.rb#97
|
|
50
|
-
def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
|
51
|
-
|
|
52
|
-
# source://faraday/2.14.1/lib/faraday.rb#108
|
|
53
|
-
def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
|
|
54
|
-
|
|
55
|
-
# source://faraday/2.14.1/lib/faraday.rb#43
|
|
56
|
-
def root_path; end
|
|
57
|
-
|
|
58
|
-
# source://faraday/2.14.1/lib/faraday.rb#43
|
|
59
|
-
def root_path=(_arg0); end
|
|
60
|
-
|
|
61
|
-
private
|
|
62
|
-
|
|
63
|
-
# source://faraday/2.14.1/lib/faraday.rb#144
|
|
64
|
-
def method_missing(name, *args, &block); end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
11
|
+
module Faraday; end
|
|
67
12
|
|
|
68
13
|
# Exception used to control the Retry middleware.
|
|
69
14
|
#
|
|
@@ -166,7 +111,7 @@ Faraday::Retry::Middleware::IDEMPOTENT_METHODS = T.let(T.unsafe(nil), Array)
|
|
|
166
111
|
|
|
167
112
|
# Options contains the configurable parameters for the Retry middleware.
|
|
168
113
|
#
|
|
169
|
-
# source://faraday-retry//lib/faraday/retry/middleware.rb#
|
|
114
|
+
# source://faraday-retry//lib/faraday/retry/middleware.rb#35
|
|
170
115
|
class Faraday::Retry::Middleware::Options < ::Faraday::Options
|
|
171
116
|
# source://faraday-retry//lib/faraday/retry/middleware.rb#63
|
|
172
117
|
def backoff_factor; end
|