diff --git a/Gemfile.lock b/Gemfile.lock index 117b3b3af..d0791cf47 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -179,16 +179,17 @@ GEM google-protobuf (4.36.0-x86_64-linux-musl) bigdecimal rake (~> 13.3) - graphql (2.6.9) + graphql (2.6.10) base64 fiber-storage logger hashdiff (1.2.1) i18n (1.15.2) concurrent-ruby (~> 1.0) - identity_cache (1.6.4) + identity_cache (1.6.5) activerecord (>= 7.0) ar_transaction_changes (~> 1.1) + benchmark io-console (0.8.2) irb (1.18.0) pp (>= 0.6.0) @@ -325,7 +326,7 @@ GEM regexp_parser (2.12.0) reline (0.6.3) io-console (~> 0.5) - require-hooks (0.4.1) + require-hooks (0.5.1) rexml (3.4.4) rubocop (1.90.0) json (>= 2.3) @@ -374,15 +375,15 @@ GEM rack (>= 3.2.0) redis-client (>= 0.29.0) smart_properties (1.17.0) - sorbet (0.6.13433) - sorbet-static (= 0.6.13433) - sorbet-runtime (0.6.13433) - sorbet-static (0.6.13433-aarch64-linux) - sorbet-static (0.6.13433-universal-darwin) - sorbet-static (0.6.13433-x86_64-linux) - sorbet-static-and-runtime (0.6.13433) - sorbet (= 0.6.13433) - sorbet-runtime (= 0.6.13433) + sorbet (0.6.13454) + sorbet-static (= 0.6.13454) + sorbet-runtime (0.6.13454) + sorbet-static (0.6.13454-aarch64-linux) + sorbet-static (0.6.13454-universal-darwin) + sorbet-static (0.6.13454-x86_64-linux) + sorbet-static-and-runtime (0.6.13454) + sorbet (= 0.6.13454) + sorbet-runtime (= 0.6.13454) spoom (1.8.7) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -391,7 +392,7 @@ GEM rexml (>= 3.2.6) sorbet-static-and-runtime (>= 0.5.10187) thor (>= 0.19.2) - sprockets (4.4.0) + sprockets (4.4.1) concurrent-ruby (~> 1.1) logger rack (>= 2.2.4, < 4) @@ -532,10 +533,10 @@ CHECKSUMS google-protobuf (4.36.0-x86_64-darwin) sha256=6cb938760546ee5ce57d04ed358ea10d0278b6f1ddea35e100c278f429afc25b google-protobuf (4.36.0-x86_64-linux-gnu) sha256=8c253f7cb7647cdf1f54fc3f215e151206b5159e03d74fe29b8599264903de2b google-protobuf (4.36.0-x86_64-linux-musl) sha256=d6c510ff9743b3dcde6acdea06512e4e4ecf53246e5c5b689879861e05d4738a - graphql (2.6.9) sha256=afe7bc03164f1a61abc66a415744ffd315c5aca116c9f3438c57391a431e4fe5 + graphql (2.6.10) sha256=9b7c8633767f516ff9d48a8d6305b2a00a2101c82aa871b92e69086944f9f83e hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1 i18n (1.15.2) sha256=00f9eb62412fe593b2a65a97daa75300d37abb8f7202ec748e94b6d46a9dd1b5 - identity_cache (1.6.4) sha256=3f043ff06577765ef532656b1af1058f9a983edcf525ba4f5fa79f0bd6324f26 + identity_cache (1.6.5) sha256=cbac45390561ce59f399ae671019f350bb1e7090ae7ded4bbe5249de6691da2b io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3 json (2.21.2) sha256=1f1d3b7cf2b3ba1a69beca0bb6db13d5438b80bff3cd54cdaaa620b9b07c1c6a @@ -593,7 +594,7 @@ CHECKSUMS redis-client (0.30.1) sha256=5151bc5c7bbfe48623732cdae3b900d8a22dc691cc7cdfacfb351ac55116522d regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835 - require-hooks (0.4.1) sha256=3a4cd3ed0131b9ec5c2e68f64cb0c5ba56daec6fc363d56e8eef74816c374d7d + require-hooks (0.5.1) sha256=49a6b14518b91c5b8006d0644ef257af0ca033df23625bd4e314a8c5282191d9 rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142 rubocop (1.90.0) sha256=9eb4c065b5c5154e4ef554c547972f3905a9eb6b53e657e580b6796b54bf8242 rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db @@ -611,14 +612,14 @@ CHECKSUMS shopify-money (4.1.1) sha256=523078e44bfde1920f8b3487ddf9144e0fb6af8cdf67e212bed02025c5c5f423 sidekiq (8.1.7) sha256=91ad48c7e6c32e1846bf1d5b74c27948758049b93fed0cb539f8d586c7de3415 smart_properties (1.17.0) sha256=f9323f8122e932341756ddec8e0ac9ec6e238408a7661508be99439ca6d6384b - sorbet (0.6.13433) sha256=07d3bd08dbf389acfe8d7624201aec8304e76fb6e15454a788e5ce9ba95e1d94 - sorbet-runtime (0.6.13433) sha256=55074ef646ed9089ea5cff4e564f2c5d53e629f0d6e681ca7364daabc1ce1e16 - sorbet-static (0.6.13433-aarch64-linux) sha256=5b9b14489860f6223d3b69d8340b7940a5aacd21c936e8feaf3a3a6054b4aff2 - sorbet-static (0.6.13433-universal-darwin) sha256=5758c91ee79fe4e94930c85a2621467e9b66a8487174afa55e5883e6069f7e2d - sorbet-static (0.6.13433-x86_64-linux) sha256=e920d57e7f9ac0573ec6e68c78365d8995b6e160d6649ec271c3ba7c4daf4899 - sorbet-static-and-runtime (0.6.13433) sha256=e73e3df6039d1fa744a03aa81e1e08383e4c8d65cc707cfcc2fa112d76ea872a + sorbet (0.6.13454) sha256=3273dda082b8aa5ecf79b7675e2b79127f202a45370d881124af3af19a3c2b35 + sorbet-runtime (0.6.13454) sha256=b9441ae4bd265f51861c54240e8c5888f6355e3284885b21c5154b184e791d80 + sorbet-static (0.6.13454-aarch64-linux) sha256=e09dd1e6cd7e63b3fb6c8c9c6785eeb55a6c4afecb0f932538ee4401b4552632 + sorbet-static (0.6.13454-universal-darwin) sha256=6ac0cf10ae2b4e0e9ecabb886f9be739046424dc35d100e7888c8538a223f93a + sorbet-static (0.6.13454-x86_64-linux) sha256=569c52ea926e514ebfdc64825f65cd188b7aba5c1b480cc26e1870fd53d5e2c0 + sorbet-static-and-runtime (0.6.13454) sha256=defc00684a6f8bd498bb70a4541f293b9232938a776137946247cba4baed3d20 spoom (1.8.7) sha256=81960502cdf23aa991f015988aa5dd43325e23ae4318b8e00d541299cbdb70f6 - sprockets (4.4.0) sha256=84d5819b31e65bf3e61d71241465e65b341947322f6bd57400648bb11e6bb024 + sprockets (4.4.1) sha256=fbd665edad0916de5c7abefef0fc616866a60c5e48ce2846f39ac3fc5df9e184 sqlite3 (2.9.6-aarch64-linux-gnu) sha256=d8b1f7d23efd7abac285775a9566562fc7debfef79d594e3a20354406fb7907c sqlite3 (2.9.6-aarch64-linux-musl) sha256=3579e1c98cdc7ff5c3722847bb63ed4e1efb7ff675cb5e1e48ef2d4da5fb3bc9 sqlite3 (2.9.6-arm64-darwin) sha256=849b5d7f795e60fe25076d62c72dd722beb45b3850b516ad978d60ee848ec15b diff --git a/sorbet/rbi/gems/graphql@2.6.9.rbi b/sorbet/rbi/gems/graphql@2.6.10.rbi similarity index 99% rename from sorbet/rbi/gems/graphql@2.6.9.rbi rename to sorbet/rbi/gems/graphql@2.6.10.rbi index c4b04f20d..0e941bae2 100644 --- a/sorbet/rbi/gems/graphql@2.6.9.rbi +++ b/sorbet/rbi/gems/graphql@2.6.10.rbi @@ -1020,16 +1020,23 @@ class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:21 def initialize(*_arg0, **_arg1, &_arg2); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:177 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:195 def active_run; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:168 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:186 def append_job(callable = T.unsafe(nil), &block); end # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:29 def create_pending_run; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:173 + # The current task's run, but only if it belongs to this dataloader. A different + # dataloader may be running inside one of our tasks (or vice versa), e.g. a query + # executed from a resolver or a subscription trigger; its run must not be reused. + # + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:202 + def current_task_run; end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:191 def lazy_at_depth(depth, lazy); end # @api private @@ -1037,10 +1044,10 @@ class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:27 def pending_sources; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:216 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:242 def run(trace_query_lazy: T.unsafe(nil)); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:181 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:207 def run_isolated; end # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:34 @@ -1048,13 +1055,13 @@ class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader private - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:265 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:291 def run_queue(run, condition, mode); end # Use a separate method for this so that the outer loop's reassignment of `pending_work` # doesn't affect already-running tasks which (would) close over that variable # - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:312 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:338 def spawn_tasks(run, mode, condition, pending_work, num_tasks); end class << self @@ -1066,83 +1073,91 @@ class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader end end -# pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:47 +# pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:51 class GraphQL::Dataloader::AsyncDataloader::Run - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:48 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:52 def initialize(dataloader, total_fiber_limit, jobs_fiber_limit); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:109 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:127 def check_error!; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:82 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:86 def close_queues; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:150 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:168 def current_sources_fiber_limit; end + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:76 + def dataloader; end + # Signalled tasks don't appear in any accounting until their first slice # pushes `:resumed_task`, so they have to be counted at signal time: # - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:105 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:123 def expect_resumes(count); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:99 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:117 def has_bandwidth?; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:95 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:113 def has_pending_work?; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:72 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:76 def jobs; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:74 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:78 def jobs_bandwidth?; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:72 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:76 def jobs_fiber_limit; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:72 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:76 def lazies_at_depth; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:116 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:134 def new_queues(mode); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:91 + # Push to the tasks_channel, tolerating a closed channel: on the error path, `run_queue` + # closes the channel while sibling tasks can still run one more slice before + # `root_task.cancel` reaches them. Record `:task_error` payloads so they aren't lost, and + # return false so the caller can stop the task instead of raising `ClosedError` into user code. + # + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:95 + def push_task_message(msg, data); end + + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:109 def quiesced?; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:70 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:74 def root_task; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:70 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:74 def root_task=(_arg0); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:146 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:164 def running?; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:72 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:76 def snoozed_jobs_condition; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:72 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:76 def snoozed_sources_condition; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:78 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:82 def sources_bandwidth?; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:72 - def tasks_channel; end - - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:70 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:74 def trace; end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:70 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:74 def trace=(_arg0); end - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:87 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:105 def wait_for_activity; end private - # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:161 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:179 def running_count; end end @@ -1577,7 +1592,7 @@ class GraphQL::Execution::FieldResolveStep # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:623 def build_graphql_result(graphql_result, key, field_result, return_type, is_nn, is_list, is_from_array); end - # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:792 + # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:799 def error_instance_array(size, err_prototype); end # pkg:gem/graphql#lib/graphql/execution/field_resolve_step.rb:686 @@ -1822,9 +1837,9 @@ class GraphQL::Execution::Interpreter::ExecutionErrors def add(err_or_msg); end end -# pkg:gem/graphql#lib/graphql/execution/interpreter.rb:146 +# pkg:gem/graphql#lib/graphql/execution/interpreter.rb:148 class GraphQL::Execution::Interpreter::ListResultFailedError < ::GraphQL::Error - # pkg:gem/graphql#lib/graphql/execution/interpreter.rb:147 + # pkg:gem/graphql#lib/graphql/execution/interpreter.rb:149 def initialize(value:, path:, field:); end end @@ -2662,13 +2677,13 @@ class GraphQL::Execution::Runner # pkg:gem/graphql#lib/graphql/execution/runner.rb:55 def finalizers; end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:162 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:169 def gather_selections(type_defn, ast_selections, selections_step, query, all_selections, prototype_result, into:); end # pkg:gem/graphql#lib/graphql/execution/runner.rb:55 def input_values; end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:205 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:212 def lazy?(object); end # pkg:gem/graphql#lib/graphql/execution/runner.rb:55 @@ -2686,7 +2701,7 @@ class GraphQL::Execution::Runner # pkg:gem/graphql#lib/graphql/execution/runner.rb:55 def static_type_at; end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:214 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:221 def type_condition_applies?(context, concrete_type, type_name); end # pkg:gem/graphql#lib/graphql/execution/runner.rb:39 @@ -2697,13 +2712,13 @@ class GraphQL::Execution::Runner private - # pkg:gem/graphql#lib/graphql/execution/runner.rb:227 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:234 def begin_execute(isolated_steps, results, query, root_type, root_value); end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:394 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:401 def directives_include?(query, ast_selection); end - # pkg:gem/graphql#lib/graphql/execution/runner.rb:415 + # pkg:gem/graphql#lib/graphql/execution/runner.rb:422 def run_isolated_scalar(type, partial); end end @@ -2815,6 +2830,42 @@ class GraphQL::ExecutionError < ::GraphQL::RuntimeError def to_h; end end +# This error is raised when `Types::Float` is given a non-finite input value. +# +# pkg:gem/graphql#lib/graphql/float_decoding_error.rb:4 +class GraphQL::FloatDecodingError < ::GraphQL::RuntimeTypeError + # pkg:gem/graphql#lib/graphql/float_decoding_error.rb:8 + def initialize(value); end + + # The value which couldn't be decoded + # + # pkg:gem/graphql#lib/graphql/float_decoding_error.rb:6 + def float_value; end +end + +# This error is raised when `Types::Float` is asked to return a non-finite value. +# +# pkg:gem/graphql#lib/graphql/float_encoding_error.rb:4 +class GraphQL::FloatEncodingError < ::GraphQL::RuntimeTypeError + # pkg:gem/graphql#lib/graphql/float_encoding_error.rb:14 + def initialize(value, context:); end + + # @return [GraphQL::Schema::Field] The field that returned a non-finite float + # + # pkg:gem/graphql#lib/graphql/float_encoding_error.rb:9 + def field; end + + # The value which couldn't be encoded + # + # pkg:gem/graphql#lib/graphql/float_encoding_error.rb:6 + def float_value; end + + # @return [Array] Where the field appeared in the GraphQL response + # + # pkg:gem/graphql#lib/graphql/float_encoding_error.rb:12 + def path; end +end + # This error is raised when `Types::Int` is given an input value outside of 32-bit integer range. # # For really big integer values, consider `GraphQL::Types::BigInt` @@ -3428,216 +3479,216 @@ class GraphQL::Language::Lexer # This produces a unique integer for bytes 2 and 3 of each keyword string # See https://tenderlovemaking.com/2023/09/02/fast-tokenizers-with-stringscanner.html # - # pkg:gem/graphql#lib/graphql/language/lexer.rb:261 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:264 def _hash(key); end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:30 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:33 def advance; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:181 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:184 def column_number; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:125 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:124 def debug_token_value(token_name); end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:19 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:22 def finished?; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:23 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:26 def freeze; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:177 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:180 def line_number; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:28 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:31 def pos; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:188 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:191 def raise_parse_error(message, line = T.unsafe(nil), col = T.unsafe(nil)); end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:154 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:153 def string_value; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:119 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:118 def token_value; end - # pkg:gem/graphql#lib/graphql/language/lexer.rb:28 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:31 def tokens_count; end class << self # Replace any escaped unicode or whitespace with the _actual_ characters # To avoid allocating more strings, this modifies the string passed into it # - # pkg:gem/graphql#lib/graphql/language/lexer.rb:342 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:345 def replace_escaped_characters_in_place(raw_string); end # This is not used during parsing because the parser # doesn't actually need tokens. # - # pkg:gem/graphql#lib/graphql/language/lexer.rb:369 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:372 def tokenize(string); end end end -# pkg:gem/graphql#lib/graphql/language/lexer.rb:295 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:298 GraphQL::Language::Lexer::BLOCK_QUOTE = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:299 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:302 GraphQL::Language::Lexer::BLOCK_STRING_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:315 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:318 module GraphQL::Language::Lexer::ByteFor; end -# pkg:gem/graphql#lib/graphql/language/lexer.rb:319 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:322 GraphQL::Language::Lexer::ByteFor::ELLIPSIS = T.let(T.unsafe(nil), Integer) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:320 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:323 GraphQL::Language::Lexer::ByteFor::IDENTIFIER = T.let(T.unsafe(nil), Integer) # int or float # -# pkg:gem/graphql#lib/graphql/language/lexer.rb:317 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:320 GraphQL::Language::Lexer::ByteFor::NAME = T.let(T.unsafe(nil), Integer) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:316 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:319 GraphQL::Language::Lexer::ByteFor::NUMBER = T.let(T.unsafe(nil), Integer) # identifier, *not* a keyword # -# pkg:gem/graphql#lib/graphql/language/lexer.rb:321 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:324 GraphQL::Language::Lexer::ByteFor::PUNCTUATION = T.let(T.unsafe(nil), Integer) # identifier or keyword # -# pkg:gem/graphql#lib/graphql/language/lexer.rb:318 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:321 GraphQL::Language::Lexer::ByteFor::STRING = T.let(T.unsafe(nil), Integer) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:193 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:196 GraphQL::Language::Lexer::COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:152 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:151 GraphQL::Language::Lexer::ESCAPED = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:296 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:299 GraphQL::Language::Lexer::ESCAPED_QUOTE = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:139 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:138 GraphQL::Language::Lexer::ESCAPES = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:140 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:139 GraphQL::Language::Lexer::ESCAPES_REPLACE = T.let(T.unsafe(nil), Hash) # Use this array to check, for a given byte that will start a token, # what kind of token might it start? # -# pkg:gem/graphql#lib/graphql/language/lexer.rb:313 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:316 GraphQL::Language::Lexer::FIRST_BYTES = T.let(T.unsafe(nil), Array) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:196 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:199 GraphQL::Language::Lexer::FLOAT_DECIMAL_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:197 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:200 GraphQL::Language::Lexer::FLOAT_EXP_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:291 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:294 GraphQL::Language::Lexer::FOUR_DIGIT_UNICODE = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:194 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:197 GraphQL::Language::Lexer::IDENTIFIER_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:192 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:195 GraphQL::Language::Lexer::IGNORE_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:195 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:198 GraphQL::Language::Lexer::INT_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:201 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:204 GraphQL::Language::Lexer::KEYWORDS = T.let(T.unsafe(nil), Array) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:224 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:227 GraphQL::Language::Lexer::KEYWORD_BY_TWO_BYTES = T.let(T.unsafe(nil), Array) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:223 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:226 GraphQL::Language::Lexer::KEYWORD_REGEXP = T.let(T.unsafe(nil), Regexp) # TODO: FLOAT_EXP_REGEXP should not be allowed to follow INT_REGEXP, integers are not allowed to have exponent parts. # -# pkg:gem/graphql#lib/graphql/language/lexer.rb:199 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:202 GraphQL::Language::Lexer::NUMERIC_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:292 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:295 GraphQL::Language::Lexer::N_DIGIT_UNICODE = T.let(T.unsafe(nil), Regexp) # A sparse array mapping the bytes for each punctuation # to a symbol name for that punctuation # -# pkg:gem/graphql#lib/graphql/language/lexer.rb:283 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:286 GraphQL::Language::Lexer::PUNCTUATION_NAME_FOR_BYTE = T.let(T.unsafe(nil), Array) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:265 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:268 module GraphQL::Language::Lexer::Punctuation; end -# pkg:gem/graphql#lib/graphql/language/lexer.rb:278 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:281 GraphQL::Language::Lexer::Punctuation::AMP = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:276 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:279 GraphQL::Language::Lexer::Punctuation::BANG = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:272 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:275 GraphQL::Language::Lexer::Punctuation::COLON = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:274 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:277 GraphQL::Language::Lexer::Punctuation::DIR_SIGN = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:275 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:278 GraphQL::Language::Lexer::Punctuation::EQUALS = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:270 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:273 GraphQL::Language::Lexer::Punctuation::LBRACKET = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:266 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:269 GraphQL::Language::Lexer::Punctuation::LCURLY = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:268 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:271 GraphQL::Language::Lexer::Punctuation::LPAREN = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:277 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:280 GraphQL::Language::Lexer::Punctuation::PIPE = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:271 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:274 GraphQL::Language::Lexer::Punctuation::RBRACKET = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:267 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:270 GraphQL::Language::Lexer::Punctuation::RCURLY = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:269 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:272 GraphQL::Language::Lexer::Punctuation::RPAREN = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:273 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:276 GraphQL::Language::Lexer::Punctuation::VAR_SIGN = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:289 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:292 GraphQL::Language::Lexer::QUOTE = T.let(T.unsafe(nil), String) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:298 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:301 GraphQL::Language::Lexer::QUOTED_STRING_REGEXP = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:297 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:300 GraphQL::Language::Lexer::STRING_CHAR = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:294 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:297 GraphQL::Language::Lexer::STRING_ESCAPE = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:290 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:293 GraphQL::Language::Lexer::UNICODE_DIGIT = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:293 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:296 GraphQL::Language::Lexer::UNICODE_ESCAPE = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:150 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:149 GraphQL::Language::Lexer::UTF_8 = T.let(T.unsafe(nil), Regexp) -# pkg:gem/graphql#lib/graphql/language/lexer.rb:151 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:150 GraphQL::Language::Lexer::VALID_STRING = T.let(T.unsafe(nil), Regexp) # pkg:gem/graphql#lib/graphql/language.rb:95 @@ -7873,8 +7924,11 @@ class GraphQL::Query::VariableValidationError < ::GraphQL::ExecutionError private - # pkg:gem/graphql#lib/graphql/query/variable_validation_error.rb:36 + # pkg:gem/graphql#lib/graphql/query/variable_validation_error.rb:51 def problem_fields; end + + # pkg:gem/graphql#lib/graphql/query/variable_validation_error.rb:36 + def value_for_extensions(value = T.unsafe(nil)); end end # Read-only access to query variables, applying default values if needed. @@ -14803,68 +14857,80 @@ end # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:6 module GraphQL::StaticValidation::FieldsWillMerge - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:38 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:44 def initialize(*_arg0); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:59 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:68 def on_field(node, _parent); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:52 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:61 def on_operation_definition(node, _parent); end private - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:443 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:449 def cached_sub_fields(node, return_type); end # Collect all fields from selections, expanding fragment spreads inline. # Returns a Hash of { response_key => Field | [Field, ...] } # - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:131 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:140 def collect_fields(selections, owner_type:, parents:); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:137 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:146 def collect_fields_inner(selections, owner_type:, parents:, response_keys:, visited_fragments:); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:108 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:117 def conflicts; end # Core algorithm: collect ALL fields (expanding fragments inline) into a flat # map keyed by response key, then compare within each group. # - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:118 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:127 def conflicts_within_selection_set(node, parent_type); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:291 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:507 + def field_group_signature(fields); end + + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:485 + def field_groups_already_compared?(fields, fields2, mutually_exclusive); end + + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:283 + def field_selection_signature(field); end + + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:297 def field_signature(field); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:282 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:288 def fields_same_signature?(f1, f2); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:303 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:309 def find_conflict(response_key, field1, field2, mutually_exclusive: T.unsafe(nil)); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:457 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:463 def find_conflicts_between(response_keys, response_keys2, mutually_exclusive:); end + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:265 + def find_conflicts_between_selection_groups(response_key, fields); end + # When two fields with the same response key both have sub-selections, # we need to check those sub-selections against each other. # - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:413 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:419 def find_conflicts_between_sub_selection_sets(field1, field2, mutually_exclusive:); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:198 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:207 def find_conflicts_within(response_keys); end # Given two list of parents, find out if they are mutually exclusive # - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:512 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:549 def mutually_exclusive?(parents1, parents2); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:387 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:393 def return_types_conflict?(type1, type2); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:478 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:515 def same_arguments?(field1, field2); end # Quick check: can the direct children of this selection set possibly conflict? @@ -14872,43 +14938,52 @@ module GraphQL::StaticValidation::FieldsWillMerge # and there are no fragments, then no response key can have >1 field, # so there are no merge conflicts to check at this level. # - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:74 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:83 def selections_may_conflict?(selections); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:492 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:529 def serialize_arg(arg_value); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:503 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:540 def serialize_field_args(field); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:547 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:584 def types_mutually_exclusive?(type1, type2); end end -# pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:19 +# pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:18 +GraphQL::StaticValidation::FieldsWillMerge::EXCLUSIVE_COMPARISON = T.let(T.unsafe(nil), Integer) + +# pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:21 class GraphQL::StaticValidation::FieldsWillMerge::Field - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:22 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:24 def initialize(node, definition, owner_type, parents); end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:20 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:39 + def comparison_key; end + + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:22 def definition; end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:20 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:22 def node; end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:20 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:22 def owner_type; end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:20 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:22 def parents; end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:29 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:31 def return_type; end - # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:33 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:35 def unwrapped_return_type; end end +# pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:19 +GraphQL::StaticValidation::FieldsWillMerge::NONEXCLUSIVE_COMPARISON = T.let(T.unsafe(nil), Integer) + # Validates that a selection set is valid if all fields (including spreading any # fragments) either correspond to distinct response names or can be merged # without ambiguity. @@ -19439,10 +19514,10 @@ end class GraphQL::Types::Float < ::GraphQL::Schema::Scalar class << self # pkg:gem/graphql#lib/graphql/types/float.rb:8 - def coerce_input(value, _ctx); end + def coerce_input(value, ctx); end - # pkg:gem/graphql#lib/graphql/types/float.rb:12 - def coerce_result(value, _ctx); end + # pkg:gem/graphql#lib/graphql/types/float.rb:20 + def coerce_result(value, ctx); end end end diff --git a/sorbet/rbi/gems/identity_cache@1.6.4.rbi b/sorbet/rbi/gems/identity_cache@1.6.5.rbi similarity index 99% rename from sorbet/rbi/gems/identity_cache@1.6.4.rbi rename to sorbet/rbi/gems/identity_cache@1.6.5.rbi index 294ca3c9c..a09ac4f12 100644 --- a/sorbet/rbi/gems/identity_cache@1.6.4.rbi +++ b/sorbet/rbi/gems/identity_cache@1.6.5.rbi @@ -1224,13 +1224,16 @@ class IdentityCache::LockWaitTimeout < ::StandardError; end # pkg:gem/identity_cache#lib/identity_cache/mem_cache_store_cas.rb:6 module IdentityCache::MemCacheStoreCAS - # pkg:gem/identity_cache#lib/identity_cache/mem_cache_store_cas.rb:7 + # pkg:gem/identity_cache#lib/identity_cache/mem_cache_store_cas.rb:9 def cas(name, options = T.unsafe(nil)); end - # pkg:gem/identity_cache#lib/identity_cache/mem_cache_store_cas.rb:25 + # pkg:gem/identity_cache#lib/identity_cache/mem_cache_store_cas.rb:27 def cas_multi(*names, **options); end end +# pkg:gem/identity_cache#lib/identity_cache/mem_cache_store_cas.rb:7 +IdentityCache::MemCacheStoreCAS::Entry = ActiveSupport::Cache::Entry + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:7 class IdentityCache::MemoizedCacheProxy # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:10 diff --git a/sorbet/rbi/gems/require-hooks@0.4.1.rbi b/sorbet/rbi/gems/require-hooks@0.5.1.rbi similarity index 100% rename from sorbet/rbi/gems/require-hooks@0.4.1.rbi rename to sorbet/rbi/gems/require-hooks@0.5.1.rbi diff --git a/sorbet/rbi/gems/sprockets@4.4.0.rbi b/sorbet/rbi/gems/sprockets@4.4.1.rbi similarity index 99% rename from sorbet/rbi/gems/sprockets@4.4.0.rbi rename to sorbet/rbi/gems/sprockets@4.4.1.rbi index f62c207f9..96197e57a 100644 --- a/sorbet/rbi/gems/sprockets@4.4.0.rbi +++ b/sorbet/rbi/gems/sprockets@4.4.1.rbi @@ -312,7 +312,7 @@ class Sprockets::Base # # environment['application.js'] # - # pkg:gem/sprockets#lib/sprockets/base.rb:129 + # pkg:gem/sprockets#lib/sprockets/base.rb:122 def [](*args, **options); end # Get persistent cache store @@ -334,10 +334,10 @@ class Sprockets::Base # pkg:gem/sprockets#lib/sprockets/base.rb:53 def cached; end - # pkg:gem/sprockets#lib/sprockets/base.rb:150 + # pkg:gem/sprockets#lib/sprockets/base.rb:143 def compress_from_root(uri); end - # pkg:gem/sprockets#lib/sprockets/base.rb:154 + # pkg:gem/sprockets#lib/sprockets/base.rb:147 def expand_from_root(uri); end # Internal: Compute digest for path. @@ -346,48 +346,30 @@ class Sprockets::Base # # Returns a String digest or nil. # - # pkg:gem/sprockets#lib/sprockets/base.rb:70 + # pkg:gem/sprockets#lib/sprockets/base.rb:63 def file_digest(path); end - # pkg:gem/sprockets#lib/sprockets/base.rb:96 + # pkg:gem/sprockets#lib/sprockets/base.rb:89 def find_all_linked_assets(*args); end # Find asset by logical path or expanded path. # - # pkg:gem/sprockets#lib/sprockets/base.rb:89 + # pkg:gem/sprockets#lib/sprockets/base.rb:82 def find_asset(*args, **options); end # Find asset by logical path or expanded path. # # If the asset is not found an error will be raised. # - # pkg:gem/sprockets#lib/sprockets/base.rb:136 + # pkg:gem/sprockets#lib/sprockets/base.rb:129 def find_asset!(*args); end - # By default sprockets tries to quickly revalidate the cache for a source file - # by comparing its last modified time. - # This is efficient in development, but in some CI or producton environments - # where the source files are restored from version control, the last modified time - # tend to be somewhat random, and checking it is just needless overhead. - # - # pkg:gem/sprockets#lib/sprockets/base.rb:63 - def ignore_mtime; end - - # By default sprockets tries to quickly revalidate the cache for a source file - # by comparing its last modified time. - # This is efficient in development, but in some CI or producton environments - # where the source files are restored from version control, the last modified time - # tend to be somewhat random, and checking it is just needless overhead. - # - # pkg:gem/sprockets#lib/sprockets/base.rb:63 - def ignore_mtime=(_arg0); end - # pkg:gem/sprockets#lib/sprockets/base.rb:56 def index; end # Pretty inspect # - # pkg:gem/sprockets#lib/sprockets/base.rb:144 + # pkg:gem/sprockets#lib/sprockets/base.rb:137 def inspect; end end @@ -1110,7 +1092,7 @@ module Sprockets::Configuration # def asset_url; end # end # - # pkg:gem/sprockets#lib/sprockets/configuration.rb:77 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:90 def context_class; end # Public: Returns a `Digest` implementation class. @@ -1129,6 +1111,18 @@ module Sprockets::Configuration # pkg:gem/sprockets#lib/sprockets/configuration.rb:66 def digest_class=(klass); end + # pkg:gem/sprockets#lib/sprockets/configuration.rb:70 + def ignore_mtime; end + + # By default sprockets tries to quickly revalidate the cache for a source file + # by comparing its last modified time. + # This is efficient in development, but in some CI or producton environments + # where the source files are restored from version control, the last modified time + # tend to be somewhat random, and checking it is just needless overhead. + # + # pkg:gem/sprockets#lib/sprockets/configuration.rb:79 + def ignore_mtime=(ignore_mtime); end + # pkg:gem/sprockets#lib/sprockets/configuration.rb:15 def initialize_configuration(parent); end