diff --git a/Gemfile.lock b/Gemfile.lock index 7f9a87243..dcc3e203e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -128,7 +128,7 @@ GEM bigdecimal (4.1.2) builder (3.3.0) cityhash (0.9.0) - concurrent-ruby (1.3.6) + concurrent-ruby (1.3.7) config (5.6.1) deep_merge (~> 1.2, >= 1.2.1) ostruct @@ -504,7 +504,7 @@ CHECKSUMS bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f cityhash (0.9.0) sha256=1c20843d286524de21d0ecf5d43c7e7f18f5fb0c5866294a717f0be13dc1962d - concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab + concurrent-ruby (1.3.7) sha256=4412caec3a5ea2e5fdc52076724c071a81f2c0593d83b2ac8cbb8ca63b3151b0 config (5.6.1) sha256=a9f0f0f9ffa6d12d43147a3fa1ab8486fe484c3098a350c6a2e0f32430e0d1cc connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a crack (1.0.1) sha256=ff4a10390cd31d66440b7524eb1841874db86201d5b70032028553130b6d4c7e diff --git a/sorbet/rbi/gems/activesupport@8.1.3.rbi b/sorbet/rbi/gems/activesupport@8.1.3.rbi index 9583077cd..b54ac732c 100644 --- a/sorbet/rbi/gems/activesupport@8.1.3.rbi +++ b/sorbet/rbi/gems/activesupport@8.1.3.rbi @@ -5064,8 +5064,6 @@ end # pkg:gem/activesupport#lib/active_support/deprecation/disallowed.rb:5 module ActiveSupport::Deprecation::Disallowed - # Returns the configured criteria used to identify deprecation messages - # which should be treated as disallowed. # Sets the criteria used to identify deprecation messages which should be # disallowed. Can be an array containing strings, symbols, or regular # expressions. (Symbols are treated as strings.) These are compared against @@ -5077,12 +5075,12 @@ module ActiveSupport::Deprecation::Disallowed # Deprecations matching a substring or regular expression will be handled # using the configured Behavior#disallowed_behavior rather than # Behavior#behavior. + # Returns the configured criteria used to identify deprecation messages + # which should be treated as disallowed. # # pkg:gem/activesupport#lib/active_support/deprecation/disallowed.rb:21 def disallowed_warnings; end - # Returns the configured criteria used to identify deprecation messages - # which should be treated as disallowed. # Sets the criteria used to identify deprecation messages which should be # disallowed. Can be an array containing strings, symbols, or regular # expressions. (Symbols are treated as strings.) These are compared against @@ -5094,6 +5092,8 @@ module ActiveSupport::Deprecation::Disallowed # Deprecations matching a substring or regular expression will be handled # using the configured Behavior#disallowed_behavior rather than # Behavior#behavior. + # Returns the configured criteria used to identify deprecation messages + # which should be treated as disallowed. # # pkg:gem/activesupport#lib/active_support/deprecation/disallowed.rb:17 def disallowed_warnings=(_arg0); end diff --git a/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi b/sorbet/rbi/gems/concurrent-ruby@1.3.7.rbi similarity index 99% rename from sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi rename to sorbet/rbi/gems/concurrent-ruby@1.3.7.rbi index 022cfe164..25efaec49 100644 --- a/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi +++ b/sorbet/rbi/gems/concurrent-ruby@1.3.7.rbi @@ -1990,6 +1990,9 @@ module Concurrent::AtomicNumericCompareAndSetWrapper # # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb:10 def compare_and_set(old_value, new_value); end + + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb:33 + def compare_and_swap(old_value, new_value); end end # An object reference that may be updated atomically. All read and write @@ -2070,14 +2073,14 @@ end # @return [Object] the new value # @raise [Concurrent::ConcurrentUpdateError] if the update fails # -# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:126 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:133 class Concurrent::AtomicReference < ::Concurrent::MutexAtomicReference - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:133 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:140 def inspect; end # @return [String] Short string representation. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:129 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:136 def to_s; end end @@ -5253,47 +5256,46 @@ class Concurrent::MutexAtomicReference # @!macro atomic_reference_method_initialize # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:16 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:15 def initialize(value = T.unsafe(nil)); end - # @!macro atomic_reference_method_compare_and_set - # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:45 - def _compare_and_set(old_value, new_value); end - - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:13 - def compare_and_swap(old_value, new_value); end - # @!macro atomic_reference_method_get # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:22 def get; end # @!macro atomic_reference_method_get_and_set # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:35 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:34 def get_and_set(new_value); end # @!macro atomic_reference_method_set # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:28 def set(new_value); end - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:42 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:41 def swap(new_value); end - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:26 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:25 def value; end - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:32 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:31 def value=(new_value); end protected # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:58 def synchronize; end + + private + + # @!macro atomic_reference_method_compare_and_set + # + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:44 + def _compare_and_set(old_value, new_value); end end # @!macro count_down_latch @@ -7613,13 +7615,13 @@ end # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html java.util.concurrent.ReentrantReadWriteLock # -# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:31 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:32 class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object extend ::Concurrent::Synchronization::SafeInitialization # Create a new `ReadWriteLock` in the unlocked state. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:60 def initialize; end # Acquire a read lock. If a write lock has been acquired will block until @@ -7630,7 +7632,7 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # @raise [Concurrent::ResourceLimitError] if the maximum number of readers # is exceeded. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:111 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:113 def acquire_read_lock; end # Acquire a write lock. Will block and wait for all active readers and writers. @@ -7640,28 +7642,33 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # @raise [Concurrent::ResourceLimitError] if the maximum number of writers # is exceeded. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:160 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:166 def acquire_write_lock; end # Queries whether any threads are waiting to acquire the read or write lock. # # @return [Boolean] true if any threads are waiting for a lock else false # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:214 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:227 def has_waiters?; end # Release a previously acquired read lock. # # @return [Boolean] true if the lock is successfully released # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:140 + # @raise [Concurrent::IllegalOperationError] if no read lock is currently held. + # + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:144 def release_read_lock; end # Release a previously acquired write lock. # # @return [Boolean] true if the lock is successfully released # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:196 + # @raise [Concurrent::IllegalOperationError] if the write lock is not held + # by the current thread. + # + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:206 def release_write_lock; end # Execute a block operation within a read lock. @@ -7674,7 +7681,7 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # @raise [Concurrent::ResourceLimitError] if the maximum number of readers # is exceeded. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:77 def with_read_lock; end # Execute a block operation within a write lock. @@ -7687,72 +7694,72 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # @raise [Concurrent::ResourceLimitError] if the maximum number of readers # is exceeded. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:96 def with_write_lock; end # Queries if the write lock is held by any thread. # # @return [Boolean] true if the write lock is held else false` # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:207 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:220 def write_locked?; end private # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:246 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:259 def max_readers?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:251 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:264 def max_writers?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:221 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:234 def running_readers(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:226 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:239 def running_readers?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:231 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:244 def running_writer?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:241 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:254 def waiting_writer?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:236 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:249 def waiting_writers(c = T.unsafe(nil)); end end # @!visibility private # -# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:40 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:41 Concurrent::ReadWriteLock::MAX_READERS = T.let(T.unsafe(nil), Integer) # @!visibility private # -# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:43 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:44 Concurrent::ReadWriteLock::MAX_WRITERS = T.let(T.unsafe(nil), Integer) # @!visibility private # -# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:37 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:38 Concurrent::ReadWriteLock::RUNNING_WRITER = T.let(T.unsafe(nil), Integer) # @!visibility private # -# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:34 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:35 Concurrent::ReadWriteLock::WAITING_WRITER = T.let(T.unsafe(nil), Integer) # Re-entrant read-write lock implementation @@ -7813,7 +7820,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # @return [Boolean] true if the lock is successfully acquired # # @raise [Concurrent::ResourceLimitError] if the maximum number of readers - # is exceeded. + # or per-thread reentrant acquires is exceeded. # # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:162 def acquire_read_lock; end @@ -7825,21 +7832,21 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # @raise [Concurrent::ResourceLimitError] if the maximum number of writers # is exceeded. # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:257 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:264 def acquire_write_lock; end # Release a previously acquired read lock. # # @return [Boolean] true if the lock is successfully released # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:236 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:243 def release_read_lock; end # Release a previously acquired write lock. # # @return [Boolean] true if the lock is successfully released # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:329 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:336 def release_write_lock; end # Try to acquire a read lock and return true if we succeed. If it cannot be @@ -7847,7 +7854,10 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # # @return [Boolean] true if the lock is successfully acquired # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:215 + # @raise [Concurrent::ResourceLimitError] if the maximum number of per-thread + # reentrant acquires is exceeded. + # + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:220 def try_read_lock; end # Try to acquire a write lock and return true if we succeed. If it cannot be @@ -7855,7 +7865,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # # @return [Boolean] true if the lock is successfully acquired # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:310 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:317 def try_write_lock; end # Execute a block operation within a read lock. @@ -7888,37 +7898,37 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:370 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:377 def max_readers?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:375 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:382 def max_writers?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:345 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:352 def running_readers(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:350 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:357 def running_readers?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:355 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:362 def running_writer?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:365 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:372 def waiting_or_running_writer?(c = T.unsafe(nil)); end # @!visibility private # - # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:360 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:367 def waiting_writers(c = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/json_api_client@1.23.0-606196035e27f172e686194b583bf4704296a00f.rbi b/sorbet/rbi/gems/json_api_client@1.23.0-606196035e27f172e686194b583bf4704296a00f.rbi index f1c3ed5f3..62d574b62 100644 --- a/sorbet/rbi/gems/json_api_client@1.23.0-606196035e27f172e686194b583bf4704296a00f.rbi +++ b/sorbet/rbi/gems/json_api_client@1.23.0-606196035e27f172e686194b583bf4704296a00f.rbi @@ -1079,7 +1079,7 @@ class JsonApiClient::Query::Requestor def initialize(klass); end # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:56 - def connection(*args, **_arg1, &block); end + def connection(*_arg0, **_arg1, &_arg2); end # expects a record # @@ -1522,7 +1522,7 @@ class JsonApiClient::Resource def add_defaults_to_changes?; end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def all(*args, **_arg1, &block); end + def all(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def associations; end @@ -1604,10 +1604,10 @@ class JsonApiClient::Resource def default_attributes; end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def find(*args, **_arg1, &block); end + def find(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def first(*args, **_arg1, &block); end + def first(*_arg0, **_arg1, &_arg2); end # Indicates whether this resource is mutable or immutable; # by default, all resources are mutable. @@ -1618,7 +1618,7 @@ class JsonApiClient::Resource def immutable(flag = T.unsafe(nil)); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def includes(*args, **_arg1, &block); end + def includes(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:110 def inherited(subclass); end @@ -1645,7 +1645,7 @@ class JsonApiClient::Resource def key_formatter; end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def last(*args, **_arg1, &block); end + def last(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def linker; end @@ -1664,13 +1664,13 @@ class JsonApiClient::Resource def load(params); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def order(*args, **_arg1, &block); end + def order(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def page(*args, **_arg1, &block); end + def page(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def paginate(*args, **_arg1, &block); end + def paginate(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def paginator; end @@ -1829,7 +1829,7 @@ class JsonApiClient::Resource def search_included_in_result_set?; end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def select(*args, **_arg1, &block); end + def select(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def site; end @@ -1856,7 +1856,7 @@ class JsonApiClient::Resource def type; end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def where(*args, **_arg1, &block); end + def where(*_arg0, **_arg1, &_arg2); end # Within the given block, add these headers to all requests made by # the resource class @@ -1868,7 +1868,7 @@ class JsonApiClient::Resource def with_headers(headers); end # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 - def with_params(*args, **_arg1, &block); end + def with_params(*_arg0, **_arg1, &_arg2); end protected @@ -2103,7 +2103,7 @@ class JsonApiClient::ResultSet < ::Array extend ::Forwardable # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def current_page(*args, **_arg1, &block); end + def current_page(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def errors; end @@ -2127,7 +2127,7 @@ class JsonApiClient::ResultSet < ::Array def included=(_arg0); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def limit_value(*args, **_arg1, &block); end + def limit_value(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def links; end @@ -2142,13 +2142,13 @@ class JsonApiClient::ResultSet < ::Array def meta=(_arg0); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def next_page(*args, **_arg1, &block); end + def next_page(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def offset(*args, **_arg1, &block); end + def offset(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def out_of_bounds?(*args, **_arg1, &block); end + def out_of_bounds?(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def pages; end @@ -2157,10 +2157,10 @@ class JsonApiClient::ResultSet < ::Array def pages=(_arg0); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def per_page(*args, **_arg1, &block); end + def per_page(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def previous_page(*args, **_arg1, &block); end + def previous_page(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def record_class; end @@ -2175,13 +2175,13 @@ class JsonApiClient::ResultSet < ::Array def relationships=(_arg0); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def total_count(*args, **_arg1, &block); end + def total_count(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def total_entries(*args, **_arg1, &block); end + def total_entries(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 - def total_pages(*args, **_arg1, &block); end + def total_pages(*_arg0, **_arg1, &_arg2); end # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def uri; end diff --git a/sorbet/rbi/gems/net-http@0.9.1.rbi b/sorbet/rbi/gems/net-http@0.9.1.rbi index 223341980..fbb0bf640 100644 --- a/sorbet/rbi/gems/net-http@0.9.1.rbi +++ b/sorbet/rbi/gems/net-http@0.9.1.rbi @@ -1230,18 +1230,18 @@ class Net::HTTP < ::Net::Protocol # pkg:gem/net-http#lib/net/http.rb:1881 def proxy?; end - # Returns the address of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy address; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the address of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1903 def proxy_address; end - # Returns the address of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy address; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the address of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1312 def proxy_address=(_arg0); end @@ -1260,34 +1260,34 @@ class Net::HTTP < ::Net::Protocol # pkg:gem/net-http#lib/net/http.rb:1888 def proxy_from_env?; end - # Returns the password of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy password; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the password of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1934 def proxy_pass; end - # Returns the password of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy password; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the password of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1324 def proxy_pass=(_arg0); end - # Returns the port number of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy port; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the port number of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1913 def proxy_port; end - # Returns the port number of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy port; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the port number of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1316 def proxy_port=(_arg0); end @@ -1303,18 +1303,18 @@ class Net::HTTP < ::Net::Protocol # pkg:gem/net-http#lib/net/http.rb:1328 def proxy_use_ssl=(_arg0); end - # Returns the user name of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy user; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the user name of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1923 def proxy_user; end - # Returns the user name of the proxy server, if defined, +nil+ otherwise; - # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # Sets the proxy user; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. + # Returns the user name of the proxy server, if defined, +nil+ otherwise; + # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # # pkg:gem/net-http#lib/net/http.rb:1320 def proxy_user=(_arg0); end diff --git a/sorbet/rbi/gems/nokogiri@1.19.4.rbi b/sorbet/rbi/gems/nokogiri@1.19.4.rbi index df55c2ad2..3614d698a 100644 --- a/sorbet/rbi/gems/nokogiri@1.19.4.rbi +++ b/sorbet/rbi/gems/nokogiri@1.19.4.rbi @@ -96,10 +96,10 @@ module Nokogiri # pkg:gem/nokogiri#lib/nokogiri.rb:96 def install_default_aliases; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:206 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:216 def jruby?; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:211 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:221 def libxml2_patches; end # Create a new Nokogiri::XML::DocumentFragment @@ -112,10 +112,10 @@ module Nokogiri # pkg:gem/nokogiri#lib/nokogiri.rb:42 def parse(string, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:201 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:211 def uses_gumbo?; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:193 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:203 def uses_libxml?(requirement = T.unsafe(nil)); end end end @@ -2338,6 +2338,7 @@ Nokogiri::HTML5::QuirksMode::QUIRKS = T.let(T.unsafe(nil), Integer) Nokogiri::LIBXML2_PATCHES = T.let(T.unsafe(nil), Array) Nokogiri::LIBXML_COMPILED_VERSION = T.let(T.unsafe(nil), String) +Nokogiri::LIBXML_HTTP_ENABLED = T.let(T.unsafe(nil), TrueClass) Nokogiri::LIBXML_ICONV_ENABLED = T.let(T.unsafe(nil), TrueClass) Nokogiri::LIBXML_LOADED_VERSION = T.let(T.unsafe(nil), String) Nokogiri::LIBXML_MEMORY_MANAGEMENT = T.let(T.unsafe(nil), String) @@ -2368,7 +2369,7 @@ Nokogiri::VERSION = T.let(T.unsafe(nil), String) # Detailed version info about Nokogiri and the installed extension dependencies. # -# pkg:gem/nokogiri#lib/nokogiri/version/info.rb:223 +# pkg:gem/nokogiri#lib/nokogiri/version/info.rb:233 Nokogiri::VERSION_INFO = T.let(T.unsafe(nil), Hash) # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:7 @@ -2392,19 +2393,25 @@ class Nokogiri::VersionInfo # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:48 def libxml2?; end + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:60 + def libxml2_has_http?; end + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:52 def libxml2_has_iconv?; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:68 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:56 + def libxml2_has_zlib?; end + + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:76 def libxml2_precompiled?; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:60 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:68 def libxml2_using_packaged?; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:64 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:72 def libxml2_using_system?; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:56 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:64 def libxslt_has_datetime?; end # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:26 @@ -2416,13 +2423,13 @@ class Nokogiri::VersionInfo # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:18 def ruby_minor; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:88 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:96 def to_hash; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:181 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:191 def to_markdown; end - # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:72 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:80 def warnings; end # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:14 @@ -3026,13 +3033,13 @@ end # # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Document < ::Nokogiri::XML::Node - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:190 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:191 def initialize(*args); end - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:449 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:450 def <<(node_or_tags); end - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:437 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:438 def add_child(node_or_tags); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -3048,7 +3055,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # - +level+ (optional Integer). 0 is a shallow copy, 1 (the default) is a deep copy. # [Returns] The new Nokogiri::XML::Document # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:223 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:224 def clone(level = T.unsafe(nil)); end # :call-seq: @@ -3087,17 +3094,17 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # {"xmlns:foo" => "baz"} # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:361 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:362 def collect_namespaces; end # Create a CDATA Node containing +string+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:306 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:307 def create_cdata(string, &block); end # Create a Comment Node containing +string+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:311 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:312 def create_comment(string, &block); end # :call-seq: @@ -3148,7 +3155,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # doc.create_element("div") { |node| node["class"] = "blue" if before_noon? } # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:276 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:277 def create_element(name, *contents_or_attrs, &block); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -3156,7 +3163,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # Create a Text Node with +string+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:301 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:302 def create_text_node(string, &block); end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -3198,22 +3205,22 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.14.0 # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:501 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:502 def deconstruct_keys(keys); end # Apply any decorators to +node+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:409 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:410 def decorate(node); end # Get the list of decorators given +key+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:368 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:369 def decorators(key); end # A reference to +self+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:321 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:322 def document; end # :call-seq: @@ -3226,7 +3233,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # - +level+ (optional Integer). 0 is a shallow copy, 1 (the default) is a deep copy. # [Returns] The new Nokogiri::XML::Document # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:207 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:208 def dup(level = T.unsafe(nil)); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -3239,25 +3246,25 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # [Returns] Array # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:141 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:142 def errors; end # The errors found while parsing a document. # # [Returns] Array # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:141 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:142 def errors=(_arg0); end # Create a Nokogiri::XML::DocumentFragment from +tags+ # Returns an empty fragment if +tags+ is nil. # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:429 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:430 def fragment(tags = T.unsafe(nil)); end # The name of this document. Always returns "document" # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:316 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:317 def name; end # When `true`, reparented elements without a namespace will inherit their new parent's @@ -3306,7 +3313,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.12.4 # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:188 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:189 def namespace_inheritance; end # When `true`, reparented elements without a namespace will inherit their new parent's @@ -3355,12 +3362,12 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.12.4 # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:188 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:189 def namespace_inheritance=(_arg0); end # Get the hash of namespaces on the root Nokogiri::XML::Node # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:422 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:423 def namespaces; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -3387,10 +3394,10 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # irb> doc.slop! # ... which does absolutely nothing. # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:398 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:399 def slop!; end - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:419 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:420 def to_xml(*args, &block); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -3399,7 +3406,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # Validate this Document against its DTD. Returns a list of errors on # the document or +nil+ when there is no DTD. # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:376 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:377 def validate; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -3412,7 +3419,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # See XPathVisitor for more information. # - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:457 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:458 def xpath_doctype; end protected @@ -3422,7 +3429,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node private - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:509 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:510 def inspect_attributes; end class << self @@ -3468,12 +3475,12 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node private - # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:96 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:97 def empty_doc?(string_or_io); end end end -# pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:507 +# pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:508 Nokogiri::XML::Document::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array) # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:19 @@ -3993,12 +4000,12 @@ class Nokogiri::XML::Node # Compare two Node objects with respect to their Document. Nodes from # different documents cannot be compared. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1340 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1391 def <=>(other); end # Test to see if this Node is equal to +other+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1330 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1381 def ==(other); end # :call-seq: [](name) → (String, nil) @@ -4031,7 +4038,7 @@ class Nokogiri::XML::Node # doc.at_css("child").attribute_with_ns("size", "http://example.com/widths").value # # => "broad" # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:587 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:638 def [](name); end # :call-seq: []=(name, value) → value @@ -4068,12 +4075,12 @@ class Nokogiri::XML::Node # # " \n" + # # "\n" # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:625 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:676 def []=(name, value); end # Accept a visitor. This method calls "visit" on +visitor+ with self. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1324 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1375 def accept(visitor); end # Add +node_or_tags+ as a child of this Node. @@ -4130,10 +4137,10 @@ class Nokogiri::XML::Node # node # =>
# node.add_class(["section", "header"]) # =>
# - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:790 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:841 def add_class(names); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:544 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:595 def add_namespace(_arg0, _arg1); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4180,7 +4187,7 @@ class Nokogiri::XML::Node # Get a list of ancestor Node for this Node. If +selector+ is given, # the ancestors must match +selector+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1293 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1344 def ancestors(selector = T.unsafe(nil)); end # :call-seq: append_class(names) → self @@ -4222,10 +4229,10 @@ class Nokogiri::XML::Node # node.append_class(["section", "header"]) # =>
# node.append_class(["section", "header"]) # =>
# - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:834 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:885 def append_class(names); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1082 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1133 def attr(name); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4291,7 +4298,7 @@ class Nokogiri::XML::Node # # value = "tall" # # })} # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:684 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:735 def attributes; end # Insert +node_or_tags+ before this node (as a sibling). @@ -4309,12 +4316,12 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def blank?; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1492 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1543 def canonicalize(mode = T.unsafe(nil), inclusive_namespaces = T.unsafe(nil), with_comments = T.unsafe(nil)); end # Returns true if this is a CDATA # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1214 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1265 def cdata?; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4352,7 +4359,7 @@ class Nokogiri::XML::Node # node # =>
# node.classes # => ["section", "title", "header"] # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:744 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:795 def classes; end # :call-seq: @@ -4373,7 +4380,7 @@ class Nokogiri::XML::Node # Returns true if this is a Comment # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1209 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1260 def comment?; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4432,7 +4439,7 @@ class Nokogiri::XML::Node # Get the path to this node as a CSS expression # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1284 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1335 def css_path; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4487,7 +4494,7 @@ class Nokogiri::XML::Node # # Since v1.14.0 # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1553 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1604 def deconstruct_keys(keys); end # Decorate this node with the decorators set up in this node's Document @@ -4504,28 +4511,58 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:503 def default_namespace=(url); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1080 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1131 def delete(name); end # Fetch the Nokogiri::HTML4::ElementDescription for this node. Returns # nil on XML documents and on unknown tags. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1251 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1302 def description; end - # Do xinclude substitution on the subtree below node. If given a block, a - # Nokogiri::XML::ParseOptions object initialized from +options+, will be - # passed to it, allowing more convenient modification of the parser options. + # :call-seq: + # do_xinclude(options = ParseOptions::DEFAULT_XML, safe_copy: true) → self + # do_xinclude(options = ParseOptions::DEFAULT_XML, safe_copy: true) { |options| ... } → self + # + # Do XInclude substitution on the subtree below this node, replacing each ++ with + # the content it references. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:530 - def do_xinclude(options = T.unsafe(nil)); end + # [Parameters] + # - +options+ (Nokogiri::XML::ParseOptions) The parser options for the substitution. (default + # +ParseOptions::DEFAULT_XML+) + # + # [Optional Keyword Arguments] + # - +safe_copy:+ (Boolean) Operate on a defensive copy of each ++ element, to + # prevent libxml2 from freeing memory that is bound to live Ruby objects. (default +true+) + # + # When +true+, each ++ is processed on an unwrapped copy of itself, so libxml2 + # frees the copy while the original node is unlinked from the document and kept alive. This + # prevents a use-after-free when the ++ node, or any of its descendants or + # namespaces, has already been exposed to Ruby; as a consequence such a wrapped node ends up + # detached from the document rather than removed or converted in place. + # + # When +false+, the document is processed in place. This is faster but only safe when nothing + # in the subtree has been exposed to Ruby (for example, immediately after parsing), which is + # why Document.parse uses it. + # + # This option has no effect on the pure-Java backend, which performs XInclude substitution + # during parsing. + # + # [Yields] + # If a block is given, a Nokogiri::XML::ParseOptions object initialized from +options+ is + # yielded to it, which can be configured before substitution. + # + # [Returns] +self+ (Nokogiri::XML::Node) + # + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:574 + def do_xinclude(options = T.unsafe(nil), safe_copy: T.unsafe(nil)); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def document; end # Returns true if this is a Document # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1229 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1280 def document?; end # :call-seq: @@ -4546,21 +4583,21 @@ class Nokogiri::XML::Node # Iterate over each attribute name and value pair for this Node. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:710 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:761 def each; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1269 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1320 def elem?; end # Returns true if this is an Element node # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1265 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1316 def element?; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def element_children; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:553 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:604 def elements; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4575,28 +4612,28 @@ class Nokogiri::XML::Node # Create a DocumentFragment containing +tags+ that is relative to _this_ # context node. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1097 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1148 def fragment(tags); end # Returns true if this is a DocumentFragment # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1244 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1295 def fragment?; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1081 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1132 def get_attribute(name); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1084 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1135 def has_attribute?(_arg0); end # Returns true if this is an HTML4::Document or HTML5::Document node # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1224 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1275 def html?; end # Get the inner_html for this node's Node#children # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1279 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1330 def inner_html(options = T.unsafe(nil)); end # Set the content for this Node to +node_or_tags+. @@ -4619,7 +4656,7 @@ class Nokogiri::XML::Node # :section: # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:548 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:599 def inner_text; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4630,7 +4667,7 @@ class Nokogiri::XML::Node # Get the attribute names for this Node. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:704 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:755 def keys; end # :call-seq: @@ -4684,7 +4721,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:967 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1018 def kwattr_add(attribute_name, keywords); end # :call-seq: @@ -4733,7 +4770,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1020 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1071 def kwattr_append(attribute_name, keywords); end # :call-seq: @@ -4772,7 +4809,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1063 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1114 def kwattr_remove(attribute_name, keywords); end # :call-seq: @@ -4801,7 +4838,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:913 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:964 def kwattr_values(attribute_name); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4821,13 +4858,13 @@ class Nokogiri::XML::Node # Returns true if this Node matches +selector+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1090 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1141 def matches?(selector); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:551 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:602 def name; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:543 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:594 def name=(_arg0); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4887,16 +4924,16 @@ class Nokogiri::XML::Node # # "xmlns"=>"http://example.com/root", # # "xmlns:in_scope"=>"http://example.com/in_scope"} # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1200 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1251 def namespaces; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_content=(_arg0); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:538 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:589 def next; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:540 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:591 def next=(node_or_tags); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4926,7 +4963,7 @@ class Nokogiri::XML::Node # *this* node. Returns a XML::NodeSet containing the nodes parsed from # +string_or_io+. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1105 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1156 def parse(string_or_io, options = T.unsafe(nil)); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4948,10 +4985,10 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:204 def prepend_child(node_or_tags); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:539 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:590 def previous; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:541 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:592 def previous=(node_or_tags); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -4962,20 +4999,20 @@ class Nokogiri::XML::Node # Returns true if this is a ProcessingInstruction node # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1234 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1285 def processing_instruction?; end # Is this a read only node? # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1259 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1310 def read_only?; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:542 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:593 def remove; end # Remove the attribute named +name+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:718 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:769 def remove_attribute(name); end # :call-seq: @@ -5024,7 +5061,7 @@ class Nokogiri::XML::Node # node # =>
# node.remove_class(["section", "float"]) # =>
# - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:884 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:935 def remove_class(names = T.unsafe(nil)); end # Replace this Node with +node_or_tags+. @@ -5052,10 +5089,10 @@ class Nokogiri::XML::Node # config.format.as_xml # end # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1364 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1415 def serialize(*args, &block); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1083 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1134 def set_attribute(name, value); end # Swap this Node for +node_or_tags+ @@ -5070,12 +5107,12 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:439 def swap(node_or_tags); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:549 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:600 def text; end # Returns true if this is a Text node # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1239 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1290 def text?; end # Serialize this Node to HTML @@ -5085,16 +5122,16 @@ class Nokogiri::XML::Node # See Node#write_to for a list of +options+. For formatted output, # use Node#to_xhtml instead. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1391 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1442 def to_html(options = T.unsafe(nil)); end # Turn this node in to a string. If the document is HTML, this method # returns html. If the document is XML, this method returns XML. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1274 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1325 def to_s; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:550 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:601 def to_str; end # Serialize this Node to XHTML using +options+ @@ -5102,7 +5139,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1412 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1463 def to_xhtml(options = T.unsafe(nil)); end # Serialize this Node to XML using +options+ @@ -5110,15 +5147,15 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1401 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1452 def to_xml(options = T.unsafe(nil)); end # Yields self and all children to +block+ recursively. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1317 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1368 def traverse(&block); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:552 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:603 def type; end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -5126,12 +5163,12 @@ class Nokogiri::XML::Node # Does this Node's attributes include # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:698 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:749 def value?(value); end # Get the attribute values for this Node. # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:692 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:743 def values; end # :call-seq: @@ -5185,7 +5222,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1469 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1520 def write_html_to(io, options = T.unsafe(nil)); end # :call-seq: @@ -5210,14 +5247,14 @@ class Nokogiri::XML::Node # # node.write_to(io, indent_text: '-', indent: 2) # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1440 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1491 def write_to(io, *options); end # Write Node as XHTML to +io+ with +options+ # # See Node#write_to for a list of +options+ # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1477 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1528 def write_xhtml_to(io, options = T.unsafe(nil)); end # Write Node as XML to +io+ with +options+ @@ -5226,28 +5263,31 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of options # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1487 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1538 def write_xml_to(io, options = T.unsafe(nil)); end # Returns true if this is an XML::Document node # - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1219 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1270 def xml?; end protected - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1567 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1618 def coerce(data); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_copy_with_args(_arg0, _arg1, _arg2); end + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 + def safe_process_xinclude(_arg0); end + private # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def add_child_node(_arg0); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1639 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1690 def add_child_node_and_reparent_attrs(node); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -5256,7 +5296,7 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def add_previous_sibling_node(_arg0); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1601 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1652 def add_sibling(next_or_previous, node_or_tags); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -5274,10 +5314,10 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def in_context(_arg0, _arg1); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1633 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1684 def inspect_attributes; end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1589 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1640 def keywordify(keywords); end # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 @@ -5298,10 +5338,10 @@ class Nokogiri::XML::Node # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def set_namespace(_arg0); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1623 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1674 def to_format(save_option, options); end - # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1628 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1679 def write_format_to(save_option, io, options); end class << self @@ -5330,10 +5370,10 @@ Nokogiri::XML::Node::CDATA_SECTION_NODE = T.let(T.unsafe(nil), Integer) # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:77 Nokogiri::XML::Node::COMMENT_NODE = T.let(T.unsafe(nil), Integer) -# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1500 +# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1551 Nokogiri::XML::Node::DECONSTRUCT_KEYS = T.let(T.unsafe(nil), Array) -# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1501 +# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1552 Nokogiri::XML::Node::DECONSTRUCT_METHODS = T.let(T.unsafe(nil), Hash) # DOCB document node type @@ -5391,7 +5431,7 @@ Nokogiri::XML::Node::ENTITY_REF_NODE = T.let(T.unsafe(nil), Integer) # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:87 Nokogiri::XML::Node::HTML_DOCUMENT_NODE = T.let(T.unsafe(nil), Integer) -# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1637 +# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1688 Nokogiri::XML::Node::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array) # Namespace declaration type @@ -5555,6 +5595,16 @@ Nokogiri::XML::Node::TEXT_NODE = T.let(T.unsafe(nil), Integer) # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:101 Nokogiri::XML::Node::XINCLUDE_END = T.let(T.unsafe(nil), Integer) +# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:526 +Nokogiri::XML::Node::XINCLUDE_NAMESPACES = T.let(T.unsafe(nil), Hash) + +# Every top-level in the subtree, in either XInclude namespace, excluding +# includes nested inside another include's fallback (libxml2 only expands those if the +# parent include fails). +# +# pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:535 +Nokogiri::XML::Node::XINCLUDE_QUERY = T.let(T.unsafe(nil), String) + # XInclude start type # # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:99 diff --git a/sorbet/rbi/gems/pp@0.6.3.rbi b/sorbet/rbi/gems/pp@0.6.3.rbi index 6db70b44c..c98af7bf1 100644 --- a/sorbet/rbi/gems/pp@0.6.3.rbi +++ b/sorbet/rbi/gems/pp@0.6.3.rbi @@ -150,10 +150,10 @@ class PP < ::PrettyPrint # pkg:gem/pp#lib/pp.rb:96 def pp(obj, out = T.unsafe(nil), width = T.unsafe(nil)); end - # Returns the sharing detection flag as a boolean value. - # It is false by default. # Returns the sharing detection flag as a boolean value. # It is false (nil) by default. + # Returns the sharing detection flag as a boolean value. + # It is false by default. # # pkg:gem/pp#lib/pp.rb:125 def sharing_detection; end @@ -369,8 +369,6 @@ class Set def pretty_print_cycle(pp); end end -class Set::CoreSet < ::Set; end - class String include ::Comparable diff --git a/sorbet/rbi/gems/prism@1.9.0.rbi b/sorbet/rbi/gems/prism@1.9.0.rbi index 8c675c8a1..34faa867c 100644 --- a/sorbet/rbi/gems/prism@1.9.0.rbi +++ b/sorbet/rbi/gems/prism@1.9.0.rbi @@ -33642,17 +33642,20 @@ class Prism::StringQuery # Mirrors the C extension's StringQuery::constant? method. # # pkg:gem/prism#lib/prism.rb:92 - def constant?(_arg0); end + sig { params(string: String).returns(T::Boolean) } + def constant?(string); end # Mirrors the C extension's StringQuery::local? method. # # pkg:gem/prism#lib/prism.rb:92 - def local?(_arg0); end + sig { params(string: String).returns(T::Boolean) } + def local?(string); end # Mirrors the C extension's StringQuery::method_name? method. # # pkg:gem/prism#lib/prism.rb:92 - def method_name?(_arg0); end + sig { params(string: String).returns(T::Boolean) } + def method_name?(string); end end end diff --git a/sorbet/rbi/gems/psych@5.3.1.rbi b/sorbet/rbi/gems/psych@5.3.1.rbi index d348bf0e0..dd8c444d7 100644 --- a/sorbet/rbi/gems/psych@5.3.1.rbi +++ b/sorbet/rbi/gems/psych@5.3.1.rbi @@ -2383,5 +2383,3 @@ class Set # pkg:gem/psych#lib/psych/core_ext.rb:32 def init_with(coder); end end - -class Set::CoreSet < ::Set; end diff --git a/sorbet/rbi/gems/racc@1.8.1.rbi b/sorbet/rbi/gems/racc@1.8.1.rbi index 8e9ad6552..57ffe0d50 100644 --- a/sorbet/rbi/gems/racc@1.8.1.rbi +++ b/sorbet/rbi/gems/racc@1.8.1.rbi @@ -140,13 +140,9 @@ end # pkg:gem/racc#lib/racc/parser.rb:205 Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol) -Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String) - # pkg:gem/racc#lib/racc/parser.rb:207 Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String) -Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String) - # pkg:gem/racc#lib/racc/parser.rb:187 Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rdoc@7.2.0.rbi b/sorbet/rbi/gems/rdoc@7.2.0.rbi index b0e961834..8005bc209 100644 --- a/sorbet/rbi/gems/rdoc@7.2.0.rbi +++ b/sorbet/rbi/gems/rdoc@7.2.0.rbi @@ -1586,19 +1586,19 @@ class RDoc::Context < ::RDoc::CodeObject # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:102 def current_line_visibility=(_arg0); end + # Sets the current documentation section of documentation + # # The current documentation section that new items will be added to. If # temporary_section is available it will be used. # - # Sets the current documentation section of documentation - # # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:681 def current_section; end + # Sets the current documentation section of documentation + # # The current documentation section that new items will be added to. If # temporary_section is available it will be used. # - # Sets the current documentation section of documentation - # # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:45 def current_section=(_arg0); end @@ -3248,11 +3248,12 @@ end # # pkg:gem/rdoc#lib/rdoc/markdown.rb:182 class RDoc::Markdown - # Creates a new markdown parser that enables the given +extensions+. # This is distinct from setup_parser so that a standalone parser # can redefine #initialize and still have access to the proper # parser setup code. # + # Creates a new markdown parser that enables the given +extensions+. + # # pkg:gem/rdoc#lib/rdoc/markdown.rb:188 def initialize(extensions = T.unsafe(nil), debug = T.unsafe(nil)); end