active_cached_resource 0.0.1.pre → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
@@ -3457,43 +3457,48 @@ end
|
|
3457
3457
|
# A Source that wraps an IO. See the Source class for method
|
3458
3458
|
# documentation
|
3459
3459
|
#
|
3460
|
-
# source://rexml//lib/rexml/source.rb#
|
3460
|
+
# source://rexml//lib/rexml/source.rb#201
|
3461
3461
|
class REXML::IOSource < ::REXML::Source
|
3462
3462
|
# block_size has been deprecated
|
3463
3463
|
#
|
3464
3464
|
# @return [IOSource] a new instance of IOSource
|
3465
3465
|
#
|
3466
|
-
# source://rexml//lib/rexml/source.rb#
|
3466
|
+
# source://rexml//lib/rexml/source.rb#205
|
3467
3467
|
def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
3468
3468
|
|
3469
3469
|
# @return the current line in the source
|
3470
3470
|
#
|
3471
|
-
# source://rexml//lib/rexml/source.rb#
|
3471
|
+
# source://rexml//lib/rexml/source.rb#310
|
3472
3472
|
def current_line; end
|
3473
3473
|
|
3474
3474
|
# @return [Boolean]
|
3475
3475
|
#
|
3476
|
-
# source://rexml//lib/rexml/source.rb#
|
3476
|
+
# source://rexml//lib/rexml/source.rb#305
|
3477
3477
|
def empty?; end
|
3478
3478
|
|
3479
|
-
# source://rexml//lib/rexml/source.rb#
|
3479
|
+
# source://rexml//lib/rexml/source.rb#265
|
3480
3480
|
def ensure_buffer; end
|
3481
3481
|
|
3482
|
-
# source://rexml//lib/rexml/source.rb#
|
3482
|
+
# source://rexml//lib/rexml/source.rb#269
|
3483
3483
|
def match(pattern, cons = T.unsafe(nil)); end
|
3484
3484
|
|
3485
|
-
#
|
3485
|
+
# @return [Boolean]
|
3486
|
+
#
|
3487
|
+
# source://rexml//lib/rexml/source.rb#288
|
3488
|
+
def match?(pattern, cons = T.unsafe(nil)); end
|
3489
|
+
|
3490
|
+
# source://rexml//lib/rexml/source.rb#226
|
3486
3491
|
def read(term = T.unsafe(nil), min_bytes = T.unsafe(nil)); end
|
3487
3492
|
|
3488
|
-
# source://rexml//lib/rexml/source.rb#
|
3493
|
+
# source://rexml//lib/rexml/source.rb#247
|
3489
3494
|
def read_until(term); end
|
3490
3495
|
|
3491
3496
|
private
|
3492
3497
|
|
3493
|
-
# source://rexml//lib/rexml/source.rb#
|
3498
|
+
# source://rexml//lib/rexml/source.rb#357
|
3494
3499
|
def encoding_updated; end
|
3495
3500
|
|
3496
|
-
# source://rexml//lib/rexml/source.rb#
|
3501
|
+
# source://rexml//lib/rexml/source.rb#332
|
3497
3502
|
def readline(term = T.unsafe(nil)); end
|
3498
3503
|
end
|
3499
3504
|
|
@@ -3900,10 +3905,10 @@ class REXML::Parsers::BaseParser
|
|
3900
3905
|
#
|
3901
3906
|
# @return [Boolean]
|
3902
3907
|
#
|
3903
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3908
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#208
|
3904
3909
|
def empty?; end
|
3905
3910
|
|
3906
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3911
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#540
|
3907
3912
|
def entity(reference, entities); end
|
3908
3913
|
|
3909
3914
|
# Returns the value of attribute entity_expansion_count.
|
@@ -3929,12 +3934,12 @@ class REXML::Parsers::BaseParser
|
|
3929
3934
|
#
|
3930
3935
|
# @return [Boolean]
|
3931
3936
|
#
|
3932
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3937
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#213
|
3933
3938
|
def has_next?; end
|
3934
3939
|
|
3935
3940
|
# Escapes all possible entities
|
3936
3941
|
#
|
3937
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3942
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#551
|
3938
3943
|
def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
|
3939
3944
|
|
3940
3945
|
# Peek at the +depth+ event in the stack. The first element on the stack
|
@@ -3944,17 +3949,20 @@ class REXML::Parsers::BaseParser
|
|
3944
3949
|
# event, so you can effectively pre-parse the entire document (pull the
|
3945
3950
|
# entire thing into memory) using this method.
|
3946
3951
|
#
|
3947
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3952
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#229
|
3948
3953
|
def peek(depth = T.unsafe(nil)); end
|
3949
3954
|
|
3950
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3955
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#198
|
3951
3956
|
def position; end
|
3952
3957
|
|
3953
3958
|
# Returns the next event. This is a +PullEvent+ object.
|
3954
3959
|
#
|
3955
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3960
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#244
|
3956
3961
|
def pull; end
|
3957
3962
|
|
3963
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#187
|
3964
|
+
def reset; end
|
3965
|
+
|
3958
3966
|
# Returns the value of attribute source.
|
3959
3967
|
#
|
3960
3968
|
# source://rexml//lib/rexml/parsers/baseparser.rb#177
|
@@ -3965,50 +3973,50 @@ class REXML::Parsers::BaseParser
|
|
3965
3973
|
|
3966
3974
|
# Unescapes all possible entities
|
3967
3975
|
#
|
3968
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3976
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#567
|
3969
3977
|
def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
|
3970
3978
|
|
3971
3979
|
# Push an event back on the head of the stream. This method
|
3972
3980
|
# has (theoretically) infinite depth.
|
3973
3981
|
#
|
3974
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3982
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#219
|
3975
3983
|
def unshift(token); end
|
3976
3984
|
|
3977
3985
|
private
|
3978
3986
|
|
3979
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3987
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#616
|
3980
3988
|
def add_namespace(prefix, uri); end
|
3981
3989
|
|
3982
3990
|
# @return [Boolean]
|
3983
3991
|
#
|
3984
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3992
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#649
|
3985
3993
|
def need_source_encoding_update?(xml_declaration_encoding); end
|
3986
3994
|
|
3987
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3995
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#769
|
3988
3996
|
def parse_attributes(prefixes); end
|
3989
3997
|
|
3990
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
3998
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#668
|
3991
3999
|
def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
|
3992
4000
|
|
3993
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4001
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#696
|
3994
4002
|
def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
|
3995
4003
|
|
3996
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4004
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#655
|
3997
4005
|
def parse_name(base_error_message); end
|
3998
4006
|
|
3999
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4007
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#631
|
4000
4008
|
def pop_namespaces_restore; end
|
4001
4009
|
|
4002
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4010
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#734
|
4003
4011
|
def process_instruction; end
|
4004
4012
|
|
4005
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4013
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#254
|
4006
4014
|
def pull_event; end
|
4007
4015
|
|
4008
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4016
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#625
|
4009
4017
|
def push_namespaces_restore; end
|
4010
4018
|
|
4011
|
-
# source://rexml//lib/rexml/parsers/baseparser.rb#
|
4019
|
+
# source://rexml//lib/rexml/parsers/baseparser.rb#642
|
4012
4020
|
def record_entity_expansion(delta = T.unsafe(nil)); end
|
4013
4021
|
end
|
4014
4022
|
|
@@ -4270,7 +4278,7 @@ end
|
|
4270
4278
|
# A Source can be searched for patterns, and wraps buffers and other
|
4271
4279
|
# objects and provides consumption of text
|
4272
4280
|
#
|
4273
|
-
# source://rexml//lib/rexml/source.rb#
|
4281
|
+
# source://rexml//lib/rexml/source.rb#61
|
4274
4282
|
class REXML::Source
|
4275
4283
|
include ::REXML::Encoding
|
4276
4284
|
|
@@ -4281,80 +4289,85 @@ class REXML::Source
|
|
4281
4289
|
# @param encoding if non-null, sets the encoding of the source to this
|
4282
4290
|
# @return [Source] a new instance of Source
|
4283
4291
|
#
|
4284
|
-
# source://rexml//lib/rexml/source.rb#
|
4292
|
+
# source://rexml//lib/rexml/source.rb#81
|
4285
4293
|
def initialize(arg, encoding = T.unsafe(nil)); end
|
4286
4294
|
|
4287
4295
|
# The current buffer (what we're going to read next)
|
4288
4296
|
#
|
4289
|
-
# source://rexml//lib/rexml/source.rb#
|
4297
|
+
# source://rexml//lib/rexml/source.rb#94
|
4290
4298
|
def buffer; end
|
4291
4299
|
|
4292
|
-
# source://rexml//lib/rexml/source.rb#
|
4300
|
+
# source://rexml//lib/rexml/source.rb#104
|
4293
4301
|
def buffer_encoding=(encoding); end
|
4294
4302
|
|
4295
4303
|
# @return the current line in the source
|
4296
4304
|
#
|
4297
|
-
# source://rexml//lib/rexml/source.rb#
|
4305
|
+
# source://rexml//lib/rexml/source.rb#161
|
4298
4306
|
def current_line; end
|
4299
4307
|
|
4300
|
-
# source://rexml//lib/rexml/source.rb#
|
4308
|
+
# source://rexml//lib/rexml/source.rb#98
|
4301
4309
|
def drop_parsed_content; end
|
4302
4310
|
|
4303
4311
|
# @return [Boolean] true if the Source is exhausted
|
4304
4312
|
#
|
4305
|
-
# source://rexml//lib/rexml/source.rb#
|
4313
|
+
# source://rexml//lib/rexml/source.rb#156
|
4306
4314
|
def empty?; end
|
4307
4315
|
|
4308
4316
|
# Returns the value of attribute encoding.
|
4309
4317
|
#
|
4310
|
-
# source://rexml//lib/rexml/source.rb#
|
4318
|
+
# source://rexml//lib/rexml/source.rb#65
|
4311
4319
|
def encoding; end
|
4312
4320
|
|
4313
4321
|
# Inherited from Encoding
|
4314
4322
|
# Overridden to support optimized en/decoding
|
4315
4323
|
#
|
4316
|
-
# source://rexml//lib/rexml/source.rb#
|
4324
|
+
# source://rexml//lib/rexml/source.rb#110
|
4317
4325
|
def encoding=(enc); end
|
4318
4326
|
|
4319
|
-
# source://rexml//lib/rexml/source.rb#
|
4327
|
+
# source://rexml//lib/rexml/source.rb#128
|
4320
4328
|
def ensure_buffer; end
|
4321
4329
|
|
4322
4330
|
# The line number of the last consumed text
|
4323
4331
|
#
|
4324
|
-
# source://rexml//lib/rexml/source.rb#
|
4332
|
+
# source://rexml//lib/rexml/source.rb#64
|
4325
4333
|
def line; end
|
4326
4334
|
|
4327
|
-
# source://rexml//lib/rexml/source.rb#
|
4335
|
+
# source://rexml//lib/rexml/source.rb#131
|
4328
4336
|
def match(pattern, cons = T.unsafe(nil)); end
|
4329
4337
|
|
4330
|
-
#
|
4338
|
+
# @return [Boolean]
|
4339
|
+
#
|
4340
|
+
# source://rexml//lib/rexml/source.rb#139
|
4341
|
+
def match?(pattern, cons = T.unsafe(nil)); end
|
4342
|
+
|
4343
|
+
# source://rexml//lib/rexml/source.rb#147
|
4331
4344
|
def position; end
|
4332
4345
|
|
4333
|
-
# source://rexml//lib/rexml/source.rb#
|
4346
|
+
# source://rexml//lib/rexml/source.rb#151
|
4334
4347
|
def position=(pos); end
|
4335
4348
|
|
4336
|
-
# source://rexml//lib/rexml/source.rb#
|
4349
|
+
# source://rexml//lib/rexml/source.rb#115
|
4337
4350
|
def read(term = T.unsafe(nil)); end
|
4338
4351
|
|
4339
|
-
# source://rexml//lib/rexml/source.rb#
|
4352
|
+
# source://rexml//lib/rexml/source.rb#118
|
4340
4353
|
def read_until(term); end
|
4341
4354
|
|
4342
4355
|
private
|
4343
4356
|
|
4344
|
-
# source://rexml//lib/rexml/source.rb#
|
4357
|
+
# source://rexml//lib/rexml/source.rb#170
|
4345
4358
|
def detect_encoding; end
|
4346
4359
|
|
4347
|
-
# source://rexml//lib/rexml/source.rb#
|
4360
|
+
# source://rexml//lib/rexml/source.rb#188
|
4348
4361
|
def encoding_updated; end
|
4349
4362
|
end
|
4350
4363
|
|
4351
|
-
# source://rexml//lib/rexml/source.rb#
|
4364
|
+
# source://rexml//lib/rexml/source.rb#67
|
4352
4365
|
module REXML::Source::Private; end
|
4353
4366
|
|
4354
|
-
# source://rexml//lib/rexml/source.rb#
|
4367
|
+
# source://rexml//lib/rexml/source.rb#69
|
4355
4368
|
REXML::Source::Private::PRE_DEFINED_TERM_PATTERNS = T.let(T.unsafe(nil), Hash)
|
4356
4369
|
|
4357
|
-
# source://rexml//lib/rexml/source.rb#
|
4370
|
+
# source://rexml//lib/rexml/source.rb#68
|
4358
4371
|
REXML::Source::Private::SCANNER_RESET_SIZE = T.let(T.unsafe(nil), Integer)
|
4359
4372
|
|
4360
4373
|
# Represents text nodes in an XML document
|
@@ -4402,7 +4415,7 @@ class REXML::Text < ::REXML::Child
|
|
4402
4415
|
#
|
4403
4416
|
# @return [Text] a new instance of Text
|
4404
4417
|
#
|
4405
|
-
# source://rexml//lib/rexml/text.rb#
|
4418
|
+
# source://rexml//lib/rexml/text.rb#79
|
4406
4419
|
def initialize(arg, respect_whitespace = T.unsafe(nil), parent = T.unsafe(nil), raw = T.unsafe(nil), entity_filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
|
4407
4420
|
|
4408
4421
|
# Appends text to this text node. The text is appended in the +raw+ mode
|
@@ -4411,36 +4424,36 @@ class REXML::Text < ::REXML::Child
|
|
4411
4424
|
# +returns+ the text itself to enable method chain like
|
4412
4425
|
# 'text << "XXX" << "YYY"'.
|
4413
4426
|
#
|
4414
|
-
# source://rexml//lib/rexml/text.rb#
|
4427
|
+
# source://rexml//lib/rexml/text.rb#189
|
4415
4428
|
def <<(to_append); end
|
4416
4429
|
|
4417
4430
|
# +other+ a String or a Text
|
4418
4431
|
# +returns+ the result of (to_s <=> arg.to_s)
|
4419
4432
|
#
|
4420
|
-
# source://rexml//lib/rexml/text.rb#
|
4433
|
+
# source://rexml//lib/rexml/text.rb#198
|
4421
4434
|
def <=>(other); end
|
4422
4435
|
|
4423
|
-
# source://rexml//lib/rexml/text.rb#
|
4436
|
+
# source://rexml//lib/rexml/text.rb#179
|
4424
4437
|
def clone; end
|
4425
4438
|
|
4426
|
-
# source://rexml//lib/rexml/text.rb#
|
4439
|
+
# source://rexml//lib/rexml/text.rb#202
|
4427
4440
|
def doctype; end
|
4428
4441
|
|
4429
4442
|
# @return [Boolean]
|
4430
4443
|
#
|
4431
|
-
# source://rexml//lib/rexml/text.rb#
|
4444
|
+
# source://rexml//lib/rexml/text.rb#174
|
4432
4445
|
def empty?; end
|
4433
4446
|
|
4434
|
-
# source://rexml//lib/rexml/text.rb#
|
4447
|
+
# source://rexml//lib/rexml/text.rb#274
|
4435
4448
|
def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
|
4436
4449
|
|
4437
|
-
# source://rexml//lib/rexml/text.rb#
|
4450
|
+
# source://rexml//lib/rexml/text.rb#228
|
4438
4451
|
def inspect; end
|
4439
4452
|
|
4440
|
-
# source://rexml//lib/rexml/text.rb#
|
4453
|
+
# source://rexml//lib/rexml/text.rb#170
|
4441
4454
|
def node_type; end
|
4442
4455
|
|
4443
|
-
# source://rexml//lib/rexml/text.rb#
|
4456
|
+
# source://rexml//lib/rexml/text.rb#110
|
4444
4457
|
def parent=(parent); end
|
4445
4458
|
|
4446
4459
|
# If +raw+ is true, then REXML leaves the value alone
|
@@ -4467,7 +4480,7 @@ class REXML::Text < ::REXML::Child
|
|
4467
4480
|
# u = Text.new( "sean russell", false, nil, true )
|
4468
4481
|
# u.to_s #-> "sean russell"
|
4469
4482
|
#
|
4470
|
-
# source://rexml//lib/rexml/text.rb#
|
4483
|
+
# source://rexml//lib/rexml/text.rb#223
|
4471
4484
|
def to_s; end
|
4472
4485
|
|
4473
4486
|
# Returns the string value of this text. This is the text without
|
@@ -4484,7 +4497,7 @@ class REXML::Text < ::REXML::Child
|
|
4484
4497
|
# u = Text.new( "sean russell", false, nil, true )
|
4485
4498
|
# u.value #-> "sean russell"
|
4486
4499
|
#
|
4487
|
-
# source://rexml//lib/rexml/text.rb#
|
4500
|
+
# source://rexml//lib/rexml/text.rb#245
|
4488
4501
|
def value; end
|
4489
4502
|
|
4490
4503
|
# Sets the contents of this text node. This expects the text to be
|
@@ -4495,16 +4508,16 @@ class REXML::Text < ::REXML::Child
|
|
4495
4508
|
# e[0].value = "bar" # <a>bar</a>
|
4496
4509
|
# e[0].value = "<a>" # <a><a></a>
|
4497
4510
|
#
|
4498
|
-
# source://rexml//lib/rexml/text.rb#
|
4511
|
+
# source://rexml//lib/rexml/text.rb#257
|
4499
4512
|
def value=(val); end
|
4500
4513
|
|
4501
|
-
# source://rexml//lib/rexml/text.rb#
|
4514
|
+
# source://rexml//lib/rexml/text.rb#263
|
4502
4515
|
def wrap(string, width, addnewline = T.unsafe(nil)); end
|
4503
4516
|
|
4504
4517
|
# == DEPRECATED
|
4505
4518
|
# See REXML::Formatters
|
4506
4519
|
#
|
4507
|
-
# source://rexml//lib/rexml/text.rb#
|
4520
|
+
# source://rexml//lib/rexml/text.rb#289
|
4508
4521
|
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
4509
4522
|
|
4510
4523
|
# Writes out text, substituting special characters beforehand.
|
@@ -4522,42 +4535,42 @@ class REXML::Text < ::REXML::Child
|
|
4522
4535
|
# }
|
4523
4536
|
# puts ascOut
|
4524
4537
|
#
|
4525
|
-
# source://rexml//lib/rexml/text.rb#
|
4538
|
+
# source://rexml//lib/rexml/text.rb#321
|
4526
4539
|
def write_with_substitution(out, input); end
|
4527
4540
|
|
4528
4541
|
# FIXME
|
4529
4542
|
# This probably won't work properly
|
4530
4543
|
#
|
4531
|
-
# source://rexml//lib/rexml/text.rb#
|
4544
|
+
# source://rexml//lib/rexml/text.rb#301
|
4532
4545
|
def xpath; end
|
4533
4546
|
|
4534
4547
|
private
|
4535
4548
|
|
4536
|
-
# source://rexml//lib/rexml/text.rb#
|
4549
|
+
# source://rexml//lib/rexml/text.rb#334
|
4537
4550
|
def clear_cache; end
|
4538
4551
|
|
4539
4552
|
class << self
|
4540
4553
|
# check for illegal characters
|
4541
4554
|
#
|
4542
|
-
# source://rexml//lib/rexml/text.rb#
|
4555
|
+
# source://rexml//lib/rexml/text.rb#116
|
4543
4556
|
def check(string, pattern, doctype); end
|
4544
4557
|
|
4545
|
-
# source://rexml//lib/rexml/text.rb#
|
4558
|
+
# source://rexml//lib/rexml/text.rb#404
|
4546
4559
|
def expand(ref, doctype, filter); end
|
4547
4560
|
|
4548
4561
|
# Escapes all possible entities
|
4549
4562
|
#
|
4550
|
-
# source://rexml//lib/rexml/text.rb#
|
4563
|
+
# source://rexml//lib/rexml/text.rb#366
|
4551
4564
|
def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
|
4552
4565
|
|
4553
4566
|
# Reads text, substituting entities
|
4554
4567
|
#
|
4555
|
-
# source://rexml//lib/rexml/text.rb#
|
4568
|
+
# source://rexml//lib/rexml/text.rb#340
|
4556
4569
|
def read_with_substitution(input, illegal = T.unsafe(nil)); end
|
4557
4570
|
|
4558
4571
|
# Unescapes all possible entities
|
4559
4572
|
#
|
4560
|
-
# source://rexml//lib/rexml/text.rb#
|
4573
|
+
# source://rexml//lib/rexml/text.rb#390
|
4561
4574
|
def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil), entity_expansion_text_limit: T.unsafe(nil)); end
|
4562
4575
|
end
|
4563
4576
|
end
|
@@ -6528,9 +6528,6 @@ module RSpec::Core::HashImitatable
|
|
6528
6528
|
# source://rspec-core//lib/rspec/core/metadata.rb#367
|
6529
6529
|
def minmax_by(*args, &block); end
|
6530
6530
|
|
6531
|
-
# source://rspec-core//lib/rspec/core/metadata.rb#367
|
6532
|
-
def nested_under_indifferent_access(*args, &block); end
|
6533
|
-
|
6534
6531
|
# source://rspec-core//lib/rspec/core/metadata.rb#367
|
6535
6532
|
def none?(*args, &block); end
|
6536
6533
|
|
@@ -6696,9 +6693,6 @@ module RSpec::Core::HashImitatable
|
|
6696
6693
|
# source://rspec-core//lib/rspec/core/metadata.rb#367
|
6697
6694
|
def with_defaults!(*args, &block); end
|
6698
6695
|
|
6699
|
-
# source://rspec-core//lib/rspec/core/metadata.rb#367
|
6700
|
-
def with_indifferent_access(*args, &block); end
|
6701
|
-
|
6702
6696
|
# source://rspec-core//lib/rspec/core/metadata.rb#367
|
6703
6697
|
def without(*args, &block); end
|
6704
6698
|
|
@@ -9651,6 +9645,9 @@ class RSpec::Core::OutputWrapper
|
|
9651
9645
|
# source://rspec-core//lib/rspec/core/output_wrapper.rb#23
|
9652
9646
|
def tty?(*args, &block); end
|
9653
9647
|
|
9648
|
+
# source://rspec-core//lib/rspec/core/output_wrapper.rb#23
|
9649
|
+
def ttyname(*args, &block); end
|
9650
|
+
|
9654
9651
|
# source://rspec-core//lib/rspec/core/output_wrapper.rb#23
|
9655
9652
|
def ungetbyte(*args, &block); end
|
9656
9653
|
|