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
|
@@ -13,22 +13,46 @@ class GetText::PoParser < ::Racc::Parser
|
|
|
13
13
|
# source://i18n//lib/i18n/gettext/po_parser.rb#19
|
|
14
14
|
def _(x); end
|
|
15
15
|
|
|
16
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#282
|
|
16
17
|
def _reduce_10(val, _values, result); end
|
|
18
|
+
|
|
19
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#295
|
|
17
20
|
def _reduce_12(val, _values, result); end
|
|
21
|
+
|
|
22
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#302
|
|
18
23
|
def _reduce_13(val, _values, result); end
|
|
24
|
+
|
|
25
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#309
|
|
19
26
|
def _reduce_14(val, _values, result); end
|
|
27
|
+
|
|
28
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#316
|
|
20
29
|
def _reduce_15(val, _values, result); end
|
|
30
|
+
|
|
31
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#235
|
|
21
32
|
def _reduce_5(val, _values, result); end
|
|
33
|
+
|
|
34
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#246
|
|
22
35
|
def _reduce_8(val, _values, result); end
|
|
36
|
+
|
|
37
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#264
|
|
23
38
|
def _reduce_9(val, _values, result); end
|
|
24
39
|
|
|
25
40
|
# source://i18n//lib/i18n/gettext/po_parser.rb#323
|
|
26
41
|
def _reduce_none(val, _values, result); end
|
|
27
42
|
|
|
43
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#23
|
|
28
44
|
def next_token; end
|
|
45
|
+
|
|
46
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#23
|
|
29
47
|
def on_comment(comment); end
|
|
48
|
+
|
|
49
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#23
|
|
30
50
|
def on_message(msgid, msgstr); end
|
|
51
|
+
|
|
52
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#23
|
|
31
53
|
def parse(str, data, ignore_fuzzy = T.unsafe(nil)); end
|
|
54
|
+
|
|
55
|
+
# source://i18n//lib/i18n/gettext/po_parser.rb#23
|
|
32
56
|
def unescape(orig); end
|
|
33
57
|
end
|
|
34
58
|
|
|
@@ -230,7 +254,7 @@ module I18n::Backend::Base
|
|
|
230
254
|
# Loads a YAML translations file. The data must have locales as
|
|
231
255
|
# toplevel keys.
|
|
232
256
|
#
|
|
233
|
-
# source://i18n//lib/i18n/backend/base.rb#
|
|
257
|
+
# source://i18n//lib/i18n/backend/base.rb#272
|
|
234
258
|
def load_yaml(filename); end
|
|
235
259
|
|
|
236
260
|
# Loads a YAML translations file. The data must have locales as
|
|
@@ -276,7 +300,7 @@ module I18n::Backend::Base
|
|
|
276
300
|
# given options. If it is a Proc then it will be evaluated. All other
|
|
277
301
|
# subjects will be returned directly.
|
|
278
302
|
#
|
|
279
|
-
# source://i18n//lib/i18n/backend/base.rb#
|
|
303
|
+
# source://i18n//lib/i18n/backend/base.rb#172
|
|
280
304
|
def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end
|
|
281
305
|
|
|
282
306
|
# @return [Boolean]
|
|
@@ -811,7 +835,7 @@ class I18n::Backend::KeyValue::SubtreeProxy
|
|
|
811
835
|
|
|
812
836
|
# @return [Boolean]
|
|
813
837
|
#
|
|
814
|
-
# source://i18n//lib/i18n/backend/key_value.rb#
|
|
838
|
+
# source://i18n//lib/i18n/backend/key_value.rb#186
|
|
815
839
|
def kind_of?(klass); end
|
|
816
840
|
|
|
817
841
|
# @return [Boolean]
|
|
@@ -1195,10 +1219,10 @@ end
|
|
|
1195
1219
|
|
|
1196
1220
|
# source://i18n//lib/i18n.rb#55
|
|
1197
1221
|
module I18n::Base
|
|
1198
|
-
# source://i18n//lib/i18n.rb#
|
|
1222
|
+
# source://i18n//lib/i18n.rb#69
|
|
1199
1223
|
def available_locales; end
|
|
1200
1224
|
|
|
1201
|
-
# source://i18n//lib/i18n.rb#
|
|
1225
|
+
# source://i18n//lib/i18n.rb#69
|
|
1202
1226
|
def available_locales=(value); end
|
|
1203
1227
|
|
|
1204
1228
|
# @return [Boolean]
|
|
@@ -1206,10 +1230,10 @@ module I18n::Base
|
|
|
1206
1230
|
# source://i18n//lib/i18n.rb#386
|
|
1207
1231
|
def available_locales_initialized?; end
|
|
1208
1232
|
|
|
1209
|
-
# source://i18n//lib/i18n.rb#
|
|
1233
|
+
# source://i18n//lib/i18n.rb#69
|
|
1210
1234
|
def backend; end
|
|
1211
1235
|
|
|
1212
|
-
# source://i18n//lib/i18n.rb#
|
|
1236
|
+
# source://i18n//lib/i18n.rb#69
|
|
1213
1237
|
def backend=(value); end
|
|
1214
1238
|
|
|
1215
1239
|
# Gets I18n configuration object.
|
|
@@ -1222,16 +1246,16 @@ module I18n::Base
|
|
|
1222
1246
|
# source://i18n//lib/i18n.rb#62
|
|
1223
1247
|
def config=(value); end
|
|
1224
1248
|
|
|
1225
|
-
# source://i18n//lib/i18n.rb#
|
|
1249
|
+
# source://i18n//lib/i18n.rb#69
|
|
1226
1250
|
def default_locale; end
|
|
1227
1251
|
|
|
1228
|
-
# source://i18n//lib/i18n.rb#
|
|
1252
|
+
# source://i18n//lib/i18n.rb#69
|
|
1229
1253
|
def default_locale=(value); end
|
|
1230
1254
|
|
|
1231
|
-
# source://i18n//lib/i18n.rb#
|
|
1255
|
+
# source://i18n//lib/i18n.rb#69
|
|
1232
1256
|
def default_separator; end
|
|
1233
1257
|
|
|
1234
|
-
# source://i18n//lib/i18n.rb#
|
|
1258
|
+
# source://i18n//lib/i18n.rb#69
|
|
1235
1259
|
def default_separator=(value); end
|
|
1236
1260
|
|
|
1237
1261
|
# Tells the backend to load translations now. Used in situations like the
|
|
@@ -1241,7 +1265,7 @@ module I18n::Base
|
|
|
1241
1265
|
# source://i18n//lib/i18n.rb#91
|
|
1242
1266
|
def eager_load!; end
|
|
1243
1267
|
|
|
1244
|
-
# source://i18n//lib/i18n.rb#
|
|
1268
|
+
# source://i18n//lib/i18n.rb#69
|
|
1245
1269
|
def enforce_available_locales; end
|
|
1246
1270
|
|
|
1247
1271
|
# Raises an InvalidLocale exception when the passed locale is not available.
|
|
@@ -1249,13 +1273,13 @@ module I18n::Base
|
|
|
1249
1273
|
# source://i18n//lib/i18n.rb#380
|
|
1250
1274
|
def enforce_available_locales!(locale); end
|
|
1251
1275
|
|
|
1252
|
-
# source://i18n//lib/i18n.rb#
|
|
1276
|
+
# source://i18n//lib/i18n.rb#69
|
|
1253
1277
|
def enforce_available_locales=(value); end
|
|
1254
1278
|
|
|
1255
|
-
# source://i18n//lib/i18n.rb#
|
|
1279
|
+
# source://i18n//lib/i18n.rb#69
|
|
1256
1280
|
def exception_handler; end
|
|
1257
1281
|
|
|
1258
|
-
# source://i18n//lib/i18n.rb#
|
|
1282
|
+
# source://i18n//lib/i18n.rb#69
|
|
1259
1283
|
def exception_handler=(value); end
|
|
1260
1284
|
|
|
1261
1285
|
# Returns true if a translation exists for a given key, otherwise returns false.
|
|
@@ -1295,19 +1319,19 @@ module I18n::Base
|
|
|
1295
1319
|
#
|
|
1296
1320
|
# @raise [Disabled]
|
|
1297
1321
|
#
|
|
1298
|
-
# source://i18n//lib/i18n.rb#
|
|
1322
|
+
# source://i18n//lib/i18n.rb#343
|
|
1299
1323
|
def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
|
|
1300
1324
|
|
|
1301
|
-
# source://i18n//lib/i18n.rb#
|
|
1325
|
+
# source://i18n//lib/i18n.rb#69
|
|
1302
1326
|
def load_path; end
|
|
1303
1327
|
|
|
1304
|
-
# source://i18n//lib/i18n.rb#
|
|
1328
|
+
# source://i18n//lib/i18n.rb#69
|
|
1305
1329
|
def load_path=(value); end
|
|
1306
1330
|
|
|
1307
|
-
# source://i18n//lib/i18n.rb#
|
|
1331
|
+
# source://i18n//lib/i18n.rb#69
|
|
1308
1332
|
def locale; end
|
|
1309
1333
|
|
|
1310
|
-
# source://i18n//lib/i18n.rb#
|
|
1334
|
+
# source://i18n//lib/i18n.rb#69
|
|
1311
1335
|
def locale=(value); end
|
|
1312
1336
|
|
|
1313
1337
|
# Returns true when the passed locale, which can be either a String or a
|
|
@@ -1457,13 +1481,13 @@ module I18n::Base
|
|
|
1457
1481
|
#
|
|
1458
1482
|
# @raise [Disabled]
|
|
1459
1483
|
#
|
|
1460
|
-
# source://i18n//lib/i18n.rb#
|
|
1484
|
+
# source://i18n//lib/i18n.rb#226
|
|
1461
1485
|
def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
|
|
1462
1486
|
|
|
1463
1487
|
# Wrapper for <tt>translate</tt> that adds <tt>:raise => true</tt>. With
|
|
1464
1488
|
# this option, if no translation is found, it will raise <tt>I18n::MissingTranslationData</tt>
|
|
1465
1489
|
#
|
|
1466
|
-
# source://i18n//lib/i18n.rb#
|
|
1490
|
+
# source://i18n//lib/i18n.rb#233
|
|
1467
1491
|
def t!(key, **options); end
|
|
1468
1492
|
|
|
1469
1493
|
# Translates, pluralizes and interpolates a given key using a given locale,
|
|
@@ -1889,13 +1913,13 @@ module I18n::Gettext::Helpers
|
|
|
1889
1913
|
# source://i18n//lib/i18n/gettext/helpers.rb#17
|
|
1890
1914
|
def N_(msgsid); end
|
|
1891
1915
|
|
|
1892
|
-
# source://i18n//lib/i18n/gettext/helpers.rb#
|
|
1916
|
+
# source://i18n//lib/i18n/gettext/helpers.rb#24
|
|
1893
1917
|
def _(msgid, options = T.unsafe(nil)); end
|
|
1894
1918
|
|
|
1895
1919
|
# source://i18n//lib/i18n/gettext/helpers.rb#21
|
|
1896
1920
|
def gettext(msgid, options = T.unsafe(nil)); end
|
|
1897
1921
|
|
|
1898
|
-
# source://i18n//lib/i18n/gettext/helpers.rb#
|
|
1922
|
+
# source://i18n//lib/i18n/gettext/helpers.rb#41
|
|
1899
1923
|
def n_(msgid, msgid_plural, n = T.unsafe(nil)); end
|
|
1900
1924
|
|
|
1901
1925
|
# source://i18n//lib/i18n/gettext/helpers.rb#38
|
|
@@ -1905,7 +1929,7 @@ module I18n::Gettext::Helpers
|
|
|
1905
1929
|
# npgettext('Fruits', 'apple', 'apples', 2)
|
|
1906
1930
|
# npgettext('Fruits', ['apple', 'apples'], 2)
|
|
1907
1931
|
#
|
|
1908
|
-
# source://i18n//lib/i18n/gettext/helpers.rb#
|
|
1932
|
+
# source://i18n//lib/i18n/gettext/helpers.rb#72
|
|
1909
1933
|
def np_(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end
|
|
1910
1934
|
|
|
1911
1935
|
# Method signatures:
|
|
@@ -1919,7 +1943,7 @@ module I18n::Gettext::Helpers
|
|
|
1919
1943
|
# nsgettext('Fruits|apple', 'apples', 2)
|
|
1920
1944
|
# nsgettext(['Fruits|apple', 'apples'], 2)
|
|
1921
1945
|
#
|
|
1922
|
-
# source://i18n//lib/i18n/gettext/helpers.rb#
|
|
1946
|
+
# source://i18n//lib/i18n/gettext/helpers.rb#56
|
|
1923
1947
|
def ns_(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end
|
|
1924
1948
|
|
|
1925
1949
|
# Method signatures:
|
|
@@ -1929,13 +1953,13 @@ module I18n::Gettext::Helpers
|
|
|
1929
1953
|
# source://i18n//lib/i18n/gettext/helpers.rb#46
|
|
1930
1954
|
def nsgettext(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end
|
|
1931
1955
|
|
|
1932
|
-
# source://i18n//lib/i18n/gettext/helpers.rb#
|
|
1956
|
+
# source://i18n//lib/i18n/gettext/helpers.rb#36
|
|
1933
1957
|
def p_(msgctxt, msgid); end
|
|
1934
1958
|
|
|
1935
1959
|
# source://i18n//lib/i18n/gettext/helpers.rb#32
|
|
1936
1960
|
def pgettext(msgctxt, msgid); end
|
|
1937
1961
|
|
|
1938
|
-
# source://i18n//lib/i18n/gettext/helpers.rb#
|
|
1962
|
+
# source://i18n//lib/i18n/gettext/helpers.rb#30
|
|
1939
1963
|
def s_(msgid, separator = T.unsafe(nil)); end
|
|
1940
1964
|
|
|
1941
1965
|
# source://i18n//lib/i18n/gettext/helpers.rb#26
|
|
@@ -2246,7 +2270,7 @@ module I18n::MissingTranslation::Base
|
|
|
2246
2270
|
# source://i18n//lib/i18n/exceptions.rb#80
|
|
2247
2271
|
def to_exception; end
|
|
2248
2272
|
|
|
2249
|
-
# source://i18n//lib/i18n/exceptions.rb#
|
|
2273
|
+
# source://i18n//lib/i18n/exceptions.rb#78
|
|
2250
2274
|
def to_s; end
|
|
2251
2275
|
end
|
|
2252
2276
|
|
|
@@ -90,16 +90,7 @@ IO::Buffer::PAGE_SIZE = T.let(T.unsafe(nil), Integer)
|
|
|
90
90
|
IO::Buffer::PRIVATE = T.let(T.unsafe(nil), Integer)
|
|
91
91
|
IO::Buffer::READONLY = T.let(T.unsafe(nil), Integer)
|
|
92
92
|
IO::Buffer::SHARED = T.let(T.unsafe(nil), Integer)
|
|
93
|
-
|
|
94
|
-
class IO::ConsoleMode
|
|
95
|
-
def echo=(_arg0); end
|
|
96
|
-
def raw(*_arg0); end
|
|
97
|
-
def raw!(*_arg0); end
|
|
98
|
-
|
|
99
|
-
private
|
|
100
|
-
|
|
101
|
-
def initialize_copy(_arg0); end
|
|
102
|
-
end
|
|
93
|
+
class IO::ConsoleMode; end
|
|
103
94
|
|
|
104
95
|
class IO::EAGAINWaitReadable < ::Errno::EAGAIN
|
|
105
96
|
include ::IO::WaitReadable
|
|
@@ -361,27 +352,59 @@ module IO::Event::Selector
|
|
|
361
352
|
def new(loop, env = T.unsafe(nil)); end
|
|
362
353
|
|
|
363
354
|
# Execute the given block in non-blocking mode.
|
|
355
|
+
#
|
|
356
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
364
357
|
def nonblock(_arg0); end
|
|
365
358
|
end
|
|
366
359
|
end
|
|
367
360
|
|
|
368
361
|
class IO::Event::Selector::KQueue
|
|
362
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
369
363
|
def initialize(_arg0); end
|
|
370
364
|
|
|
365
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
371
366
|
def close; end
|
|
367
|
+
|
|
368
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
372
369
|
def idle_duration; end
|
|
370
|
+
|
|
371
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
373
372
|
def io_read(*_arg0); end
|
|
373
|
+
|
|
374
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
374
375
|
def io_wait(_arg0, _arg1, _arg2); end
|
|
376
|
+
|
|
377
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
375
378
|
def io_write(*_arg0); end
|
|
379
|
+
|
|
380
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
376
381
|
def loop; end
|
|
382
|
+
|
|
383
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
377
384
|
def process_wait(_arg0, _arg1, _arg2); end
|
|
385
|
+
|
|
386
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
378
387
|
def push(_arg0); end
|
|
388
|
+
|
|
389
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
379
390
|
def raise(*_arg0); end
|
|
391
|
+
|
|
392
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
380
393
|
def ready?; end
|
|
394
|
+
|
|
395
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
381
396
|
def resume(*_arg0); end
|
|
397
|
+
|
|
398
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
382
399
|
def select(_arg0); end
|
|
400
|
+
|
|
401
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
383
402
|
def transfer; end
|
|
403
|
+
|
|
404
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
384
405
|
def wakeup; end
|
|
406
|
+
|
|
407
|
+
# source://io-event//lib/io/event/native.rb#7
|
|
385
408
|
def yield; end
|
|
386
409
|
end
|
|
387
410
|
|
|
@@ -507,12 +530,16 @@ class IO::Event::Selector::Select::Optional < ::Struct
|
|
|
507
530
|
# Returns the value of attribute fiber
|
|
508
531
|
#
|
|
509
532
|
# @return [Object] the current value of fiber
|
|
533
|
+
#
|
|
534
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
510
535
|
def fiber; end
|
|
511
536
|
|
|
512
537
|
# Sets the attribute fiber
|
|
513
538
|
#
|
|
514
539
|
# @param value [Object] the value to set the attribute fiber to.
|
|
515
540
|
# @return [Object] the newly set value
|
|
541
|
+
#
|
|
542
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
516
543
|
def fiber=(_); end
|
|
517
544
|
|
|
518
545
|
# source://io-event//lib/io/event/selector/select.rb#65
|
|
@@ -522,10 +549,19 @@ class IO::Event::Selector::Select::Optional < ::Struct
|
|
|
522
549
|
def transfer(*arguments); end
|
|
523
550
|
|
|
524
551
|
class << self
|
|
552
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
525
553
|
def [](*_arg0); end
|
|
554
|
+
|
|
555
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
526
556
|
def inspect; end
|
|
557
|
+
|
|
558
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
527
559
|
def keyword_init?; end
|
|
560
|
+
|
|
561
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
528
562
|
def members; end
|
|
563
|
+
|
|
564
|
+
# source://io-event//lib/io/event/selector/select.rb#56
|
|
529
565
|
def new(*_arg0); end
|
|
530
566
|
end
|
|
531
567
|
end
|
|
@@ -548,23 +584,31 @@ class IO::Event::Selector::Select::Waiter < ::Struct
|
|
|
548
584
|
# Returns the value of attribute events
|
|
549
585
|
#
|
|
550
586
|
# @return [Object] the current value of events
|
|
587
|
+
#
|
|
588
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
551
589
|
def events; end
|
|
552
590
|
|
|
553
591
|
# Sets the attribute events
|
|
554
592
|
#
|
|
555
593
|
# @param value [Object] the value to set the attribute events to.
|
|
556
594
|
# @return [Object] the newly set value
|
|
595
|
+
#
|
|
596
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
557
597
|
def events=(_); end
|
|
558
598
|
|
|
559
599
|
# Returns the value of attribute fiber
|
|
560
600
|
#
|
|
561
601
|
# @return [Object] the current value of fiber
|
|
602
|
+
#
|
|
603
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
562
604
|
def fiber; end
|
|
563
605
|
|
|
564
606
|
# Sets the attribute fiber
|
|
565
607
|
#
|
|
566
608
|
# @param value [Object] the value to set the attribute fiber to.
|
|
567
609
|
# @return [Object] the newly set value
|
|
610
|
+
#
|
|
611
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
568
612
|
def fiber=(_); end
|
|
569
613
|
|
|
570
614
|
# source://io-event//lib/io/event/selector/select.rb#142
|
|
@@ -573,19 +617,32 @@ class IO::Event::Selector::Select::Waiter < ::Struct
|
|
|
573
617
|
# Returns the value of attribute tail
|
|
574
618
|
#
|
|
575
619
|
# @return [Object] the current value of tail
|
|
620
|
+
#
|
|
621
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
576
622
|
def tail; end
|
|
577
623
|
|
|
578
624
|
# Sets the attribute tail
|
|
579
625
|
#
|
|
580
626
|
# @param value [Object] the value to set the attribute tail to.
|
|
581
627
|
# @return [Object] the newly set value
|
|
628
|
+
#
|
|
629
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
582
630
|
def tail=(_); end
|
|
583
631
|
|
|
584
632
|
class << self
|
|
633
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
585
634
|
def [](*_arg0); end
|
|
635
|
+
|
|
636
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
586
637
|
def inspect; end
|
|
638
|
+
|
|
639
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
587
640
|
def keyword_init?; end
|
|
641
|
+
|
|
642
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
588
643
|
def members; end
|
|
644
|
+
|
|
645
|
+
# source://io-event//lib/io/event/selector/select.rb#115
|
|
589
646
|
def new(*_arg0); end
|
|
590
647
|
end
|
|
591
648
|
end
|