rbs 3.6.0.pre.2 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/Rakefile +2 -2
- data/core/array.rbs +0 -2
- data/core/complex.rbs +0 -2
- data/core/data.rbs +0 -2
- data/core/dir.rbs +0 -2
- data/core/encoding.rbs +0 -2
- data/core/enumerator/product.rbs +0 -2
- data/core/enumerator.rbs +1 -1
- data/core/errors.rbs +0 -12
- data/core/file.rbs +0 -2
- data/core/float.rbs +0 -2
- data/core/hash.rbs +0 -2
- data/core/integer.rbs +0 -2
- data/core/io/buffer.rbs +0 -2
- data/core/kernel.rbs +5 -5
- data/core/module.rbs +2 -2
- data/core/numeric.rbs +0 -2
- data/core/object_space/weak_key_map.rbs +0 -2
- data/core/ractor.rbs +0 -6
- data/core/rational.rbs +0 -2
- data/core/rbs/unnamed/argf.rbs +0 -2
- data/core/ruby_vm.rbs +305 -0
- data/lib/rbs/ast/type_param.rb +44 -11
- data/lib/rbs/cli/validate.rb +6 -4
- data/lib/rbs/definition.rb +2 -8
- data/lib/rbs/definition_builder/ancestor_builder.rb +23 -7
- data/lib/rbs/definition_builder.rb +7 -6
- data/lib/rbs/errors.rb +38 -0
- data/lib/rbs/version.rb +1 -1
- data/sig/definition.rbs +1 -1
- data/sig/errors.rbs +14 -0
- data/sig/members.rbs +1 -2
- data/sig/type_param.rbs +9 -5
- data/stdlib/bigdecimal/0/big_decimal.rbs +0 -2
- data/stdlib/cgi/0/core.rbs +0 -10
- data/stdlib/date/0/date.rbs +0 -2
- data/stdlib/date/0/date_time.rbs +0 -2
- data/stdlib/dbm/0/dbm.rbs +0 -2
- data/stdlib/delegate/0/delegator.rbs +0 -2
- data/stdlib/delegate/0/simple_delegator.rbs +0 -2
- data/stdlib/digest/0/digest.rbs +0 -4
- data/stdlib/etc/0/etc.rbs +0 -4
- data/stdlib/json/0/json.rbs +22 -0
- data/stdlib/logger/0/formatter.rbs +0 -2
- data/stdlib/logger/0/log_device.rbs +0 -2
- data/stdlib/logger/0/logger.rbs +0 -2
- data/stdlib/monitor/0/monitor.rbs +0 -6
- data/stdlib/mutex_m/0/mutex_m.rbs +0 -2
- data/stdlib/net-http/0/net-http.rbs +0 -8
- data/stdlib/observable/0/observable.rbs +0 -2
- data/stdlib/open-uri/0/open-uri.rbs +1 -1
- data/stdlib/open3/0/open3.rbs +155 -0
- data/stdlib/openssl/0/openssl.rbs +0 -112
- data/stdlib/optparse/0/optparse.rbs +0 -22
- data/stdlib/pathname/0/pathname.rbs +0 -2
- data/stdlib/pstore/0/pstore.rbs +0 -2
- data/stdlib/resolv/0/resolv.rbs +0 -74
- data/stdlib/singleton/0/singleton.rbs +0 -2
- data/stdlib/socket/0/addrinfo.rbs +0 -2
- data/stdlib/socket/0/basic_socket.rbs +0 -2
- data/stdlib/socket/0/ip_socket.rbs +0 -2
- data/stdlib/socket/0/socket.rbs +0 -8
- data/stdlib/socket/0/tcp_server.rbs +0 -2
- data/stdlib/socket/0/udp_socket.rbs +0 -2
- data/stdlib/socket/0/unix_server.rbs +0 -2
- data/stdlib/socket/0/unix_socket.rbs +0 -2
- data/stdlib/strscan/0/string_scanner.rbs +0 -2
- data/stdlib/tempfile/0/tempfile.rbs +0 -4
- data/stdlib/zlib/0/deflate.rbs +0 -2
- data/stdlib/zlib/0/gzip_file/error.rbs +0 -2
- data/stdlib/zlib/0/gzip_file.rbs +0 -2
- data/stdlib/zlib/0/gzip_reader.rbs +0 -2
- data/stdlib/zlib/0/gzip_writer.rbs +0 -2
- data/stdlib/zlib/0/inflate.rbs +0 -2
- data/stdlib/zlib/0/zstream.rbs +0 -2
- metadata +4 -3
@@ -454,8 +454,6 @@ class OptionParser
|
|
454
454
|
#
|
455
455
|
def self.with: (?String banner, ?Integer width, ?String indent) ?{ (instance opts) -> void } -> instance
|
456
456
|
|
457
|
-
public
|
458
|
-
|
459
457
|
# <!--
|
460
458
|
# rdoc-file=lib/optparse.rb
|
461
459
|
# - abort(mesg = $!)
|
@@ -1109,8 +1107,6 @@ module OptionParser::Arguable
|
|
1109
1107
|
#
|
1110
1108
|
def self.extend_object: (untyped obj) -> untyped
|
1111
1109
|
|
1112
|
-
public
|
1113
|
-
|
1114
1110
|
# <!--
|
1115
1111
|
# rdoc-file=lib/optparse.rb
|
1116
1112
|
# - getopts(*args, symbolize_names: false)
|
@@ -1184,8 +1180,6 @@ end
|
|
1184
1180
|
class OptionParser::CompletingHash < Hash[untyped, untyped]
|
1185
1181
|
include OptionParser::Completion
|
1186
1182
|
|
1187
|
-
public
|
1188
|
-
|
1189
1183
|
# <!--
|
1190
1184
|
# rdoc-file=lib/optparse.rb
|
1191
1185
|
# - match(key)
|
@@ -1214,8 +1208,6 @@ module OptionParser::Completion
|
|
1214
1208
|
#
|
1215
1209
|
def self.regexp: (untyped key, untyped icase) -> untyped
|
1216
1210
|
|
1217
|
-
public
|
1218
|
-
|
1219
1211
|
# <!--
|
1220
1212
|
# rdoc-file=lib/optparse.rb
|
1221
1213
|
# - candidate(key, icase = false, pat = nil)
|
@@ -1260,8 +1252,6 @@ OptionParser::InvalidOption::Reason: String
|
|
1260
1252
|
# and converter pair. Also provides summary feature.
|
1261
1253
|
#
|
1262
1254
|
class OptionParser::List
|
1263
|
-
public
|
1264
|
-
|
1265
1255
|
# <!--
|
1266
1256
|
# rdoc-file=lib/optparse.rb
|
1267
1257
|
# - accept(t, pat = /.*/m, &block)
|
@@ -1450,8 +1440,6 @@ class OptionParser::ParseError < RuntimeError
|
|
1450
1440
|
#
|
1451
1441
|
def self.filter_backtrace: (untyped array) -> untyped
|
1452
1442
|
|
1453
|
-
public
|
1454
|
-
|
1455
1443
|
def additional: () -> untyped
|
1456
1444
|
|
1457
1445
|
def additional=: (untyped) -> untyped
|
@@ -1553,8 +1541,6 @@ class OptionParser::Switch
|
|
1553
1541
|
#
|
1554
1542
|
def self.pattern: () -> untyped
|
1555
1543
|
|
1556
|
-
public
|
1557
|
-
|
1558
1544
|
def add_banner: (untyped to) -> untyped
|
1559
1545
|
|
1560
1546
|
def arg: () -> untyped
|
@@ -1650,8 +1636,6 @@ class OptionParser::Switch::NoArgument < OptionParser::Switch
|
|
1650
1636
|
#
|
1651
1637
|
def self.pattern: () -> untyped
|
1652
1638
|
|
1653
|
-
public
|
1654
|
-
|
1655
1639
|
# <!--
|
1656
1640
|
# rdoc-file=lib/optparse.rb
|
1657
1641
|
# - parse(arg, argv) { |NeedlessArgument, arg| ... }
|
@@ -1665,8 +1649,6 @@ end
|
|
1665
1649
|
# Switch that can omit argument.
|
1666
1650
|
#
|
1667
1651
|
class OptionParser::Switch::OptionalArgument < OptionParser::Switch
|
1668
|
-
public
|
1669
|
-
|
1670
1652
|
# <!--
|
1671
1653
|
# rdoc-file=lib/optparse.rb
|
1672
1654
|
# - parse(arg, argv, &error)
|
@@ -1680,8 +1662,6 @@ end
|
|
1680
1662
|
# Switch that takes an argument, which does not begin with '-' or is '-'.
|
1681
1663
|
#
|
1682
1664
|
class OptionParser::Switch::PlacedArgument < OptionParser::Switch
|
1683
|
-
public
|
1684
|
-
|
1685
1665
|
# <!--
|
1686
1666
|
# rdoc-file=lib/optparse.rb
|
1687
1667
|
# - parse(arg, argv, &error)
|
@@ -1695,8 +1675,6 @@ end
|
|
1695
1675
|
# Switch that takes an argument.
|
1696
1676
|
#
|
1697
1677
|
class OptionParser::Switch::RequiredArgument < OptionParser::Switch
|
1698
|
-
public
|
1699
|
-
|
1700
1678
|
# <!--
|
1701
1679
|
# rdoc-file=lib/optparse.rb
|
1702
1680
|
# - parse(arg, argv)
|
data/stdlib/pstore/0/pstore.rbs
CHANGED
data/stdlib/resolv/0/resolv.rbs
CHANGED
@@ -74,8 +74,6 @@ class Resolv
|
|
74
74
|
#
|
75
75
|
def self.getnames: (String address) -> Array[String]
|
76
76
|
|
77
|
-
public
|
78
|
-
|
79
77
|
# <!--
|
80
78
|
# rdoc-file=lib/resolv.rb
|
81
79
|
# - each_address(name) { |name| ... }
|
@@ -179,8 +177,6 @@ class Resolv::DNS
|
|
179
177
|
|
180
178
|
def self.random: (Integer arg) -> (Integer | Float)
|
181
179
|
|
182
|
-
public
|
183
|
-
|
184
180
|
# <!--
|
185
181
|
# rdoc-file=lib/resolv.rb
|
186
182
|
# - close()
|
@@ -395,8 +391,6 @@ class Resolv::DNS::Config
|
|
395
391
|
|
396
392
|
def self.parse_resolv_conf: (String filename) -> Hash[Symbol, untyped]
|
397
393
|
|
398
|
-
public
|
399
|
-
|
400
394
|
def generate_candidates: (String name) -> Array[Resolv::DNS::Name]
|
401
395
|
|
402
396
|
def generate_timeouts: () -> Array[Integer | Float]
|
@@ -447,8 +441,6 @@ module Resolv::DNS::Label
|
|
447
441
|
end
|
448
442
|
|
449
443
|
class Resolv::DNS::Label::Str
|
450
|
-
public
|
451
|
-
|
452
444
|
def eql?: (Resolv::DNS::Label::Str other) -> bool
|
453
445
|
|
454
446
|
def downcase: () -> String
|
@@ -471,8 +463,6 @@ end
|
|
471
463
|
class Resolv::DNS::Message
|
472
464
|
def self.decode: (String m) -> instance
|
473
465
|
|
474
|
-
public
|
475
|
-
|
476
466
|
def ==: (instance other) -> bool
|
477
467
|
|
478
468
|
def aa: () -> Integer
|
@@ -541,8 +531,6 @@ class Resolv::DNS::Message
|
|
541
531
|
end
|
542
532
|
|
543
533
|
class Resolv::DNS::Message::MessageDecoder
|
544
|
-
public
|
545
|
-
|
546
534
|
def get_bytes: (?Integer len) -> String
|
547
535
|
|
548
536
|
def get_label: () -> Resolv::DNS::Label::Str
|
@@ -571,8 +559,6 @@ class Resolv::DNS::Message::MessageDecoder
|
|
571
559
|
end
|
572
560
|
|
573
561
|
class Resolv::DNS::Message::MessageEncoder
|
574
|
-
public
|
575
|
-
|
576
562
|
def put_bytes: (string d) -> void
|
577
563
|
|
578
564
|
def put_label: (_ToS d) -> void
|
@@ -613,8 +599,6 @@ class Resolv::DNS::Name
|
|
613
599
|
#
|
614
600
|
def self.create: (Resolv::DNS::dns_name arg) -> untyped
|
615
601
|
|
616
|
-
public
|
617
|
-
|
618
602
|
def ==: (instance other) -> bool
|
619
603
|
|
620
604
|
def []: (Integer i) -> Resolv::DNS::Label::Str?
|
@@ -695,8 +679,6 @@ Resolv::DNS::OpCode::Update: Integer
|
|
695
679
|
class Resolv::DNS::Query
|
696
680
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
697
681
|
|
698
|
-
public
|
699
|
-
|
700
682
|
def encode_rdata: (Resolv::DNS::Message::MessageEncoder msg) -> void
|
701
683
|
end
|
702
684
|
|
@@ -740,8 +722,6 @@ Resolv::DNS::RCode::YXDomain: Integer
|
|
740
722
|
Resolv::DNS::RCode::YXRRSet: Integer
|
741
723
|
|
742
724
|
class Resolv::DNS::Requester
|
743
|
-
public
|
744
|
-
|
745
725
|
def close: () -> void
|
746
726
|
|
747
727
|
def request: (Resolv::DNS::Requester::Sender sender, Numeric tout) -> [ Resolv::DNS::Message, String ]
|
@@ -754,8 +734,6 @@ class Resolv::DNS::Requester
|
|
754
734
|
end
|
755
735
|
|
756
736
|
class Resolv::DNS::Requester::ConnectedUDP < Resolv::DNS::Requester
|
757
|
-
public
|
758
|
-
|
759
737
|
def close: () -> void
|
760
738
|
|
761
739
|
def lazy_initialize: () -> void
|
@@ -770,16 +748,12 @@ class Resolv::DNS::Requester::ConnectedUDP < Resolv::DNS::Requester
|
|
770
748
|
end
|
771
749
|
|
772
750
|
class Resolv::DNS::Requester::ConnectedUDP::Sender < Resolv::DNS::Requester::Sender
|
773
|
-
public
|
774
|
-
|
775
751
|
def data: () -> String
|
776
752
|
|
777
753
|
def send: () -> void
|
778
754
|
end
|
779
755
|
|
780
756
|
class Resolv::DNS::Requester::MDNSOneShot < Resolv::DNS::Requester::UnconnectedUDP
|
781
|
-
public
|
782
|
-
|
783
757
|
def sender: (Resolv::DNS::Message msg, String data, ?String host, ?Integer port) -> Resolv::DNS::Requester::Sender
|
784
758
|
|
785
759
|
def recv_reply: (Array[UDPSocket] readable_socks) -> [ String, String ]
|
@@ -798,8 +772,6 @@ class Resolv::DNS::Requester::Sender
|
|
798
772
|
end
|
799
773
|
|
800
774
|
class Resolv::DNS::Requester::TCP < Resolv::DNS::Requester
|
801
|
-
public
|
802
|
-
|
803
775
|
def close: () -> untyped
|
804
776
|
|
805
777
|
def recv_reply: (Array[TCPSocket] readable_socks) -> [ String, String ]
|
@@ -812,16 +784,12 @@ class Resolv::DNS::Requester::TCP < Resolv::DNS::Requester
|
|
812
784
|
end
|
813
785
|
|
814
786
|
class Resolv::DNS::Requester::TCP::Sender < Resolv::DNS::Requester::Sender
|
815
|
-
public
|
816
|
-
|
817
787
|
def data: () -> String
|
818
788
|
|
819
789
|
def send: () -> void
|
820
790
|
end
|
821
791
|
|
822
792
|
class Resolv::DNS::Requester::UnconnectedUDP < Resolv::DNS::Requester
|
823
|
-
public
|
824
|
-
|
825
793
|
def close: () -> void
|
826
794
|
|
827
795
|
def lazy_initialize: () -> void
|
@@ -836,8 +804,6 @@ class Resolv::DNS::Requester::UnconnectedUDP < Resolv::DNS::Requester
|
|
836
804
|
end
|
837
805
|
|
838
806
|
class Resolv::DNS::Requester::UnconnectedUDP::Sender < Resolv::DNS::Requester::Sender
|
839
|
-
public
|
840
|
-
|
841
807
|
def data: () -> String
|
842
808
|
|
843
809
|
def send: () -> void
|
@@ -855,8 +821,6 @@ class Resolv::DNS::Resource < Resolv::DNS::Query
|
|
855
821
|
|
856
822
|
def self.get_class: (Integer type_value, Integer class_value) -> self
|
857
823
|
|
858
|
-
public
|
859
|
-
|
860
824
|
def eql?: (Resolv::DNS::Resource other) -> bool
|
861
825
|
|
862
826
|
def encode_rdata: (Resolv::DNS::Message::MessageEncoder msg) -> void
|
@@ -899,8 +863,6 @@ Resolv::DNS::Resource::CNAME::TypeValue: Integer
|
|
899
863
|
class Resolv::DNS::Resource::DomainName < Resolv::DNS::Resource
|
900
864
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
901
865
|
|
902
|
-
public
|
903
|
-
|
904
866
|
def encode_rdata: (Resolv::DNS::Message::MessageEncoder msg) -> void
|
905
867
|
|
906
868
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -927,8 +889,6 @@ class Resolv::DNS::Resource::Generic < Resolv::DNS::Resource
|
|
927
889
|
|
928
890
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
929
891
|
|
930
|
-
public
|
931
|
-
|
932
892
|
# <!-- rdoc-file=lib/resolv.rb -->
|
933
893
|
# Data for this generic resource.
|
934
894
|
#
|
@@ -953,8 +913,6 @@ end
|
|
953
913
|
class Resolv::DNS::Resource::HINFO < Resolv::DNS::Resource
|
954
914
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
955
915
|
|
956
|
-
public
|
957
|
-
|
958
916
|
# <!-- rdoc-file=lib/resolv.rb -->
|
959
917
|
# CPU architecture for this resource.
|
960
918
|
#
|
@@ -994,8 +952,6 @@ Resolv::DNS::Resource::IN::ClassValue: Integer
|
|
994
952
|
class Resolv::DNS::Resource::IN::A < Resolv::DNS::Resource
|
995
953
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
996
954
|
|
997
|
-
public
|
998
|
-
|
999
955
|
# <!-- rdoc-file=lib/resolv.rb -->
|
1000
956
|
# The Resolv::IPv4 address for this A.
|
1001
957
|
#
|
@@ -1024,8 +980,6 @@ Resolv::DNS::Resource::IN::A::TypeValue: Integer
|
|
1024
980
|
class Resolv::DNS::Resource::IN::AAAA < Resolv::DNS::Resource
|
1025
981
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1026
982
|
|
1027
|
-
public
|
1028
|
-
|
1029
983
|
# <!-- rdoc-file=lib/resolv.rb -->
|
1030
984
|
# The Resolv::IPv6 address for this AAAA.
|
1031
985
|
#
|
@@ -1119,8 +1073,6 @@ Resolv::DNS::Resource::IN::SOA::TypeValue: Integer
|
|
1119
1073
|
class Resolv::DNS::Resource::IN::SRV < Resolv::DNS::Resource
|
1120
1074
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1121
1075
|
|
1122
|
-
public
|
1123
|
-
|
1124
1076
|
def encode_rdata: (Resolv::DNS::Message::MessageEncoder msg) -> void
|
1125
1077
|
|
1126
1078
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1191,8 +1143,6 @@ Resolv::DNS::Resource::IN::TXT::TypeValue: Integer
|
|
1191
1143
|
class Resolv::DNS::Resource::IN::WKS < Resolv::DNS::Resource
|
1192
1144
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1193
1145
|
|
1194
|
-
public
|
1195
|
-
|
1196
1146
|
# <!-- rdoc-file=lib/resolv.rb -->
|
1197
1147
|
# The host these services run on.
|
1198
1148
|
#
|
@@ -1234,8 +1184,6 @@ Resolv::DNS::Resource::IN::WKS::TypeValue: Integer
|
|
1234
1184
|
class Resolv::DNS::Resource::LOC < Resolv::DNS::Resource
|
1235
1185
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1236
1186
|
|
1237
|
-
public
|
1238
|
-
|
1239
1187
|
# <!-- rdoc-file=lib/resolv.rb -->
|
1240
1188
|
# The altitude of the LOC above a reference sphere whose surface sits 100km
|
1241
1189
|
# below the WGS84 spheroid in centimeters as an unsigned 32bit integer
|
@@ -1297,8 +1245,6 @@ Resolv::DNS::Resource::LOC::TypeValue: Integer
|
|
1297
1245
|
class Resolv::DNS::Resource::MINFO < Resolv::DNS::Resource
|
1298
1246
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1299
1247
|
|
1300
|
-
public
|
1301
|
-
|
1302
1248
|
# <!-- rdoc-file=lib/resolv.rb -->
|
1303
1249
|
# Mailbox to use for error messages related to the mail list or mailbox.
|
1304
1250
|
#
|
@@ -1329,8 +1275,6 @@ Resolv::DNS::Resource::MINFO::TypeValue: Integer
|
|
1329
1275
|
class Resolv::DNS::Resource::MX < Resolv::DNS::Resource
|
1330
1276
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1331
1277
|
|
1332
|
-
public
|
1333
|
-
|
1334
1278
|
def encode_rdata: (Resolv::DNS::Message::MessageEncoder msg) -> void
|
1335
1279
|
|
1336
1280
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1378,8 +1322,6 @@ Resolv::DNS::Resource::PTR::TypeValue: Integer
|
|
1378
1322
|
class Resolv::DNS::Resource::SOA < Resolv::DNS::Resource
|
1379
1323
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1380
1324
|
|
1381
|
-
public
|
1382
|
-
|
1383
1325
|
def encode_rdata: (Resolv::DNS::Message::MessageEncoder msg) -> void
|
1384
1326
|
|
1385
1327
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1440,8 +1382,6 @@ Resolv::DNS::Resource::SOA::TypeValue: Integer
|
|
1440
1382
|
class Resolv::DNS::Resource::TXT < Resolv::DNS::Resource
|
1441
1383
|
def self.decode_rdata: (Resolv::DNS::Message::MessageDecoder msg) -> instance
|
1442
1384
|
|
1443
|
-
public
|
1444
|
-
|
1445
1385
|
# <!--
|
1446
1386
|
# rdoc-file=lib/resolv.rb
|
1447
1387
|
# - data()
|
@@ -1473,8 +1413,6 @@ Resolv::DNS::Resource::TXT::TypeValue: Integer
|
|
1473
1413
|
# Resolv::Hosts is a hostname resolver that uses the system hosts file.
|
1474
1414
|
#
|
1475
1415
|
class Resolv::Hosts
|
1476
|
-
public
|
1477
|
-
|
1478
1416
|
# <!--
|
1479
1417
|
# rdoc-file=lib/resolv.rb
|
1480
1418
|
# - each_address(name, &proc)
|
@@ -1549,8 +1487,6 @@ class Resolv::IPv4
|
|
1549
1487
|
#
|
1550
1488
|
def self.create: (String | instance arg) -> instance
|
1551
1489
|
|
1552
|
-
public
|
1553
|
-
|
1554
1490
|
def ==: (instance other) -> bool
|
1555
1491
|
|
1556
1492
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1603,8 +1539,6 @@ class Resolv::IPv6
|
|
1603
1539
|
#
|
1604
1540
|
def self.create: (String | instance arg) -> instance
|
1605
1541
|
|
1606
|
-
public
|
1607
|
-
|
1608
1542
|
def ==: (instance other) -> bool
|
1609
1543
|
|
1610
1544
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1688,8 +1622,6 @@ class Resolv::LOC::Alt
|
|
1688
1622
|
#
|
1689
1623
|
def self.create: (Resolv::LOC::Alt | String arg) -> instance
|
1690
1624
|
|
1691
|
-
public
|
1692
|
-
|
1693
1625
|
def eql?: (Resolv::LOC::Alt other) -> bool
|
1694
1626
|
|
1695
1627
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1736,8 +1668,6 @@ class Resolv::LOC::Coord
|
|
1736
1668
|
#
|
1737
1669
|
def self.create: (Resolv::LOC::Coord | String arg) -> instance
|
1738
1670
|
|
1739
|
-
public
|
1740
|
-
|
1741
1671
|
def eql?: (Resolv::LOC::Coord other) -> bool
|
1742
1672
|
|
1743
1673
|
# <!-- rdoc-file=lib/resolv.rb -->
|
@@ -1787,8 +1717,6 @@ class Resolv::LOC::Size
|
|
1787
1717
|
#
|
1788
1718
|
def self.create: (Resolv::LOC::Size | String arg) -> instance
|
1789
1719
|
|
1790
|
-
public
|
1791
|
-
|
1792
1720
|
def eql?: (Resolv::LOC::Size other) -> bool
|
1793
1721
|
|
1794
1722
|
alias == eql?
|
@@ -1826,8 +1754,6 @@ Resolv::LOC::Size::Regex: Regexp
|
|
1826
1754
|
# * RFC 6762
|
1827
1755
|
#
|
1828
1756
|
class Resolv::MDNS < Resolv::DNS
|
1829
|
-
public
|
1830
|
-
|
1831
1757
|
# <!--
|
1832
1758
|
# rdoc-file=lib/resolv.rb
|
1833
1759
|
# - each_address(name)
|
data/stdlib/socket/0/socket.rbs
CHANGED
@@ -752,8 +752,6 @@ class Socket < BasicSocket
|
|
752
752
|
#
|
753
753
|
def self.unpack_sockaddr_un: (String path) -> String
|
754
754
|
|
755
|
-
public
|
756
|
-
|
757
755
|
# <!--
|
758
756
|
# rdoc-file=ext/socket/socket.c
|
759
757
|
# - socket.accept => [client_socket, client_addrinfo]
|
@@ -3730,8 +3728,6 @@ Socket::UDP_CORK: Integer
|
|
3730
3728
|
# Socket::Ifaddr represents a result of getifaddrs() function.
|
3731
3729
|
#
|
3732
3730
|
class Socket::Ifaddr
|
3733
|
-
public
|
3734
|
-
|
3735
3731
|
# <!--
|
3736
3732
|
# rdoc-file=ext/socket/ifaddr.c
|
3737
3733
|
# - ifaddr.addr => addrinfo
|
@@ -3805,8 +3801,6 @@ end
|
|
3805
3801
|
# UDP/IP address information used by Socket.udp_server_loop.
|
3806
3802
|
#
|
3807
3803
|
class Socket::UDPSource
|
3808
|
-
public
|
3809
|
-
|
3810
3804
|
def inspect: () -> String
|
3811
3805
|
|
3812
3806
|
# <!-- rdoc-file=ext/socket/lib/socket.rb -->
|
@@ -3911,8 +3905,6 @@ class Socket::AncillaryData
|
|
3911
3905
|
#
|
3912
3906
|
def self.unix_rights: (IO fd) -> instance
|
3913
3907
|
|
3914
|
-
public
|
3915
|
-
|
3916
3908
|
# <!--
|
3917
3909
|
# rdoc-file=ext/socket/ancdata.c
|
3918
3910
|
# - ancillarydata.cmsg_is?(level, type) => true or false
|
@@ -189,8 +189,6 @@ class Tempfile < File
|
|
189
189
|
def self.open: (*untyped args, **untyped) -> Tempfile
|
190
190
|
| [A] (*untyped args, **untyped) { (Tempfile) -> A } -> A
|
191
191
|
|
192
|
-
public
|
193
|
-
|
194
192
|
# <!--
|
195
193
|
# rdoc-file=lib/tempfile.rb
|
196
194
|
# - close(unlink_now=false)
|
@@ -296,8 +294,6 @@ class Tempfile < File
|
|
296
294
|
def unlink: () -> void
|
297
295
|
|
298
296
|
class Remover
|
299
|
-
public
|
300
|
-
|
301
297
|
def call: (*untyped args) -> void
|
302
298
|
|
303
299
|
private
|
data/stdlib/zlib/0/deflate.rbs
CHANGED
data/stdlib/zlib/0/gzip_file.rbs
CHANGED
data/stdlib/zlib/0/inflate.rbs
CHANGED
data/stdlib/zlib/0/zstream.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.0
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|
@@ -427,6 +427,7 @@ files:
|
|
427
427
|
- stdlib/observable/0/observable.rbs
|
428
428
|
- stdlib/open-uri/0/manifest.yaml
|
429
429
|
- stdlib/open-uri/0/open-uri.rbs
|
430
|
+
- stdlib/open3/0/open3.rbs
|
430
431
|
- stdlib/openssl/0/manifest.yaml
|
431
432
|
- stdlib/openssl/0/openssl.rbs
|
432
433
|
- stdlib/optparse/0/optparse.rbs
|
@@ -531,7 +532,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
531
532
|
- !ruby/object:Gem::Version
|
532
533
|
version: '0'
|
533
534
|
requirements: []
|
534
|
-
rubygems_version: 3.5.
|
535
|
+
rubygems_version: 3.5.17
|
535
536
|
signing_key:
|
536
537
|
specification_version: 4
|
537
538
|
summary: Type signature for Ruby.
|