From 8d51c942bac1ef9e1bd1bbc5d8a8e7c7b2816c65 Mon Sep 17 00:00:00 2001 From: tsmartt <81187695+tsmartt@users.noreply.github.com> Date: Fri, 21 Jan 2022 10:50:39 -0600 Subject: [PATCH] Fix Totp tests (#3527) * Fix Totp tests * Replace yarn audit with configurable one Most of the errors we see coming from yarn audit are for dev dependencies which have no impact in production. See: https://github.com/rails/webpacker/issues/2969#issuecomment-838417006 and https://github.com/rails/webpacker/issues/3017#issuecomment-840855095 We need to be able to suppress warnings which do not apply. * Audit lower but allowlist more * Gem updates * Sorbet updates for CI to pass * Standard rb fix * Update arm check --- .audit-ci.json | 4 + .github/workflows/build.yml | 2 +- Gemfile | 13 +- Gemfile.lock | 70 +- .../api/v1/public/base_controller.rb | 2 +- .../api/v2/public/base_controller.rb | 2 +- .../api/v3/public/base_controller.rb | 2 +- .../channel_transfer_controller.rb | 5 +- app/helpers/admin/faq_helper.rb | 2 +- app/helpers/admin/organization_helper.rb | 2 +- app/helpers/admin/publishers_helper.rb | 2 +- app/helpers/application_helper.rb | 2 +- app/helpers/promos_helper.rb | 2 +- app/jobs/cache_uphold_tips.rb | 2 +- app/jobs/generate_referral_report_job.rb | 2 +- ...nattached_promo_registrations_stats_job.rb | 2 +- app/models/case_note.rb | 2 +- app/models/faq_category.rb | 2 +- app/models/github_channel_details.rb | 2 +- app/models/organization.rb | 2 +- app/models/promo_campaign.rb | 2 +- app/models/publisher.rb | 2 +- app/models/reddit_channel_details.rb | 2 +- app/models/vimeo_channel_details.rb | 2 +- app/services/payout/bitflyer_service.rb | 2 +- app/services/payout/gemini_service.rb | 2 +- app/services/payout/uphold_service.rb | 2 +- .../promo/assign_promo_to_channel_service.rb | 2 +- config/environments/test.rb | 2 +- config/initializers/assets.rb | 2 +- config/initializers/cookies_serializer.rb | 2 +- config/initializers/fastly.rb | 2 +- config/initializers/login_activities.rb | 2 +- config/initializers/services/gemini_client.rb | 2 +- config/initializers/stripe.rb | 2 +- ...add_proper_index_to_site_banner_lookups.rb | 1 + lib/eyeshade/referral_balance.rb | 6 +- lib/publishers/fetch.rb | 4 +- package.json | 39 +- sorbet/rails-rbi/active_record_base.rbi | 8 +- sorbet/rails-rbi/active_record_relation.rbi | 10 +- sorbet/rails-rbi/mailers/batch_mailer.rbi | 2 +- sorbet/rails-rbi/mailers/devise/mailer.rbi | 2 +- sorbet/rails-rbi/mailers/internal_mailer.rbi | 2 +- sorbet/rails-rbi/mailers/partner_mailer.rbi | 2 +- sorbet/rails-rbi/mailers/promo_mailer.rbi | 2 +- sorbet/rails-rbi/mailers/publisher_mailer.rbi | 2 +- .../models/action_mailbox/inbound_email.rbi | 18 +- .../models/action_mailbox/record.rbi | 18 +- .../rails-rbi/models/action_text/record.rbi | 18 +- .../models/action_text/rich_text.rbi | 18 +- .../active_record/internal_metadata.rbi | 18 +- .../models/active_record/schema_migration.rbi | 18 +- .../active_record/session_store/session.rbi | 18 +- .../models/active_storage/attachment.rbi | 18 +- .../rails-rbi/models/active_storage/blob.rbi | 18 +- .../models/active_storage/record.rbi | 18 +- .../models/active_storage/variant_record.rbi | 18 +- .../rails-rbi/models/base_channel_details.rbi | 20 +- .../rails-rbi/models/bitflyer_connection.rbi | 20 +- sorbet/rails-rbi/models/cached_uphold_tip.rbi | 18 +- sorbet/rails-rbi/models/case.rbi | 20 +- sorbet/rails-rbi/models/case_note.rbi | 20 +- sorbet/rails-rbi/models/case_reply.rbi | 18 +- sorbet/rails-rbi/models/channel.rbi | 20 +- sorbet/rails-rbi/models/channel_transfer.rbi | 20 +- .../rails-rbi/models/csp_violation_report.rbi | 18 +- sorbet/rails-rbi/models/daily_metric.rbi | 18 +- sorbet/rails-rbi/models/faq.rbi | 18 +- sorbet/rails-rbi/models/faq_category.rbi | 18 +- sorbet/rails-rbi/models/gemini_connection.rbi | 20 +- .../models/gemini_connection_for_channel.rbi | 20 +- .../models/github_channel_details.rbi | 20 +- sorbet/rails-rbi/models/invoice.rbi | 20 +- sorbet/rails-rbi/models/invoice_file.rbi | 20 +- sorbet/rails-rbi/models/login_activity.rbi | 20 +- sorbet/rails-rbi/models/membership.rbi | 20 +- sorbet/rails-rbi/models/organization.rbi | 20 +- .../models/organization_permission.rbi | 18 +- .../rails-rbi/models/paper_trail/version.rbi | 18 +- sorbet/rails-rbi/models/payout_message.rbi | 20 +- sorbet/rails-rbi/models/payout_report.rbi | 20 +- sorbet/rails-rbi/models/paypal_connection.rbi | 20 +- sorbet/rails-rbi/models/potential_payment.rbi | 20 +- sorbet/rails-rbi/models/promo_campaign.rbi | 20 +- .../rails-rbi/models/promo_registration.rbi | 20 +- sorbet/rails-rbi/models/publisher_note.rbi | 20 +- .../models/publisher_status_update.rbi | 20 +- .../models/publisher_whitelist_update.rbi | 20 +- .../models/reddit_channel_details.rbi | 20 +- sorbet/rails-rbi/models/site_banner.rbi | 20 +- .../rails-rbi/models/site_banner_lookup.rbi | 20 +- .../rails-rbi/models/site_channel_details.rbi | 20 +- sorbet/rails-rbi/models/stripe_connection.rbi | 20 +- sorbet/rails-rbi/models/totp_registration.rbi | 20 +- .../models/twitch_channel_details.rbi | 20 +- .../models/twitter_channel_details.rbi | 20 +- .../two_factor_authentication_removal.rbi | 20 +- sorbet/rails-rbi/models/u2f_registration.rbi | 20 +- sorbet/rails-rbi/models/uphold_connection.rbi | 20 +- .../models/uphold_connection_for_channel.rbi | 20 +- .../rails-rbi/models/uphold_status_report.rbi | 20 +- .../models/user_authentication_token.rbi | 20 +- .../models/vimeo_channel_details.rbi | 20 +- .../models/youtube_channel_details.rbi | 20 +- sorbet/rails-rbi/type_assert.rbi | 2 +- sorbet/rails-rbi/typed_params.rbi | 2 +- ...le@6.1.4.1.rbi => actioncable@6.1.4.4.rbi} | 2 +- ...@6.1.4.1.rbi => actionmailbox@6.1.4.4.rbi} | 0 ...r@6.1.4.1.rbi => actionmailer@6.1.4.4.rbi} | 2 +- ...ack@6.1.4.1.rbi => actionpack@6.1.4.4.rbi} | 46 +- ...ext@6.1.4.1.rbi => actiontext@6.1.4.4.rbi} | 2 +- ...iew@6.1.4.1.rbi => actionview@6.1.4.4.rbi} | 2 +- ...i => active_model_serializers@0.10.13.rbi} | 7 +- ...ejob@6.1.4.1.rbi => activejob@6.1.4.4.rbi} | 14 +- ...el@6.1.4.1.rbi => activemodel@6.1.4.4.rbi} | 0 ...d@6.1.4.1.rbi => activerecord@6.1.4.4.rbi} | 36 +- ...@6.1.4.1.rbi => activestorage@6.1.4.4.rbi} | 0 ...@6.1.4.1.rbi => activesupport@6.1.4.4.rbi} | 20 +- ....0.rbi => autoprefixer-rails@10.4.2.0.rbi} | 0 ...1.525.0.rbi => aws-partitions@1.549.0.rbi} | 0 ...e@3.122.0.rbi => aws-sdk-core@3.125.5.rbi} | 38 +- ...-kms@1.51.0.rbi => aws-sdk-kms@1.53.0.rbi} | 0 ...{brakeman@5.1.2.rbi => brakeman@5.2.0.rbi} | 0 .../{bullet@6.1.5.rbi => bullet@7.0.1.rbi} | 7 +- ...arser@1.10.0.rbi => css_parser@1.11.0.rbi} | 0 sorbet/rbi/gems/diff-lcs@1.4.4.rbi | 8 - sorbet/rbi/gems/diff-lcs@1.5.0.rbi | 143 ++ ...astimage@2.2.5.rbi => fastimage@2.2.6.rbi} | 14 +- .../gems/{ffi@1.15.4.rbi => ffi@1.15.5.rbi} | 0 ...0.7.rbi => font-awesome-rails@4.7.0.8.rbi} | 2 +- ...{globalid@0.5.2.rbi => globalid@1.0.0.rbi} | 0 sorbet/rbi/gems/google-protobuf@3.17.3.rbi | 297 ---- sorbet/rbi/gems/google-protobuf@3.19.3.rbi | 1257 +++++++++++++++++ ...tasks@0.9.35.rbi => i18n-tasks@0.9.37.rbi} | 2 +- ...{jmespath@1.4.0.rbi => jmespath@1.5.0.rbi} | 2 +- .../{listen@3.7.0.rbi => listen@3.7.1.rbi} | 5 +- .../{loofah@2.12.0.rbi => loofah@2.13.0.rbi} | 0 sorbet/rbi/gems/matrix@0.4.2.rbi | 2 +- ...01.rbi => mime-types-data@3.2022.0105.rbi} | 0 ...e-types@3.3.1.rbi => mime-types@3.4.1.rbi} | 7 + ...initest@5.14.4.rbi => minitest@5.15.0.rbi} | 1 + .../gems/{oauth@0.5.7.rbi => oauth@0.5.8.rbi} | 0 ...{parser@3.0.2.0.rbi => parser@3.1.0.0.rbi} | 142 +- ...attack@5.4.2.rbi => rack-attack@6.5.0.rbi} | 179 ++- ...k-proxy@0.7.0.rbi => rack-proxy@0.7.2.rbi} | 1 + .../{rails@6.1.4.1.rbi => rails@6.1.4.4.rbi} | 0 ...lties@6.1.4.1.rbi => railties@6.1.4.4.rbi} | 0 .../{rainbow@3.0.0.rbi => rainbow@3.1.1.rbi} | 4 + .../rbi/gems/{rbi@0.0.6.rbi => rbi@0.0.9.rbi} | 232 ++- ...rser@2.1.1.rbi => regexp_parser@2.2.0.rbi} | 10 + ...tore@1.5.0.rbi => request_store@1.5.1.rbi} | 0 ...-ast@1.13.0.rbi => rubocop-ast@1.15.1.rbi} | 3 +- ...1.5.rbi => rubocop-performance@1.13.2.rbi} | 0 ...bet@0.6.2.rbi => rubocop-sorbet@0.6.5.rbi} | 0 ...{rubocop@1.22.3.rbi => rubocop@1.25.0.rbi} | 276 +++- ...t@3.5.2.rbi => ruby_http_client@3.5.3.rbi} | 0 ...er@3.8.0.rbi => rufus-scheduler@3.8.1.rbi} | 0 ...graph@0.44.0.rbi => solargraph@0.44.2.rbi} | 64 +- ...ails@0.7.5.rbi => sorbet-rails@0.7.27.rbi} | 6 +- .../gems/{spoom@1.1.5.rbi => spoom@1.1.8.rbi} | 27 +- ...ls@3.2.2.rbi => sprockets-rails@3.4.2.rbi} | 43 +- sorbet/rbi/gems/ssrf_filter@1.0.7.rbi | 54 + ...{standard@1.4.0.rbi => standard@1.7.0.rbi} | 0 .../{stripe@5.39.0.rbi => stripe@5.43.0.rbi} | 29 +- .../{tapioca@0.5.4.rbi => tapioca@0.6.1.rbi} | 269 ++-- .../gems/{thor@1.1.0.rbi => thor@1.2.1.rbi} | 5 + ...{unparser@0.6.2.rbi => unparser@0.6.3.rbi} | 0 ...onsole@4.1.0.rbi => web-console@4.2.0.rbi} | 9 +- sorbet/rbi/gems/webrick@1.7.0.rbi | 601 ++++++++ .../gems/{yard@0.9.26.rbi => yard@0.9.27.rbi} | 100 +- .../lib/actionpack/all/actionpack.rbi | 2 +- .../lib/actionview/all/actionview.rbi | 2 +- .../lib/activerecord/all/activerecord.rbi | 2 +- .../lib/railties/all/railties.rbi | 2 +- .../sorbet-typed/lib/stripe/all/stripe.rbi | 21 + sorbet/rbi/todo.rbi | 358 +---- ...ublisher_status_updates_controller_test.rb | 4 +- .../admin/publishers_controller_test.rb | 10 +- .../publisher_statistics_controller_test.rb | 8 +- .../registrations_controller_test.rb | 6 +- .../site_channels_controller_test.rb | 4 +- .../totp_authentications_controller_test.rb | 4 +- .../totp_registrations_controller_test.rb | 8 +- test/features/log_in_test.rb | 8 +- .../site_channel_verification_test.rb | 2 +- .../site_channel_domain_setter_test.rb | 4 +- .../site_channel_host_inspector_test.rb | 4 +- test/services/site_channel_verifier_test.rb | 2 +- test/test_helper.rb | 2 +- yarn.lock | 134 +- 191 files changed, 4352 insertions(+), 1565 deletions(-) create mode 100644 .audit-ci.json rename sorbet/rbi/gems/{actioncable@6.1.4.1.rbi => actioncable@6.1.4.4.rbi} (99%) rename sorbet/rbi/gems/{actionmailbox@6.1.4.1.rbi => actionmailbox@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{actionmailer@6.1.4.1.rbi => actionmailer@6.1.4.4.rbi} (99%) rename sorbet/rbi/gems/{actionpack@6.1.4.1.rbi => actionpack@6.1.4.4.rbi} (99%) rename sorbet/rbi/gems/{actiontext@6.1.4.1.rbi => actiontext@6.1.4.4.rbi} (99%) rename sorbet/rbi/gems/{actionview@6.1.4.1.rbi => actionview@6.1.4.4.rbi} (99%) rename sorbet/rbi/gems/{active_model_serializers@0.10.12.rbi => active_model_serializers@0.10.13.rbi} (99%) rename sorbet/rbi/gems/{activejob@6.1.4.1.rbi => activejob@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{activemodel@6.1.4.1.rbi => activemodel@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{activerecord@6.1.4.1.rbi => activerecord@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{activestorage@6.1.4.1.rbi => activestorage@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{activesupport@6.1.4.1.rbi => activesupport@6.1.4.4.rbi} (99%) rename sorbet/rbi/gems/{autoprefixer-rails@10.3.3.0.rbi => autoprefixer-rails@10.4.2.0.rbi} (100%) rename sorbet/rbi/gems/{aws-partitions@1.525.0.rbi => aws-partitions@1.549.0.rbi} (100%) rename sorbet/rbi/gems/{aws-sdk-core@3.122.0.rbi => aws-sdk-core@3.125.5.rbi} (98%) rename sorbet/rbi/gems/{aws-sdk-kms@1.51.0.rbi => aws-sdk-kms@1.53.0.rbi} (100%) rename sorbet/rbi/gems/{brakeman@5.1.2.rbi => brakeman@5.2.0.rbi} (100%) rename sorbet/rbi/gems/{bullet@6.1.5.rbi => bullet@7.0.1.rbi} (97%) rename sorbet/rbi/gems/{css_parser@1.10.0.rbi => css_parser@1.11.0.rbi} (100%) delete mode 100644 sorbet/rbi/gems/diff-lcs@1.4.4.rbi create mode 100644 sorbet/rbi/gems/diff-lcs@1.5.0.rbi rename sorbet/rbi/gems/{fastimage@2.2.5.rbi => fastimage@2.2.6.rbi} (98%) rename sorbet/rbi/gems/{ffi@1.15.4.rbi => ffi@1.15.5.rbi} (100%) rename sorbet/rbi/gems/{font-awesome-rails@4.7.0.7.rbi => font-awesome-rails@4.7.0.8.rbi} (98%) rename sorbet/rbi/gems/{globalid@0.5.2.rbi => globalid@1.0.0.rbi} (100%) delete mode 100644 sorbet/rbi/gems/google-protobuf@3.17.3.rbi create mode 100644 sorbet/rbi/gems/google-protobuf@3.19.3.rbi rename sorbet/rbi/gems/{i18n-tasks@0.9.35.rbi => i18n-tasks@0.9.37.rbi} (99%) rename sorbet/rbi/gems/{jmespath@1.4.0.rbi => jmespath@1.5.0.rbi} (99%) rename sorbet/rbi/gems/{listen@3.7.0.rbi => listen@3.7.1.rbi} (98%) rename sorbet/rbi/gems/{loofah@2.12.0.rbi => loofah@2.13.0.rbi} (100%) rename sorbet/rbi/gems/{mime-types-data@3.2021.0901.rbi => mime-types-data@3.2022.0105.rbi} (100%) rename sorbet/rbi/gems/{mime-types@3.3.1.rbi => mime-types@3.4.1.rbi} (97%) rename sorbet/rbi/gems/{minitest@5.14.4.rbi => minitest@5.15.0.rbi} (99%) rename sorbet/rbi/gems/{oauth@0.5.7.rbi => oauth@0.5.8.rbi} (100%) rename sorbet/rbi/gems/{parser@3.0.2.0.rbi => parser@3.1.0.0.rbi} (94%) rename sorbet/rbi/gems/{rack-attack@5.4.2.rbi => rack-attack@6.5.0.rbi} (64%) rename sorbet/rbi/gems/{rack-proxy@0.7.0.rbi => rack-proxy@0.7.2.rbi} (99%) rename sorbet/rbi/gems/{rails@6.1.4.1.rbi => rails@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{railties@6.1.4.1.rbi => railties@6.1.4.4.rbi} (100%) rename sorbet/rbi/gems/{rainbow@3.0.0.rbi => rainbow@3.1.1.rbi} (97%) rename sorbet/rbi/gems/{rbi@0.0.6.rbi => rbi@0.0.9.rbi} (86%) rename sorbet/rbi/gems/{regexp_parser@2.1.1.rbi => regexp_parser@2.2.0.rbi} (98%) rename sorbet/rbi/gems/{request_store@1.5.0.rbi => request_store@1.5.1.rbi} (100%) rename sorbet/rbi/gems/{rubocop-ast@1.13.0.rbi => rubocop-ast@1.15.1.rbi} (99%) rename sorbet/rbi/gems/{rubocop-performance@1.11.5.rbi => rubocop-performance@1.13.2.rbi} (100%) rename sorbet/rbi/gems/{rubocop-sorbet@0.6.2.rbi => rubocop-sorbet@0.6.5.rbi} (100%) rename sorbet/rbi/gems/{rubocop@1.22.3.rbi => rubocop@1.25.0.rbi} (98%) rename sorbet/rbi/gems/{ruby_http_client@3.5.2.rbi => ruby_http_client@3.5.3.rbi} (100%) rename sorbet/rbi/gems/{rufus-scheduler@3.8.0.rbi => rufus-scheduler@3.8.1.rbi} (100%) rename sorbet/rbi/gems/{solargraph@0.44.0.rbi => solargraph@0.44.2.rbi} (98%) rename sorbet/rbi/gems/{sorbet-rails@0.7.5.rbi => sorbet-rails@0.7.27.rbi} (98%) rename sorbet/rbi/gems/{spoom@1.1.5.rbi => spoom@1.1.8.rbi} (97%) rename sorbet/rbi/gems/{sprockets-rails@3.2.2.rbi => sprockets-rails@3.4.2.rbi} (95%) create mode 100644 sorbet/rbi/gems/ssrf_filter@1.0.7.rbi rename sorbet/rbi/gems/{standard@1.4.0.rbi => standard@1.7.0.rbi} (100%) rename sorbet/rbi/gems/{stripe@5.39.0.rbi => stripe@5.43.0.rbi} (98%) rename sorbet/rbi/gems/{tapioca@0.5.4.rbi => tapioca@0.6.1.rbi} (79%) rename sorbet/rbi/gems/{thor@1.1.0.rbi => thor@1.2.1.rbi} (99%) rename sorbet/rbi/gems/{unparser@0.6.2.rbi => unparser@0.6.3.rbi} (100%) rename sorbet/rbi/gems/{web-console@4.1.0.rbi => web-console@4.2.0.rbi} (97%) create mode 100644 sorbet/rbi/gems/webrick@1.7.0.rbi rename sorbet/rbi/gems/{yard@0.9.26.rbi => yard@0.9.27.rbi} (98%) diff --git a/.audit-ci.json b/.audit-ci.json new file mode 100644 index 0000000000..6c02b1313c --- /dev/null +++ b/.audit-ci.json @@ -0,0 +1,4 @@ +{ + "low": true, + "allowlist": ["1006846", "1005154", "1006865", "1006854", "1006852", "1004955", "1004946", "1005560", "1004967", "1006724"] +} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be7e89bc68..7919decfb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,7 +73,7 @@ jobs: - name: Brakeman run: bundle exec brakeman - name: Yarn audit - run: yarn audit && yarn --cwd public/creators-landing audit + run: npx audit-ci --config .audit-ci.json && (cd public/creators-landing && npx audit-ci --config ../../.audit-ci.json) - name: Bundler Audit run: bundle exec bundle-audit check --update - name: Sorbet Linter diff --git a/Gemfile b/Gemfile index a604b4b2fe..01daffa923 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,8 @@ # frozen_string_literal: true -def x86_64? - `uname -p`.strip == "x86_64" +def not_arm? + arch = `uname -m`.strip + !(arch.include?("arm") || arch.include?("aarch64")) end gem "ssrf_filter" @@ -142,8 +143,8 @@ gem "sidekiq-scheduler", "~> 3.0.1" # slim for view templates gem "slim-rails", "~> 3.1" -gem "sorbet", "0.5.9318", group: :development if x86_64? -gem "sorbet-runtime", "0.5.9318" +gem "sorbet", "0.5.9538", group: :development if not_arm? +gem "sorbet-runtime", "0.5.9538" gem "stripe", "~> 5.1", ">= 5.1.1" @@ -155,7 +156,7 @@ gem "rotp", "~> 6.2.0" gem "webpacker", "~> 4.0.7" -gem "sorbet-rails", "0.7.5" +gem "sorbet-rails", "0.7.27" # pagination support for models gem "will_paginate" @@ -190,7 +191,7 @@ group :development do # i18n-tasks helps you find and manage missing and unused translations. gem "i18n-tasks", "~> 0.9.12" - gem "tapioca", "0.5.4", require: false if x86_64? + gem "tapioca", "0.6.1", require: false if not_arm? end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index a18618ebd3..2c7ba60f8f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -81,9 +81,9 @@ GEM erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - active_model_serializers (0.10.12) - actionpack (>= 4.1, < 6.2) - activemodel (>= 4.1, < 6.2) + active_model_serializers (0.10.13) + actionpack (>= 4.1, < 7.1) + activemodel (>= 4.1, < 7.1) case_transform (>= 0.2) jsonapi-renderer (>= 0.1.1.beta1, < 0.3) activejob (6.1.4.4) @@ -130,8 +130,8 @@ GEM autoprefixer-rails (10.4.2.0) execjs (~> 2) aws-eventstream (1.2.0) - aws-partitions (1.547.0) - aws-sdk-core (3.125.3) + aws-partitions (1.549.0) + aws-sdk-core (3.125.5) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.525.0) aws-sigv4 (~> 1.1) @@ -162,7 +162,7 @@ GEM brakeman (5.2.0) brotli (0.2.3) builder (3.2.4) - bullet (7.0.0) + bullet (7.0.1) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) bundler-audit (0.9.0.1) @@ -235,7 +235,7 @@ GEM raabro (~> 1.4) globalid (1.0.0) activesupport (>= 5.0) - google-protobuf (3.19.2-x86_64-linux) + google-protobuf (3.19.3-x86_64-darwin) hashdiff (1.0.1) hashie (4.1.0) highline (2.0.3) @@ -266,7 +266,7 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - listen (3.7.0) + listen (3.7.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) lograge (0.11.2) @@ -301,7 +301,7 @@ GEM netrc (0.11.0) newrelic_rpm (6.15.0) nio4r (2.5.8) - nokogiri (1.12.5-x86_64-linux) + nokogiri (1.12.5-x86_64-darwin) racc (~> 1.4) oauth (0.5.8) oauth2 (1.4.7) @@ -426,7 +426,7 @@ GEM redis (4.2.5) regexp_parser (2.2.0) render_async (2.1.11) - request_store (1.5.0) + request_store (1.5.1) rack (>= 1.4) responders (3.0.1) actionpack (>= 5.0) @@ -442,9 +442,9 @@ GEM rotp (6.2.0) rqrcode (0.10.1) chunky_png (~> 1.0) - rubocop (1.24.1) + rubocop (1.25.0) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml @@ -453,7 +453,7 @@ GEM unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.15.1) parser (>= 3.0.1.1) - rubocop-performance (1.13.1) + rubocop-performance (1.13.2) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) rubocop-sorbet (0.6.5) @@ -529,21 +529,21 @@ GEM thor (~> 1.0) tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) - sorbet (0.5.9318) - sorbet-static (= 0.5.9318) + sorbet (0.5.9538) + sorbet-static (= 0.5.9538) sorbet-coerce (0.5.0) polyfill (~> 1.8) safe_type (~> 1.1, >= 1.1.1) sorbet-runtime (>= 0.4.4704) - sorbet-rails (0.7.5) + sorbet-rails (0.7.27) method_source (>= 0.9.2) parlour (>= 4.0.1) parser (>= 2.7) sorbet-coerce (>= 0.2.6) sorbet-runtime (>= 0.5) - sorbet-runtime (0.5.9318) - sorbet-static (0.5.9318-x86_64-linux) - spoom (1.1.7) + sorbet-runtime (0.5.9538) + sorbet-static (0.5.9538-universal-darwin-20) + spoom (1.1.8) sorbet (>= 0.5.9204) sorbet-runtime (>= 0.5.9204) thor (>= 0.19.2) @@ -555,17 +555,17 @@ GEM activesupport (>= 5.2) sprockets (>= 3.0.0) ssrf_filter (1.0.7) - standard (1.6.0) - rubocop (= 1.24.1) - rubocop-performance (= 1.13.1) - stripe (5.42.0) - tapioca (0.5.4) + standard (1.7.0) + rubocop (= 1.25.0) + rubocop-performance (= 1.13.2) + stripe (5.43.0) + tapioca (0.6.1) bundler (>= 1.17.3) pry (>= 0.12.2) - rbi - sorbet-runtime - sorbet-static (>= 0.5.6200) - spoom + rbi (~> 0.0.0, >= 0.0.9) + sorbet-runtime (>= 0.5.9204) + sorbet-static (>= 0.5.9204) + spoom (~> 1.1.0, >= 1.1.4) thor (>= 0.19.2) yard-sorbet temping (3.10.0) @@ -586,9 +586,9 @@ GEM unf_ext (0.0.8) unicode-display_width (2.1.0) uniform_notifier (1.14.2) - unparser (0.6.2) + unparser (0.6.3) diff-lcs (~> 1.3) - parser (>= 3.0.0) + parser (>= 3.1.0) vcr (6.0.0) warden (1.2.9) rack (>= 2.0.9) @@ -630,7 +630,7 @@ GEM multipart-post (~> 2.0) PLATFORMS - x86_64-linux + x86_64-darwin-20 DEPENDENCIES active_model_serializers (~> 0.10.0) @@ -710,13 +710,13 @@ DEPENDENCIES simplecov slim-rails (~> 3.1) solargraph - sorbet (= 0.5.9318) - sorbet-rails (= 0.7.5) - sorbet-runtime (= 0.5.9318) + sorbet (= 0.5.9538) + sorbet-rails (= 0.7.27) + sorbet-runtime (= 0.5.9538) ssrf_filter standard stripe (~> 5.1, >= 5.1.1) - tapioca (= 0.5.4) + tapioca (= 0.6.1) temping tzinfo-data u2f (~> 1.0) diff --git a/app/controllers/api/v1/public/base_controller.rb b/app/controllers/api/v1/public/base_controller.rb index cce507b289..93c8b98a7f 100644 --- a/app/controllers/api/v1/public/base_controller.rb +++ b/app/controllers/api/v1/public/base_controller.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class Api::V1::Public::BaseController < ActionController::API # This BaseController does not IP whitelist, whereas API::BaseController does before_action :set_public_cache_control diff --git a/app/controllers/api/v2/public/base_controller.rb b/app/controllers/api/v2/public/base_controller.rb index 895bfdba24..e410fae737 100644 --- a/app/controllers/api/v2/public/base_controller.rb +++ b/app/controllers/api/v2/public/base_controller.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class Api::V2::Public::BaseController < ActionController::API # This BaseController does not IP whitelist, whereas API::BaseController does before_action :set_public_cache_control diff --git a/app/controllers/api/v3/public/base_controller.rb b/app/controllers/api/v3/public/base_controller.rb index 4e3b42b8a1..89a77eb060 100644 --- a/app/controllers/api/v3/public/base_controller.rb +++ b/app/controllers/api/v3/public/base_controller.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class Api::V3::Public::BaseController < ActionController::API # This BaseController does not IP whitelist, whereas API::BaseController does before_action :set_public_cache_control diff --git a/app/controllers/channel_transfer_controller.rb b/app/controllers/channel_transfer_controller.rb index 4aa12ebfbf..516d15d676 100644 --- a/app/controllers/channel_transfer_controller.rb +++ b/app/controllers/channel_transfer_controller.rb @@ -16,8 +16,9 @@ def reject_transfer def verify_token @current_channel = Channel.find(params[:id]) if @current_channel.nil? || @current_channel.contest_token.blank? || !ActiveSupport::SecurityUtils.secure_compare( - ::Digest::SHA256.hexdigest(@current_channel.contest_token), - ::Digest::SHA256.hexdigest(params[:token_id])) + ::Digest::SHA256.hexdigest(@current_channel.contest_token), + ::Digest::SHA256.hexdigest(params[:token_id]) + ) respond_to do |format| format.json { head 404 diff --git a/app/helpers/admin/faq_helper.rb b/app/helpers/admin/faq_helper.rb index 509ad0474b..a209cc1eaa 100644 --- a/app/helpers/admin/faq_helper.rb +++ b/app/helpers/admin/faq_helper.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module Admin::FaqHelper def categories_select_options(faq_category_id) options_from_collection_for_select(FaqCategory.includes(:faqs).all, :id, :name, faq_category_id) diff --git a/app/helpers/admin/organization_helper.rb b/app/helpers/admin/organization_helper.rb index 9dbf0c5a73..d5bb06fd24 100644 --- a/app/helpers/admin/organization_helper.rb +++ b/app/helpers/admin/organization_helper.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module Admin::OrganizationHelper def boolean_to_image(value) if value diff --git a/app/helpers/admin/publishers_helper.rb b/app/helpers/admin/publishers_helper.rb index 2470f28788..2d0cc29baa 100644 --- a/app/helpers/admin/publishers_helper.rb +++ b/app/helpers/admin/publishers_helper.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module Admin module PublishersHelper def publisher_status(publisher) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 98795728eb..59828f0b10 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module ApplicationHelper def popover_menu(&block) render(layout: "popover", &block) diff --git a/app/helpers/promos_helper.rb b/app/helpers/promos_helper.rb index 10bd3c68d8..fb7922e2fb 100644 --- a/app/helpers/promos_helper.rb +++ b/app/helpers/promos_helper.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module PromosHelper include ActionView::Helpers::DateHelper diff --git a/app/jobs/cache_uphold_tips.rb b/app/jobs/cache_uphold_tips.rb index edad86a75e..436fd76610 100644 --- a/app/jobs/cache_uphold_tips.rb +++ b/app/jobs/cache_uphold_tips.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class CacheUpholdTips < ApplicationJob queue_as :scheduler diff --git a/app/jobs/generate_referral_report_job.rb b/app/jobs/generate_referral_report_job.rb index cd0829fae3..5b175e19f1 100644 --- a/app/jobs/generate_referral_report_job.rb +++ b/app/jobs/generate_referral_report_job.rb @@ -12,7 +12,7 @@ def perform(publisher_id:, referral_codes:, start_date:, end_date:, interval:, b ).perform filename = "tmp/#{Time.now}_referral_report_#{start_date}-#{end_date}.csv" - File.open(filename, "w") { |f| f.write(report_csv) } + File.write(filename, report_csv) email = Publisher.find(publisher_id).email diff --git a/app/jobs/sync/unattached_promo_registrations_stats_job.rb b/app/jobs/sync/unattached_promo_registrations_stats_job.rb index 6d6f56f818..d5c9065ac3 100644 --- a/app/jobs/sync/unattached_promo_registrations_stats_job.rb +++ b/app/jobs/sync/unattached_promo_registrations_stats_job.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true # Fetches and saves the referral stats for unattached codes class Sync::UnattachedPromoRegistrationsStatsJob < ApplicationJob include PromosHelper diff --git a/app/models/case_note.rb b/app/models/case_note.rb index b2ab7c2d72..532daa139d 100644 --- a/app/models/case_note.rb +++ b/app/models/case_note.rb @@ -8,7 +8,7 @@ class CaseNote < ApplicationRecord validates :created_by, presence: true validates :note, presence: true, allow_blank: false validates_with HtmlValidator, attributes: [:note] - + has_many_attached :files validate :file_attachment_validation diff --git a/app/models/faq_category.rb b/app/models/faq_category.rb index 3f7d0f6f73..5250a1c95b 100644 --- a/app/models/faq_category.rb +++ b/app/models/faq_category.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: false class FaqCategory < ApplicationRecord has_many :faqs diff --git a/app/models/github_channel_details.rb b/app/models/github_channel_details.rb index ba2181bc16..a92c63c082 100644 --- a/app/models/github_channel_details.rb +++ b/app/models/github_channel_details.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class GithubChannelDetails < BaseChannelDetails has_paper_trail diff --git a/app/models/organization.rb b/app/models/organization.rb index f447b17345..a5d4e543b1 100644 --- a/app/models/organization.rb +++ b/app/models/organization.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class Organization < ApplicationRecord has_many :memberships has_many :members, through: :memberships diff --git a/app/models/promo_campaign.rb b/app/models/promo_campaign.rb index bab4fdf855..0537618d5f 100644 --- a/app/models/promo_campaign.rb +++ b/app/models/promo_campaign.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class PromoCampaign < ApplicationRecord has_many :promo_registrations validates :name, uniqueness: {case_sensitive: false}, presence: true diff --git a/app/models/publisher.rb b/app/models/publisher.rb index 07e6b39574..483317f98c 100644 --- a/app/models/publisher.rb +++ b/app/models/publisher.rb @@ -58,7 +58,7 @@ class Publisher < ApplicationRecord belongs_to :created_by, class_name: "Publisher" has_many :created_users, class_name: "Publisher", - foreign_key: "created_by_id" + foreign_key: "created_by_id" attribute :subscribed_to_marketing_emails, :boolean, default: false # (Albert Wang): We will use this as a flag for whether or not marketing emails are on for the user. validates :email, email: true, presence: true, unless: -> { diff --git a/app/models/reddit_channel_details.rb b/app/models/reddit_channel_details.rb index 0b241fe381..7451342b81 100644 --- a/app/models/reddit_channel_details.rb +++ b/app/models/reddit_channel_details.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class RedditChannelDetails < BaseChannelDetails has_paper_trail diff --git a/app/models/vimeo_channel_details.rb b/app/models/vimeo_channel_details.rb index 00537acfd8..e89538f5e8 100644 --- a/app/models/vimeo_channel_details.rb +++ b/app/models/vimeo_channel_details.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true class VimeoChannelDetails < BaseChannelDetails has_paper_trail diff --git a/app/services/payout/bitflyer_service.rb b/app/services/payout/bitflyer_service.rb index 8f70f8a756..9e890c4f93 100644 --- a/app/services/payout/bitflyer_service.rb +++ b/app/services/payout/bitflyer_service.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module Payout class BitflyerService < Service def self.build diff --git a/app/services/payout/gemini_service.rb b/app/services/payout/gemini_service.rb index bdbfa043c0..2b5e859798 100644 --- a/app/services/payout/gemini_service.rb +++ b/app/services/payout/gemini_service.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module Payout class GeminiService < Service def perform(payout_report:, publisher:) diff --git a/app/services/payout/uphold_service.rb b/app/services/payout/uphold_service.rb index 64d2fe5e2d..df086b6de3 100644 --- a/app/services/payout/uphold_service.rb +++ b/app/services/payout/uphold_service.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true module Payout class UpholdService < Service def perform(payout_report:, publisher:) diff --git a/app/services/promo/assign_promo_to_channel_service.rb b/app/services/promo/assign_promo_to_channel_service.rb index c6346572be..b67175d835 100644 --- a/app/services/promo/assign_promo_to_channel_service.rb +++ b/app/services/promo/assign_promo_to_channel_service.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: true # Registers a promo registration for each verified channel for a publisher class Promo::AssignPromoToChannelService < BaseApiClient include PromosHelper diff --git a/config/environments/test.rb b/config/environments/test.rb index fb2155c203..544bffd7d8 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,4 @@ -# typed: false +# typed: strict require "active_support/core_ext/integer/time" # The test environment is used exclusively to run your application's diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 26e2319d4d..88ffc9dd31 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: false # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb index 3289d588ba..464ffc6cc7 100644 --- a/config/initializers/cookies_serializer.rb +++ b/config/initializers/cookies_serializer.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: false # Be sure to restart your server when you modify this file. # Specify a serializer for the signed and encrypted cookie jars. diff --git a/config/initializers/fastly.rb b/config/initializers/fastly.rb index 01e5405cf9..09ff248671 100644 --- a/config/initializers/fastly.rb +++ b/config/initializers/fastly.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: false CLOUDFRONT_API = Rails.application.config.services.cloudfront proxy_list = [] diff --git a/config/initializers/login_activities.rb b/config/initializers/login_activities.rb index 9455c043af..15b31116bc 100644 --- a/config/initializers/login_activities.rb +++ b/config/initializers/login_activities.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: false # Record the publisher's successful login Warden::Manager.after_authentication except: :fetch do |publisher, auth, _opts| params = { diff --git a/config/initializers/services/gemini_client.rb b/config/initializers/services/gemini_client.rb index ba4693362c..7579bacc93 100644 --- a/config/initializers/services/gemini_client.rb +++ b/config/initializers/services/gemini_client.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: false # Rails.configuration.to_prepare: # Run after the initializers are run for all Railties (including the application itself), but before eager loading and the middleware stack is built. # More importantly, will run upon every request in development, but only once (during boot-up) in production and test. diff --git a/config/initializers/stripe.rb b/config/initializers/stripe.rb index a37125227a..d2fdc1b223 100644 --- a/config/initializers/stripe.rb +++ b/config/initializers/stripe.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: false if Rails.application.config.services.stripe[:client_secret].present? Rails.configuration.stripe = { stripe_publishable_key: Rails.application.config.services.stripe[:publishable_key], diff --git a/db/migrate/20211208230135_add_proper_index_to_site_banner_lookups.rb b/db/migrate/20211208230135_add_proper_index_to_site_banner_lookups.rb index 2291eccac9..2600e940ac 100644 --- a/db/migrate/20211208230135_add_proper_index_to_site_banner_lookups.rb +++ b/db/migrate/20211208230135_add_proper_index_to_site_banner_lookups.rb @@ -1,3 +1,4 @@ +# typed: true class AddProperIndexToSiteBannerLookups < ActiveRecord::Migration[6.1] def change execute %Q{ diff --git a/lib/eyeshade/referral_balance.rb b/lib/eyeshade/referral_balance.rb index c6b456c78f..7336ea9e55 100644 --- a/lib/eyeshade/referral_balance.rb +++ b/lib/eyeshade/referral_balance.rb @@ -9,16 +9,16 @@ def initialize(rates, default_currency, accounts) owner_account = accounts.find { |account| account["account_type"] == OWNER } || {} @amount_bat = if owner_account["balance"].nil? - 0.to_d + BigDecimal("0") else owner_account["balance"].to_d end - @fees_bat = 0.to_d + @fees_bat = BigDecimal("0") @amount_probi = bat_to_probi(@amount_bat) @fees_probi = 0 @amount_default_currency = convert(@amount_bat, @default_currency) - @fees_default_currency = 0.00.to_d + @fees_default_currency = BigDecimal("0.00") @amount_usd = convert(@amount_bat, "USD") end end diff --git a/lib/publishers/fetch.rb b/lib/publishers/fetch.rb index cb4cabb038..04b8de1be0 100644 --- a/lib/publishers/fetch.rb +++ b/lib/publishers/fetch.rb @@ -14,7 +14,7 @@ class NotFoundError < StandardError; end def fetch(uri:, limit: 10, follow_all_redirects: false, follow_local_redirects: true) host = nil response = SsrfFilter.get(uri, max_redirects: limit, http_options: {open_timeout: 8}) do |request| - if host && host != request['host'] && !follow_all_redirects + if host && host != request["host"] && !follow_all_redirects if follow_local_redirects raise RedirectError.new("non local redirects prohibited") else @@ -22,7 +22,7 @@ def fetch(uri:, limit: 10, follow_all_redirects: false, follow_local_redirects: end end - host = request['host'] + host = request["host"] end case response when Net::HTTPSuccess diff --git a/package.json b/package.json index 44a8df332d..f6705bf4c7 100644 --- a/package.json +++ b/package.json @@ -55,22 +55,9 @@ "preset": "ts-jest/presets/js-with-babel" }, "dependencies": { - "@babel/core": "^7.8.7", - "@babel/plugin-proposal-class-properties": "^7.10.4", - "@babel/preset-env": "^7.2.3", - "@babel/preset-react": "^7.0.0", "@rails/activestorage": "^6.0.3-1", "@rails/ujs": "^6.0.3-1", - "@rails/webpacker": "^5.4.2", - "@types/react": "^16.4.7", - "@types/react-dom": "^16.0.6", "axios": "^0.21.2", - "babel-core": "7.0.0-bridge.0", - "babel-loader": "^8.1.0", - "babel-plugin-syntax-dynamic-import": "^6.18.0", - "babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3", - "babel-polyfill": "^6.26.0", - "babel-preset-react": "^6.24.1", "brave-ui": "^0.38.0", "chart.js": "^2.7.2", "clipboard": "^2.0.1", @@ -79,7 +66,6 @@ "js-yaml": "3.13.1", "kind-of": "^6.0.3", "moment": "^2.25.0", - "node-sass": "^6.0.1", "prop-types": "^15.6.2", "react": "^16.6.3", "react-avatar-editor": "^11.0.4", @@ -88,10 +74,7 @@ "react-select": "^3.0.8", "react-tooltip": "^4.2.3", "styled-components": "5.1.0", - "tributejs": "^3.7.1", - "ts-loader": "^5.3.0", - "typescript": "^4.3.5", - "webpack-cli": "^3.3.11" + "tributejs": "^3.7.1" }, "devDependencies": { "@types/jest": "^24.0.6", @@ -118,7 +101,25 @@ "tslint-config-prettier": "^1.18.0", "tslint-config-standard": "^8.0.1", "tslint-react": "^3.6.0", - "webpack-dev-server": "^4.2.0" + "webpack-dev-server": "^4.2.0", + "audit-ci": "4.x", + "typescript": "^4.3.5", + "ts-loader": "^5.3.0", + "@types/react": "^16.4.7", + "@types/react-dom": "^16.0.6", + "webpack-cli": "^3.3.11", + "node-sass": "^6.0.1", + "babel-core": "7.0.0-bridge.0", + "babel-loader": "^8.1.0", + "babel-plugin-syntax-dynamic-import": "^6.18.0", + "babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3", + "babel-polyfill": "^6.26.0", + "babel-preset-react": "^6.24.1", + "@rails/webpacker": "^5.4.3", + "@babel/core": "^7.8.7", + "@babel/plugin-proposal-class-properties": "^7.10.4", + "@babel/preset-env": "^7.2.3", + "@babel/preset-react": "^7.0.0" }, "resolutions": { "node-fetch": "2.6.1", diff --git a/sorbet/rails-rbi/active_record_base.rbi b/sorbet/rails-rbi/active_record_base.rbi index c056021a40..ef7f417c3b 100644 --- a/sorbet/rails-rbi/active_record_base.rbi +++ b/sorbet/rails-rbi/active_record_base.rbi @@ -96,16 +96,16 @@ class ActiveRecord::Base end def self.find_in_batches(start: nil, finish: nil, batch_size: 1000, error_on_ignore: nil, &block); end - sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def self.any?(&block); end - sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def self.many?(&block); end - sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def self.none?(&block); end - sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: T.attached_class).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def self.one?(&block); end sig { params(conditions: T.untyped).returns(T::Boolean) } diff --git a/sorbet/rails-rbi/active_record_relation.rbi b/sorbet/rails-rbi/active_record_relation.rbi index e614542369..1afa2d3c69 100644 --- a/sorbet/rails-rbi/active_record_relation.rbi +++ b/sorbet/rails-rbi/active_record_relation.rbi @@ -1,4 +1,4 @@ -# typed: false +# typed: strong # This is an autogenerated file for Rails' ActiveRecord. # Please rerun bundle exec rake rails_rbi:active_record to regenerate. class ActiveRecord::Relation @@ -101,16 +101,16 @@ class ActiveRecord::Relation end def find_in_batches(start: nil, finish: nil, batch_size: 1000, error_on_ignore: nil, &block); end - sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def any?(&block); end - sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def many?(&block); end - sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def none?(&block); end - sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T::Boolean))).returns(T::Boolean) } + sig { params(block: T.nilable(T.proc.params(e: Elem).returns(T.nilable(T::Boolean)))).returns(T::Boolean) } def one?(&block); end sig { params(conditions: T.untyped).returns(T::Boolean) } diff --git a/sorbet/rails-rbi/mailers/batch_mailer.rbi b/sorbet/rails-rbi/mailers/batch_mailer.rbi index 0db94bb5e4..0e4892b886 100644 --- a/sorbet/rails-rbi/mailers/batch_mailer.rbi +++ b/sorbet/rails-rbi/mailers/batch_mailer.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strong # This is an autogenerated file for Rails' mailers. # Please rerun bundle exec rake rails_rbi:mailers to regenerate. class BatchMailer diff --git a/sorbet/rails-rbi/mailers/devise/mailer.rbi b/sorbet/rails-rbi/mailers/devise/mailer.rbi index c3abe37670..81c0ce51bc 100644 --- a/sorbet/rails-rbi/mailers/devise/mailer.rbi +++ b/sorbet/rails-rbi/mailers/devise/mailer.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strong # This is an autogenerated file for Rails' mailers. # Please rerun bundle exec rake rails_rbi:mailers to regenerate. class Devise::Mailer diff --git a/sorbet/rails-rbi/mailers/internal_mailer.rbi b/sorbet/rails-rbi/mailers/internal_mailer.rbi index 9dc39556be..0e974c4e50 100644 --- a/sorbet/rails-rbi/mailers/internal_mailer.rbi +++ b/sorbet/rails-rbi/mailers/internal_mailer.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strong # This is an autogenerated file for Rails' mailers. # Please rerun bundle exec rake rails_rbi:mailers to regenerate. class InternalMailer diff --git a/sorbet/rails-rbi/mailers/partner_mailer.rbi b/sorbet/rails-rbi/mailers/partner_mailer.rbi index b762e3aa9b..a5c68e0e9e 100644 --- a/sorbet/rails-rbi/mailers/partner_mailer.rbi +++ b/sorbet/rails-rbi/mailers/partner_mailer.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strong # This is an autogenerated file for Rails' mailers. # Please rerun bundle exec rake rails_rbi:mailers to regenerate. class PartnerMailer diff --git a/sorbet/rails-rbi/mailers/promo_mailer.rbi b/sorbet/rails-rbi/mailers/promo_mailer.rbi index 19c66d744d..7871c9bde5 100644 --- a/sorbet/rails-rbi/mailers/promo_mailer.rbi +++ b/sorbet/rails-rbi/mailers/promo_mailer.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strong # This is an autogenerated file for Rails' mailers. # Please rerun bundle exec rake rails_rbi:mailers to regenerate. class PromoMailer diff --git a/sorbet/rails-rbi/mailers/publisher_mailer.rbi b/sorbet/rails-rbi/mailers/publisher_mailer.rbi index 11dbdbc940..2a70a7c0c7 100644 --- a/sorbet/rails-rbi/mailers/publisher_mailer.rbi +++ b/sorbet/rails-rbi/mailers/publisher_mailer.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strong # This is an autogenerated file for Rails' mailers. # Please rerun bundle exec rake rails_rbi:mailers to regenerate. class PublisherMailer diff --git a/sorbet/rails-rbi/models/action_mailbox/inbound_email.rbi b/sorbet/rails-rbi/models/action_mailbox/inbound_email.rbi index 93b1469368..ed36ce98ea 100644 --- a/sorbet/rails-rbi/models/action_mailbox/inbound_email.rbi +++ b/sorbet/rails-rbi/models/action_mailbox/inbound_email.rbi @@ -238,9 +238,6 @@ module ActionMailbox::InboundEmail::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } def reselect(*args); end @@ -328,6 +325,12 @@ module ActionMailbox::InboundEmail::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionMailbox::InboundEmail).returns(T::Boolean)).returns(T::Array[ActionMailbox::InboundEmail]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } def extending(*args, &block); end @@ -351,9 +354,6 @@ module ActionMailbox::InboundEmail::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionMailbox::InboundEmail::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionMailbox::InboundEmail::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionMailbox::InboundEmail::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -441,6 +441,12 @@ module ActionMailbox::InboundEmail::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActionMailbox::InboundEmail::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionMailbox::InboundEmail).returns(T::Boolean)).returns(T::Array[ActionMailbox::InboundEmail]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionMailbox::InboundEmail::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionMailbox::InboundEmail::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/action_mailbox/record.rbi b/sorbet/rails-rbi/models/action_mailbox/record.rbi index 85d591f24f..3fa2ce6345 100644 --- a/sorbet/rails-rbi/models/action_mailbox/record.rbi +++ b/sorbet/rails-rbi/models/action_mailbox/record.rbi @@ -37,9 +37,6 @@ module ActionMailbox::Record::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionMailbox::Record::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionMailbox::Record::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionMailbox::Record::ActiveRecord_Relation) } def reselect(*args); end @@ -127,6 +124,12 @@ module ActionMailbox::Record::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActionMailbox::Record::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionMailbox::Record).returns(T::Boolean)).returns(T::Array[ActionMailbox::Record]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionMailbox::Record::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionMailbox::Record::ActiveRecord_Relation) } def extending(*args, &block); end @@ -150,9 +153,6 @@ module ActionMailbox::Record::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionMailbox::Record::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionMailbox::Record::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionMailbox::Record::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -240,6 +240,12 @@ module ActionMailbox::Record::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActionMailbox::Record::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionMailbox::Record).returns(T::Boolean)).returns(T::Array[ActionMailbox::Record]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionMailbox::Record::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionMailbox::Record::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/action_text/record.rbi b/sorbet/rails-rbi/models/action_text/record.rbi index c3faf93ee2..b72b3c162f 100644 --- a/sorbet/rails-rbi/models/action_text/record.rbi +++ b/sorbet/rails-rbi/models/action_text/record.rbi @@ -37,9 +37,6 @@ module ActionText::Record::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionText::Record::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionText::Record::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionText::Record::ActiveRecord_Relation) } def reselect(*args); end @@ -127,6 +124,12 @@ module ActionText::Record::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActionText::Record::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionText::Record).returns(T::Boolean)).returns(T::Array[ActionText::Record]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionText::Record::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionText::Record::ActiveRecord_Relation) } def extending(*args, &block); end @@ -150,9 +153,6 @@ module ActionText::Record::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionText::Record::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionText::Record::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionText::Record::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -240,6 +240,12 @@ module ActionText::Record::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActionText::Record::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionText::Record).returns(T::Boolean)).returns(T::Array[ActionText::Record]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionText::Record::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionText::Record::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/action_text/rich_text.rbi b/sorbet/rails-rbi/models/action_text/rich_text.rbi index 672665d5fb..9943e1757f 100644 --- a/sorbet/rails-rbi/models/action_text/rich_text.rbi +++ b/sorbet/rails-rbi/models/action_text/rich_text.rbi @@ -82,9 +82,6 @@ module ActionText::RichText::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionText::RichText::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionText::RichText::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionText::RichText::ActiveRecord_Relation) } def reselect(*args); end @@ -172,6 +169,12 @@ module ActionText::RichText::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActionText::RichText::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionText::RichText).returns(T::Boolean)).returns(T::Array[ActionText::RichText]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionText::RichText::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionText::RichText::ActiveRecord_Relation) } def extending(*args, &block); end @@ -195,9 +198,6 @@ module ActionText::RichText::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActionText::RichText::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActionText::RichText::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActionText::RichText::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -285,6 +285,12 @@ module ActionText::RichText::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActionText::RichText::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActionText::RichText).returns(T::Boolean)).returns(T::Array[ActionText::RichText]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActionText::RichText::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActionText::RichText::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_record/internal_metadata.rbi b/sorbet/rails-rbi/models/active_record/internal_metadata.rbi index 86a5005512..d44131b89d 100644 --- a/sorbet/rails-rbi/models/active_record/internal_metadata.rbi +++ b/sorbet/rails-rbi/models/active_record/internal_metadata.rbi @@ -76,9 +76,6 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } def reselect(*args); end @@ -166,6 +163,12 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveRecord::InternalMetadata).returns(T::Boolean)).returns(T::Array[ActiveRecord::InternalMetadata]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } def extending(*args, &block); end @@ -189,9 +192,6 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -279,6 +279,12 @@ module ActiveRecord::InternalMetadata::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveRecord::InternalMetadata).returns(T::Boolean)).returns(T::Array[ActiveRecord::InternalMetadata]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_record/schema_migration.rbi b/sorbet/rails-rbi/models/active_record/schema_migration.rbi index 5d353965d8..2bdd145c96 100644 --- a/sorbet/rails-rbi/models/active_record/schema_migration.rbi +++ b/sorbet/rails-rbi/models/active_record/schema_migration.rbi @@ -49,9 +49,6 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } def reselect(*args); end @@ -139,6 +136,12 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveRecord::SchemaMigration).returns(T::Boolean)).returns(T::Array[ActiveRecord::SchemaMigration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } def extending(*args, &block); end @@ -162,9 +165,6 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -252,6 +252,12 @@ module ActiveRecord::SchemaMigration::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveRecord::SchemaMigration).returns(T::Boolean)).returns(T::Array[ActiveRecord::SchemaMigration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SchemaMigration::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_record/session_store/session.rbi b/sorbet/rails-rbi/models/active_record/session_store/session.rbi index e4b6141cf4..cbbb58f60b 100644 --- a/sorbet/rails-rbi/models/active_record/session_store/session.rbi +++ b/sorbet/rails-rbi/models/active_record/session_store/session.rbi @@ -85,9 +85,6 @@ module ActiveRecord::SessionStore::Session::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } def reselect(*args); end @@ -175,6 +172,12 @@ module ActiveRecord::SessionStore::Session::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveRecord::SessionStore::Session).returns(T::Boolean)).returns(T::Array[ActiveRecord::SessionStore::Session]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } def extending(*args, &block); end @@ -198,9 +201,6 @@ module ActiveRecord::SessionStore::Session::QueryMethodsReturningAssociationRela sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::SessionStore::Session::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveRecord::SessionStore::Session::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveRecord::SessionStore::Session::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -288,6 +288,12 @@ module ActiveRecord::SessionStore::Session::QueryMethodsReturningAssociationRela sig { params(args: T.untyped).returns(ActiveRecord::SessionStore::Session::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveRecord::SessionStore::Session).returns(T::Boolean)).returns(T::Array[ActiveRecord::SessionStore::Session]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveRecord::SessionStore::Session::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::SessionStore::Session::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_storage/attachment.rbi b/sorbet/rails-rbi/models/active_storage/attachment.rbi index c467e2c02d..63abf9cc7a 100644 --- a/sorbet/rails-rbi/models/active_storage/attachment.rbi +++ b/sorbet/rails-rbi/models/active_storage/attachment.rbi @@ -142,9 +142,6 @@ module ActiveStorage::Attachment::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } def reselect(*args); end @@ -232,6 +229,12 @@ module ActiveStorage::Attachment::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::Attachment).returns(T::Boolean)).returns(T::Array[ActiveStorage::Attachment]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } def extending(*args, &block); end @@ -255,9 +258,6 @@ module ActiveStorage::Attachment::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::Attachment::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::Attachment::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -345,6 +345,12 @@ module ActiveStorage::Attachment::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActiveStorage::Attachment::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::Attachment).returns(T::Boolean)).returns(T::Array[ActiveStorage::Attachment]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::Attachment::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_storage/blob.rbi b/sorbet/rails-rbi/models/active_storage/blob.rbi index 228058b8d2..4a5b56b19f 100644 --- a/sorbet/rails-rbi/models/active_storage/blob.rbi +++ b/sorbet/rails-rbi/models/active_storage/blob.rbi @@ -181,9 +181,6 @@ module ActiveStorage::Blob::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) } def reselect(*args); end @@ -271,6 +268,12 @@ module ActiveStorage::Blob::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::Blob).returns(T::Boolean)).returns(T::Array[ActiveStorage::Blob]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::Blob::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) } def extending(*args, &block); end @@ -294,9 +297,6 @@ module ActiveStorage::Blob::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -384,6 +384,12 @@ module ActiveStorage::Blob::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::Blob).returns(T::Boolean)).returns(T::Array[ActiveStorage::Blob]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_storage/record.rbi b/sorbet/rails-rbi/models/active_storage/record.rbi index 721d860e3b..2aa829fcae 100644 --- a/sorbet/rails-rbi/models/active_storage/record.rbi +++ b/sorbet/rails-rbi/models/active_storage/record.rbi @@ -37,9 +37,6 @@ module ActiveStorage::Record::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Record::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::Record::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::Record::ActiveRecord_Relation) } def reselect(*args); end @@ -127,6 +124,12 @@ module ActiveStorage::Record::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveStorage::Record::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::Record).returns(T::Boolean)).returns(T::Array[ActiveStorage::Record]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::Record::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Record::ActiveRecord_Relation) } def extending(*args, &block); end @@ -150,9 +153,6 @@ module ActiveStorage::Record::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Record::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::Record::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::Record::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -240,6 +240,12 @@ module ActiveStorage::Record::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActiveStorage::Record::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::Record).returns(T::Boolean)).returns(T::Array[ActiveStorage::Record]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::Record::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Record::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/active_storage/variant_record.rbi b/sorbet/rails-rbi/models/active_storage/variant_record.rbi index 520227dae7..6ba363325a 100644 --- a/sorbet/rails-rbi/models/active_storage/variant_record.rbi +++ b/sorbet/rails-rbi/models/active_storage/variant_record.rbi @@ -112,9 +112,6 @@ module ActiveStorage::VariantRecord::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } def reselect(*args); end @@ -202,6 +199,12 @@ module ActiveStorage::VariantRecord::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::VariantRecord).returns(T::Boolean)).returns(T::Array[ActiveStorage::VariantRecord]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } def extending(*args, &block); end @@ -225,9 +228,6 @@ module ActiveStorage::VariantRecord::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::VariantRecord::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -315,6 +315,12 @@ module ActiveStorage::VariantRecord::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ActiveStorage::VariantRecord).returns(T::Boolean)).returns(T::Array[ActiveStorage::VariantRecord]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::VariantRecord::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/base_channel_details.rbi b/sorbet/rails-rbi/models/base_channel_details.rbi index 55f6176562..a177e5bd29 100644 --- a/sorbet/rails-rbi/models/base_channel_details.rbi +++ b/sorbet/rails-rbi/models/base_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in BaseChannelDetails # Please rerun bundle exec rake rails_rbi:models[BaseChannelDetails] to regenerate. -# typed: ignore +# typed: strong module BaseChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -58,9 +58,6 @@ module BaseChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(BaseChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(BaseChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(BaseChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -148,6 +145,12 @@ module BaseChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(BaseChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: BaseChannelDetails).returns(T::Boolean)).returns(T::Array[BaseChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(BaseChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(BaseChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -171,9 +174,6 @@ module BaseChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(BaseChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(BaseChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(BaseChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -261,6 +261,12 @@ module BaseChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(BaseChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: BaseChannelDetails).returns(T::Boolean)).returns(T::Array[BaseChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(BaseChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(BaseChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/bitflyer_connection.rbi b/sorbet/rails-rbi/models/bitflyer_connection.rbi index fc1f6de597..25ee3a8f33 100644 --- a/sorbet/rails-rbi/models/bitflyer_connection.rbi +++ b/sorbet/rails-rbi/models/bitflyer_connection.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in BitflyerConnection # Please rerun bundle exec rake rails_rbi:models[BitflyerConnection] to regenerate. -# typed: ignore +# typed: strong module BitflyerConnection::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -232,9 +232,6 @@ module BitflyerConnection::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(BitflyerConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(BitflyerConnection::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(BitflyerConnection::ActiveRecord_Relation) } def reselect(*args); end @@ -322,6 +319,12 @@ module BitflyerConnection::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(BitflyerConnection::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: BitflyerConnection).returns(T::Boolean)).returns(T::Array[BitflyerConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(BitflyerConnection::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(BitflyerConnection::ActiveRecord_Relation) } def extending(*args, &block); end @@ -345,9 +348,6 @@ module BitflyerConnection::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(BitflyerConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(BitflyerConnection::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(BitflyerConnection::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -435,6 +435,12 @@ module BitflyerConnection::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(BitflyerConnection::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: BitflyerConnection).returns(T::Boolean)).returns(T::Array[BitflyerConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(BitflyerConnection::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(BitflyerConnection::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/cached_uphold_tip.rbi b/sorbet/rails-rbi/models/cached_uphold_tip.rbi index 69ffd3acd0..198f0ccad8 100644 --- a/sorbet/rails-rbi/models/cached_uphold_tip.rbi +++ b/sorbet/rails-rbi/models/cached_uphold_tip.rbi @@ -142,9 +142,6 @@ module CachedUpholdTip::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(CachedUpholdTip::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CachedUpholdTip::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(CachedUpholdTip::ActiveRecord_Relation) } def reselect(*args); end @@ -232,6 +229,12 @@ module CachedUpholdTip::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(CachedUpholdTip::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: CachedUpholdTip).returns(T::Boolean)).returns(T::Array[CachedUpholdTip]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CachedUpholdTip::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CachedUpholdTip::ActiveRecord_Relation) } def extending(*args, &block); end @@ -255,9 +258,6 @@ module CachedUpholdTip::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(CachedUpholdTip::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CachedUpholdTip::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(CachedUpholdTip::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -345,6 +345,12 @@ module CachedUpholdTip::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(CachedUpholdTip::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: CachedUpholdTip).returns(T::Boolean)).returns(T::Array[CachedUpholdTip]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CachedUpholdTip::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CachedUpholdTip::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/case.rbi b/sorbet/rails-rbi/models/case.rbi index 96e5525f4e..cc7d4b1d8c 100644 --- a/sorbet/rails-rbi/models/case.rbi +++ b/sorbet/rails-rbi/models/case.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in Case # Please rerun bundle exec rake rails_rbi:models[Case] to regenerate. -# typed: ignore +# typed: strong module Case::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -175,9 +175,6 @@ module Case::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(Case::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Case::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(Case::ActiveRecord_Relation) } def reselect(*args); end @@ -265,6 +262,12 @@ module Case::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(Case::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: Case).returns(T::Boolean)).returns(T::Array[Case]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Case::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Case::ActiveRecord_Relation) } def extending(*args, &block); end @@ -288,9 +291,6 @@ module Case::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(Case::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Case::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(Case::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -378,6 +378,12 @@ module Case::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(Case::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: Case).returns(T::Boolean)).returns(T::Array[Case]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Case::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Case::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/case_note.rbi b/sorbet/rails-rbi/models/case_note.rbi index 9bf5c99b7d..23556385dc 100644 --- a/sorbet/rails-rbi/models/case_note.rbi +++ b/sorbet/rails-rbi/models/case_note.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in CaseNote # Please rerun bundle exec rake rails_rbi:models[CaseNote] to regenerate. -# typed: ignore +# typed: strong module CaseNote::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -148,9 +148,6 @@ module CaseNote::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(CaseNote::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CaseNote::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(CaseNote::ActiveRecord_Relation) } def reselect(*args); end @@ -238,6 +235,12 @@ module CaseNote::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(CaseNote::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: CaseNote).returns(T::Boolean)).returns(T::Array[CaseNote]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CaseNote::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CaseNote::ActiveRecord_Relation) } def extending(*args, &block); end @@ -261,9 +264,6 @@ module CaseNote::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(CaseNote::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CaseNote::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(CaseNote::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -351,6 +351,12 @@ module CaseNote::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(CaseNote::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: CaseNote).returns(T::Boolean)).returns(T::Array[CaseNote]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CaseNote::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CaseNote::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/case_reply.rbi b/sorbet/rails-rbi/models/case_reply.rbi index 5d0c482072..9130700e4c 100644 --- a/sorbet/rails-rbi/models/case_reply.rbi +++ b/sorbet/rails-rbi/models/case_reply.rbi @@ -85,9 +85,6 @@ module CaseReply::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(CaseReply::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CaseReply::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(CaseReply::ActiveRecord_Relation) } def reselect(*args); end @@ -175,6 +172,12 @@ module CaseReply::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(CaseReply::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: CaseReply).returns(T::Boolean)).returns(T::Array[CaseReply]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CaseReply::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CaseReply::ActiveRecord_Relation) } def extending(*args, &block); end @@ -198,9 +201,6 @@ module CaseReply::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(CaseReply::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CaseReply::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(CaseReply::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -288,6 +288,12 @@ module CaseReply::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(CaseReply::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: CaseReply).returns(T::Boolean)).returns(T::Array[CaseReply]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CaseReply::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CaseReply::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/channel.rbi b/sorbet/rails-rbi/models/channel.rbi index b9f9d3ab73..0dba2a0f1e 100644 --- a/sorbet/rails-rbi/models/channel.rbi +++ b/sorbet/rails-rbi/models/channel.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in Channel # Please rerun bundle exec rake rails_rbi:models[Channel] to regenerate. -# typed: ignore +# typed: strong module Channel::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -816,9 +816,6 @@ module Channel::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(Channel::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Channel::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(Channel::ActiveRecord_Relation) } def reselect(*args); end @@ -906,6 +903,12 @@ module Channel::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(Channel::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: Channel).returns(T::Boolean)).returns(T::Array[Channel]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Channel::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Channel::ActiveRecord_Relation) } def extending(*args, &block); end @@ -929,9 +932,6 @@ module Channel::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(Channel::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Channel::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(Channel::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -1019,6 +1019,12 @@ module Channel::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(Channel::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: Channel).returns(T::Boolean)).returns(T::Array[Channel]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Channel::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Channel::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/channel_transfer.rbi b/sorbet/rails-rbi/models/channel_transfer.rbi index 0b9e9637f2..6b374d009d 100644 --- a/sorbet/rails-rbi/models/channel_transfer.rbi +++ b/sorbet/rails-rbi/models/channel_transfer.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in ChannelTransfer # Please rerun bundle exec rake rails_rbi:models[ChannelTransfer] to regenerate. -# typed: ignore +# typed: strong module ChannelTransfer::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -187,9 +187,6 @@ module ChannelTransfer::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(ChannelTransfer::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ChannelTransfer::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(ChannelTransfer::ActiveRecord_Relation) } def reselect(*args); end @@ -277,6 +274,12 @@ module ChannelTransfer::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(ChannelTransfer::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: ChannelTransfer).returns(T::Boolean)).returns(T::Array[ChannelTransfer]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ChannelTransfer::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ChannelTransfer::ActiveRecord_Relation) } def extending(*args, &block); end @@ -300,9 +303,6 @@ module ChannelTransfer::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(ChannelTransfer::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(ChannelTransfer::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(ChannelTransfer::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -390,6 +390,12 @@ module ChannelTransfer::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(ChannelTransfer::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: ChannelTransfer).returns(T::Boolean)).returns(T::Array[ChannelTransfer]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(ChannelTransfer::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ChannelTransfer::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/csp_violation_report.rbi b/sorbet/rails-rbi/models/csp_violation_report.rbi index 71f8db7b9d..ce5c6c9a31 100644 --- a/sorbet/rails-rbi/models/csp_violation_report.rbi +++ b/sorbet/rails-rbi/models/csp_violation_report.rbi @@ -76,9 +76,6 @@ module CspViolationReport::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(CspViolationReport::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CspViolationReport::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(CspViolationReport::ActiveRecord_Relation) } def reselect(*args); end @@ -166,6 +163,12 @@ module CspViolationReport::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(CspViolationReport::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: CspViolationReport).returns(T::Boolean)).returns(T::Array[CspViolationReport]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CspViolationReport::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CspViolationReport::ActiveRecord_Relation) } def extending(*args, &block); end @@ -189,9 +192,6 @@ module CspViolationReport::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(CspViolationReport::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(CspViolationReport::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(CspViolationReport::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -279,6 +279,12 @@ module CspViolationReport::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(CspViolationReport::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: CspViolationReport).returns(T::Boolean)).returns(T::Array[CspViolationReport]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(CspViolationReport::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(CspViolationReport::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/daily_metric.rbi b/sorbet/rails-rbi/models/daily_metric.rbi index 881f858742..840d303517 100644 --- a/sorbet/rails-rbi/models/daily_metric.rbi +++ b/sorbet/rails-rbi/models/daily_metric.rbi @@ -94,9 +94,6 @@ module DailyMetric::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(DailyMetric::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(DailyMetric::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(DailyMetric::ActiveRecord_Relation) } def reselect(*args); end @@ -184,6 +181,12 @@ module DailyMetric::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(DailyMetric::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: DailyMetric).returns(T::Boolean)).returns(T::Array[DailyMetric]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(DailyMetric::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(DailyMetric::ActiveRecord_Relation) } def extending(*args, &block); end @@ -207,9 +210,6 @@ module DailyMetric::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(DailyMetric::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(DailyMetric::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(DailyMetric::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -297,6 +297,12 @@ module DailyMetric::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(DailyMetric::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: DailyMetric).returns(T::Boolean)).returns(T::Array[DailyMetric]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(DailyMetric::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(DailyMetric::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/faq.rbi b/sorbet/rails-rbi/models/faq.rbi index 74b1a258aa..8d2ee5b86f 100644 --- a/sorbet/rails-rbi/models/faq.rbi +++ b/sorbet/rails-rbi/models/faq.rbi @@ -133,9 +133,6 @@ module Faq::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(Faq::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Faq::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(Faq::ActiveRecord_Relation) } def reselect(*args); end @@ -223,6 +220,12 @@ module Faq::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(Faq::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: Faq).returns(T::Boolean)).returns(T::Array[Faq]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Faq::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Faq::ActiveRecord_Relation) } def extending(*args, &block); end @@ -246,9 +249,6 @@ module Faq::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(Faq::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Faq::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(Faq::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -336,6 +336,12 @@ module Faq::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(Faq::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: Faq).returns(T::Boolean)).returns(T::Array[Faq]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Faq::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Faq::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/faq_category.rbi b/sorbet/rails-rbi/models/faq_category.rbi index 3dd2674140..04f4ec7ba1 100644 --- a/sorbet/rails-rbi/models/faq_category.rbi +++ b/sorbet/rails-rbi/models/faq_category.rbi @@ -141,9 +141,6 @@ module FaqCategory::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(FaqCategory::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(FaqCategory::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(FaqCategory::ActiveRecord_Relation) } def reselect(*args); end @@ -231,6 +228,12 @@ module FaqCategory::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(FaqCategory::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: FaqCategory).returns(T::Boolean)).returns(T::Array[FaqCategory]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(FaqCategory::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(FaqCategory::ActiveRecord_Relation) } def extending(*args, &block); end @@ -254,9 +257,6 @@ module FaqCategory::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(FaqCategory::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(FaqCategory::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(FaqCategory::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -344,6 +344,12 @@ module FaqCategory::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(FaqCategory::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: FaqCategory).returns(T::Boolean)).returns(T::Array[FaqCategory]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(FaqCategory::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(FaqCategory::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/gemini_connection.rbi b/sorbet/rails-rbi/models/gemini_connection.rbi index b56a4fed53..ac2d5c86a9 100644 --- a/sorbet/rails-rbi/models/gemini_connection.rbi +++ b/sorbet/rails-rbi/models/gemini_connection.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in GeminiConnection # Please rerun bundle exec rake rails_rbi:models[GeminiConnection] to regenerate. -# typed: ignore +# typed: strong module GeminiConnection::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -276,9 +276,6 @@ module GeminiConnection::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(GeminiConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(GeminiConnection::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(GeminiConnection::ActiveRecord_Relation) } def reselect(*args); end @@ -366,6 +363,12 @@ module GeminiConnection::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(GeminiConnection::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: GeminiConnection).returns(T::Boolean)).returns(T::Array[GeminiConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(GeminiConnection::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(GeminiConnection::ActiveRecord_Relation) } def extending(*args, &block); end @@ -389,9 +392,6 @@ module GeminiConnection::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(GeminiConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(GeminiConnection::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(GeminiConnection::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -479,6 +479,12 @@ module GeminiConnection::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(GeminiConnection::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: GeminiConnection).returns(T::Boolean)).returns(T::Array[GeminiConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(GeminiConnection::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(GeminiConnection::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/gemini_connection_for_channel.rbi b/sorbet/rails-rbi/models/gemini_connection_for_channel.rbi index d036a869b2..3dface7a42 100644 --- a/sorbet/rails-rbi/models/gemini_connection_for_channel.rbi +++ b/sorbet/rails-rbi/models/gemini_connection_for_channel.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in GeminiConnectionForChannel # Please rerun bundle exec rake rails_rbi:models[GeminiConnectionForChannel] to regenerate. -# typed: ignore +# typed: strong module GeminiConnectionForChannel::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -142,9 +142,6 @@ module GeminiConnectionForChannel::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } def reselect(*args); end @@ -232,6 +229,12 @@ module GeminiConnectionForChannel::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: GeminiConnectionForChannel).returns(T::Boolean)).returns(T::Array[GeminiConnectionForChannel]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } def extending(*args, &block); end @@ -255,9 +258,6 @@ module GeminiConnectionForChannel::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(GeminiConnectionForChannel::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(GeminiConnectionForChannel::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(GeminiConnectionForChannel::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -345,6 +345,12 @@ module GeminiConnectionForChannel::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(GeminiConnectionForChannel::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: GeminiConnectionForChannel).returns(T::Boolean)).returns(T::Array[GeminiConnectionForChannel]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(GeminiConnectionForChannel::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(GeminiConnectionForChannel::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/github_channel_details.rbi b/sorbet/rails-rbi/models/github_channel_details.rbi index da5202ccd2..159df1fbd2 100644 --- a/sorbet/rails-rbi/models/github_channel_details.rbi +++ b/sorbet/rails-rbi/models/github_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in GithubChannelDetails # Please rerun bundle exec rake rails_rbi:models[GithubChannelDetails] to regenerate. -# typed: ignore +# typed: strong module GithubChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module GithubChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(GithubChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(GithubChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(GithubChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module GithubChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(GithubChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: GithubChannelDetails).returns(T::Boolean)).returns(T::Array[GithubChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(GithubChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(GithubChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module GithubChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(GithubChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(GithubChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(GithubChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module GithubChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(GithubChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: GithubChannelDetails).returns(T::Boolean)).returns(T::Array[GithubChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(GithubChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(GithubChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/invoice.rbi b/sorbet/rails-rbi/models/invoice.rbi index 4e44120f79..edbfacb014 100644 --- a/sorbet/rails-rbi/models/invoice.rbi +++ b/sorbet/rails-rbi/models/invoice.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in Invoice # Please rerun bundle exec rake rails_rbi:models[Invoice] to regenerate. -# typed: ignore +# typed: strong module Invoice::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -223,9 +223,6 @@ module Invoice::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(Invoice::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Invoice::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(Invoice::ActiveRecord_Relation) } def reselect(*args); end @@ -313,6 +310,12 @@ module Invoice::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(Invoice::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: Invoice).returns(T::Boolean)).returns(T::Array[Invoice]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Invoice::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Invoice::ActiveRecord_Relation) } def extending(*args, &block); end @@ -336,9 +339,6 @@ module Invoice::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(Invoice::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Invoice::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(Invoice::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -426,6 +426,12 @@ module Invoice::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(Invoice::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: Invoice).returns(T::Boolean)).returns(T::Array[Invoice]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Invoice::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Invoice::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/invoice_file.rbi b/sorbet/rails-rbi/models/invoice_file.rbi index dba2167c32..080c62d874 100644 --- a/sorbet/rails-rbi/models/invoice_file.rbi +++ b/sorbet/rails-rbi/models/invoice_file.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in InvoiceFile # Please rerun bundle exec rake rails_rbi:models[InvoiceFile] to regenerate. -# typed: ignore +# typed: strong module InvoiceFile::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -139,9 +139,6 @@ module InvoiceFile::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(InvoiceFile::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(InvoiceFile::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(InvoiceFile::ActiveRecord_Relation) } def reselect(*args); end @@ -229,6 +226,12 @@ module InvoiceFile::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(InvoiceFile::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: InvoiceFile).returns(T::Boolean)).returns(T::Array[InvoiceFile]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(InvoiceFile::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(InvoiceFile::ActiveRecord_Relation) } def extending(*args, &block); end @@ -252,9 +255,6 @@ module InvoiceFile::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(InvoiceFile::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(InvoiceFile::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(InvoiceFile::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -342,6 +342,12 @@ module InvoiceFile::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(InvoiceFile::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: InvoiceFile).returns(T::Boolean)).returns(T::Array[InvoiceFile]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(InvoiceFile::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(InvoiceFile::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/login_activity.rbi b/sorbet/rails-rbi/models/login_activity.rbi index 245fcab687..4a5d3293b3 100644 --- a/sorbet/rails-rbi/models/login_activity.rbi +++ b/sorbet/rails-rbi/models/login_activity.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in LoginActivity # Please rerun bundle exec rake rails_rbi:models[LoginActivity] to regenerate. -# typed: ignore +# typed: strong module LoginActivity::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -115,9 +115,6 @@ module LoginActivity::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(LoginActivity::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(LoginActivity::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(LoginActivity::ActiveRecord_Relation) } def reselect(*args); end @@ -205,6 +202,12 @@ module LoginActivity::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(LoginActivity::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: LoginActivity).returns(T::Boolean)).returns(T::Array[LoginActivity]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(LoginActivity::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(LoginActivity::ActiveRecord_Relation) } def extending(*args, &block); end @@ -228,9 +231,6 @@ module LoginActivity::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(LoginActivity::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(LoginActivity::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(LoginActivity::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -318,6 +318,12 @@ module LoginActivity::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(LoginActivity::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: LoginActivity).returns(T::Boolean)).returns(T::Array[LoginActivity]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(LoginActivity::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(LoginActivity::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/membership.rbi b/sorbet/rails-rbi/models/membership.rbi index 82ffe196c5..cbb0b285a9 100644 --- a/sorbet/rails-rbi/models/membership.rbi +++ b/sorbet/rails-rbi/models/membership.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in Membership # Please rerun bundle exec rake rails_rbi:models[Membership] to regenerate. -# typed: ignore +# typed: strong module Membership::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -124,9 +124,6 @@ module Membership::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(Membership::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Membership::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(Membership::ActiveRecord_Relation) } def reselect(*args); end @@ -214,6 +211,12 @@ module Membership::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(Membership::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: Membership).returns(T::Boolean)).returns(T::Array[Membership]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Membership::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Membership::ActiveRecord_Relation) } def extending(*args, &block); end @@ -237,9 +240,6 @@ module Membership::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(Membership::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Membership::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(Membership::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -327,6 +327,12 @@ module Membership::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(Membership::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: Membership).returns(T::Boolean)).returns(T::Array[Membership]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Membership::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Membership::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/organization.rbi b/sorbet/rails-rbi/models/organization.rbi index 0462353195..34d7254973 100644 --- a/sorbet/rails-rbi/models/organization.rbi +++ b/sorbet/rails-rbi/models/organization.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in Organization # Please rerun bundle exec rake rails_rbi:models[Organization] to regenerate. -# typed: ignore +# typed: strong module Organization::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -115,9 +115,6 @@ module Organization::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(Organization::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Organization::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(Organization::ActiveRecord_Relation) } def reselect(*args); end @@ -205,6 +202,12 @@ module Organization::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(Organization::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: Organization).returns(T::Boolean)).returns(T::Array[Organization]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Organization::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Organization::ActiveRecord_Relation) } def extending(*args, &block); end @@ -228,9 +231,6 @@ module Organization::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(Organization::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(Organization::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(Organization::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -318,6 +318,12 @@ module Organization::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(Organization::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: Organization).returns(T::Boolean)).returns(T::Array[Organization]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(Organization::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Organization::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/organization_permission.rbi b/sorbet/rails-rbi/models/organization_permission.rbi index 6d0c73592d..23e088e4bc 100644 --- a/sorbet/rails-rbi/models/organization_permission.rbi +++ b/sorbet/rails-rbi/models/organization_permission.rbi @@ -106,9 +106,6 @@ module OrganizationPermission::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(OrganizationPermission::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(OrganizationPermission::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(OrganizationPermission::ActiveRecord_Relation) } def reselect(*args); end @@ -196,6 +193,12 @@ module OrganizationPermission::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(OrganizationPermission::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: OrganizationPermission).returns(T::Boolean)).returns(T::Array[OrganizationPermission]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(OrganizationPermission::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(OrganizationPermission::ActiveRecord_Relation) } def extending(*args, &block); end @@ -219,9 +222,6 @@ module OrganizationPermission::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(OrganizationPermission::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(OrganizationPermission::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(OrganizationPermission::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -309,6 +309,12 @@ module OrganizationPermission::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(OrganizationPermission::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: OrganizationPermission).returns(T::Boolean)).returns(T::Array[OrganizationPermission]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(OrganizationPermission::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(OrganizationPermission::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/paper_trail/version.rbi b/sorbet/rails-rbi/models/paper_trail/version.rbi index c699054d32..d1fbeaaf01 100644 --- a/sorbet/rails-rbi/models/paper_trail/version.rbi +++ b/sorbet/rails-rbi/models/paper_trail/version.rbi @@ -133,9 +133,6 @@ module PaperTrail::Version::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PaperTrail::Version::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PaperTrail::Version::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PaperTrail::Version::ActiveRecord_Relation) } def reselect(*args); end @@ -223,6 +220,12 @@ module PaperTrail::Version::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PaperTrail::Version::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PaperTrail::Version).returns(T::Boolean)).returns(T::Array[PaperTrail::Version]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PaperTrail::Version::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PaperTrail::Version::ActiveRecord_Relation) } def extending(*args, &block); end @@ -246,9 +249,6 @@ module PaperTrail::Version::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PaperTrail::Version::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PaperTrail::Version::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PaperTrail::Version::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -336,6 +336,12 @@ module PaperTrail::Version::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PaperTrail::Version::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PaperTrail::Version).returns(T::Boolean)).returns(T::Array[PaperTrail::Version]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PaperTrail::Version::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PaperTrail::Version::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/payout_message.rbi b/sorbet/rails-rbi/models/payout_message.rbi index 34246caf66..b9270df211 100644 --- a/sorbet/rails-rbi/models/payout_message.rbi +++ b/sorbet/rails-rbi/models/payout_message.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PayoutMessage # Please rerun bundle exec rake rails_rbi:models[PayoutMessage] to regenerate. -# typed: ignore +# typed: strong module PayoutMessage::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -133,9 +133,6 @@ module PayoutMessage::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PayoutMessage::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PayoutMessage::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PayoutMessage::ActiveRecord_Relation) } def reselect(*args); end @@ -223,6 +220,12 @@ module PayoutMessage::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PayoutMessage::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PayoutMessage).returns(T::Boolean)).returns(T::Array[PayoutMessage]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PayoutMessage::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PayoutMessage::ActiveRecord_Relation) } def extending(*args, &block); end @@ -246,9 +249,6 @@ module PayoutMessage::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PayoutMessage::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PayoutMessage::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PayoutMessage::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -336,6 +336,12 @@ module PayoutMessage::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PayoutMessage::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PayoutMessage).returns(T::Boolean)).returns(T::Array[PayoutMessage]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PayoutMessage::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PayoutMessage::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/payout_report.rbi b/sorbet/rails-rbi/models/payout_report.rbi index 54d407ebd7..110c1a4688 100644 --- a/sorbet/rails-rbi/models/payout_report.rbi +++ b/sorbet/rails-rbi/models/payout_report.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PayoutReport # Please rerun bundle exec rake rails_rbi:models[PayoutReport] to regenerate. -# typed: ignore +# typed: strong module PayoutReport::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -177,9 +177,6 @@ module PayoutReport::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PayoutReport::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PayoutReport::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PayoutReport::ActiveRecord_Relation) } def reselect(*args); end @@ -267,6 +264,12 @@ module PayoutReport::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PayoutReport::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PayoutReport).returns(T::Boolean)).returns(T::Array[PayoutReport]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PayoutReport::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PayoutReport::ActiveRecord_Relation) } def extending(*args, &block); end @@ -290,9 +293,6 @@ module PayoutReport::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PayoutReport::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PayoutReport::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PayoutReport::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -380,6 +380,12 @@ module PayoutReport::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PayoutReport::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PayoutReport).returns(T::Boolean)).returns(T::Array[PayoutReport]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PayoutReport::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PayoutReport::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/paypal_connection.rbi b/sorbet/rails-rbi/models/paypal_connection.rbi index b01d0ea58d..13d7d8f8e0 100644 --- a/sorbet/rails-rbi/models/paypal_connection.rbi +++ b/sorbet/rails-rbi/models/paypal_connection.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PaypalConnection # Please rerun bundle exec rake rails_rbi:models[PaypalConnection] to regenerate. -# typed: ignore +# typed: strong module PaypalConnection::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module PaypalConnection::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PaypalConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PaypalConnection::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PaypalConnection::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module PaypalConnection::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PaypalConnection::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PaypalConnection).returns(T::Boolean)).returns(T::Array[PaypalConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PaypalConnection::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PaypalConnection::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module PaypalConnection::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PaypalConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PaypalConnection::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PaypalConnection::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module PaypalConnection::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PaypalConnection::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PaypalConnection).returns(T::Boolean)).returns(T::Array[PaypalConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PaypalConnection::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PaypalConnection::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/potential_payment.rbi b/sorbet/rails-rbi/models/potential_payment.rbi index 57df85412a..f507244025 100644 --- a/sorbet/rails-rbi/models/potential_payment.rbi +++ b/sorbet/rails-rbi/models/potential_payment.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PotentialPayment # Please rerun bundle exec rake rails_rbi:models[PotentialPayment] to regenerate. -# typed: ignore +# typed: strong module PotentialPayment::EnumInstanceMethods sig { returns(T::Boolean) } def uphold?; end @@ -541,9 +541,6 @@ module PotentialPayment::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PotentialPayment::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PotentialPayment::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PotentialPayment::ActiveRecord_Relation) } def reselect(*args); end @@ -631,6 +628,12 @@ module PotentialPayment::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PotentialPayment::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PotentialPayment).returns(T::Boolean)).returns(T::Array[PotentialPayment]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PotentialPayment::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PotentialPayment::ActiveRecord_Relation) } def extending(*args, &block); end @@ -654,9 +657,6 @@ module PotentialPayment::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PotentialPayment::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PotentialPayment::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PotentialPayment::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -744,6 +744,12 @@ module PotentialPayment::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PotentialPayment::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PotentialPayment).returns(T::Boolean)).returns(T::Array[PotentialPayment]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PotentialPayment::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PotentialPayment::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/promo_campaign.rbi b/sorbet/rails-rbi/models/promo_campaign.rbi index dff8efc91c..a476f98757 100644 --- a/sorbet/rails-rbi/models/promo_campaign.rbi +++ b/sorbet/rails-rbi/models/promo_campaign.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PromoCampaign # Please rerun bundle exec rake rails_rbi:models[PromoCampaign] to regenerate. -# typed: ignore +# typed: strong module PromoCampaign::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -115,9 +115,6 @@ module PromoCampaign::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PromoCampaign::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PromoCampaign::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PromoCampaign::ActiveRecord_Relation) } def reselect(*args); end @@ -205,6 +202,12 @@ module PromoCampaign::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PromoCampaign::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PromoCampaign).returns(T::Boolean)).returns(T::Array[PromoCampaign]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PromoCampaign::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PromoCampaign::ActiveRecord_Relation) } def extending(*args, &block); end @@ -228,9 +231,6 @@ module PromoCampaign::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PromoCampaign::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PromoCampaign::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PromoCampaign::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -318,6 +318,12 @@ module PromoCampaign::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PromoCampaign::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PromoCampaign).returns(T::Boolean)).returns(T::Array[PromoCampaign]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PromoCampaign::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PromoCampaign::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/promo_registration.rbi b/sorbet/rails-rbi/models/promo_registration.rbi index 3d65a07295..db17e76bf4 100644 --- a/sorbet/rails-rbi/models/promo_registration.rbi +++ b/sorbet/rails-rbi/models/promo_registration.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PromoRegistration # Please rerun bundle exec rake rails_rbi:models[PromoRegistration] to regenerate. -# typed: ignore +# typed: strong module PromoRegistration::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -321,9 +321,6 @@ module PromoRegistration::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PromoRegistration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PromoRegistration::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PromoRegistration::ActiveRecord_Relation) } def reselect(*args); end @@ -411,6 +408,12 @@ module PromoRegistration::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PromoRegistration::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PromoRegistration).returns(T::Boolean)).returns(T::Array[PromoRegistration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PromoRegistration::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PromoRegistration::ActiveRecord_Relation) } def extending(*args, &block); end @@ -434,9 +437,6 @@ module PromoRegistration::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PromoRegistration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PromoRegistration::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PromoRegistration::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -524,6 +524,12 @@ module PromoRegistration::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PromoRegistration::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PromoRegistration).returns(T::Boolean)).returns(T::Array[PromoRegistration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PromoRegistration::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PromoRegistration::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/publisher_note.rbi b/sorbet/rails-rbi/models/publisher_note.rbi index 61db9fe591..606cec509a 100644 --- a/sorbet/rails-rbi/models/publisher_note.rbi +++ b/sorbet/rails-rbi/models/publisher_note.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PublisherNote # Please rerun bundle exec rake rails_rbi:models[PublisherNote] to regenerate. -# typed: ignore +# typed: strong module PublisherNote::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -205,9 +205,6 @@ module PublisherNote::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PublisherNote::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PublisherNote::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PublisherNote::ActiveRecord_Relation) } def reselect(*args); end @@ -295,6 +292,12 @@ module PublisherNote::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PublisherNote::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PublisherNote).returns(T::Boolean)).returns(T::Array[PublisherNote]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PublisherNote::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PublisherNote::ActiveRecord_Relation) } def extending(*args, &block); end @@ -318,9 +321,6 @@ module PublisherNote::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PublisherNote::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PublisherNote::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PublisherNote::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -408,6 +408,12 @@ module PublisherNote::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PublisherNote::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PublisherNote).returns(T::Boolean)).returns(T::Array[PublisherNote]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PublisherNote::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PublisherNote::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/publisher_status_update.rbi b/sorbet/rails-rbi/models/publisher_status_update.rbi index 98bd8fb15f..792b77fe13 100644 --- a/sorbet/rails-rbi/models/publisher_status_update.rbi +++ b/sorbet/rails-rbi/models/publisher_status_update.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PublisherStatusUpdate # Please rerun bundle exec rake rails_rbi:models[PublisherStatusUpdate] to regenerate. -# typed: ignore +# typed: strong module PublisherStatusUpdate::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -124,9 +124,6 @@ module PublisherStatusUpdate::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PublisherStatusUpdate::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PublisherStatusUpdate::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PublisherStatusUpdate::ActiveRecord_Relation) } def reselect(*args); end @@ -214,6 +211,12 @@ module PublisherStatusUpdate::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PublisherStatusUpdate::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PublisherStatusUpdate).returns(T::Boolean)).returns(T::Array[PublisherStatusUpdate]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PublisherStatusUpdate::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PublisherStatusUpdate::ActiveRecord_Relation) } def extending(*args, &block); end @@ -237,9 +240,6 @@ module PublisherStatusUpdate::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PublisherStatusUpdate::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PublisherStatusUpdate::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PublisherStatusUpdate::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -327,6 +327,12 @@ module PublisherStatusUpdate::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PublisherStatusUpdate::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PublisherStatusUpdate).returns(T::Boolean)).returns(T::Array[PublisherStatusUpdate]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PublisherStatusUpdate::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PublisherStatusUpdate::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/publisher_whitelist_update.rbi b/sorbet/rails-rbi/models/publisher_whitelist_update.rbi index 896c1af3fd..510f93df47 100644 --- a/sorbet/rails-rbi/models/publisher_whitelist_update.rbi +++ b/sorbet/rails-rbi/models/publisher_whitelist_update.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in PublisherWhitelistUpdate # Please rerun bundle exec rake rails_rbi:models[PublisherWhitelistUpdate] to regenerate. -# typed: ignore +# typed: strong module PublisherWhitelistUpdate::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -133,9 +133,6 @@ module PublisherWhitelistUpdate::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } def reselect(*args); end @@ -223,6 +220,12 @@ module PublisherWhitelistUpdate::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: PublisherWhitelistUpdate).returns(T::Boolean)).returns(T::Array[PublisherWhitelistUpdate]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } def extending(*args, &block); end @@ -246,9 +249,6 @@ module PublisherWhitelistUpdate::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(PublisherWhitelistUpdate::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(PublisherWhitelistUpdate::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(PublisherWhitelistUpdate::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -336,6 +336,12 @@ module PublisherWhitelistUpdate::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(PublisherWhitelistUpdate::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: PublisherWhitelistUpdate).returns(T::Boolean)).returns(T::Array[PublisherWhitelistUpdate]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(PublisherWhitelistUpdate::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(PublisherWhitelistUpdate::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/reddit_channel_details.rbi b/sorbet/rails-rbi/models/reddit_channel_details.rbi index c63108223e..79c062aadc 100644 --- a/sorbet/rails-rbi/models/reddit_channel_details.rbi +++ b/sorbet/rails-rbi/models/reddit_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in RedditChannelDetails # Please rerun bundle exec rake rails_rbi:models[RedditChannelDetails] to regenerate. -# typed: ignore +# typed: strong module RedditChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module RedditChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(RedditChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(RedditChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(RedditChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module RedditChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(RedditChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: RedditChannelDetails).returns(T::Boolean)).returns(T::Array[RedditChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(RedditChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(RedditChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module RedditChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(RedditChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(RedditChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(RedditChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module RedditChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(RedditChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: RedditChannelDetails).returns(T::Boolean)).returns(T::Array[RedditChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(RedditChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(RedditChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/site_banner.rbi b/sorbet/rails-rbi/models/site_banner.rbi index b98f1d1614..59281aeee6 100644 --- a/sorbet/rails-rbi/models/site_banner.rbi +++ b/sorbet/rails-rbi/models/site_banner.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in SiteBanner # Please rerun bundle exec rake rails_rbi:models[SiteBanner] to regenerate. -# typed: ignore +# typed: strong module SiteBanner::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -196,9 +196,6 @@ module SiteBanner::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(SiteBanner::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(SiteBanner::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(SiteBanner::ActiveRecord_Relation) } def reselect(*args); end @@ -286,6 +283,12 @@ module SiteBanner::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(SiteBanner::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: SiteBanner).returns(T::Boolean)).returns(T::Array[SiteBanner]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SiteBanner::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SiteBanner::ActiveRecord_Relation) } def extending(*args, &block); end @@ -309,9 +312,6 @@ module SiteBanner::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(SiteBanner::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(SiteBanner::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(SiteBanner::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -399,6 +399,12 @@ module SiteBanner::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(SiteBanner::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: SiteBanner).returns(T::Boolean)).returns(T::Array[SiteBanner]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SiteBanner::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SiteBanner::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/site_banner_lookup.rbi b/sorbet/rails-rbi/models/site_banner_lookup.rbi index 2fb0036eec..aa587de59c 100644 --- a/sorbet/rails-rbi/models/site_banner_lookup.rbi +++ b/sorbet/rails-rbi/models/site_banner_lookup.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in SiteBannerLookup # Please rerun bundle exec rake rails_rbi:models[SiteBannerLookup] to regenerate. -# typed: ignore +# typed: strong module SiteBannerLookup::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module SiteBannerLookup::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(SiteBannerLookup::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(SiteBannerLookup::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(SiteBannerLookup::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module SiteBannerLookup::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(SiteBannerLookup::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: SiteBannerLookup).returns(T::Boolean)).returns(T::Array[SiteBannerLookup]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SiteBannerLookup::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SiteBannerLookup::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module SiteBannerLookup::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(SiteBannerLookup::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(SiteBannerLookup::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(SiteBannerLookup::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module SiteBannerLookup::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(SiteBannerLookup::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: SiteBannerLookup).returns(T::Boolean)).returns(T::Array[SiteBannerLookup]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SiteBannerLookup::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SiteBannerLookup::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/site_channel_details.rbi b/sorbet/rails-rbi/models/site_channel_details.rbi index 0b4ed8babe..cb0d442668 100644 --- a/sorbet/rails-rbi/models/site_channel_details.rbi +++ b/sorbet/rails-rbi/models/site_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in SiteChannelDetails # Please rerun bundle exec rake rails_rbi:models[SiteChannelDetails] to regenerate. -# typed: ignore +# typed: strong module SiteChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -243,9 +243,6 @@ module SiteChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(SiteChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(SiteChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(SiteChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -333,6 +330,12 @@ module SiteChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(SiteChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: SiteChannelDetails).returns(T::Boolean)).returns(T::Array[SiteChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SiteChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SiteChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -356,9 +359,6 @@ module SiteChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(SiteChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(SiteChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(SiteChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -446,6 +446,12 @@ module SiteChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(SiteChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: SiteChannelDetails).returns(T::Boolean)).returns(T::Array[SiteChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SiteChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SiteChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/stripe_connection.rbi b/sorbet/rails-rbi/models/stripe_connection.rbi index 3d35cff28c..d842ff9563 100644 --- a/sorbet/rails-rbi/models/stripe_connection.rbi +++ b/sorbet/rails-rbi/models/stripe_connection.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in StripeConnection # Please rerun bundle exec rake rails_rbi:models[StripeConnection] to regenerate. -# typed: ignore +# typed: strong module StripeConnection::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -214,9 +214,6 @@ module StripeConnection::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(StripeConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(StripeConnection::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(StripeConnection::ActiveRecord_Relation) } def reselect(*args); end @@ -304,6 +301,12 @@ module StripeConnection::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(StripeConnection::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: StripeConnection).returns(T::Boolean)).returns(T::Array[StripeConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(StripeConnection::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(StripeConnection::ActiveRecord_Relation) } def extending(*args, &block); end @@ -327,9 +330,6 @@ module StripeConnection::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(StripeConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(StripeConnection::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(StripeConnection::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -417,6 +417,12 @@ module StripeConnection::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(StripeConnection::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: StripeConnection).returns(T::Boolean)).returns(T::Array[StripeConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(StripeConnection::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(StripeConnection::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/totp_registration.rbi b/sorbet/rails-rbi/models/totp_registration.rbi index 2066fa2966..b0e8851133 100644 --- a/sorbet/rails-rbi/models/totp_registration.rbi +++ b/sorbet/rails-rbi/models/totp_registration.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in TotpRegistration # Please rerun bundle exec rake rails_rbi:models[TotpRegistration] to regenerate. -# typed: ignore +# typed: strong module TotpRegistration::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -124,9 +124,6 @@ module TotpRegistration::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(TotpRegistration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TotpRegistration::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(TotpRegistration::ActiveRecord_Relation) } def reselect(*args); end @@ -214,6 +211,12 @@ module TotpRegistration::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(TotpRegistration::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: TotpRegistration).returns(T::Boolean)).returns(T::Array[TotpRegistration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TotpRegistration::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TotpRegistration::ActiveRecord_Relation) } def extending(*args, &block); end @@ -237,9 +240,6 @@ module TotpRegistration::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(TotpRegistration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TotpRegistration::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(TotpRegistration::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -327,6 +327,12 @@ module TotpRegistration::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(TotpRegistration::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: TotpRegistration).returns(T::Boolean)).returns(T::Array[TotpRegistration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TotpRegistration::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TotpRegistration::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/twitch_channel_details.rbi b/sorbet/rails-rbi/models/twitch_channel_details.rbi index 408b4ec165..26d6373db1 100644 --- a/sorbet/rails-rbi/models/twitch_channel_details.rbi +++ b/sorbet/rails-rbi/models/twitch_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in TwitchChannelDetails # Please rerun bundle exec rake rails_rbi:models[TwitchChannelDetails] to regenerate. -# typed: ignore +# typed: strong module TwitchChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module TwitchChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(TwitchChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TwitchChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(TwitchChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module TwitchChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(TwitchChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: TwitchChannelDetails).returns(T::Boolean)).returns(T::Array[TwitchChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TwitchChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TwitchChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module TwitchChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(TwitchChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TwitchChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(TwitchChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module TwitchChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(TwitchChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: TwitchChannelDetails).returns(T::Boolean)).returns(T::Array[TwitchChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TwitchChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TwitchChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/twitter_channel_details.rbi b/sorbet/rails-rbi/models/twitter_channel_details.rbi index 6dbbd7e389..df1c05539e 100644 --- a/sorbet/rails-rbi/models/twitter_channel_details.rbi +++ b/sorbet/rails-rbi/models/twitter_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in TwitterChannelDetails # Please rerun bundle exec rake rails_rbi:models[TwitterChannelDetails] to regenerate. -# typed: ignore +# typed: strong module TwitterChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -151,9 +151,6 @@ module TwitterChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(TwitterChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TwitterChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(TwitterChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -241,6 +238,12 @@ module TwitterChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(TwitterChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: TwitterChannelDetails).returns(T::Boolean)).returns(T::Array[TwitterChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TwitterChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TwitterChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -264,9 +267,6 @@ module TwitterChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(TwitterChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TwitterChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(TwitterChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -354,6 +354,12 @@ module TwitterChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(TwitterChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: TwitterChannelDetails).returns(T::Boolean)).returns(T::Array[TwitterChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TwitterChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TwitterChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/two_factor_authentication_removal.rbi b/sorbet/rails-rbi/models/two_factor_authentication_removal.rbi index 52bb2fc53f..4d92a4921f 100644 --- a/sorbet/rails-rbi/models/two_factor_authentication_removal.rbi +++ b/sorbet/rails-rbi/models/two_factor_authentication_removal.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in TwoFactorAuthenticationRemoval # Please rerun bundle exec rake rails_rbi:models[TwoFactorAuthenticationRemoval] to regenerate. -# typed: ignore +# typed: strong module TwoFactorAuthenticationRemoval::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -106,9 +106,6 @@ module TwoFactorAuthenticationRemoval::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } def reselect(*args); end @@ -196,6 +193,12 @@ module TwoFactorAuthenticationRemoval::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: TwoFactorAuthenticationRemoval).returns(T::Boolean)).returns(T::Array[TwoFactorAuthenticationRemoval]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } def extending(*args, &block); end @@ -219,9 +222,6 @@ module TwoFactorAuthenticationRemoval::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(TwoFactorAuthenticationRemoval::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(TwoFactorAuthenticationRemoval::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(TwoFactorAuthenticationRemoval::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -309,6 +309,12 @@ module TwoFactorAuthenticationRemoval::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(TwoFactorAuthenticationRemoval::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: TwoFactorAuthenticationRemoval).returns(T::Boolean)).returns(T::Array[TwoFactorAuthenticationRemoval]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(TwoFactorAuthenticationRemoval::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(TwoFactorAuthenticationRemoval::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/u2f_registration.rbi b/sorbet/rails-rbi/models/u2f_registration.rbi index fd5138b7cc..2d74f2c083 100644 --- a/sorbet/rails-rbi/models/u2f_registration.rbi +++ b/sorbet/rails-rbi/models/u2f_registration.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in U2fRegistration # Please rerun bundle exec rake rails_rbi:models[U2fRegistration] to regenerate. -# typed: ignore +# typed: strong module U2fRegistration::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -142,9 +142,6 @@ module U2fRegistration::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(U2fRegistration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(U2fRegistration::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(U2fRegistration::ActiveRecord_Relation) } def reselect(*args); end @@ -232,6 +229,12 @@ module U2fRegistration::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(U2fRegistration::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: U2fRegistration).returns(T::Boolean)).returns(T::Array[U2fRegistration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(U2fRegistration::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(U2fRegistration::ActiveRecord_Relation) } def extending(*args, &block); end @@ -255,9 +258,6 @@ module U2fRegistration::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(U2fRegistration::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(U2fRegistration::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(U2fRegistration::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -345,6 +345,12 @@ module U2fRegistration::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(U2fRegistration::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: U2fRegistration).returns(T::Boolean)).returns(T::Array[U2fRegistration]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(U2fRegistration::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(U2fRegistration::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/uphold_connection.rbi b/sorbet/rails-rbi/models/uphold_connection.rbi index 8357640a89..9d7410c726 100644 --- a/sorbet/rails-rbi/models/uphold_connection.rbi +++ b/sorbet/rails-rbi/models/uphold_connection.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in UpholdConnection # Please rerun bundle exec rake rails_rbi:models[UpholdConnection] to regenerate. -# typed: ignore +# typed: strong module UpholdConnection::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -315,9 +315,6 @@ module UpholdConnection::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(UpholdConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UpholdConnection::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(UpholdConnection::ActiveRecord_Relation) } def reselect(*args); end @@ -405,6 +402,12 @@ module UpholdConnection::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(UpholdConnection::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: UpholdConnection).returns(T::Boolean)).returns(T::Array[UpholdConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UpholdConnection::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UpholdConnection::ActiveRecord_Relation) } def extending(*args, &block); end @@ -428,9 +431,6 @@ module UpholdConnection::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(UpholdConnection::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UpholdConnection::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(UpholdConnection::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -518,6 +518,12 @@ module UpholdConnection::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(UpholdConnection::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: UpholdConnection).returns(T::Boolean)).returns(T::Array[UpholdConnection]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UpholdConnection::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UpholdConnection::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/uphold_connection_for_channel.rbi b/sorbet/rails-rbi/models/uphold_connection_for_channel.rbi index a3d3ed4525..7bad4cb09c 100644 --- a/sorbet/rails-rbi/models/uphold_connection_for_channel.rbi +++ b/sorbet/rails-rbi/models/uphold_connection_for_channel.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in UpholdConnectionForChannel # Please rerun bundle exec rake rails_rbi:models[UpholdConnectionForChannel] to regenerate. -# typed: ignore +# typed: strong module UpholdConnectionForChannel::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module UpholdConnectionForChannel::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module UpholdConnectionForChannel::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: UpholdConnectionForChannel).returns(T::Boolean)).returns(T::Array[UpholdConnectionForChannel]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module UpholdConnectionForChannel::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(UpholdConnectionForChannel::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UpholdConnectionForChannel::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(UpholdConnectionForChannel::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module UpholdConnectionForChannel::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(UpholdConnectionForChannel::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: UpholdConnectionForChannel).returns(T::Boolean)).returns(T::Array[UpholdConnectionForChannel]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UpholdConnectionForChannel::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UpholdConnectionForChannel::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/uphold_status_report.rbi b/sorbet/rails-rbi/models/uphold_status_report.rbi index f0fdc8974c..c7fed19776 100644 --- a/sorbet/rails-rbi/models/uphold_status_report.rbi +++ b/sorbet/rails-rbi/models/uphold_status_report.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in UpholdStatusReport # Please rerun bundle exec rake rails_rbi:models[UpholdStatusReport] to regenerate. -# typed: ignore +# typed: strong module UpholdStatusReport::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -106,9 +106,6 @@ module UpholdStatusReport::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(UpholdStatusReport::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UpholdStatusReport::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(UpholdStatusReport::ActiveRecord_Relation) } def reselect(*args); end @@ -196,6 +193,12 @@ module UpholdStatusReport::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(UpholdStatusReport::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: UpholdStatusReport).returns(T::Boolean)).returns(T::Array[UpholdStatusReport]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UpholdStatusReport::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UpholdStatusReport::ActiveRecord_Relation) } def extending(*args, &block); end @@ -219,9 +222,6 @@ module UpholdStatusReport::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(UpholdStatusReport::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UpholdStatusReport::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(UpholdStatusReport::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -309,6 +309,12 @@ module UpholdStatusReport::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(UpholdStatusReport::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: UpholdStatusReport).returns(T::Boolean)).returns(T::Array[UpholdStatusReport]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UpholdStatusReport::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UpholdStatusReport::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/user_authentication_token.rbi b/sorbet/rails-rbi/models/user_authentication_token.rbi index 512063f961..35f46463d8 100644 --- a/sorbet/rails-rbi/models/user_authentication_token.rbi +++ b/sorbet/rails-rbi/models/user_authentication_token.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in UserAuthenticationToken # Please rerun bundle exec rake rails_rbi:models[UserAuthenticationToken] to regenerate. -# typed: ignore +# typed: strong module UserAuthenticationToken::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -106,9 +106,6 @@ module UserAuthenticationToken::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(UserAuthenticationToken::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UserAuthenticationToken::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(UserAuthenticationToken::ActiveRecord_Relation) } def reselect(*args); end @@ -196,6 +193,12 @@ module UserAuthenticationToken::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(UserAuthenticationToken::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: UserAuthenticationToken).returns(T::Boolean)).returns(T::Array[UserAuthenticationToken]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UserAuthenticationToken::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UserAuthenticationToken::ActiveRecord_Relation) } def extending(*args, &block); end @@ -219,9 +222,6 @@ module UserAuthenticationToken::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(UserAuthenticationToken::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(UserAuthenticationToken::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(UserAuthenticationToken::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -309,6 +309,12 @@ module UserAuthenticationToken::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(UserAuthenticationToken::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: UserAuthenticationToken).returns(T::Boolean)).returns(T::Array[UserAuthenticationToken]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(UserAuthenticationToken::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(UserAuthenticationToken::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/vimeo_channel_details.rbi b/sorbet/rails-rbi/models/vimeo_channel_details.rbi index 11a11311f8..763f18f31f 100644 --- a/sorbet/rails-rbi/models/vimeo_channel_details.rbi +++ b/sorbet/rails-rbi/models/vimeo_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in VimeoChannelDetails # Please rerun bundle exec rake rails_rbi:models[VimeoChannelDetails] to regenerate. -# typed: ignore +# typed: strong module VimeoChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -160,9 +160,6 @@ module VimeoChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(VimeoChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(VimeoChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(VimeoChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -250,6 +247,12 @@ module VimeoChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(VimeoChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: VimeoChannelDetails).returns(T::Boolean)).returns(T::Array[VimeoChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(VimeoChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(VimeoChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -273,9 +276,6 @@ module VimeoChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(VimeoChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(VimeoChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(VimeoChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -363,6 +363,12 @@ module VimeoChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(VimeoChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: VimeoChannelDetails).returns(T::Boolean)).returns(T::Array[VimeoChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(VimeoChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(VimeoChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/models/youtube_channel_details.rbi b/sorbet/rails-rbi/models/youtube_channel_details.rbi index 0fd79c8a5f..e4daeee522 100644 --- a/sorbet/rails-rbi/models/youtube_channel_details.rbi +++ b/sorbet/rails-rbi/models/youtube_channel_details.rbi @@ -1,7 +1,7 @@ # This is an autogenerated file for dynamic methods in YoutubeChannelDetails # Please rerun bundle exec rake rails_rbi:models[YoutubeChannelDetails] to regenerate. -# typed: ignore +# typed: strong module YoutubeChannelDetails::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end @@ -178,9 +178,6 @@ module YoutubeChannelDetails::QueryMethodsReturningRelation sig { params(block: T.nilable(T.proc.void)).returns(YoutubeChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(YoutubeChannelDetails::ActiveRecord_Relation) } - def select(*args); end - sig { params(args: T.untyped).returns(YoutubeChannelDetails::ActiveRecord_Relation) } def reselect(*args); end @@ -268,6 +265,12 @@ module YoutubeChannelDetails::QueryMethodsReturningRelation sig { params(args: T.untyped).returns(YoutubeChannelDetails::ActiveRecord_Relation) } def only(*args); end + sig { params(block: T.proc.params(e: YoutubeChannelDetails).returns(T::Boolean)).returns(T::Array[YoutubeChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(YoutubeChannelDetails::ActiveRecord_Relation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(YoutubeChannelDetails::ActiveRecord_Relation) } def extending(*args, &block); end @@ -291,9 +294,6 @@ module YoutubeChannelDetails::QueryMethodsReturningAssociationRelation sig { params(block: T.nilable(T.proc.void)).returns(YoutubeChannelDetails::ActiveRecord_Relation) } def unscoped(&block); end - sig { params(args: T.untyped).returns(YoutubeChannelDetails::ActiveRecord_AssociationRelation) } - def select(*args); end - sig { params(args: T.untyped).returns(YoutubeChannelDetails::ActiveRecord_AssociationRelation) } def reselect(*args); end @@ -381,6 +381,12 @@ module YoutubeChannelDetails::QueryMethodsReturningAssociationRelation sig { params(args: T.untyped).returns(YoutubeChannelDetails::ActiveRecord_AssociationRelation) } def only(*args); end + sig { params(block: T.proc.params(e: YoutubeChannelDetails).returns(T::Boolean)).returns(T::Array[YoutubeChannelDetails]) } + def select(&block); end + + sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(YoutubeChannelDetails::ActiveRecord_AssociationRelation) } + def select_columns(*args); end + sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(YoutubeChannelDetails::ActiveRecord_AssociationRelation) } def extending(*args, &block); end diff --git a/sorbet/rails-rbi/type_assert.rbi b/sorbet/rails-rbi/type_assert.rbi index 9b26fd81e8..3b918febae 100644 --- a/sorbet/rails-rbi/type_assert.rbi +++ b/sorbet/rails-rbi/type_assert.rbi @@ -1,4 +1,4 @@ -# typed: strong +# typed: false module ITypeAssert extend T::Sig diff --git a/sorbet/rails-rbi/typed_params.rbi b/sorbet/rails-rbi/typed_params.rbi index be640d63a5..0ae427f3ac 100644 --- a/sorbet/rails-rbi/typed_params.rbi +++ b/sorbet/rails-rbi/typed_params.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strict module TypedParams extend T::Generic diff --git a/sorbet/rbi/gems/actioncable@6.1.4.1.rbi b/sorbet/rbi/gems/actioncable@6.1.4.4.rbi similarity index 99% rename from sorbet/rbi/gems/actioncable@6.1.4.1.rbi rename to sorbet/rbi/gems/actioncable@6.1.4.4.rbi index 4dc8967457..41a348752a 100644 --- a/sorbet/rbi/gems/actioncable@6.1.4.1.rbi +++ b/sorbet/rbi/gems/actioncable@6.1.4.4.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `actioncable` gem. diff --git a/sorbet/rbi/gems/actionmailbox@6.1.4.1.rbi b/sorbet/rbi/gems/actionmailbox@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/actionmailbox@6.1.4.1.rbi rename to sorbet/rbi/gems/actionmailbox@6.1.4.4.rbi diff --git a/sorbet/rbi/gems/actionmailer@6.1.4.1.rbi b/sorbet/rbi/gems/actionmailer@6.1.4.4.rbi similarity index 99% rename from sorbet/rbi/gems/actionmailer@6.1.4.1.rbi rename to sorbet/rbi/gems/actionmailer@6.1.4.4.rbi index 61b721d7b4..911debd1f7 100644 --- a/sorbet/rbi/gems/actionmailer@6.1.4.1.rbi +++ b/sorbet/rbi/gems/actionmailer@6.1.4.4.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `actionmailer` gem. diff --git a/sorbet/rbi/gems/actionpack@6.1.4.1.rbi b/sorbet/rbi/gems/actionpack@6.1.4.4.rbi similarity index 99% rename from sorbet/rbi/gems/actionpack@6.1.4.1.rbi rename to sorbet/rbi/gems/actionpack@6.1.4.4.rbi index 88365551c9..b220c15398 100644 --- a/sorbet/rbi/gems/actionpack@6.1.4.1.rbi +++ b/sorbet/rbi/gems/actionpack@6.1.4.4.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `actionpack` gem. @@ -1075,6 +1075,11 @@ module ActionController::Helpers def helpers; end + class << self + def helpers_path; end + def helpers_path=(_arg0); end + end + module GeneratedClassMethods def _helper_methods; end def _helper_methods=(value); end @@ -1098,11 +1103,6 @@ module ActionController::Helpers def include_all_helpers=(value); end def include_all_helpers?; end end - - class << self - def helpers_path; end - def helpers_path=(_arg0); end - end end module ActionController::Helpers::ClassMethods @@ -1239,13 +1239,13 @@ module ActionController::Live mixes_in_class_methods ::ActionController::Live::ClassMethods + def new_controller_thread; end def process(name); end def response_body=(body); end private def log_error(exception); end - def new_controller_thread; end end class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer @@ -1335,6 +1335,8 @@ module ActionController::Logging::ClassMethods end class ActionController::Metal < ::AbstractController::Base + include ::ActionController::Testing::Functional + def initialize; end def content_type(*_arg0, &_arg1); end @@ -1685,6 +1687,10 @@ module ActionController::Redirecting def _extract_redirect_to_status(options, response_options); end def _url_host_allowed?(url); end + class << self + def _compute_redirect_to_location(request, options); end + end + module GeneratedClassMethods def default_url_options; end def default_url_options=(value); end @@ -1696,10 +1702,6 @@ module ActionController::Redirecting def default_url_options=(value); end def default_url_options?; end end - - class << self - def _compute_redirect_to_location(request, options); end - end end class ActionController::RenderError < ::ActionController::ActionControllerError; end @@ -1741,6 +1743,12 @@ module ActionController::Renderers def _render_with_renderer_xml(xml, options); end def render_to_body(options); end + class << self + def _render_with_renderer_method_name(key); end + def add(key, &block); end + def remove(key); end + end + module GeneratedClassMethods def _renderers; end def _renderers=(value); end @@ -1752,12 +1760,6 @@ module ActionController::Renderers def _renderers=(value); end def _renderers?; end end - - class << self - def _render_with_renderer_method_name(key); end - def add(key, &block); end - def remove(key); end - end end module ActionController::Renderers::All @@ -2742,8 +2744,12 @@ class ActionDispatch::HostAuthorization def mark_as_authorized(request); end end +ActionDispatch::HostAuthorization::ALLOWED_HOSTS_IN_DEVELOPMENT = T.let(T.unsafe(nil), Array) ActionDispatch::HostAuthorization::DEFAULT_RESPONSE_APP = T.let(T.unsafe(nil), Proc) -ActionDispatch::HostAuthorization::HOSTNAME = T.let(T.unsafe(nil), Regexp) +ActionDispatch::HostAuthorization::IPV4_HOSTNAME = T.let(T.unsafe(nil), Regexp) +ActionDispatch::HostAuthorization::IPV6_HOSTNAME = T.let(T.unsafe(nil), Regexp) +ActionDispatch::HostAuthorization::IPV6_HOSTNAME_WITH_PORT = T.let(T.unsafe(nil), Regexp) +ActionDispatch::HostAuthorization::PORT_REGEX = T.let(T.unsafe(nil), Regexp) class ActionDispatch::HostAuthorization::Permissions def initialize(hosts); end @@ -2753,13 +2759,13 @@ class ActionDispatch::HostAuthorization::Permissions private + def extract_hostname(host); end def sanitize_hosts(hosts); end def sanitize_regexp(host); end def sanitize_string(host); end end -ActionDispatch::HostAuthorization::VALID_FORWARDED_HOST = T.let(T.unsafe(nil), Regexp) -ActionDispatch::HostAuthorization::VALID_ORIGIN_HOST = T.let(T.unsafe(nil), Regexp) +ActionDispatch::HostAuthorization::VALID_IP_HOSTNAME = T.let(T.unsafe(nil), Regexp) module ActionDispatch::Http extend ::ActiveSupport::Autoload diff --git a/sorbet/rbi/gems/actiontext@6.1.4.1.rbi b/sorbet/rbi/gems/actiontext@6.1.4.4.rbi similarity index 99% rename from sorbet/rbi/gems/actiontext@6.1.4.1.rbi rename to sorbet/rbi/gems/actiontext@6.1.4.4.rbi index b864891bb3..c752bb3a84 100644 --- a/sorbet/rbi/gems/actiontext@6.1.4.1.rbi +++ b/sorbet/rbi/gems/actiontext@6.1.4.4.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `actiontext` gem. diff --git a/sorbet/rbi/gems/actionview@6.1.4.1.rbi b/sorbet/rbi/gems/actionview@6.1.4.4.rbi similarity index 99% rename from sorbet/rbi/gems/actionview@6.1.4.1.rbi rename to sorbet/rbi/gems/actionview@6.1.4.4.rbi index 9d46cc7b97..5537a00496 100644 --- a/sorbet/rbi/gems/actionview@6.1.4.1.rbi +++ b/sorbet/rbi/gems/actionview@6.1.4.4.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `actionview` gem. diff --git a/sorbet/rbi/gems/active_model_serializers@0.10.12.rbi b/sorbet/rbi/gems/active_model_serializers@0.10.13.rbi similarity index 99% rename from sorbet/rbi/gems/active_model_serializers@0.10.12.rbi rename to sorbet/rbi/gems/active_model_serializers@0.10.13.rbi index 3fe9a7def9..bc7b7259a7 100644 --- a/sorbet/rbi/gems/active_model_serializers@0.10.12.rbi +++ b/sorbet/rbi/gems/active_model_serializers@0.10.13.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `active_model_serializers` gem. @@ -358,10 +358,13 @@ class ActiveModel::Serializer::CollectionSerializer private + def raise_cannot_infer_root_key_error?; end def serializer_from_resource(resource, serializer_context_class, options); end def serializers_from_resources; end end +class ActiveModel::Serializer::CollectionSerializer::CannotInferRootKeyError < ::StandardError; end + class ActiveModel::Serializer::ErrorSerializer < ::ActiveModel::Serializer def as_json; end def success?; end @@ -496,6 +499,8 @@ class ActiveModel::Serializer::Null < ::ActiveModel::Serializer end end +ActiveModel::Serializer::REFLECTION_OPTIONS = T.let(T.unsafe(nil), Array) + class ActiveModel::Serializer::Reflection < ::ActiveModel::Serializer::Field def initialize(*_arg0); end diff --git a/sorbet/rbi/gems/activejob@6.1.4.1.rbi b/sorbet/rbi/gems/activejob@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/activejob@6.1.4.1.rbi rename to sorbet/rbi/gems/activejob@6.1.4.4.rbi index 27731a2f4a..d6030f2208 100644 --- a/sorbet/rbi/gems/activejob@6.1.4.1.rbi +++ b/sorbet/rbi/gems/activejob@6.1.4.4.rbi @@ -145,6 +145,13 @@ module ActiveJob::Callbacks def halted_callback_hook(_filter, name); end + class << self + def __callbacks; end + def __callbacks?; end + def _execute_callbacks; end + def _run_execute_callbacks(&block); end + end + module GeneratedClassMethods def __callbacks; end def __callbacks=(value); end @@ -157,13 +164,6 @@ module ActiveJob::Callbacks def __callbacks; end def __callbacks?; end end - - class << self - def __callbacks; end - def __callbacks?; end - def _execute_callbacks; end - def _run_execute_callbacks(&block); end - end end module ActiveJob::Callbacks::ClassMethods diff --git a/sorbet/rbi/gems/activemodel@6.1.4.1.rbi b/sorbet/rbi/gems/activemodel@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/activemodel@6.1.4.1.rbi rename to sorbet/rbi/gems/activemodel@6.1.4.4.rbi diff --git a/sorbet/rbi/gems/activerecord@6.1.4.1.rbi b/sorbet/rbi/gems/activerecord@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/activerecord@6.1.4.1.rbi rename to sorbet/rbi/gems/activerecord@6.1.4.4.rbi index 88d6d2cd05..45b846de15 100644 --- a/sorbet/rbi/gems/activerecord@6.1.4.1.rbi +++ b/sorbet/rbi/gems/activerecord@6.1.4.4.rbi @@ -968,6 +968,10 @@ module ActiveRecord::AttributeMethods def format_for_inspect(name, value); end def pk_attribute?(name); end + class << self + def dangerous_attribute_methods; end + end + module GeneratedClassMethods def attribute_aliases; end def attribute_aliases=(value); end @@ -998,10 +1002,6 @@ module ActiveRecord::AttributeMethods def time_zone_aware_types; end def time_zone_aware_types?; end end - - class << self - def dangerous_attribute_methods; end - end end module ActiveRecord::AttributeMethods::BeforeTypeCast @@ -4705,6 +4705,10 @@ module ActiveRecord::ModelSchema mixes_in_class_methods GeneratedClassMethods + class << self + def derive_join_table_name(first_table, second_table); end + end + module GeneratedClassMethods def immutable_strings_by_default; end def immutable_strings_by_default=(value); end @@ -4737,10 +4741,6 @@ module ActiveRecord::ModelSchema def table_name_suffix; end def table_name_suffix?; end end - - class << self - def derive_join_table_name(first_table, second_table); end - end end module ActiveRecord::ModelSchema::ClassMethods @@ -5451,6 +5451,16 @@ module ActiveRecord::Reflection mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveRecord::Reflection::ClassMethods + class << self + def add_aggregate_reflection(ar, name, reflection); end + def add_reflection(ar, name, reflection); end + def create(macro, name, scope, options, ar); end + + private + + def reflection_class_for(macro); end + end + module GeneratedClassMethods def _reflections; end def _reflections=(value); end @@ -5466,16 +5476,6 @@ module ActiveRecord::Reflection def aggregate_reflections; end def aggregate_reflections?; end end - - class << self - def add_aggregate_reflection(ar, name, reflection); end - def add_reflection(ar, name, reflection); end - def create(macro, name, scope, options, ar); end - - private - - def reflection_class_for(macro); end - end end class ActiveRecord::Reflection::AbstractReflection diff --git a/sorbet/rbi/gems/activestorage@6.1.4.1.rbi b/sorbet/rbi/gems/activestorage@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/activestorage@6.1.4.1.rbi rename to sorbet/rbi/gems/activestorage@6.1.4.4.rbi diff --git a/sorbet/rbi/gems/activesupport@6.1.4.1.rbi b/sorbet/rbi/gems/activesupport@6.1.4.4.rbi similarity index 99% rename from sorbet/rbi/gems/activesupport@6.1.4.1.rbi rename to sorbet/rbi/gems/activesupport@6.1.4.4.rbi index b3f39c5a8f..ca936aa153 100644 --- a/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +++ b/sorbet/rbi/gems/activesupport@6.1.4.4.rbi @@ -46,6 +46,11 @@ module ActiveSupport::ActionableError mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveSupport::ActionableError::ClassMethods + class << self + def actions(error); end + def dispatch(error, name); end + end + module GeneratedClassMethods def _actions; end def _actions=(value); end @@ -57,11 +62,6 @@ module ActiveSupport::ActionableError def _actions=(value); end def _actions?; end end - - class << self - def actions(error); end - def dispatch(error, name); end - end end module ActiveSupport::ActionableError::ClassMethods @@ -3583,15 +3583,25 @@ module I18n extend ::I18n::Base class << self + def cache_key_digest; end + def cache_key_digest=(key_digest); end + def cache_namespace; end + def cache_namespace=(namespace); end + def cache_store; end + def cache_store=(store); end + def fallbacks; end + def fallbacks=(fallbacks); end def interpolate(string, values); end def interpolate_hash(string, values); end def new_double_nested_cache; end + def perform_caching?; end end end I18n::DEFAULT_INTERPOLATION_PATTERNS = T.let(T.unsafe(nil), Array) I18n::EMPTY_HASH = T.let(T.unsafe(nil), Hash) I18n::INTERPOLATION_PATTERN = T.let(T.unsafe(nil), Regexp) +I18n::JSON = ActiveSupport::JSON I18n::RESERVED_KEYS = T.let(T.unsafe(nil), Array) I18n::RESERVED_KEYS_PATTERN = T.let(T.unsafe(nil), Regexp) diff --git a/sorbet/rbi/gems/autoprefixer-rails@10.3.3.0.rbi b/sorbet/rbi/gems/autoprefixer-rails@10.4.2.0.rbi similarity index 100% rename from sorbet/rbi/gems/autoprefixer-rails@10.3.3.0.rbi rename to sorbet/rbi/gems/autoprefixer-rails@10.4.2.0.rbi diff --git a/sorbet/rbi/gems/aws-partitions@1.525.0.rbi b/sorbet/rbi/gems/aws-partitions@1.549.0.rbi similarity index 100% rename from sorbet/rbi/gems/aws-partitions@1.525.0.rbi rename to sorbet/rbi/gems/aws-partitions@1.549.0.rbi diff --git a/sorbet/rbi/gems/aws-sdk-core@3.122.0.rbi b/sorbet/rbi/gems/aws-sdk-core@3.125.5.rbi similarity index 98% rename from sorbet/rbi/gems/aws-sdk-core@3.122.0.rbi rename to sorbet/rbi/gems/aws-sdk-core@3.125.5.rbi index 54c1fdb7b3..b0b0df7b3c 100644 --- a/sorbet/rbi/gems/aws-sdk-core@3.122.0.rbi +++ b/sorbet/rbi/gems/aws-sdk-core@3.125.5.rbi @@ -320,6 +320,24 @@ class Aws::Credentials def set?; end end +class Aws::DefaultsModeConfigResolver + def initialize(sdk_defaults, cfg); end + + def resolve(option_name); end + + private + + def application_current_region; end + def env_mobile?; end + def resolve_auto_mode; end + def resolve_for_mode(name, mode); end + def resolved_mode; end +end + +Aws::DefaultsModeConfigResolver::CFG_OPTIONS = T.let(T.unsafe(nil), Hash) +module Aws::DefaultsModeConfiguration; end +Aws::DefaultsModeConfiguration::SDK_DEFAULT_CONFIGURATION = T.let(T.unsafe(nil), Hash) + module Aws::Deprecations def deprecated(method, options = T.unsafe(nil)); end end @@ -924,6 +942,14 @@ end class Aws::Plugins::CredentialsConfiguration < ::Seahorse::Client::Plugin; end +class Aws::Plugins::DefaultsMode < ::Seahorse::Client::Plugin + class << self + private + + def resolve_defaults_mode(cfg); end + end +end + class Aws::Plugins::EndpointDiscovery < ::Seahorse::Client::Plugin def add_handlers(handlers, config); end @@ -1487,6 +1513,8 @@ class Aws::Rest::Request::Headers def apply_header_map(headers, ref, values); end def apply_header_value(headers, ref, value); end def apply_json_trait(value); end + def escape_header_list_string(s); end + def list(headers, ref, value); end def timestamp(ref, value); end end @@ -2073,6 +2101,7 @@ class Aws::SharedConfig def csm_enabled(opts = T.unsafe(nil)); end def csm_host(opts = T.unsafe(nil)); end def csm_port(opts = T.unsafe(nil)); end + def defaults_mode(opts = T.unsafe(nil)); end def ec2_metadata_service_endpoint(opts = T.unsafe(nil)); end def ec2_metadata_service_endpoint_mode(opts = T.unsafe(nil)); end def endpoint_discovery_enabled(opts = T.unsafe(nil)); end @@ -2973,6 +3002,7 @@ class Seahorse::Client::NetHttp::ConnectionPool def ssl_ca_bundle; end def ssl_ca_directory; end def ssl_ca_store; end + def ssl_timeout; end def ssl_verify_peer; end def ssl_verify_peer?; end @@ -3144,7 +3174,13 @@ class Seahorse::Client::Plugins::Logging < ::Seahorse::Client::Plugin def add_handlers(handlers, config); end end -class Seahorse::Client::Plugins::NetHttp < ::Seahorse::Client::Plugin; end +class Seahorse::Client::Plugins::NetHttp < ::Seahorse::Client::Plugin + class << self + def resolve_http_open_timeout(cfg); end + def resolve_http_read_timeout(cfg); end + def resolve_ssl_timeout(cfg); end + end +end class Seahorse::Client::Plugins::RaiseResponseErrors < ::Seahorse::Client::Plugin def add_handlers(handlers, config); end diff --git a/sorbet/rbi/gems/aws-sdk-kms@1.51.0.rbi b/sorbet/rbi/gems/aws-sdk-kms@1.53.0.rbi similarity index 100% rename from sorbet/rbi/gems/aws-sdk-kms@1.51.0.rbi rename to sorbet/rbi/gems/aws-sdk-kms@1.53.0.rbi diff --git a/sorbet/rbi/gems/brakeman@5.1.2.rbi b/sorbet/rbi/gems/brakeman@5.2.0.rbi similarity index 100% rename from sorbet/rbi/gems/brakeman@5.1.2.rbi rename to sorbet/rbi/gems/brakeman@5.2.0.rbi diff --git a/sorbet/rbi/gems/bullet@6.1.5.rbi b/sorbet/rbi/gems/bullet@7.0.1.rbi similarity index 97% rename from sorbet/rbi/gems/bullet@6.1.5.rbi rename to sorbet/rbi/gems/bullet@7.0.1.rbi index c0fd5cb6bd..c3e9a3c711 100644 --- a/sorbet/rbi/gems/bullet@6.1.5.rbi +++ b/sorbet/rbi/gems/bullet@7.0.1.rbi @@ -14,7 +14,6 @@ module Bullet def add_footer; end def add_footer=(_arg0); end def add_safelist(options); end - def add_whitelist(options); end def airbrake=(arg); end def alert=(arg); end def app_root; end @@ -22,7 +21,6 @@ module Bullet def bugsnag=(arg); end def bullet_logger=(active); end def clear_safelist; end - def clear_whitelist; end def console=(arg); end def console_enabled?; end def counter_cache_enable=(_arg0); end @@ -30,14 +28,12 @@ module Bullet def customized_logger=(arg); end def debug(title, message); end def delete_safelist(options); end - def delete_whitelist(options); end def enable=(enable); end def enable?; end def end_request; end def footer_info; end def gather_inline_notifications; end def get_safelist_associations(type, class_name); end - def get_whitelist_associations(type, class_name); end def growl=(arg); end def honeybadger=(arg); end def inject_into_page?; end @@ -52,7 +48,6 @@ module Bullet def rails_logger=(arg); end def raise=(should_raise); end def reset_safelist; end - def reset_whitelist; end def rollbar=(arg); end def safelist; end def sentry=(arg); end @@ -106,6 +101,8 @@ module Bullet::Dependency def active_record60?; end def active_record61?; end def active_record6?; end + def active_record70?; end + def active_record7?; end def active_record?; end def active_record_version; end def mongoid4x?; end diff --git a/sorbet/rbi/gems/css_parser@1.10.0.rbi b/sorbet/rbi/gems/css_parser@1.11.0.rbi similarity index 100% rename from sorbet/rbi/gems/css_parser@1.10.0.rbi rename to sorbet/rbi/gems/css_parser@1.11.0.rbi diff --git a/sorbet/rbi/gems/diff-lcs@1.4.4.rbi b/sorbet/rbi/gems/diff-lcs@1.4.4.rbi deleted file mode 100644 index 03f4fc8869..0000000000 --- a/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: strict - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `diff-lcs` gem. -# Please instead update this file by running `bin/tapioca gem diff-lcs`. - -# THIS IS AN EMPTY RBI FILE. -# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires diff --git a/sorbet/rbi/gems/diff-lcs@1.5.0.rbi b/sorbet/rbi/gems/diff-lcs@1.5.0.rbi new file mode 100644 index 0000000000..9011753d15 --- /dev/null +++ b/sorbet/rbi/gems/diff-lcs@1.5.0.rbi @@ -0,0 +1,143 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `diff-lcs` gem. +# Please instead update this file by running `bin/tapioca gem diff-lcs`. + +module Diff; end + +module Diff::LCS + def diff(other, callbacks = T.unsafe(nil), &block); end + def lcs(other, &block); end + def patch(patchset); end + def patch!(patchset); end + def patch_me(patchset); end + def sdiff(other, callbacks = T.unsafe(nil), &block); end + def traverse_balanced(other, callbacks = T.unsafe(nil), &block); end + def traverse_sequences(other, callbacks = T.unsafe(nil), &block); end + def unpatch(patchset); end + def unpatch!(patchset); end + def unpatch_me(patchset); end + + class << self + def LCS(seq1, seq2, &block); end + def callbacks_for(callbacks); end + def diff(seq1, seq2, callbacks = T.unsafe(nil), &block); end + def lcs(seq1, seq2, &block); end + def patch(src, patchset, direction = T.unsafe(nil)); end + def patch!(src, patchset); end + def sdiff(seq1, seq2, callbacks = T.unsafe(nil), &block); end + def traverse_balanced(seq1, seq2, callbacks = T.unsafe(nil)); end + def traverse_sequences(seq1, seq2, callbacks = T.unsafe(nil)); end + def unpatch!(src, patchset); end + + private + + def diff_traversal(method, seq1, seq2, callbacks, &block); end + end +end + +Diff::LCS::BalancedCallbacks = Diff::LCS::DefaultCallbacks + +class Diff::LCS::Change + include ::Comparable + + def initialize(*args); end + + def <=>(other); end + def ==(other); end + def action; end + def adding?; end + def changed?; end + def deleting?; end + def element; end + def finished_a?; end + def finished_b?; end + def inspect(*_args); end + def position; end + def to_a; end + def to_ary; end + def unchanged?; end + + class << self + def from_a(arr); end + def valid_action?(action); end + end +end + +Diff::LCS::Change::IntClass = Integer +Diff::LCS::Change::VALID_ACTIONS = T.let(T.unsafe(nil), Array) + +class Diff::LCS::ContextChange < ::Diff::LCS::Change + def initialize(*args); end + + def <=>(other); end + def ==(other); end + def new_element; end + def new_position; end + def old_element; end + def old_position; end + def to_a; end + def to_ary; end + + class << self + def from_a(arr); end + def simplify(event); end + end +end + +class Diff::LCS::ContextDiffCallbacks < ::Diff::LCS::DiffCallbacks + def change(event); end + def discard_a(event); end + def discard_b(event); end +end + +class Diff::LCS::DefaultCallbacks + class << self + def change(event); end + def discard_a(event); end + def discard_b(event); end + def match(event); end + end +end + +class Diff::LCS::DiffCallbacks + def initialize; end + + def diffs; end + def discard_a(event); end + def discard_b(event); end + def finish; end + def match(_event); end + + private + + def finish_hunk; end +end + +module Diff::LCS::Internals + class << self + def analyze_patchset(patchset, depth = T.unsafe(nil)); end + def intuit_diff_direction(src, patchset, limit = T.unsafe(nil)); end + def lcs(a, b); end + + private + + def inverse_vector(a, vector); end + def position_hash(enum, interval); end + def replace_next_larger(enum, value, last_index = T.unsafe(nil)); end + end +end + +class Diff::LCS::SDiffCallbacks + def initialize; end + + def change(event); end + def diffs; end + def discard_a(event); end + def discard_b(event); end + def match(event); end +end + +Diff::LCS::SequenceCallbacks = Diff::LCS::DefaultCallbacks +Diff::LCS::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/fastimage@2.2.5.rbi b/sorbet/rbi/gems/fastimage@2.2.6.rbi similarity index 98% rename from sorbet/rbi/gems/fastimage@2.2.5.rbi rename to sorbet/rbi/gems/fastimage@2.2.6.rbi index 0a195df6ed..5d72385a0f 100644 --- a/sorbet/rbi/gems/fastimage@2.2.5.rbi +++ b/sorbet/rbi/gems/fastimage@2.2.6.rbi @@ -26,6 +26,7 @@ class FastImage def parse_animated_for_gif; end def parse_packets(stream); end def parse_size; end + def parse_size_for_avif; end def parse_size_for_bmp; end def parse_size_for_cur; end def parse_size_for_gif; end @@ -95,7 +96,13 @@ class FastImage::Gif def skip_sub_blocks; end end -class FastImage::Heic +class FastImage::IOStream < ::SimpleDelegator + include ::FastImage::StreamUtil +end + +class FastImage::ImageFetchFailure < ::FastImage::FastImageException; end + +class FastImage::IsoBmff def initialize(stream); end def width_and_height; end @@ -115,11 +122,6 @@ class FastImage::Heic def read_uint8!; end end -class FastImage::IOStream < ::SimpleDelegator - include ::FastImage::StreamUtil -end - -class FastImage::ImageFetchFailure < ::FastImage::FastImageException; end FastImage::LocalFileChunkSize = T.let(T.unsafe(nil), Integer) FastImage::SUPPORTED_IMAGE_TYPES = T.let(T.unsafe(nil), Array) class FastImage::SizeNotFound < ::FastImage::FastImageException; end diff --git a/sorbet/rbi/gems/ffi@1.15.4.rbi b/sorbet/rbi/gems/ffi@1.15.5.rbi similarity index 100% rename from sorbet/rbi/gems/ffi@1.15.4.rbi rename to sorbet/rbi/gems/ffi@1.15.5.rbi diff --git a/sorbet/rbi/gems/font-awesome-rails@4.7.0.7.rbi b/sorbet/rbi/gems/font-awesome-rails@4.7.0.8.rbi similarity index 98% rename from sorbet/rbi/gems/font-awesome-rails@4.7.0.7.rbi rename to sorbet/rbi/gems/font-awesome-rails@4.7.0.8.rbi index 691373cdd9..b5c96739be 100644 --- a/sorbet/rbi/gems/font-awesome-rails@4.7.0.7.rbi +++ b/sorbet/rbi/gems/font-awesome-rails@4.7.0.8.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: strict # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `font-awesome-rails` gem. diff --git a/sorbet/rbi/gems/globalid@0.5.2.rbi b/sorbet/rbi/gems/globalid@1.0.0.rbi similarity index 100% rename from sorbet/rbi/gems/globalid@0.5.2.rbi rename to sorbet/rbi/gems/globalid@1.0.0.rbi diff --git a/sorbet/rbi/gems/google-protobuf@3.17.3.rbi b/sorbet/rbi/gems/google-protobuf@3.17.3.rbi deleted file mode 100644 index 9a521db2b5..0000000000 --- a/sorbet/rbi/gems/google-protobuf@3.17.3.rbi +++ /dev/null @@ -1,297 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `google-protobuf` gem. -# Please instead update this file by running `bin/tapioca gem google-protobuf`. - -module Google; end - -module Google::Protobuf - class << self - def decode(klass, proto); end - def decode_json(klass, json, options = T.unsafe(nil)); end - def deep_copy(_arg0); end - def discard_unknown(_arg0); end - def encode(msg); end - def encode_json(msg, options = T.unsafe(nil)); end - end -end - -class Google::Protobuf::Builder - def initialize(_arg0); end - - def add_enum(_arg0); end - def add_file(*_arg0); end - def add_message(_arg0); end -end - -class Google::Protobuf::Descriptor - include ::Enumerable - - def initialize(_arg0, _arg1, _arg2); end - - def each; end - def each_oneof; end - def file_descriptor; end - def lookup(_arg0); end - def lookup_oneof(_arg0); end - def msgclass; end - def name; end -end - -class Google::Protobuf::DescriptorPool - def build(*_arg0); end - def lookup(_arg0); end - - class << self - def generated_pool; end - end -end - -class Google::Protobuf::EnumBuilderContext - def initialize(_arg0, _arg1); end - - def value(_arg0, _arg1); end -end - -class Google::Protobuf::EnumDescriptor - include ::Enumerable - - def initialize(_arg0, _arg1, _arg2); end - - def each; end - def enummodule; end - def file_descriptor; end - def lookup_name(_arg0); end - def lookup_value(_arg0); end - def name; end -end - -class Google::Protobuf::Error < ::StandardError; end - -class Google::Protobuf::FieldDescriptor - def initialize(_arg0, _arg1, _arg2); end - - def clear(_arg0); end - def default; end - def get(_arg0); end - def has?(_arg0); end - def json_name; end - def label; end - def name; end - def number; end - def set(_arg0, _arg1); end - def submsg_name; end - def subtype; end - def type; end -end - -class Google::Protobuf::FileBuilderContext - def initialize(_arg0, _arg1, _arg2); end - - def add_enum(_arg0); end - def add_message(_arg0); end -end - -class Google::Protobuf::FileDescriptor - def initialize(_arg0, _arg1, _arg2); end - - def name; end - def syntax; end -end - -module Google::Protobuf::Internal - class << self - def fixup_descriptor(package, msg_names, enum_names); end - def infer_package(names); end - end -end - -class Google::Protobuf::Internal::Arena; end - -class Google::Protobuf::Internal::NestingBuilder - def initialize(msg_names, enum_names); end - - def build(package); end - - private - - def build_msg(msg); end - def parent(name); end -end - -class Google::Protobuf::Map - include ::Enumerable - - def initialize(*_arg0); end - - def ==(_arg0); end - def [](_arg0); end - def []=(_arg0, _arg1); end - def clear; end - def delete(_arg0); end - def dup; end - def each; end - def freeze; end - def has_key?(_arg0); end - def hash; end - def inspect; end - def keys; end - def length; end - def merge(_arg0); end - def to_h; end - def values; end -end - -class Google::Protobuf::MessageBuilderContext - def initialize(_arg0, _arg1); end - - def map(*_arg0); end - def oneof(_arg0); end - def optional(*_arg0); end - def proto3_optional(*_arg0); end - def repeated(*_arg0); end - def required(*_arg0); end -end - -module Google::Protobuf::MessageExts - mixes_in_class_methods ::Google::Protobuf::MessageExts::ClassMethods - - def to_json(options = T.unsafe(nil)); end - def to_proto; end - - class << self - def included(klass); end - end -end - -module Google::Protobuf::MessageExts::ClassMethods; end - -class Google::Protobuf::OneofBuilderContext - def initialize(_arg0, _arg1); end - - def optional(*_arg0); end -end - -class Google::Protobuf::OneofDescriptor - include ::Enumerable - - def initialize(_arg0, _arg1, _arg2); end - - def each; end - def name; end -end - -class Google::Protobuf::ParseError < ::Google::Protobuf::Error; end - -class Google::Protobuf::RepeatedField - include ::Enumerable - extend ::Forwardable - - def initialize(*_arg0); end - - def &(*args, &block); end - def *(*args, &block); end - def +(_arg0); end - def -(*args, &block); end - def <<(_arg0); end - def <=>(*args, &block); end - def ==(_arg0); end - def [](*_arg0); end - def []=(_arg0, _arg1); end - def assoc(*args, &block); end - def at(*_arg0); end - def bsearch(*args, &block); end - def bsearch_index(*args, &block); end - def clear; end - def clone; end - def collect!(*args, &block); end - def combination(*args, &block); end - def compact(*args, &block); end - def compact!(*args, &block); end - def concat(_arg0); end - def count(*args, &block); end - def cycle(*args, &block); end - def delete(*args, &block); end - def delete_at(*args, &block); end - def delete_if(*args, &block); end - def dig(*args, &block); end - def drop(*args, &block); end - def drop_while(*args, &block); end - def dup; end - def each; end - def each_index(*_arg0); end - def empty?; end - def eql?(*args, &block); end - def fetch(*args, &block); end - def fill(*args, &block); end - def find_index(*args, &block); end - def first(n = T.unsafe(nil)); end - def flatten(*args, &block); end - def flatten!(*args, &block); end - def freeze; end - def hash; end - def include?(*args, &block); end - def index(*args, &block); end - def insert(*args, &block); end - def inspect(*args, &block); end - def join(*args, &block); end - def keep_if(*args, &block); end - def last(n = T.unsafe(nil)); end - def length; end - def map; end - def map!(*args, &block); end - def pack(*args, &block); end - def permutation(*args, &block); end - def pop(n = T.unsafe(nil)); end - def pretty_print(*args, &block); end - def pretty_print_cycle(*args, &block); end - def product(*args, &block); end - def push(*_arg0); end - def rassoc(*args, &block); end - def reject!(*args, &block); end - def repeated_combination(*args, &block); end - def repeated_permutation(*args, &block); end - def replace(_arg0); end - def reverse(*args, &block); end - def reverse!(*args, &block); end - def rindex(*args, &block); end - def rotate(*args, &block); end - def rotate!(*args, &block); end - def sample(*args, &block); end - def select!(*args, &block); end - def shelljoin(*args, &block); end - def shift(*args, &block); end - def shuffle(*args, &block); end - def shuffle!(*args, &block); end - def size; end - def slice(*_arg0); end - def slice!(*args, &block); end - def sort!(*args, &block); end - def sort_by!(*args, &block); end - def to_ary; end - def to_s(*args, &block); end - def transpose(*args, &block); end - def uniq(*args, &block); end - def uniq!(*args, &block); end - def unshift(*args, &block); end - def values_at; end - def |(*args, &block); end - - private - - def pop_one; end - - class << self - private - - def define_array_wrapper_method(method_name); end - def define_array_wrapper_with_result_method(method_name); end - end -end - -class Google::Protobuf::RepeatedField::ProxyingEnumerator < ::Struct - def each(*args, &block); end -end - -class Google::Protobuf::TypeError < ::TypeError; end diff --git a/sorbet/rbi/gems/google-protobuf@3.19.3.rbi b/sorbet/rbi/gems/google-protobuf@3.19.3.rbi new file mode 100644 index 0000000000..ad5da1663a --- /dev/null +++ b/sorbet/rbi/gems/google-protobuf@3.19.3.rbi @@ -0,0 +1,1257 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `google-protobuf` gem. +# Please instead update this file by running `bin/tapioca gem google-protobuf`. + +module Google; end + +module Google::Protobuf + class << self + def decode(klass, proto); end + def decode_json(klass, json, options = T.unsafe(nil)); end + def deep_copy(_arg0); end + def discard_unknown(_arg0); end + def encode(msg); end + def encode_json(msg, options = T.unsafe(nil)); end + end +end + +class Google::Protobuf::Descriptor + include ::Enumerable + + def initialize(_arg0, _arg1, _arg2); end + + def each; end + def each_oneof; end + def file_descriptor; end + def lookup(_arg0); end + def lookup_oneof(_arg0); end + def msgclass; end + def name; end +end + +class Google::Protobuf::DescriptorPool + def add_serialized_file(_arg0); end + def build(&block); end + def lookup(_arg0); end + + class << self + def generated_pool; end + end +end + +class Google::Protobuf::DescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::DescriptorProto::ExtensionRange + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::DescriptorProto::ReservedRange + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::EnumDescriptor + include ::Enumerable + + def initialize(_arg0, _arg1, _arg2); end + + def each; end + def enummodule; end + def file_descriptor; end + def lookup_name(_arg0); end + def lookup_value(_arg0); end + def name; end +end + +class Google::Protobuf::EnumDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::EnumDescriptorProto::EnumReservedRange + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::EnumOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::EnumValueDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::EnumValueOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::Error < ::StandardError; end + +class Google::Protobuf::ExtensionRangeOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::FieldDescriptor + def initialize(_arg0, _arg1, _arg2); end + + def clear(_arg0); end + def default; end + def get(_arg0); end + def has?(_arg0); end + def json_name; end + def label; end + def name; end + def number; end + def set(_arg0, _arg1); end + def submsg_name; end + def subtype; end + def type; end +end + +class Google::Protobuf::FieldDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +module Google::Protobuf::FieldDescriptorProto::Label + class << self + def descriptor; end + def lookup(_arg0); end + def resolve(_arg0); end + end +end + +Google::Protobuf::FieldDescriptorProto::Label::LABEL_OPTIONAL = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Label::LABEL_REPEATED = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Label::LABEL_REQUIRED = T.let(T.unsafe(nil), Integer) + +module Google::Protobuf::FieldDescriptorProto::Type + class << self + def descriptor; end + def lookup(_arg0); end + def resolve(_arg0); end + end +end + +Google::Protobuf::FieldDescriptorProto::Type::TYPE_BOOL = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_BYTES = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_DOUBLE = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_ENUM = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_FIXED32 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_FIXED64 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_FLOAT = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_GROUP = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_INT32 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_INT64 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_MESSAGE = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_SFIXED32 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_SFIXED64 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_SINT32 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_SINT64 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_STRING = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_UINT32 = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldDescriptorProto::Type::TYPE_UINT64 = T.let(T.unsafe(nil), Integer) + +class Google::Protobuf::FieldOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +module Google::Protobuf::FieldOptions::CType + class << self + def descriptor; end + def lookup(_arg0); end + def resolve(_arg0); end + end +end + +Google::Protobuf::FieldOptions::CType::CORD = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldOptions::CType::STRING = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldOptions::CType::STRING_PIECE = T.let(T.unsafe(nil), Integer) + +module Google::Protobuf::FieldOptions::JSType + class << self + def descriptor; end + def lookup(_arg0); end + def resolve(_arg0); end + end +end + +Google::Protobuf::FieldOptions::JSType::JS_NORMAL = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldOptions::JSType::JS_NUMBER = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FieldOptions::JSType::JS_STRING = T.let(T.unsafe(nil), Integer) + +class Google::Protobuf::FileDescriptor + def initialize(_arg0, _arg1, _arg2); end + + def name; end + def syntax; end +end + +class Google::Protobuf::FileDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::FileDescriptorSet + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::FileOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +module Google::Protobuf::FileOptions::OptimizeMode + class << self + def descriptor; end + def lookup(_arg0); end + def resolve(_arg0); end + end +end + +Google::Protobuf::FileOptions::OptimizeMode::CODE_SIZE = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME = T.let(T.unsafe(nil), Integer) +Google::Protobuf::FileOptions::OptimizeMode::SPEED = T.let(T.unsafe(nil), Integer) + +class Google::Protobuf::GeneratedCodeInfo + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::GeneratedCodeInfo::Annotation + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +module Google::Protobuf::Internal; end +class Google::Protobuf::Internal::Arena; end + +class Google::Protobuf::Internal::AtomicCounter + def initialize; end + + def get_and_increment; end +end + +class Google::Protobuf::Internal::Builder + def initialize(pool); end + + def add_enum(name, &block); end + def add_file(name, options = T.unsafe(nil), &block); end + def add_message(name, &block); end + def build; end + + private + + def internal_add_file(file_builder); end + def internal_default_file; end +end + +class Google::Protobuf::Internal::EnumBuilder + def initialize(name, file_proto); end + + def value(name, number); end +end + +class Google::Protobuf::Internal::FileBuilder + def initialize(pool, name, options = T.unsafe(nil)); end + + def add_enum(name, &block); end + def add_message(name, &block); end + def build; end + def fix_nesting; end + def get_parent_msg(msgs_by_name, name, parent_name); end + def infer_package(names); end + def internal_file_proto; end + def rewrite_enum_default(field); end + def rewrite_enum_defaults; end + def split_parent_name(msg_or_enum); end +end + +class Google::Protobuf::Internal::MessageBuilder + def initialize(name, file_builder, file_proto); end + + def internal_add_field(label, name, type, number, type_class, options, oneof_index: T.unsafe(nil), proto3_optional: T.unsafe(nil)); end + def internal_add_synthetic_oneofs; end + def internal_msg_proto; end + def map(name, key_type, value_type, number, value_type_class = T.unsafe(nil)); end + def oneof(name, &block); end + def optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end + def proto3_optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end + def repeated(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end + def required(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end +end + +class Google::Protobuf::Internal::OneofBuilder + def initialize(name, msg_builder); end + + def optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end +end + +class Google::Protobuf::Map + include ::Enumerable + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clear; end + def clone; end + def delete(_arg0); end + def dup; end + def each; end + def freeze; end + def has_key?(_arg0); end + def hash; end + def inspect; end + def keys; end + def length; end + def merge(_arg0); end + def size; end + def to_h; end + def values; end +end + +module Google::Protobuf::MessageExts + mixes_in_class_methods ::Google::Protobuf::MessageExts::ClassMethods + + def to_json(options = T.unsafe(nil)); end + def to_proto; end + + class << self + def included(klass); end + end +end + +module Google::Protobuf::MessageExts::ClassMethods; end + +class Google::Protobuf::MessageOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::MethodDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::MethodOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +module Google::Protobuf::MethodOptions::IdempotencyLevel + class << self + def descriptor; end + def lookup(_arg0); end + def resolve(_arg0); end + end +end + +Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENCY_UNKNOWN = T.let(T.unsafe(nil), Integer) +Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENT = T.let(T.unsafe(nil), Integer) +Google::Protobuf::MethodOptions::IdempotencyLevel::NO_SIDE_EFFECTS = T.let(T.unsafe(nil), Integer) + +class Google::Protobuf::OneofDescriptor + include ::Enumerable + + def initialize(_arg0, _arg1, _arg2); end + + def each; end + def name; end +end + +class Google::Protobuf::OneofDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::OneofOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::ParseError < ::Google::Protobuf::Error; end + +class Google::Protobuf::RepeatedField + include ::Enumerable + extend ::Forwardable + + def initialize(*_arg0); end + + def &(*args, &block); end + def *(*args, &block); end + def +(_arg0); end + def -(*args, &block); end + def <<(_arg0); end + def <=>(*args, &block); end + def ==(_arg0); end + def [](*_arg0); end + def []=(_arg0, _arg1); end + def assoc(*args, &block); end + def at(*_arg0); end + def bsearch(*args, &block); end + def bsearch_index(*args, &block); end + def clear; end + def clone; end + def collect!(*args, &block); end + def combination(*args, &block); end + def compact(*args, &block); end + def compact!(*args, &block); end + def concat(_arg0); end + def count(*args, &block); end + def cycle(*args, &block); end + def delete(*args, &block); end + def delete_at(*args, &block); end + def delete_if(*args, &block); end + def dig(*args, &block); end + def drop(*args, &block); end + def drop_while(*args, &block); end + def dup; end + def each; end + def each_index(*_arg0); end + def empty?; end + def eql?(*args, &block); end + def fetch(*args, &block); end + def fill(*args, &block); end + def find_index(*args, &block); end + def first(n = T.unsafe(nil)); end + def flatten(*args, &block); end + def flatten!(*args, &block); end + def freeze; end + def hash; end + def include?(*args, &block); end + def index(*args, &block); end + def insert(*args, &block); end + def inspect(*args, &block); end + def join(*args, &block); end + def keep_if(*args, &block); end + def last(n = T.unsafe(nil)); end + def length; end + def map; end + def map!(*args, &block); end + def pack(*args, &block); end + def permutation(*args, &block); end + def pop(n = T.unsafe(nil)); end + def pretty_print(*args, &block); end + def pretty_print_cycle(*args, &block); end + def product(*args, &block); end + def push(*_arg0); end + def rassoc(*args, &block); end + def reject!(*args, &block); end + def repeated_combination(*args, &block); end + def repeated_permutation(*args, &block); end + def replace(_arg0); end + def reverse(*args, &block); end + def reverse!(*args, &block); end + def rindex(*args, &block); end + def rotate(*args, &block); end + def rotate!(*args, &block); end + def sample(*args, &block); end + def select!(*args, &block); end + def shelljoin(*args, &block); end + def shift(*args, &block); end + def shuffle(*args, &block); end + def shuffle!(*args, &block); end + def size; end + def slice(*_arg0); end + def slice!(*args, &block); end + def sort!(*args, &block); end + def sort_by!(*args, &block); end + def to_ary; end + def to_s(*args, &block); end + def transpose(*args, &block); end + def uniq(*args, &block); end + def uniq!(*args, &block); end + def unshift(*args, &block); end + def values_at; end + def |(*args, &block); end + + private + + def pop_one; end + + class << self + private + + def define_array_wrapper_method(method_name); end + def define_array_wrapper_with_result_method(method_name); end + end +end + +class Google::Protobuf::RepeatedField::ProxyingEnumerator < ::Struct + def each(*args, &block); end +end + +class Google::Protobuf::ServiceDescriptorProto + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::ServiceOptions + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::SourceCodeInfo + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::SourceCodeInfo::Location + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::TypeError < ::TypeError; end + +class Google::Protobuf::UninterpretedOption + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end + +class Google::Protobuf::UninterpretedOption::NamePart + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + def initialize(*_arg0); end + + def ==(_arg0); end + def [](_arg0); end + def []=(_arg0, _arg1); end + def clone; end + def dup; end + def eql?(_arg0); end + def freeze; end + def hash; end + def inspect; end + def method_missing(*_arg0); end + def to_h; end + def to_s; end + + private + + def respond_to_missing?(*_arg0); end + + class << self + def decode(_arg0); end + def decode_json(*_arg0); end + def descriptor; end + def encode(_arg0); end + def encode_json(*_arg0); end + end +end diff --git a/sorbet/rbi/gems/i18n-tasks@0.9.35.rbi b/sorbet/rbi/gems/i18n-tasks@0.9.37.rbi similarity index 99% rename from sorbet/rbi/gems/i18n-tasks@0.9.35.rbi rename to sorbet/rbi/gems/i18n-tasks@0.9.37.rbi index ae90fea68f..bae4a6a727 100644 --- a/sorbet/rbi/gems/i18n-tasks@0.9.35.rbi +++ b/sorbet/rbi/gems/i18n-tasks@0.9.37.rbi @@ -57,7 +57,7 @@ class I18n::Tasks::BaseTask include ::I18n::Tasks::Data include ::I18n::Tasks::Stats - def initialize(config = T.unsafe(nil), config_file: T.unsafe(nil)); end + def initialize(config_file: T.unsafe(nil), **config); end def inspect; end end diff --git a/sorbet/rbi/gems/jmespath@1.4.0.rbi b/sorbet/rbi/gems/jmespath@1.5.0.rbi similarity index 99% rename from sorbet/rbi/gems/jmespath@1.4.0.rbi rename to sorbet/rbi/gems/jmespath@1.5.0.rbi index b0f4f5e0a7..b77193b719 100644 --- a/sorbet/rbi/gems/jmespath@1.4.0.rbi +++ b/sorbet/rbi/gems/jmespath@1.5.0.rbi @@ -401,7 +401,6 @@ end class JMESPath::Nodes::Node def chains_with?(other); end - def hash_like?(value); end def optimize; end def visit(value); end end @@ -617,6 +616,7 @@ end module JMESPath::Util class << self + def as_json(value); end def falsey?(value); end end end diff --git a/sorbet/rbi/gems/listen@3.7.0.rbi b/sorbet/rbi/gems/listen@3.7.1.rbi similarity index 98% rename from sorbet/rbi/gems/listen@3.7.0.rbi rename to sorbet/rbi/gems/listen@3.7.1.rbi index 251b5a1e02..1104224a26 100644 --- a/sorbet/rbi/gems/listen@3.7.0.rbi +++ b/sorbet/rbi/gems/listen@3.7.1.rbi @@ -390,11 +390,12 @@ class Listen::Record private - def _auto_hash; end def _fast_build_dir(remaining, symlink_detector); end def _fast_try_file(entry); end def _fast_unset_path(dirname, basename); end def _fast_update_file(dirname, basename, data); end + def empty_dirname?(dirname); end + def reset_tree; end end class Listen::Record::Entry @@ -458,8 +459,8 @@ class Listen::Silencer::Controller def _reconfigure_silencer(extra_options); end end -Listen::Silencer::DEFAULT_IGNORED_DIRECTORIES = T.let(T.unsafe(nil), Regexp) Listen::Silencer::DEFAULT_IGNORED_EXTENSIONS = T.let(T.unsafe(nil), Regexp) +Listen::Silencer::DEFAULT_IGNORED_FILES = T.let(T.unsafe(nil), Regexp) module Listen::Thread class << self diff --git a/sorbet/rbi/gems/loofah@2.12.0.rbi b/sorbet/rbi/gems/loofah@2.13.0.rbi similarity index 100% rename from sorbet/rbi/gems/loofah@2.12.0.rbi rename to sorbet/rbi/gems/loofah@2.13.0.rbi diff --git a/sorbet/rbi/gems/matrix@0.4.2.rbi b/sorbet/rbi/gems/matrix@0.4.2.rbi index 2a9c4f7df9..b49061b57e 100644 --- a/sorbet/rbi/gems/matrix@0.4.2.rbi +++ b/sorbet/rbi/gems/matrix@0.4.2.rbi @@ -1,4 +1,4 @@ -# typed: false +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `matrix` gem. diff --git a/sorbet/rbi/gems/mime-types-data@3.2021.0901.rbi b/sorbet/rbi/gems/mime-types-data@3.2022.0105.rbi similarity index 100% rename from sorbet/rbi/gems/mime-types-data@3.2021.0901.rbi rename to sorbet/rbi/gems/mime-types-data@3.2022.0105.rbi diff --git a/sorbet/rbi/gems/mime-types@3.3.1.rbi b/sorbet/rbi/gems/mime-types@3.4.1.rbi similarity index 97% rename from sorbet/rbi/gems/mime-types@3.3.1.rbi rename to sorbet/rbi/gems/mime-types@3.4.1.rbi index c2b02391b4..af47e4a82d 100644 --- a/sorbet/rbi/gems/mime-types@3.3.1.rbi +++ b/sorbet/rbi/gems/mime-types@3.4.1.rbi @@ -38,6 +38,9 @@ class MIME::Type def preferred_extension; end def preferred_extension=(value); end def priority_compare(other); end + def provisional; end + def provisional=(_arg0); end + def provisional?; end def raw_media_type; end def raw_sub_type; end def registered; end @@ -97,6 +100,9 @@ class MIME::Type::Columnar < ::MIME::Type def obsolete?(*args); end def preferred_extension(*args); end def preferred_extension=(*args); end + def provisional(*args); end + def provisional=(*args); end + def provisional?(*args); end def registered(*args); end def registered=(*args); end def registered?(*args); end @@ -270,6 +276,7 @@ class MIME::Types::Loader private + def old_yaml?; end def read_file(filename); end end end diff --git a/sorbet/rbi/gems/minitest@5.14.4.rbi b/sorbet/rbi/gems/minitest@5.15.0.rbi similarity index 99% rename from sorbet/rbi/gems/minitest@5.14.4.rbi rename to sorbet/rbi/gems/minitest@5.15.0.rbi index e6d3d3b2a3..d4d7a368bb 100644 --- a/sorbet/rbi/gems/minitest@5.14.4.rbi +++ b/sorbet/rbi/gems/minitest@5.15.0.rbi @@ -292,6 +292,7 @@ class Minitest::Test < ::Minitest::Runnable def capture_exceptions; end def class_name; end def run; end + def sanitize_exception(e); end def with_info_handler(&block); end class << self diff --git a/sorbet/rbi/gems/oauth@0.5.7.rbi b/sorbet/rbi/gems/oauth@0.5.8.rbi similarity index 100% rename from sorbet/rbi/gems/oauth@0.5.7.rbi rename to sorbet/rbi/gems/oauth@0.5.8.rbi diff --git a/sorbet/rbi/gems/parser@3.0.2.0.rbi b/sorbet/rbi/gems/parser@3.1.0.0.rbi similarity index 94% rename from sorbet/rbi/gems/parser@3.0.2.0.rbi rename to sorbet/rbi/gems/parser@3.1.0.0.rbi index e4a75d8610..07ff726215 100644 --- a/sorbet/rbi/gems/parser@3.0.2.0.rbi +++ b/sorbet/rbi/gems/parser@3.1.0.0.rbi @@ -280,6 +280,7 @@ class Parser::Builders::Default def optarg(name_t, eql_t, value); end def pair(key, assoc_t, value); end def pair_keyword(key_t, value); end + def pair_label(key_t); end def pair_list_18(list); end def pair_quoted(begin_t, parts, end_t, value); end def parser; end @@ -375,6 +376,7 @@ class Parser::Builders::Default def unary_op_map(op_t, arg_e = T.unsafe(nil)); end def unquoted_map(token); end def validate_definee(definee); end + def validate_no_forward_arg_after_restarg(args); end def value(token); end def var_send_map(variable_e); end def variable_map(name_t); end @@ -405,21 +407,26 @@ class Parser::ClobberingError < ::RuntimeError; end class Parser::Context def initialize; end - def class_definition_allowed?; end - def dynamic_const_definition_allowed?; end - def empty?; end - def in_block?; end - def in_class?; end + def in_argdef; end + def in_argdef=(_arg0); end + def in_block; end + def in_block=(_arg0); end + def in_class; end + def in_class=(_arg0); end + def in_def; end + def in_def=(_arg0); end + def in_defined; end + def in_defined=(_arg0); end def in_dynamic_block?; end - def in_lambda?; end - def indirectly_in_def?; end - def module_definition_allowed?; end - def pop; end - def push(state); end + def in_kwarg; end + def in_kwarg=(_arg0); end + def in_lambda; end + def in_lambda=(_arg0); end def reset; end - def stack; end end +Parser::Context::FLAGS = T.let(T.unsafe(nil), Array) + class Parser::CurrentArgStack def initialize; end @@ -498,8 +505,6 @@ class Parser::Lexer def encoding; end def force_utf32; end def force_utf32=(_arg0); end - def in_kwarg; end - def in_kwarg=(_arg0); end def lambda_stack; end def paren_nest; end def pop_cmdarg; end @@ -690,7 +695,7 @@ class Parser::MaxNumparamStack def has_ordinary_params!; end def has_ordinary_params?; end def pop; end - def push; end + def push(static:); end def register(numparam); end def stack; end def top; end @@ -901,44 +906,44 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_348(val, _values, result); end def _reduce_35(val, _values, result); end def _reduce_350(val, _values, result); end + def _reduce_351(val, _values, result); end + def _reduce_352(val, _values, result); end def _reduce_353(val, _values, result); end - def _reduce_357(val, _values, result); end - def _reduce_359(val, _values, result); end + def _reduce_356(val, _values, result); end + def _reduce_360(val, _values, result); end def _reduce_362(val, _values, result); end - def _reduce_363(val, _values, result); end - def _reduce_364(val, _values, result); end def _reduce_365(val, _values, result); end + def _reduce_366(val, _values, result); end def _reduce_367(val, _values, result); end def _reduce_368(val, _values, result); end - def _reduce_369(val, _values, result); end def _reduce_37(val, _values, result); end def _reduce_370(val, _values, result); end def _reduce_371(val, _values, result); end def _reduce_372(val, _values, result); end + def _reduce_373(val, _values, result); end + def _reduce_374(val, _values, result); end def _reduce_375(val, _values, result); end - def _reduce_376(val, _values, result); end - def _reduce_377(val, _values, result); end def _reduce_378(val, _values, result); end def _reduce_379(val, _values, result); end def _reduce_38(val, _values, result); end def _reduce_380(val, _values, result); end + def _reduce_381(val, _values, result); end def _reduce_382(val, _values, result); end def _reduce_383(val, _values, result); end - def _reduce_384(val, _values, result); end def _reduce_385(val, _values, result); end def _reduce_386(val, _values, result); end + def _reduce_387(val, _values, result); end def _reduce_388(val, _values, result); end def _reduce_389(val, _values, result); end def _reduce_39(val, _values, result); end - def _reduce_390(val, _values, result); end def _reduce_391(val, _values, result); end def _reduce_392(val, _values, result); end def _reduce_393(val, _values, result); end def _reduce_394(val, _values, result); end def _reduce_395(val, _values, result); end + def _reduce_396(val, _values, result); end def _reduce_397(val, _values, result); end def _reduce_398(val, _values, result); end - def _reduce_399(val, _values, result); end def _reduce_4(val, _values, result); end def _reduce_40(val, _values, result); end def _reduce_400(val, _values, result); end @@ -947,9 +952,9 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_403(val, _values, result); end def _reduce_404(val, _values, result); end def _reduce_405(val, _values, result); end + def _reduce_406(val, _values, result); end def _reduce_407(val, _values, result); end def _reduce_408(val, _values, result); end - def _reduce_409(val, _values, result); end def _reduce_41(val, _values, result); end def _reduce_410(val, _values, result); end def _reduce_411(val, _values, result); end @@ -986,26 +991,26 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_44(val, _values, result); end def _reduce_440(val, _values, result); end def _reduce_441(val, _values, result); end + def _reduce_442(val, _values, result); end def _reduce_443(val, _values, result); end def _reduce_444(val, _values, result); end - def _reduce_445(val, _values, result); end def _reduce_446(val, _values, result); end + def _reduce_447(val, _values, result); end def _reduce_448(val, _values, result); end def _reduce_449(val, _values, result); end - def _reduce_450(val, _values, result); end + def _reduce_451(val, _values, result); end def _reduce_452(val, _values, result); end def _reduce_453(val, _values, result); end - def _reduce_454(val, _values, result); end def _reduce_455(val, _values, result); end def _reduce_456(val, _values, result); end + def _reduce_457(val, _values, result); end def _reduce_458(val, _values, result); end + def _reduce_459(val, _values, result); end def _reduce_46(val, _values, result); end - def _reduce_460(val, _values, result); end - def _reduce_462(val, _values, result); end + def _reduce_461(val, _values, result); end def _reduce_463(val, _values, result); end def _reduce_465(val, _values, result); end def _reduce_466(val, _values, result); end - def _reduce_467(val, _values, result); end def _reduce_468(val, _values, result); end def _reduce_469(val, _values, result); end def _reduce_470(val, _values, result); end @@ -1026,21 +1031,21 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_485(val, _values, result); end def _reduce_486(val, _values, result); end def _reduce_487(val, _values, result); end + def _reduce_488(val, _values, result); end def _reduce_489(val, _values, result); end def _reduce_49(val, _values, result); end def _reduce_490(val, _values, result); end - def _reduce_491(val, _values, result); end def _reduce_492(val, _values, result); end def _reduce_493(val, _values, result); end def _reduce_494(val, _values, result); end def _reduce_495(val, _values, result); end def _reduce_496(val, _values, result); end def _reduce_497(val, _values, result); end + def _reduce_498(val, _values, result); end def _reduce_499(val, _values, result); end def _reduce_5(val, _values, result); end def _reduce_50(val, _values, result); end def _reduce_500(val, _values, result); end - def _reduce_501(val, _values, result); end def _reduce_502(val, _values, result); end def _reduce_503(val, _values, result); end def _reduce_504(val, _values, result); end @@ -1052,30 +1057,30 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_51(val, _values, result); end def _reduce_510(val, _values, result); end def _reduce_511(val, _values, result); end - def _reduce_515(val, _values, result); end - def _reduce_516(val, _values, result); end - def _reduce_517(val, _values, result); end + def _reduce_512(val, _values, result); end + def _reduce_513(val, _values, result); end + def _reduce_514(val, _values, result); end def _reduce_518(val, _values, result); end + def _reduce_519(val, _values, result); end def _reduce_52(val, _values, result); end - def _reduce_522(val, _values, result); end - def _reduce_523(val, _values, result); end + def _reduce_520(val, _values, result); end + def _reduce_521(val, _values, result); end + def _reduce_525(val, _values, result); end + def _reduce_526(val, _values, result); end def _reduce_53(val, _values, result); end - def _reduce_532(val, _values, result); end - def _reduce_534(val, _values, result); end def _reduce_535(val, _values, result); end - def _reduce_536(val, _values, result); end def _reduce_537(val, _values, result); end def _reduce_538(val, _values, result); end def _reduce_539(val, _values, result); end def _reduce_54(val, _values, result); end def _reduce_540(val, _values, result); end def _reduce_541(val, _values, result); end + def _reduce_542(val, _values, result); end + def _reduce_543(val, _values, result); end def _reduce_544(val, _values, result); end - def _reduce_546(val, _values, result); end + def _reduce_547(val, _values, result); end + def _reduce_549(val, _values, result); end def _reduce_55(val, _values, result); end - def _reduce_550(val, _values, result); end - def _reduce_551(val, _values, result); end - def _reduce_552(val, _values, result); end def _reduce_553(val, _values, result); end def _reduce_554(val, _values, result); end def _reduce_555(val, _values, result); end @@ -1109,10 +1114,10 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_582(val, _values, result); end def _reduce_583(val, _values, result); end def _reduce_584(val, _values, result); end - def _reduce_588(val, _values, result); end - def _reduce_589(val, _values, result); end + def _reduce_585(val, _values, result); end + def _reduce_586(val, _values, result); end + def _reduce_587(val, _values, result); end def _reduce_59(val, _values, result); end - def _reduce_590(val, _values, result); end def _reduce_591(val, _values, result); end def _reduce_592(val, _values, result); end def _reduce_593(val, _values, result); end @@ -1142,14 +1147,14 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_614(val, _values, result); end def _reduce_615(val, _values, result); end def _reduce_616(val, _values, result); end + def _reduce_617(val, _values, result); end def _reduce_618(val, _values, result); end def _reduce_619(val, _values, result); end def _reduce_62(val, _values, result); end - def _reduce_620(val, _values, result); end def _reduce_621(val, _values, result); end + def _reduce_622(val, _values, result); end def _reduce_623(val, _values, result); end def _reduce_624(val, _values, result); end - def _reduce_625(val, _values, result); end def _reduce_626(val, _values, result); end def _reduce_627(val, _values, result); end def _reduce_628(val, _values, result); end @@ -1177,9 +1182,9 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_648(val, _values, result); end def _reduce_649(val, _values, result); end def _reduce_650(val, _values, result); end + def _reduce_651(val, _values, result); end def _reduce_652(val, _values, result); end def _reduce_653(val, _values, result); end - def _reduce_654(val, _values, result); end def _reduce_655(val, _values, result); end def _reduce_656(val, _values, result); end def _reduce_657(val, _values, result); end @@ -1192,40 +1197,43 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_664(val, _values, result); end def _reduce_665(val, _values, result); end def _reduce_666(val, _values, result); end + def _reduce_667(val, _values, result); end + def _reduce_668(val, _values, result); end def _reduce_669(val, _values, result); end - def _reduce_670(val, _values, result); end - def _reduce_671(val, _values, result); end def _reduce_672(val, _values, result); end def _reduce_673(val, _values, result); end def _reduce_674(val, _values, result); end def _reduce_675(val, _values, result); end def _reduce_676(val, _values, result); end def _reduce_677(val, _values, result); end + def _reduce_678(val, _values, result); end + def _reduce_679(val, _values, result); end def _reduce_68(val, _values, result); end def _reduce_680(val, _values, result); end - def _reduce_681(val, _values, result); end + def _reduce_683(val, _values, result); end def _reduce_684(val, _values, result); end - def _reduce_685(val, _values, result); end - def _reduce_686(val, _values, result); end + def _reduce_687(val, _values, result); end def _reduce_688(val, _values, result); end def _reduce_689(val, _values, result); end def _reduce_69(val, _values, result); end def _reduce_691(val, _values, result); end def _reduce_692(val, _values, result); end - def _reduce_693(val, _values, result); end def _reduce_694(val, _values, result); end def _reduce_695(val, _values, result); end def _reduce_696(val, _values, result); end + def _reduce_697(val, _values, result); end + def _reduce_698(val, _values, result); end + def _reduce_699(val, _values, result); end def _reduce_7(val, _values, result); end def _reduce_70(val, _values, result); end - def _reduce_709(val, _values, result); end - def _reduce_710(val, _values, result); end - def _reduce_715(val, _values, result); end - def _reduce_716(val, _values, result); end - def _reduce_717(val, _values, result); end + def _reduce_712(val, _values, result); end + def _reduce_713(val, _values, result); end + def _reduce_718(val, _values, result); end + def _reduce_719(val, _values, result); end def _reduce_72(val, _values, result); end - def _reduce_721(val, _values, result); end - def _reduce_725(val, _values, result); end + def _reduce_720(val, _values, result); end + def _reduce_724(val, _values, result); end + def _reduce_728(val, _values, result); end def _reduce_73(val, _values, result); end def _reduce_74(val, _values, result); end def _reduce_75(val, _values, result); end @@ -1255,6 +1263,9 @@ class Parser::Ruby30 < ::Parser::Base def _reduce_none(val, _values, result); end def default_encoding; end def endless_method_name(name_t); end + def local_pop; end + def local_push; end + def try_declare_numparam(node); end def version; end end @@ -1690,8 +1701,10 @@ class Parser::StaticEnvironment def initialize; end def declare(name); end + def declare_anonymous_blockarg; end def declare_forward_args; end def declared?(name); end + def declared_anonymous_blockarg?; end def declared_forward_args?; end def empty?; end def extend_dynamic; end @@ -1700,6 +1713,7 @@ class Parser::StaticEnvironment def unextend; end end +Parser::StaticEnvironment::ANONYMOUS_BLOCKARG = T.let(T.unsafe(nil), Symbol) Parser::StaticEnvironment::FORWARD_ARGS = T.let(T.unsafe(nil), Symbol) class Parser::SyntaxError < ::StandardError diff --git a/sorbet/rbi/gems/rack-attack@5.4.2.rbi b/sorbet/rbi/gems/rack-attack@6.5.0.rbi similarity index 64% rename from sorbet/rbi/gems/rack-attack@5.4.2.rbi rename to sorbet/rbi/gems/rack-attack@6.5.0.rbi index 064821f1a7..71c76f8d76 100644 --- a/sorbet/rbi/gems/rack-attack@5.4.2.rbi +++ b/sorbet/rbi/gems/rack-attack@6.5.0.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `rack-attack` gem. @@ -12,54 +12,40 @@ module Rack end class Rack::Attack - extend ::Forwardable - def initialize(app); end - def blocklisted?(*args, &block); end def call(env); end - def safelisted?(*args, &block); end - def throttled?(*args, &block); end - def tracked?(*args, &block); end + def configuration; end class << self - def blacklist(name, &block); end - def blacklisted?(request); end - def blacklisted_response; end - def blacklisted_response=(res); end - def blacklists; end - def blocklist(name, &block); end - def blocklist_ip(ip_address); end - def blocklisted?(request); end - def blocklisted_response; end - def blocklisted_response=(_arg0); end - def blocklists; end + def blocklist(*args, &block); end + def blocklist_ip(*args, &block); end + def blocklisted_response(*args, &block); end + def blocklisted_response=(*args, &block); end + def blocklists(*args, &block); end def cache; end def clear!; end - def clear_configuration; end + def clear_configuration(*args, &block); end + def configuration; end + def enabled; end + def enabled=(_arg0); end def instrument(request); end def notifier; end def notifier=(_arg0); end - def safelist(name, &block); end - def safelist_ip(ip_address); end - def safelisted?(request); end - def safelists; end - def throttle(name, options, &block); end - def throttled?(request); end - def throttled_response; end - def throttled_response=(_arg0); end - def throttles; end - def track(name, options = T.unsafe(nil), &block); end - def tracked?(request); end - def tracks; end - def whitelist(name, &block); end - def whitelisted?(request); end - def whitelists; end - - private - - def ip_blocklists; end - def ip_safelists; end + def reset!; end + def safelist(*args, &block); end + def safelist_ip(*args, &block); end + def safelists(*args, &block); end + def throttle(*args, &block); end + def throttle_discriminator_normalizer; end + def throttle_discriminator_normalizer=(_arg0); end + def throttled_response(*args, &block); end + def throttled_response=(*args, &block); end + def throttled_response_retry_after_header(*args, &block); end + def throttled_response_retry_after_header=(*args, &block); end + def throttles(*args, &block); end + def track(*args, &block); end + def tracks(*args, &block); end end end @@ -72,8 +58,17 @@ class Rack::Attack::Allow2Ban < ::Rack::Attack::Fail2Ban end end +class Rack::Attack::BaseProxy < ::SimpleDelegator + class << self + def handle?(_store); end + def inherited(klass); end + def lookup(store); end + def proxies; end + end +end + class Rack::Attack::Blocklist < ::Rack::Attack::Check - def initialize(name, block); end + def initialize(name = T.unsafe(nil), &block); end end class Rack::Attack::Cache @@ -85,6 +80,7 @@ class Rack::Attack::Cache def prefix; end def prefix=(_arg0); end def read(unprefixed_key); end + def reset!; end def reset_count(unprefixed_key, period); end def store; end def store=(store); end @@ -99,7 +95,7 @@ class Rack::Attack::Cache end class Rack::Attack::Check - def initialize(name, options = T.unsafe(nil), block); end + def initialize(name, options = T.unsafe(nil), &block); end def block; end def matched_by?(request); end @@ -107,6 +103,41 @@ class Rack::Attack::Check def type; end end +class Rack::Attack::Configuration + def initialize; end + + def anonymous_blocklists; end + def anonymous_safelists; end + def blocklist(name = T.unsafe(nil), &block); end + def blocklist_ip(ip_address); end + def blocklisted?(request); end + def blocklisted_response; end + def blocklisted_response=(_arg0); end + def blocklists; end + def clear_configuration; end + def safelist(name = T.unsafe(nil), &block); end + def safelist_ip(ip_address); end + def safelisted?(request); end + def safelists; end + def throttle(name, options, &block); end + def throttled?(request); end + def throttled_response; end + def throttled_response=(_arg0); end + def throttled_response_retry_after_header; end + def throttled_response_retry_after_header=(_arg0); end + def throttles; end + def track(name, options = T.unsafe(nil), &block); end + def tracked?(request); end + + private + + def set_defaults; end +end + +Rack::Attack::Configuration::DEFAULT_BLOCKLISTED_RESPONSE = T.let(T.unsafe(nil), Proc) +Rack::Attack::Configuration::DEFAULT_THROTTLED_RESPONSE = T.let(T.unsafe(nil), Proc) +class Rack::Attack::Error < ::StandardError; end + class Rack::Attack::Fail2Ban class << self def banned?(discriminator); end @@ -131,49 +162,40 @@ module Rack::Attack::FallbackPathNormalizer end end -class Rack::Attack::MisconfiguredStoreError < ::StandardError; end -class Rack::Attack::MissingStoreError < ::StandardError; end +class Rack::Attack::IncompatibleStoreError < ::Rack::Attack::Error; end +class Rack::Attack::MisconfiguredStoreError < ::Rack::Attack::Error; end +class Rack::Attack::MissingStoreError < ::Rack::Attack::Error; end Rack::Attack::PathNormalizer = ActionDispatch::Journey::Router::Utils +class Rack::Attack::Railtie < ::Rails::Railtie; end class Rack::Attack::Request < ::Rack::Request; end class Rack::Attack::Safelist < ::Rack::Attack::Check - def initialize(name, block); end + def initialize(name = T.unsafe(nil), &block); end end -module Rack::Attack::StoreProxy - class << self - def build(store); end - def unwrap_active_support_stores(store); end - end -end - -class Rack::Attack::StoreProxy::DalliProxy < ::SimpleDelegator - def initialize(client); end - - def delete(key); end - def increment(key, amount, options = T.unsafe(nil)); end - def read(key); end - def write(key, value, options = T.unsafe(nil)); end - - private +module Rack::Attack::StoreProxy; end - def stub_with_if_missing; end +class Rack::Attack::StoreProxy::ActiveSupportRedisStoreProxy < ::Rack::Attack::BaseProxy + def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end + def read(name, options = T.unsafe(nil)); end + def write(name, value, options = T.unsafe(nil)); end class << self def handle?(store); end end end -class Rack::Attack::StoreProxy::MemCacheProxy < ::SimpleDelegator - def initialize(store); end +class Rack::Attack::StoreProxy::DalliProxy < ::Rack::Attack::BaseProxy + def initialize(client); end - def delete(key, _options = T.unsafe(nil)); end - def increment(key, amount, _options = T.unsafe(nil)); end + def delete(key); end + def increment(key, amount, options = T.unsafe(nil)); end def read(key); end def write(key, value, options = T.unsafe(nil)); end private + def rescuing; end def stub_with_if_missing; end class << self @@ -181,7 +203,7 @@ class Rack::Attack::StoreProxy::MemCacheProxy < ::SimpleDelegator end end -class Rack::Attack::StoreProxy::MemCacheStoreProxy < ::SimpleDelegator +class Rack::Attack::StoreProxy::MemCacheStoreProxy < ::Rack::Attack::BaseProxy def write(name, value, options = T.unsafe(nil)); end class << self @@ -189,10 +211,8 @@ class Rack::Attack::StoreProxy::MemCacheStoreProxy < ::SimpleDelegator end end -Rack::Attack::StoreProxy::PROXIES = T.let(T.unsafe(nil), Array) - -class Rack::Attack::StoreProxy::RedisCacheStoreProxy < ::SimpleDelegator - def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end +class Rack::Attack::StoreProxy::RedisCacheStoreProxy < ::Rack::Attack::BaseProxy + def increment(name, amount = T.unsafe(nil), **options); end def read(name, options = T.unsafe(nil)); end def write(name, value, options = T.unsafe(nil)); end @@ -201,14 +221,19 @@ class Rack::Attack::StoreProxy::RedisCacheStoreProxy < ::SimpleDelegator end end -class Rack::Attack::StoreProxy::RedisProxy < ::SimpleDelegator +class Rack::Attack::StoreProxy::RedisProxy < ::Rack::Attack::BaseProxy def initialize(*args); end def delete(key, _options = T.unsafe(nil)); end + def delete_matched(matcher, _options = T.unsafe(nil)); end def increment(key, amount, options = T.unsafe(nil)); end def read(key); end def write(key, value, options = T.unsafe(nil)); end + private + + def rescuing; end + class << self def handle?(store); end end @@ -224,7 +249,7 @@ class Rack::Attack::StoreProxy::RedisStoreProxy < ::Rack::Attack::StoreProxy::Re end class Rack::Attack::Throttle - def initialize(name, options, block); end + def initialize(name, options, &block); end def block; end def cache; end @@ -233,12 +258,20 @@ class Rack::Attack::Throttle def name; end def period; end def type; end + + private + + def annotate_request_with_matched_data(request, data); end + def annotate_request_with_throttle_data(request, data); end + def discriminator_for(request); end + def limit_for(request); end + def period_for(request); end end Rack::Attack::Throttle::MANDATORY_OPTIONS = T.let(T.unsafe(nil), Array) class Rack::Attack::Track - def initialize(name, options = T.unsafe(nil), block); end + def initialize(name, options = T.unsafe(nil), &block); end def filter; end def matched_by?(request); end diff --git a/sorbet/rbi/gems/rack-proxy@0.7.0.rbi b/sorbet/rbi/gems/rack-proxy@0.7.2.rbi similarity index 99% rename from sorbet/rbi/gems/rack-proxy@0.7.0.rbi rename to sorbet/rbi/gems/rack-proxy@0.7.2.rbi index fe4f83ccf9..1c635e5195 100644 --- a/sorbet/rbi/gems/rack-proxy@0.7.0.rbi +++ b/sorbet/rbi/gems/rack-proxy@0.7.2.rbi @@ -91,6 +91,7 @@ class Rack::Proxy protected def reconstruct_header_name(name); end + def titleize(str); end end end diff --git a/sorbet/rbi/gems/rails@6.1.4.1.rbi b/sorbet/rbi/gems/rails@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/rails@6.1.4.1.rbi rename to sorbet/rbi/gems/rails@6.1.4.4.rbi diff --git a/sorbet/rbi/gems/railties@6.1.4.1.rbi b/sorbet/rbi/gems/railties@6.1.4.4.rbi similarity index 100% rename from sorbet/rbi/gems/railties@6.1.4.1.rbi rename to sorbet/rbi/gems/railties@6.1.4.4.rbi diff --git a/sorbet/rbi/gems/rainbow@3.0.0.rbi b/sorbet/rbi/gems/rainbow@3.1.1.rbi similarity index 97% rename from sorbet/rbi/gems/rainbow@3.0.0.rbi rename to sorbet/rbi/gems/rainbow@3.1.1.rbi index e0a887baa8..e704587b97 100644 --- a/sorbet/rbi/gems/rainbow@3.0.0.rbi +++ b/sorbet/rbi/gems/rainbow@3.1.1.rbi @@ -78,6 +78,7 @@ class Rainbow::NullPresenter < ::String def bold; end def bright; end def color(*_values); end + def cross_out; end def cyan; end def dark; end def faint; end @@ -91,6 +92,7 @@ class Rainbow::NullPresenter < ::String def method_missing(method_name, *args); end def red; end def reset; end + def strike; end def underline; end def white; end def yellow; end @@ -109,6 +111,7 @@ class Rainbow::Presenter < ::String def bold; end def bright; end def color(*values); end + def cross_out; end def cyan; end def dark; end def faint; end @@ -122,6 +125,7 @@ class Rainbow::Presenter < ::String def method_missing(method_name, *args); end def red; end def reset; end + def strike; end def underline; end def white; end def yellow; end diff --git a/sorbet/rbi/gems/rbi@0.0.6.rbi b/sorbet/rbi/gems/rbi@0.0.9.rbi similarity index 86% rename from sorbet/rbi/gems/rbi@0.0.6.rbi rename to sorbet/rbi/gems/rbi@0.0.9.rbi index 3b6ac88531..c3c282afed 100644 --- a/sorbet/rbi/gems/rbi@0.0.6.rbi +++ b/sorbet/rbi/gems/rbi@0.0.9.rbi @@ -26,6 +26,23 @@ class RBI::ASTVisitor def parse_name(node); end end +class RBI::Arg < ::RBI::Node + sig { params(value: String, loc: T.nilable(RBI::Loc)).void } + def initialize(value, loc: T.unsafe(nil)); end + + sig { params(other: T.nilable(Object)).returns(T::Boolean) } + def ==(other); end + + sig { override.params(v: RBI::Printer).void } + def accept_printer(v); end + + sig { returns(String) } + def to_s; end + + sig { returns(String) } + def value; end +end + class RBI::Attr < ::RBI::NodeWithComments include ::RBI::Indexable @@ -108,6 +125,14 @@ class RBI::AttrWriter < ::RBI::Attr def to_s; end end +class RBI::BlankLine < ::RBI::Comment + sig { params(loc: T.nilable(RBI::Loc)).void } + def initialize(loc: T.unsafe(nil)); end + + sig { override.params(v: RBI::Printer).void } + def accept_printer(v); end +end + class RBI::BlockParam < ::RBI::Param sig { params(name: String, loc: T.nilable(RBI::Loc), comments: T::Array[RBI::Comment], block: T.nilable(T.proc.params(node: RBI::BlockParam).void)).void } def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end @@ -223,14 +248,6 @@ class RBI::ConstBuilder < ::RBI::ASTVisitor end end -class RBI::EmptyComment < ::RBI::Comment - sig { params(loc: T.nilable(RBI::Loc)).void } - def initialize(loc: T.unsafe(nil)); end - - sig { override.params(v: RBI::Printer).void } - def accept_printer(v); end -end - class RBI::Error < ::StandardError; end class RBI::Extend < ::RBI::Mixin @@ -273,6 +290,8 @@ class RBI::File sig { returns(RBI::Tree) } def root; end + def root=(_arg0); end + sig { void } def set_empty_body_content; end @@ -282,6 +301,8 @@ class RBI::File sig { returns(T.nilable(String)) } def strictness; end + def strictness=(_arg0); end + sig { params(indent: Integer, print_locs: T::Boolean).returns(String) } def string(indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end @@ -309,10 +330,12 @@ class RBI::Group::Kind < ::T::Enum Helpers = new TypeMembers = new MixesInClassMethods = new + Sends = new TStructFields = new TEnums = new Inits = new Methods = new + SingletonClasses = new Consts = new end end @@ -362,8 +385,8 @@ class RBI::Index < ::RBI::Visitor sig { params(id: String).returns(T::Array[RBI::Node]) } def [](id); end - sig { params(node: T.all(RBI::Indexable, RBI::Node)).void } - def index(node); end + sig { params(nodes: RBI::Node).void } + def index(*nodes); end sig { returns(T::Array[String]) } def keys; end @@ -371,6 +394,11 @@ class RBI::Index < ::RBI::Visitor sig { override.params(node: T.nilable(RBI::Node)).void } def visit(node); end + private + + sig { params(node: T.all(RBI::Indexable, RBI::Node)).void } + def index_node(node); end + class << self sig { params(node: RBI::Node).returns(RBI::Index) } def index(*node); end @@ -384,6 +412,23 @@ module RBI::Indexable def index_ids; end end +class RBI::KwArg < ::RBI::Arg + sig { params(keyword: String, value: String, loc: T.nilable(RBI::Loc)).void } + def initialize(keyword, value, loc: T.unsafe(nil)); end + + sig { params(other: T.nilable(Object)).returns(T::Boolean) } + def ==(other); end + + sig { override.params(v: RBI::Printer).void } + def accept_printer(v); end + + sig { returns(String) } + def keyword; end + + sig { returns(String) } + def to_s; end +end + class RBI::KwOptParam < ::RBI::Param sig { params(name: String, value: String, loc: T.nilable(RBI::Loc), comments: T::Array[RBI::Comment], block: T.nilable(T.proc.params(node: RBI::KwOptParam).void)).void } def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end @@ -462,6 +507,14 @@ class RBI::Loc end end +class RBI::MergeTree < ::RBI::Tree + sig { params(loc: T.nilable(RBI::Loc), comments: T::Array[RBI::Comment], conflicts: T::Array[RBI::Rewriters::Merge::Conflict], block: T.nilable(T.proc.params(node: RBI::Tree).void)).void } + def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), conflicts: T.unsafe(nil), &block); end + + sig { returns(T::Array[RBI::Rewriters::Merge::Conflict]) } + def conflicts; end +end + class RBI::Method < ::RBI::NodeWithComments include ::RBI::Indexable @@ -615,6 +668,9 @@ class RBI::Node sig { params(out: T.any(IO, StringIO), indent: Integer, print_locs: T::Boolean).void } def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end + sig { params(v: RBI::Printer).void } + def print_blank_line_before(v); end + sig { params(node: RBI::Node).void } def replace(node); end @@ -628,6 +684,9 @@ class RBI::NodeWithComments < ::RBI::Node sig { params(loc: T.nilable(RBI::Loc), comments: T::Array[RBI::Comment]).void } def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil)); end + sig { returns(T::Array[String]) } + def annotations; end + sig { returns(T::Array[RBI::Comment]) } def comments; end @@ -706,8 +765,14 @@ class RBI::Parser sig { params(path: String).returns(RBI::Tree) } def parse_file(path); end + sig { params(paths: T::Array[String]).returns(T::Array[RBI::Tree]) } + def parse_files(paths); end + sig { params(string: String).returns(RBI::Tree) } def parse_string(string); end + + sig { params(strings: T::Array[String]).returns(T::Array[RBI::Tree]) } + def parse_strings(strings); end end end @@ -815,6 +880,35 @@ class RBI::Rewriters::AddSigTemplates < ::RBI::Visitor def add_todo_comment(node); end end +class RBI::Rewriters::Annotate < ::RBI::Visitor + sig { params(annotation: String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } + def initialize(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end + + sig { override.params(node: T.nilable(RBI::Node)).void } + def visit(node); end + + private + + sig { params(node: RBI::NodeWithComments).void } + def annotate_node(node); end + + sig { params(node: RBI::Node).returns(T::Boolean) } + def root?(node); end +end + +class RBI::Rewriters::Deannotate < ::RBI::Visitor + sig { params(annotation: String).void } + def initialize(annotation); end + + sig { override.params(node: T.nilable(RBI::Node)).void } + def visit(node); end + + private + + sig { params(node: RBI::NodeWithComments).void } + def deannotate_node(node); end +end + class RBI::Rewriters::GroupNodes < ::RBI::Visitor sig { override.params(node: T.nilable(RBI::Node)).void } def visit(node); end @@ -824,14 +918,14 @@ class RBI::Rewriters::Merge sig { params(left_name: String, right_name: String, keep: RBI::Rewriters::Merge::Keep).void } def initialize(left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - sig { params(tree: RBI::Tree).returns(T::Array[RBI::Rewriters::Merge::Conflict]) } + sig { params(tree: RBI::Tree).void } def merge(tree); end - sig { returns(RBI::Tree) } + sig { returns(RBI::MergeTree) } def tree; end class << self - sig { params(left: RBI::Tree, right: RBI::Tree, left_name: String, right_name: String, keep: RBI::Rewriters::Merge::Keep).returns(RBI::Tree) } + sig { params(left: RBI::Tree, right: RBI::Tree, left_name: String, right_name: String, keep: RBI::Rewriters::Merge::Keep).returns(RBI::MergeTree) } def merge_trees(left, right, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end end end @@ -909,6 +1003,48 @@ class RBI::Rewriters::NestSingletonMethods < ::RBI::Visitor def visit(node); end end +class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor + sig { params(index: RBI::Index).void } + def initialize(index); end + + sig { returns(T::Array[RBI::Rewriters::RemoveKnownDefinitions::Operation]) } + def operations; end + + sig { override.params(node: T.nilable(RBI::Node)).void } + def visit(node); end + + sig { params(nodes: T::Array[RBI::Node]).void } + def visit_all(nodes); end + + private + + sig { params(node: RBI::Node, previous: RBI::Node).returns(T::Boolean) } + def can_delete_node?(node, previous); end + + sig { params(node: RBI::Node, previous: RBI::Node).void } + def delete_node(node, previous); end + + sig { params(node: RBI::Indexable).returns(T.nilable(RBI::Node)) } + def previous_definition_for(node); end + + class << self + sig { params(tree: RBI::Tree, index: RBI::Index).returns([RBI::Tree, T::Array[RBI::Rewriters::RemoveKnownDefinitions::Operation]]) } + def remove(tree, index); end + end +end + +class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct + const :deleted_node, RBI::Node + const :duplicate_of, RBI::Node + + sig { returns(String) } + def to_s; end + + class << self + def inherited(s); end + end +end + class RBI::Rewriters::SortNodes < ::RBI::Visitor sig { override.params(node: T.nilable(RBI::Node)).void } def visit(node); end @@ -970,6 +1106,37 @@ class RBI::ScopeConflict < ::RBI::Tree def right; end end +class RBI::Send < ::RBI::NodeWithComments + include ::RBI::Indexable + + sig { params(method: String, args: T::Array[RBI::Arg], loc: T.nilable(RBI::Loc), comments: T::Array[RBI::Comment], block: T.nilable(T.proc.params(node: RBI::Send).void)).void } + def initialize(method, args = T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end + + sig { params(arg: RBI::Arg).void } + def <<(arg); end + + sig { params(other: T.nilable(Object)).returns(T::Boolean) } + def ==(other); end + + sig { override.params(v: RBI::Printer).void } + def accept_printer(v); end + + sig { returns(T::Array[RBI::Arg]) } + def args; end + + sig { override.params(other: RBI::Node).returns(T::Boolean) } + def compatible_with?(other); end + + sig { override.returns(T::Array[String]) } + def index_ids; end + + sig { returns(String) } + def method; end + + sig { returns(String) } + def to_s; end +end + class RBI::Sig < ::RBI::Node sig { params(params: T::Array[RBI::SigParam], return_type: T.nilable(String), is_abstract: T::Boolean, is_override: T::Boolean, is_overridable: T::Boolean, type_params: T::Array[String], checked: T.nilable(Symbol), loc: T.nilable(RBI::Loc), block: T.nilable(T.proc.params(node: RBI::Sig).void)).void } def initialize(params: T.unsafe(nil), return_type: T.unsafe(nil), is_abstract: T.unsafe(nil), is_override: T.unsafe(nil), is_overridable: T.unsafe(nil), type_params: T.unsafe(nil), checked: T.unsafe(nil), loc: T.unsafe(nil), &block); end @@ -1215,7 +1382,10 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(with_todo_comment: T::Boolean).void } def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end - sig { params(name: String, superclass_name: T.nilable(String), block: T.nilable(T.proc.params(scope: RBI::Scope).void)).void } + sig { params(annotation: String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } + def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end + + sig { params(name: String, superclass_name: T.nilable(String), block: T.nilable(T.proc.params(scope: RBI::Scope).void)).returns(RBI::Scope) } def create_class(name, superclass_name: T.unsafe(nil), &block); end sig { params(name: String, value: String).void } @@ -1227,13 +1397,13 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(name: String).void } def create_include(name); end - sig { params(name: String, parameters: T::Array[RBI::TypedParam], return_type: String, class_method: T::Boolean).void } - def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil)); end + sig { params(name: String, parameters: T::Array[RBI::TypedParam], return_type: String, class_method: T::Boolean, visibility: RBI::Visibility).void } + def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil)); end sig { params(name: String).void } def create_mixes_in_class_methods(name); end - sig { params(name: String, block: T.nilable(T.proc.params(scope: RBI::Scope).void)).void } + sig { params(name: String, block: T.nilable(T.proc.params(scope: RBI::Scope).void)).returns(RBI::Scope) } def create_module(name, &block); end sig { params(constant: Module, block: T.nilable(T.proc.params(scope: RBI::Scope).void)).void } @@ -1242,6 +1412,9 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(name: String, value: String).void } def create_type_member(name, value: T.unsafe(nil)); end + sig { params(annotation: String).void } + def deannotate!(annotation); end + sig { returns(T::Boolean) } def empty?; end @@ -1251,8 +1424,8 @@ class RBI::Tree < ::RBI::NodeWithComments sig { returns(RBI::Index) } def index; end - sig { params(other: RBI::Tree).returns(RBI::Tree) } - def merge(other); end + sig { params(other: RBI::Tree, left_name: String, right_name: String, keep: RBI::Rewriters::Merge::Keep).returns(RBI::MergeTree) } + def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end sig { void } def nest_non_public_methods!; end @@ -1284,14 +1457,11 @@ end RBI::Tree::SPECIAL_METHOD_NAMES = T.let(T.unsafe(nil), Array) class RBI::TreeBuilder < ::RBI::ASTVisitor - sig { params(file: String, comments: T::Hash[Parser::Source::Map, T::Array[Parser::Source::Comment]]).void } - def initialize(file:, comments: T.unsafe(nil)); end - - sig { params(comments: T::Array[Parser::Source::Comment]).void } - def assoc_dangling_comments(comments); end + sig { params(file: String, comments: T::Array[Parser::Source::Comment], nodes_comments_assoc: T::Hash[Parser::Source::Map, T::Array[Parser::Source::Comment]]).void } + def initialize(file:, comments: T.unsafe(nil), nodes_comments_assoc: T.unsafe(nil)); end sig { void } - def separate_header_comments; end + def post_process; end sig { returns(RBI::Tree) } def tree; end @@ -1301,6 +1471,9 @@ class RBI::TreeBuilder < ::RBI::ASTVisitor private + sig { void } + def assoc_dangling_comments; end + sig { returns(RBI::Tree) } def current_scope; end @@ -1334,6 +1507,9 @@ class RBI::TreeBuilder < ::RBI::ASTVisitor sig { params(node: AST::Node).returns(T.nilable(RBI::Node)) } def parse_send(node); end + sig { params(node: AST::Node).returns(T::Array[RBI::Arg]) } + def parse_send_args(node); end + sig { params(node: AST::Node).returns(RBI::Sig) } def parse_sig(node); end @@ -1343,6 +1519,12 @@ class RBI::TreeBuilder < ::RBI::ASTVisitor sig { params(node: AST::Node).returns([String, String, T.nilable(String)]) } def parse_tstruct_prop(node); end + sig { void } + def separate_header_comments; end + + sig { void } + def set_root_tree_loc; end + sig { params(node: AST::Node).returns(T::Boolean) } def struct_definition?(node); end end diff --git a/sorbet/rbi/gems/regexp_parser@2.1.1.rbi b/sorbet/rbi/gems/regexp_parser@2.2.0.rbi similarity index 98% rename from sorbet/rbi/gems/regexp_parser@2.1.1.rbi rename to sorbet/rbi/gems/regexp_parser@2.2.0.rbi index c345ae5a68..df550e47d4 100644 --- a/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +++ b/sorbet/rbi/gems/regexp_parser@2.2.0.rbi @@ -603,6 +603,7 @@ class Regexp::Lexer end Regexp::Lexer::CLOSING_TOKENS = T.let(T.unsafe(nil), Array) +Regexp::Lexer::CONDITION_TOKENS = T.let(T.unsafe(nil), Array) Regexp::Lexer::OPENING_TOKENS = T.let(T.unsafe(nil), Array) class Regexp::MatchLength @@ -878,6 +879,7 @@ module Regexp::Syntax::Token::Backreference; end Regexp::Syntax::Token::Backreference::All = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::Backreference::Name = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::Backreference::Number = T.let(T.unsafe(nil), Array) +Regexp::Syntax::Token::Backreference::Plain = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::Backreference::RecursionLevel = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::Backreference::Type = T.let(T.unsafe(nil), Symbol) module Regexp::Syntax::Token::CharacterSet; end @@ -967,6 +969,7 @@ Regexp::Syntax::Token::UnicodeProperty::Age_V2_5_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_2 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_3 = T.let(T.unsafe(nil), Array) +Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array) module Regexp::Syntax::Token::UnicodeProperty::Category; end Regexp::Syntax::Token::UnicodeProperty::Category::All = T.let(T.unsafe(nil), Array) @@ -998,6 +1001,7 @@ Regexp::Syntax::Token::UnicodeProperty::Script_V2_4_0 = T.let(T.unsafe(nil), Arr Regexp::Syntax::Token::UnicodeProperty::Script_V2_5_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_2 = T.let(T.unsafe(nil), Array) +Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol) Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array) @@ -1008,6 +1012,7 @@ Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array) +Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array) @@ -1018,6 +1023,7 @@ Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array) Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array) +Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array) class Regexp::Syntax::UnknownSyntaxNameError < ::Regexp::Syntax::SyntaxError def initialize(name); end @@ -1082,6 +1088,10 @@ class Regexp::Syntax::V2_6_3 < ::Regexp::Syntax::V2_6_2 def initialize; end end +class Regexp::Syntax::V3_1_0 < ::Regexp::Syntax::V2_6_3 + def initialize; end +end + Regexp::Syntax::VERSION_CONST_REGEXP = T.let(T.unsafe(nil), Regexp) Regexp::Syntax::VERSION_FORMAT = T.let(T.unsafe(nil), String) Regexp::Syntax::VERSION_REGEXP = T.let(T.unsafe(nil), Regexp) diff --git a/sorbet/rbi/gems/request_store@1.5.0.rbi b/sorbet/rbi/gems/request_store@1.5.1.rbi similarity index 100% rename from sorbet/rbi/gems/request_store@1.5.0.rbi rename to sorbet/rbi/gems/request_store@1.5.1.rbi diff --git a/sorbet/rbi/gems/rubocop-ast@1.13.0.rbi b/sorbet/rbi/gems/rubocop-ast@1.15.1.rbi similarity index 99% rename from sorbet/rbi/gems/rubocop-ast@1.13.0.rbi rename to sorbet/rbi/gems/rubocop-ast@1.15.1.rbi index e93e9b31ef..1aed2f3e90 100644 --- a/sorbet/rbi/gems/rubocop-ast@1.13.0.rbi +++ b/sorbet/rbi/gems/rubocop-ast@1.15.1.rbi @@ -1461,7 +1461,7 @@ RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_TO_H_TO_HASH = T.let(T.unsafe(nil), Set) -RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET__ = T.let(T.unsafe(nil), Set) @@ -1515,6 +1515,7 @@ class RuboCop::AST::PairNode < ::RuboCop::AST::Node def delimiter(*deprecated, with_spacing: T.unsafe(nil)); end def hash_rocket?; end def inverse_delimiter(*deprecated, with_spacing: T.unsafe(nil)); end + def value_omission?; end def value_on_new_line?; end end diff --git a/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi b/sorbet/rbi/gems/rubocop-performance@1.13.2.rbi similarity index 100% rename from sorbet/rbi/gems/rubocop-performance@1.11.5.rbi rename to sorbet/rbi/gems/rubocop-performance@1.13.2.rbi diff --git a/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi b/sorbet/rbi/gems/rubocop-sorbet@0.6.5.rbi similarity index 100% rename from sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi rename to sorbet/rbi/gems/rubocop-sorbet@0.6.5.rbi diff --git a/sorbet/rbi/gems/rubocop@1.22.3.rbi b/sorbet/rbi/gems/rubocop@1.25.0.rbi similarity index 98% rename from sorbet/rbi/gems/rubocop@1.22.3.rbi rename to sorbet/rbi/gems/rubocop@1.25.0.rbi index b410b4d504..377f206120 100644 --- a/sorbet/rbi/gems/rubocop@1.22.3.rbi +++ b/sorbet/rbi/gems/rubocop@1.25.0.rbi @@ -115,6 +115,18 @@ class RuboCop::CLI::Command::ShowCops < ::RuboCop::CLI::Command::Base def selected_cops_of_department(cops, department); end end +class RuboCop::CLI::Command::ShowDocsUrl < ::RuboCop::CLI::Command::Base + def initialize(env); end + + def run; end + + private + + def cops_array; end + def print_documentation_url; end + def registry_hash; end +end + class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base def run; end @@ -1321,12 +1333,16 @@ RuboCop::Cop::DefNode::NON_PUBLIC_MODIFIERS = T.let(T.unsafe(nil), Array) module RuboCop::Cop::Documentation private + def base_url_for(cop_class, config); end + def default_base_url; end def department_to_basename(department); end - def url_for(cop_class); end + def url_for(cop_class, config = T.unsafe(nil)); end class << self + def base_url_for(cop_class, config); end + def default_base_url; end def department_to_basename(department); end - def url_for(cop_class); end + def url_for(cop_class, config = T.unsafe(nil)); end end end @@ -1498,9 +1514,9 @@ module RuboCop::Cop::Gemspec; end class RuboCop::Cop::Gemspec::DateAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp + include ::RuboCop::Cop::GemspecHelp extend ::RuboCop::Cop::AutoCorrector - def gem_specification(param0 = T.unsafe(nil)); end def on_block(block_node); end end @@ -1508,9 +1524,9 @@ RuboCop::Cop::Gemspec::DateAssignment::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Gemspec::DuplicatedAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp + include ::RuboCop::Cop::GemspecHelp def assignment_method_declarations(param0); end - def gem_specification(param0); end def on_new_investigation; end private @@ -1538,6 +1554,26 @@ end RuboCop::Cop::Gemspec::OrderedDependencies::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Gemspec::RequireMFA < ::RuboCop::Cop::Base + include ::RuboCop::Cop::GemspecHelp + extend ::RuboCop::Cop::AutoCorrector + + def metadata(param0 = T.unsafe(nil)); end + def on_block(node); end + def rubygems_mfa_required(param0); end + def true_string?(param0 = T.unsafe(nil)); end + + private + + def autocorrect(corrector, node, block_var, metadata); end + def change_value(corrector, value); end + def correct_metadata(corrector, metadata); end + def insert_mfa_required(corrector, node, block_var); end + def mfa_value(metadata_value); end +end + +RuboCop::Cop::Gemspec::RequireMFA::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Gemspec::RequiredRubyVersion < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp @@ -1558,7 +1594,8 @@ RuboCop::Cop::Gemspec::RequiredRubyVersion::NOT_EQUAL_MSG = T.let(T.unsafe(nil), RuboCop::Cop::Gemspec::RequiredRubyVersion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) class RuboCop::Cop::Gemspec::RubyVersionGlobalsUsage < ::RuboCop::Cop::Base - def gem_specification?(param0); end + include ::RuboCop::Cop::GemspecHelp + def on_const(node); end def ruby_version?(param0 = T.unsafe(nil)); end @@ -1569,6 +1606,13 @@ end RuboCop::Cop::Gemspec::RubyVersionGlobalsUsage::MSG = T.let(T.unsafe(nil), String) +module RuboCop::Cop::GemspecHelp + extend ::RuboCop::AST::NodePattern::Macros + + def gem_specification(param0); end + def gem_specification?(param0 = T.unsafe(nil)); end +end + class RuboCop::Cop::Generator def initialize(name, output: T.unsafe(nil)); end @@ -1688,6 +1732,21 @@ module RuboCop::Cop::HashAlignmentStyles::ValueAlignment def separator_delta(first_pair, current_pair, key_delta); end end +module RuboCop::Cop::HashShorthandSyntax + def on_pair(node); end + + private + + def enforced_shorthand_syntax; end + def node_with_block_and_arguments?(node); end + def require_hash_value?(hash_key_source, node); end + def without_parentheses?(node); end + def without_parentheses_call_expr_follows?(node); end +end + +RuboCop::Cop::HashShorthandSyntax::EXPLICIT_HASH_VALUE_MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::HashShorthandSyntax::OMIT_HASH_VALUE_MSG = T.let(T.unsafe(nil), String) + module RuboCop::Cop::HashTransformMethod extend ::RuboCop::AST::NodePattern::Macros @@ -1770,6 +1829,22 @@ end RuboCop::Cop::Heredoc::OPENING_DELIMITER = T.let(T.unsafe(nil), Regexp) +class RuboCop::Cop::IfThenCorrector + def initialize(if_node, indentation: T.unsafe(nil)); end + + def call(corrector); end + + private + + def branch_body_indentation; end + def if_node; end + def indentation; end + def replacement(node = T.unsafe(nil), indentation = T.unsafe(nil)); end + def rewrite_else_branch(else_branch, indentation); end +end + +RuboCop::Cop::IfThenCorrector::DEFAULT_INDENTATION_WIDTH = T.let(T.unsafe(nil), Integer) + module RuboCop::Cop::IgnoredMethods mixes_in_class_methods ::RuboCop::Cop::IgnoredMethods::Config @@ -1886,11 +1961,14 @@ class RuboCop::Cop::Layout::ArgumentAlignment < ::RuboCop::Cop::Base private + def arguments_or_first_arg_pairs(node); end + def arguments_with_last_arg_pairs(node); end def autocorrect(corrector, node); end def base_column(node, first_argument); end def fixed_indentation?; end + def flattened_arguments(node); end def message(_node); end - def multiple_arguments?(node, first_argument); end + def multiple_arguments?(node); end def target_method_lineno(node); end end @@ -2106,8 +2184,9 @@ class RuboCop::Cop::Layout::CommentIndentation < ::RuboCop::Cop::Base def autocorrect(corrector, comment); end def autocorrect_one(corrector, comment); end def autocorrect_preceding_comments(corrector, comment); end - def check(comment); end + def check(comment, comment_index); end def correct_indentation(next_line); end + def correctly_aligned_with_preceding_comment?(comment_index, column); end def less_indented?(line); end def line_after_comment(comment); end def message(column, correct_comment_indentation); end @@ -2172,6 +2251,10 @@ class RuboCop::Cop::Layout::DotPosition < ::RuboCop::Cop::Base def proper_dot_position?(node); end def receiver_end_line(node); end def selector_range(node); end + + class << self + def autocorrect_incompatible_with; end + end end class RuboCop::Cop::Layout::ElseAlignment < ::RuboCop::Cop::Base @@ -3649,6 +3732,10 @@ class RuboCop::Cop::Layout::SpaceBeforeFirstArg < ::RuboCop::Cop::Base def expect_params_after_method_name?(node); end def no_space_between_method_name_and_first_argument?(node); end def regular_method_call_with_arguments?(node); end + + class << self + def autocorrect_incompatible_with; end + end end RuboCop::Cop::Layout::SpaceBeforeFirstArg::MSG = T.let(T.unsafe(nil), String) @@ -3671,6 +3758,7 @@ class RuboCop::Cop::Layout::SpaceInLambdaLiteral < ::RuboCop::Cop::Base private def arrow_lambda_with_args?(node); end + def lambda_arguments(node); end def range_of_offense(node); end def space_after_arrow(lambda_node); end def space_after_arrow?(lambda_node); end @@ -4246,6 +4334,7 @@ class RuboCop::Cop::Lint::DeprecatedOpenSSLConstant < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector def algorithm_const(param0 = T.unsafe(nil)); end + def digest_const?(param0 = T.unsafe(nil)); end def on_send(node); end private @@ -5024,10 +5113,11 @@ class RuboCop::Cop::Lint::ParenthesesAsGroupedExpression < ::RuboCop::Cop::Base def chained_calls?(node); end def first_argument_starts_with_left_parenthesis?(node); end - def operator_keyword?(node); end def space_range(expr, space_length); end def spaces_before_left_parenthesis(node); end + def ternary_expression?(node); end def valid_context?(node); end + def valid_first_argument?(first_arg); end end RuboCop::Cop::Lint::ParenthesesAsGroupedExpression::MSG = T.let(T.unsafe(nil), String) @@ -5860,6 +5950,20 @@ end RuboCop::Cop::Lint::UselessMethodDefinition::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Lint::UselessRuby2Keywords < ::RuboCop::Cop::Base + def method_definition(param0 = T.unsafe(nil), param1); end + def on_send(node); end + + private + + def allowed_arguments(arguments); end + def inspect_def(node, def_node); end + def inspect_sym(node, sym_node); end +end + +RuboCop::Cop::Lint::UselessRuby2Keywords::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Lint::UselessRuby2Keywords::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Lint::UselessSetterCall < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector @@ -6029,6 +6133,7 @@ class RuboCop::Cop::Metrics::BlockLength < ::RuboCop::Cop::Base extend ::RuboCop::Cop::IgnoredMethods::Config def on_block(node); end + def on_numblock(node); end private @@ -6072,7 +6177,6 @@ class RuboCop::Cop::Metrics::CyclomaticComplexity < ::RuboCop::Cop::Base private - def block_method(node); end def complexity_score_for(node); end def count_block?(block); end end @@ -6088,6 +6192,7 @@ class RuboCop::Cop::Metrics::MethodLength < ::RuboCop::Cop::Base def on_block(node); end def on_def(node); end def on_defs(node); end + def on_numblock(node); end private @@ -6409,6 +6514,28 @@ RuboCop::Cop::Naming::BinaryOperatorParameterName::EXCLUDED = T.let(T.unsafe(nil RuboCop::Cop::Naming::BinaryOperatorParameterName::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base + include ::RuboCop::Cop::ConfigurableEnforcedStyle + include ::RuboCop::Cop::RangeHelp + extend ::RuboCop::Cop::AutoCorrector + extend ::RuboCop::Cop::TargetRubyVersion + + def on_def(node); end + def on_defs(node); end + + private + + def anonymous_block_argument?(node); end + def block_forwarding_name; end + def expected_block_forwarding_style?(node, last_argument); end + def explicit_block_argument?(node); end + def register_offense(block_argument, node); end + def use_block_argument_as_local_variable?(node, last_argument); end + def use_kwarg_in_method_definition?(node); end +end + +RuboCop::Cop::Naming::BlockForwarding::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Naming::BlockParameterName < ::RuboCop::Cop::Base include ::RuboCop::Cop::UncommunicativeName @@ -6442,15 +6569,19 @@ class RuboCop::Cop::Naming::FileName < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp def on_new_investigation; end + def struct_definition(param0 = T.unsafe(nil)); end private def allowed_acronyms; end def bad_filename_allowed?; end def check_definition_path_hierarchy?; end + def defined_struct(node); end + def definition_path_hierarchy_roots; end def expect_matching_definition?; end def filename_good?(basename); end def find_class_or_module(node, namespace); end + def find_definition(node); end def for_bad_filename(file_path); end def ignore_executable_scripts?; end def match?(expected); end @@ -7728,12 +7859,14 @@ class RuboCop::Cop::Style::CollectionCompact < ::RuboCop::Cop::Base def on_send(node); end def reject_method?(param0 = T.unsafe(nil)); end + def reject_method_with_block_pass?(param0 = T.unsafe(nil)); end def select_method?(param0 = T.unsafe(nil)); end private def good_method_name(method_name); end - def offense_range(send_node, block_node); end + def offense_range(node); end + def range(begin_pos_node, end_pos_node); end end RuboCop::Cop::Style::CollectionCompact::MSG = T.let(T.unsafe(nil), String) @@ -8187,6 +8320,7 @@ class RuboCop::Cop::Style::EmptyCaseCondition < ::RuboCop::Cop::Base def correct_case_when(corrector, case_node, when_nodes); end def correct_when_conditions(corrector, when_nodes); end def keep_first_when_comment(case_range, corrector); end + def replace_then_with_line_break(corrector, conditions, when_node); end end RuboCop::Cop::Style::EmptyCaseCondition::MSG = T.let(T.unsafe(nil), String) @@ -8442,6 +8576,50 @@ end RuboCop::Cop::Style::ExponentialNotation::MESSAGES = T.let(T.unsafe(nil), Hash) +class RuboCop::Cop::Style::FileRead < ::RuboCop::Cop::Base + include ::RuboCop::Cop::RangeHelp + extend ::RuboCop::Cop::AutoCorrector + + def block_read?(param0 = T.unsafe(nil)); end + def file_open?(param0 = T.unsafe(nil)); end + def on_send(node); end + def send_read?(param0 = T.unsafe(nil)); end + + private + + def evidence(node); end + def file_open_read?(node); end + def read_method(mode); end + def read_node?(node, block_pass); end +end + +RuboCop::Cop::Style::FileRead::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::FileRead::READ_FILE_START_TO_FINISH_MODES = T.let(T.unsafe(nil), Set) +RuboCop::Cop::Style::FileRead::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +class RuboCop::Cop::Style::FileWrite < ::RuboCop::Cop::Base + include ::RuboCop::Cop::RangeHelp + extend ::RuboCop::Cop::AutoCorrector + + def block_write?(param0 = T.unsafe(nil)); end + def evidence(node); end + def file_open?(param0 = T.unsafe(nil)); end + def on_send(node); end + def send_write?(param0 = T.unsafe(nil)); end + + private + + def file_open_write?(node); end + def heredoc?(write_node); end + def heredoc_range(first_argument); end + def replacement(mode, filename, content, write_node); end + def write_method(mode); end +end + +RuboCop::Cop::Style::FileWrite::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::FileWrite::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) +RuboCop::Cop::Style::FileWrite::TRUNCATING_WRITE_MODES = T.let(T.unsafe(nil), Set) + class RuboCop::Cop::Style::FloatDivision < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector @@ -8704,6 +8882,7 @@ RuboCop::Cop::Style::HashLikeCase::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Style::HashSyntax < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle + include ::RuboCop::Cop::HashShorthandSyntax include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector @@ -8814,6 +8993,7 @@ class RuboCop::Cop::Style::IfInsideElse < ::RuboCop::Cop::Base def correct_to_elsif_from_modifier_form(corrector, node); end def find_end_range(node); end def if_condition_range(node, condition); end + def then?(node); end end RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String) @@ -9096,6 +9276,22 @@ RuboCop::Cop::Style::LineEndConcatenation::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::LineEndConcatenation::QUOTE_DELIMITERS = T.let(T.unsafe(nil), Array) RuboCop::Cop::Style::LineEndConcatenation::SIMPLE_STRING_TOKEN_TYPE = T.let(T.unsafe(nil), Symbol) +class RuboCop::Cop::Style::MapToHash < ::RuboCop::Cop::Base + include ::RuboCop::Cop::RangeHelp + extend ::RuboCop::Cop::AutoCorrector + extend ::RuboCop::Cop::TargetRubyVersion + + def map_to_h?(param0 = T.unsafe(nil)); end + def on_send(node); end + + private + + def autocorrect(corrector, to_h, map); end +end + +RuboCop::Cop::Style::MapToHash::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::MapToHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::IgnoredMethods @@ -9148,6 +9344,7 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses def omit_parentheses(node); end def parentheses_at_the_end_of_multiline_call?(node); end def regexp_slash_literal?(node); end + def require_parentheses_for_hash_value_omission?(node); end def splat?(node); end def super_call_without_arguments?(node); end def syntax_like_method_call?(node); end @@ -9209,9 +9406,9 @@ class RuboCop::Cop::Style::MethodDefParentheses < ::RuboCop::Cop::Base private + def anonymous_block_arg?(node); end def arguments_without_parentheses?(node); end def correct_arguments(arg_node, corrector); end - def correct_definition(def_node, corrector); end def forced_parentheses?(node); end def missing_parentheses(node); end def require_parentheses?(args); end @@ -9817,6 +10014,7 @@ class RuboCop::Cop::Style::NumericLiterals < ::RuboCop::Cop::Base private + def allowed_numbers; end def check(node); end def format_int_part(int_part); end def format_number(node); end @@ -9862,21 +10060,31 @@ class RuboCop::Cop::Style::OneLineConditional < ::RuboCop::Cop::Base private def always_multiline?; end - def branch_body_indentation; end + def autocorrect(corrector, node); end def cannot_replace_to_ternary?(node); end - def else_branch_to_multiline(else_branch, indentation); end def expr_replacement(node); end + def indentation_width; end def keyword_with_changed_precedence?(node); end def message(node); end def method_call_with_changed_precedence?(node); end - def multiline_replacement(node, indentation = T.unsafe(nil)); end - def replacement(node); end def requires_parentheses?(node); end + def ternary_correction(node); end def ternary_replacement(node); end end RuboCop::Cop::Style::OneLineConditional::MSG = T.let(T.unsafe(nil), String) +class RuboCop::Cop::Style::OpenStructUse < ::RuboCop::Cop::Base + def on_const(node); end + def uses_open_struct?(param0 = T.unsafe(nil)); end + + private + + def custom_class_or_module_definition?(node); end +end + +RuboCop::Cop::Style::OpenStructUse::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Style::OptionHash < ::RuboCop::Cop::Base def on_args(node); end def option_hash(param0 = T.unsafe(nil)); end @@ -10014,6 +10222,7 @@ end class RuboCop::Cop::Style::ParenthesesAroundCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::SafeAssignment include ::RuboCop::Cop::Parentheses + include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector def control_op_condition(param0 = T.unsafe(nil)); end @@ -10028,6 +10237,7 @@ class RuboCop::Cop::Style::ParenthesesAroundCondition < ::RuboCop::Cop::Base def modifier_op?(node); end def parens_allowed?(node); end def process_control_op(node); end + def semicolon_separated_expressions?(first_exp, rest_exps); end end class RuboCop::Cop::Style::PercentLiteralDelimiters < ::RuboCop::Cop::Base @@ -10133,6 +10343,7 @@ class RuboCop::Cop::Style::QuotedSymbols < ::RuboCop::Cop::Base def autocorrect(corrector, node); end def correct_quotes(str); end def hash_colon_key?(node); end + def invalid_double_quotes?(source); end def quoted?(sym_node); end def style; end def wrong_quotes?(node); end @@ -10388,6 +10599,7 @@ class RuboCop::Cop::Style::RedundantInterpolation < ::RuboCop::Cop::Base def embedded_in_percent_array?(node); end def implicit_concatenation?(node); end def interpolation?(node); end + def require_parentheses?(node); end def single_interpolation?(node); end def single_variable_interpolation?(node); end def variable_interpolation?(node); end @@ -11335,13 +11547,13 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base def method_name(param0 = T.unsafe(nil)); end def on_if(node); end - def only_closing_parenthesis_is_last_line?(condition); end private def autocorrect(corrector, node); end def below_ternary_precedence?(child); end def complex_condition?(condition); end + def condition_as_parenthesized_one_line_pattern_matching?(condition); end def correct_parenthesized(corrector, condition); end def correct_unparenthesized(corrector, condition); end def infinite_loop?; end @@ -11349,6 +11561,7 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base def non_complex_expression?(condition); end def non_complex_send?(node); end def offense?(node); end + def only_closing_parenthesis_is_last_line?(condition); end def parenthesized?(node); end def redundant_parentheses_enabled?; end def require_parentheses?; end @@ -12610,6 +12823,37 @@ end RuboCop::Formatter::HTMLFormatter::ERBContext::LOGO_IMAGE_PATH = T.let(T.unsafe(nil), String) RuboCop::Formatter::HTMLFormatter::ERBContext::SEVERITY_COLORS = T.let(T.unsafe(nil), Hash) + +class RuboCop::Formatter::HTMLFormatter::FileOffenses < ::Struct + def offenses; end + def offenses=(_); end + def path; end + def path=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def members; end + def new(*_arg0); end + end +end + +class RuboCop::Formatter::HTMLFormatter::Summary < ::Struct + def inspected_files; end + def inspected_files=(_); end + def offense_count; end + def offense_count=(_); end + def target_files; end + def target_files=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def members; end + def new(*_arg0); end + end +end + RuboCop::Formatter::HTMLFormatter::TEMPLATE_PATH = T.let(T.unsafe(nil), String) class RuboCop::Formatter::JSONFormatter < ::RuboCop::Formatter::BaseFormatter diff --git a/sorbet/rbi/gems/ruby_http_client@3.5.2.rbi b/sorbet/rbi/gems/ruby_http_client@3.5.3.rbi similarity index 100% rename from sorbet/rbi/gems/ruby_http_client@3.5.2.rbi rename to sorbet/rbi/gems/ruby_http_client@3.5.3.rbi diff --git a/sorbet/rbi/gems/rufus-scheduler@3.8.0.rbi b/sorbet/rbi/gems/rufus-scheduler@3.8.1.rbi similarity index 100% rename from sorbet/rbi/gems/rufus-scheduler@3.8.0.rbi rename to sorbet/rbi/gems/rufus-scheduler@3.8.1.rbi diff --git a/sorbet/rbi/gems/solargraph@0.44.0.rbi b/sorbet/rbi/gems/solargraph@0.44.2.rbi similarity index 98% rename from sorbet/rbi/gems/solargraph@0.44.0.rbi rename to sorbet/rbi/gems/solargraph@0.44.2.rbi index 9ef11adb09..ecae824230 100644 --- a/sorbet/rbi/gems/solargraph@0.44.0.rbi +++ b/sorbet/rbi/gems/solargraph@0.44.2.rbi @@ -4,6 +4,46 @@ # This is an autogenerated file for types exported from the `solargraph` gem. # Please instead update this file by running `bin/tapioca gem solargraph`. +module ReverseMarkdown + class << self + def cleaner; end + def config; end + def convert(input, options = T.unsafe(nil)); end + end +end + +module ReverseMarkdown::Converters + class << self + def default_converter(tag_name); end + def lookup(tag_name); end + def register(tag_name, converter); end + def unregister(tag_name); end + end +end + +class ReverseMarkdown::Converters::Dd < ::ReverseMarkdown::Converters::Base + def convert(node, state = T.unsafe(nil)); end +end + +class ReverseMarkdown::Converters::Dl < ::ReverseMarkdown::Converters::Base + def convert(node, state = T.unsafe(nil)); end +end + +class ReverseMarkdown::Converters::Dt < ::ReverseMarkdown::Converters::Base + def convert(node, state = T.unsafe(nil)); end +end + +ReverseMarkdown::VERSION = T.let(T.unsafe(nil), String) + +class RubyVM::AbstractSyntaxTree::Node + def ==(other); end + def to_sexp; end + + private + + def sexp(node, depth = T.unsafe(nil)); end +end + module Solargraph class << self def logger; end @@ -173,6 +213,7 @@ class Solargraph::ComplexType def map(&block); end def method_missing(name, *args, &block); end def namespace; end + def nullable?; end def qualify(api_map, context = T.unsafe(nil)); end def select(&block); end def self_to(dst); end @@ -1145,7 +1186,13 @@ class Solargraph::Parser::Legacy::NodeProcessors::BeginNode < ::Solargraph::Pars end class Solargraph::Parser::Legacy::NodeProcessors::BlockNode < ::Solargraph::Parser::NodeProcessor::Base + include ::Solargraph::Parser::Legacy::NodeMethods + def process; end + + private + + def other_class_eval?; end end class Solargraph::Parser::Legacy::NodeProcessors::CasgnNode < ::Solargraph::Parser::NodeProcessor::Base @@ -1382,7 +1429,13 @@ class Solargraph::Parser::Rubyvm::NodeProcessors::BeginNode < ::Solargraph::Pars end class Solargraph::Parser::Rubyvm::NodeProcessors::BlockNode < ::Solargraph::Parser::NodeProcessor::Base + include ::Solargraph::Parser::Rubyvm::NodeMethods + def process; end + + private + + def other_class_eval?; end end class Solargraph::Parser::Rubyvm::NodeProcessors::CasgnNode < ::Solargraph::Parser::NodeProcessor::Base @@ -1567,7 +1620,7 @@ class Solargraph::Pin::BaseVariable < ::Solargraph::Pin::Base end class Solargraph::Pin::Block < ::Solargraph::Pin::Closure - def initialize(receiver: T.unsafe(nil), args: T.unsafe(nil), **splat); end + def initialize(receiver: T.unsafe(nil), args: T.unsafe(nil), context: T.unsafe(nil), **splat); end def binder; end def parameter_names; end @@ -1684,7 +1737,6 @@ class Solargraph::Pin::LocalVariable < ::Solargraph::Pin::BaseVariable def presence; end def try_merge!(pin); end def visible_at?(other_closure, other_loc); end - def visible_from?(other, position); end private @@ -1972,12 +2024,14 @@ class Solargraph::Source::Chain def links; end def literal?; end def node; end + def nullable?; end def splat?; end def undefined?; end private def infer_first_defined(pins, context, api_map); end + def maybe_nil(type); end end class Solargraph::Source::Chain::BlockVariable < ::Solargraph::Source::Chain::Link @@ -2049,6 +2103,7 @@ class Solargraph::Source::Chain::Link def head?; end def last_context; end def last_context=(_arg0); end + def nullable?; end def resolve(api_map, name_pin, locals); end def undefined?; end def word; end @@ -2072,6 +2127,10 @@ class Solargraph::Source::Chain::Or < ::Solargraph::Source::Chain::Link def word; end end +class Solargraph::Source::Chain::QCall < ::Solargraph::Source::Chain::Call + def nullable?; end +end + Solargraph::Source::Chain::UNDEFINED_CALL = T.let(T.unsafe(nil), Solargraph::Source::Chain::Call) Solargraph::Source::Chain::UNDEFINED_CONSTANT = T.let(T.unsafe(nil), Solargraph::Source::Chain::Constant) @@ -2231,6 +2290,7 @@ class Solargraph::SourceMap::Clip def complete_keyword_parameters; end def context_pin; end def cursor; end + def location; end def package_completions(result); end def source_map; end def tag_complete; end diff --git a/sorbet/rbi/gems/sorbet-rails@0.7.5.rbi b/sorbet/rbi/gems/sorbet-rails@0.7.27.rbi similarity index 98% rename from sorbet/rbi/gems/sorbet-rails@0.7.5.rbi rename to sorbet/rbi/gems/sorbet-rails@0.7.27.rbi index a9f41f6edd..543b874604 100644 --- a/sorbet/rbi/gems/sorbet-rails@0.7.5.rbi +++ b/sorbet/rbi/gems/sorbet-rails@0.7.27.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: false # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `sorbet-rails` gem. @@ -307,8 +307,8 @@ module SorbetRails::ModelUtils abstract! - sig { params(root: Parlour::RbiGenerator::Namespace, method_name: String, parameters: T.nilable(T::Array[Parlour::RbiGenerator::Parameter]), builtin_query_method: T::Boolean).void } - def add_relation_query_method(root, method_name, parameters: T.unsafe(nil), builtin_query_method: T.unsafe(nil)); end + sig { params(root: Parlour::RbiGenerator::Namespace, method_name: String, parameters: T.nilable(T::Array[Parlour::RbiGenerator::Parameter]), builtin_query_method: T::Boolean, custom_return_value: T.nilable(String)).void } + def add_relation_query_method(root, method_name, parameters: T.unsafe(nil), builtin_query_method: T.unsafe(nil), custom_return_value: T.unsafe(nil)); end sig { params(method_name: T.any(String, Symbol)).returns(T::Boolean) } def exists_class_method?(method_name); end diff --git a/sorbet/rbi/gems/spoom@1.1.5.rbi b/sorbet/rbi/gems/spoom@1.1.8.rbi similarity index 97% rename from sorbet/rbi/gems/spoom@1.1.5.rbi rename to sorbet/rbi/gems/spoom@1.1.8.rbi index b58e81824b..e9b4c1617e 100644 --- a/sorbet/rbi/gems/spoom@1.1.5.rbi +++ b/sorbet/rbi/gems/spoom@1.1.8.rbi @@ -6,7 +6,7 @@ module Spoom class << self - sig { params(cmd: String, arg: String, path: String, capture_err: T::Boolean).returns([String, T::Boolean]) } + sig { params(cmd: String, arg: String, path: String, capture_err: T::Boolean).returns([String, T::Boolean, Integer]) } def exec(cmd, *arg, path: T.unsafe(nil), capture_err: T.unsafe(nil)); end end end @@ -56,12 +56,18 @@ module Spoom::Cli::Helper sig { params(string: String).returns(String) } def blue(string); end + sig { params(exit_code: Integer, block: T.nilable(T.proc.void)).void } + def check_sorbet_segfault(exit_code, &block); end + sig { returns(T::Boolean) } def color?; end sig { params(string: String, color: Spoom::Color).returns(String) } def colorize(string, *color); end + sig { params(string: String).returns(String) } + def cyan(string); end + sig { returns(String) } def exec_path; end @@ -1049,7 +1055,7 @@ Spoom::SPOOM_PATH = T.let(T.unsafe(nil), String) module Spoom::Sorbet class << self - sig { params(arg: String, path: String, capture_err: T::Boolean, sorbet_bin: T.nilable(String)).returns([String, T::Boolean]) } + sig { params(arg: String, path: String, capture_err: T::Boolean, sorbet_bin: T.nilable(String)).returns([String, T::Boolean, Integer]) } def srb(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil), sorbet_bin: T.unsafe(nil)); end sig { params(config: Spoom::Sorbet::Config, path: String).returns(T::Array[String]) } @@ -1058,7 +1064,7 @@ module Spoom::Sorbet sig { params(arg: String, path: String, capture_err: T::Boolean, sorbet_bin: T.nilable(String)).returns(T.nilable(T::Hash[String, Integer])) } def srb_metrics(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil), sorbet_bin: T.unsafe(nil)); end - sig { params(arg: String, path: String, capture_err: T::Boolean, sorbet_bin: T.nilable(String)).returns([String, T::Boolean]) } + sig { params(arg: String, path: String, capture_err: T::Boolean, sorbet_bin: T.nilable(String)).returns([String, T::Boolean, Integer]) } def srb_tc(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil), sorbet_bin: T.unsafe(nil)); end sig { params(arg: String, path: String, capture_err: T::Boolean, sorbet_bin: T.nilable(String)).returns(T.nilable(String)) } @@ -1115,6 +1121,8 @@ module Spoom::Sorbet::Errors end end +Spoom::Sorbet::Errors::DEFAULT_ERROR_URL_BASE = T.let(T.unsafe(nil), String) + class Spoom::Sorbet::Errors::Error include ::Comparable @@ -1142,8 +1150,8 @@ class Spoom::Sorbet::Errors::Error end class Spoom::Sorbet::Errors::Parser - sig { void } - def initialize; end + sig { params(error_url_base: String).void } + def initialize(error_url_base: T.unsafe(nil)); end sig { params(output: String).returns(T::Array[Spoom::Sorbet::Errors::Error]) } def parse(output); end @@ -1156,6 +1164,9 @@ class Spoom::Sorbet::Errors::Parser sig { void } def close_error; end + sig { params(error_url_base: String).returns(Regexp) } + def error_line_match_regexp(error_url_base); end + sig { params(line: String).returns(T.nilable(Spoom::Sorbet::Errors::Error)) } def match_error_line(line); end @@ -1163,12 +1174,11 @@ class Spoom::Sorbet::Errors::Parser def open_error(error); end class << self - sig { params(output: String).returns(T::Array[Spoom::Sorbet::Errors::Error]) } - def parse_string(output); end + sig { params(output: String, error_url_base: String).returns(T::Array[Spoom::Sorbet::Errors::Error]) } + def parse_string(output, error_url_base: T.unsafe(nil)); end end end -Spoom::Sorbet::Errors::Parser::ERROR_LINE_MATCH_REGEX = T.let(T.unsafe(nil), Regexp) Spoom::Sorbet::Errors::Parser::HEADER = T.let(T.unsafe(nil), Array) Spoom::Sorbet::GEM_PATH = T.let(T.unsafe(nil), String) @@ -1186,6 +1196,7 @@ module Spoom::Sorbet::MetricsParser end Spoom::Sorbet::MetricsParser::DEFAULT_PREFIX = T.let(T.unsafe(nil), String) +Spoom::Sorbet::SEGFAULT_CODE = T.let(T.unsafe(nil), Integer) module Spoom::Sorbet::Sigils class << self diff --git a/sorbet/rbi/gems/sprockets-rails@3.2.2.rbi b/sorbet/rbi/gems/sprockets-rails@3.4.2.rbi similarity index 95% rename from sorbet/rbi/gems/sprockets-rails@3.2.2.rbi rename to sorbet/rbi/gems/sprockets-rails@3.4.2.rbi index 45bcc25624..3c26f6a523 100644 --- a/sorbet/rbi/gems/sprockets-rails@3.2.2.rbi +++ b/sorbet/rbi/gems/sprockets-rails@3.4.2.rbi @@ -1,4 +1,4 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `sprockets-rails` gem. @@ -314,6 +314,14 @@ end Sprockets::Index = Sprockets::CachedEnvironment module Sprockets::Rails; end +class Sprockets::Rails::AssetUrlProcessor + class << self + def call(input); end + end +end + +Sprockets::Rails::AssetUrlProcessor::REGEX = T.let(T.unsafe(nil), Regexp) + module Sprockets::Rails::Context include ::ActionView::Helpers::AssetUrlHelper include ::ActionView::Helpers::CaptureHelper @@ -326,6 +334,10 @@ module Sprockets::Rails::Context def compute_asset_path(path, options = T.unsafe(nil)); end + class << self + def included(klass); end + end + module GeneratedClassMethods def assets_prefix; end def assets_prefix=(value); end @@ -349,10 +361,6 @@ module Sprockets::Rails::Context def digest_assets=(value); end def digest_assets?; end end - - class << self - def included(klass); end - end end module Sprockets::Rails::Helper @@ -384,6 +392,11 @@ module Sprockets::Rails::Helper def resolve_asset; end def secure_subresource_integrity_context?; end + class << self + def extended(obj); end + def included(klass); end + end + module GeneratedClassMethods def assets_environment; end def assets_environment=(value); end @@ -449,11 +462,6 @@ module Sprockets::Rails::Helper def unknown_asset_fallback=(value); end def unknown_asset_fallback?; end end - - class << self - def extended(obj); end - def included(klass); end - end end class Sprockets::Rails::Helper::AssetNotFound < ::StandardError; end @@ -516,6 +524,21 @@ module Sprockets::Rails::RouteWrapper end end +class Sprockets::Rails::SourcemappingUrlProcessor + class << self + def call(input); end + + private + + def combine_sourcemap_logical_path(sourcefile:, sourcemap:); end + def removed_sourcemap_comment(sourcemap_logical_path, filename:, env:); end + def resolved_sourcemap_comment(sourcemap_logical_path, context:); end + def sourcemap_asset_path(sourcemap_logical_path, context:); end + end +end + +Sprockets::Rails::SourcemappingUrlProcessor::REGEX = T.let(T.unsafe(nil), Regexp) + module Sprockets::Rails::Utils def using_sprockets4?; end end diff --git a/sorbet/rbi/gems/ssrf_filter@1.0.7.rbi b/sorbet/rbi/gems/ssrf_filter@1.0.7.rbi new file mode 100644 index 0000000000..86a10e3d2c --- /dev/null +++ b/sorbet/rbi/gems/ssrf_filter@1.0.7.rbi @@ -0,0 +1,54 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `ssrf_filter` gem. +# Please instead update this file by running `bin/tapioca gem ssrf_filter`. + +class SsrfFilter + class << self + def delete(url, options = T.unsafe(nil), &block); end + def get(url, options = T.unsafe(nil), &block); end + def post(url, options = T.unsafe(nil), &block); end + def put(url, options = T.unsafe(nil), &block); end + + private + + def fetch_once(uri, ip, verb, options, &block); end + def host_header(hostname, uri); end + def ipaddr_has_mask?(ipaddr); end + def prefixlen_from_ipaddr(ipaddr); end + def unsafe_ip_address?(ip_address); end + def validate_request(request); end + def with_forced_hostname(hostname, &_block); end + end +end + +class SsrfFilter::CRLFInjection < ::SsrfFilter::Error; end +SsrfFilter::DEFAULT_MAX_REDIRECTS = T.let(T.unsafe(nil), Integer) +SsrfFilter::DEFAULT_RESOLVER = T.let(T.unsafe(nil), Proc) +SsrfFilter::DEFAULT_SCHEME_WHITELIST = T.let(T.unsafe(nil), Array) +class SsrfFilter::Error < ::StandardError; end +SsrfFilter::FIBER_LOCAL_KEY = T.let(T.unsafe(nil), Symbol) +SsrfFilter::IPV4_BLACKLIST = T.let(T.unsafe(nil), Array) +SsrfFilter::IPV6_BLACKLIST = T.let(T.unsafe(nil), Array) +class SsrfFilter::InvalidUriScheme < ::SsrfFilter::Error; end +module SsrfFilter::Patch; end + +module SsrfFilter::Patch::HTTPGenericRequest + class << self + def apply!; end + def should_apply?; end + end +end + +module SsrfFilter::Patch::SSLSocket + class << self + def apply!; end + end +end + +class SsrfFilter::PrivateIPAddress < ::SsrfFilter::Error; end +class SsrfFilter::TooManyRedirects < ::SsrfFilter::Error; end +class SsrfFilter::UnresolvedHostname < ::SsrfFilter::Error; end +SsrfFilter::VERB_MAP = T.let(T.unsafe(nil), Hash) +SsrfFilter::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/standard@1.4.0.rbi b/sorbet/rbi/gems/standard@1.7.0.rbi similarity index 100% rename from sorbet/rbi/gems/standard@1.4.0.rbi rename to sorbet/rbi/gems/standard@1.7.0.rbi diff --git a/sorbet/rbi/gems/stripe@5.39.0.rbi b/sorbet/rbi/gems/stripe@5.43.0.rbi similarity index 98% rename from sorbet/rbi/gems/stripe@5.39.0.rbi rename to sorbet/rbi/gems/stripe@5.43.0.rbi index 9114066593..d2637b4a77 100644 --- a/sorbet/rbi/gems/stripe@5.39.0.rbi +++ b/sorbet/rbi/gems/stripe@5.43.0.rbi @@ -388,7 +388,10 @@ class Stripe::Checkout::Session < ::Stripe::APIResource extend ::Stripe::APIOperations::List extend ::Stripe::APIOperations::NestedResource + def expire(params = T.unsafe(nil), opts = T.unsafe(nil)); end + class << self + def expire(id, params = T.unsafe(nil), opts = T.unsafe(nil)); end def line_items_url(id, nested_id = T.unsafe(nil)); end def list_line_items(id, params = T.unsafe(nil), opts = T.unsafe(nil)); end end @@ -898,6 +901,21 @@ end Stripe::PaymentIntent::OBJECT_NAME = T.let(T.unsafe(nil), String) +class Stripe::PaymentLink < ::Stripe::APIResource + include ::Stripe::APIOperations::Save + extend ::Stripe::APIOperations::Create + extend ::Stripe::APIOperations::List + extend ::Stripe::APIOperations::Save::ClassMethods + + def list_line_items(params = T.unsafe(nil), opts = T.unsafe(nil)); end + + class << self + def list_line_items(id, params = T.unsafe(nil), opts = T.unsafe(nil)); end + end +end + +Stripe::PaymentLink::OBJECT_NAME = T.let(T.unsafe(nil), String) + class Stripe::PaymentMethod < ::Stripe::APIResource include ::Stripe::APIOperations::Save extend ::Stripe::APIOperations::Create @@ -1138,6 +1156,15 @@ class Stripe::SetupIntent < ::Stripe::APIResource end Stripe::SetupIntent::OBJECT_NAME = T.let(T.unsafe(nil), String) + +class Stripe::ShippingRate < ::Stripe::APIResource + include ::Stripe::APIOperations::Save + extend ::Stripe::APIOperations::Create + extend ::Stripe::APIOperations::List + extend ::Stripe::APIOperations::Save::ClassMethods +end + +Stripe::ShippingRate::OBJECT_NAME = T.let(T.unsafe(nil), String) module Stripe::Sigma; end class Stripe::Sigma::ScheduledQueryRun < ::Stripe::APIResource @@ -1217,7 +1244,7 @@ class Stripe::StripeClient def handle_error_response(http_resp, context); end def handle_network_error(error, context, num_retries, api_base = T.unsafe(nil)); end def log_request(context, num_retries); end - def log_response(context, request_start, status, body); end + def log_response(context, request_start, status, body, resp); end def log_response_error(context, request_start, error); end def merge_query_params(query_params, path); end def notify_request_begin(context); end diff --git a/sorbet/rbi/gems/tapioca@0.5.4.rbi b/sorbet/rbi/gems/tapioca@0.6.1.rbi similarity index 79% rename from sorbet/rbi/gems/tapioca@0.5.4.rbi rename to sorbet/rbi/gems/tapioca@0.6.1.rbi index be3e5f6f99..70120c4717 100644 --- a/sorbet/rbi/gems/tapioca@0.5.4.rbi +++ b/sorbet/rbi/gems/tapioca@0.6.1.rbi @@ -61,6 +61,16 @@ class DynamicMixinCompiler def instance_attribute_writers; end end +class Module + include ::ActiveSupport::Dependencies::ModuleConstMissing + include ::Module::Concerning + + def autoload(const_name, path); end +end + +Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) +Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set) +Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) module RBI; end class RBI::File @@ -87,6 +97,8 @@ class RBI::File sig { returns(RBI::Tree) } def root; end + def root=(_arg0); end + sig { void } def set_empty_body_content; end @@ -96,6 +108,8 @@ class RBI::File sig { returns(T.nilable(String)) } def strictness; end + def strictness=(_arg0); end + sig { params(indent: Integer, print_locs: T::Boolean).returns(String) } def string(indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end @@ -119,7 +133,10 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(with_todo_comment: T::Boolean).void } def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end - sig { params(name: String, superclass_name: T.nilable(String), block: T.nilable(T.proc.params(scope: RBI::Scope).void)).void } + sig { params(annotation: String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } + def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end + + sig { params(name: String, superclass_name: T.nilable(String), block: T.nilable(T.proc.params(scope: RBI::Scope).void)).returns(RBI::Scope) } def create_class(name, superclass_name: T.unsafe(nil), &block); end sig { params(name: String, value: String).void } @@ -131,13 +148,13 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(name: String).void } def create_include(name); end - sig { params(name: String, parameters: T::Array[RBI::TypedParam], return_type: String, class_method: T::Boolean).void } - def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil)); end + sig { params(name: String, parameters: T::Array[RBI::TypedParam], return_type: String, class_method: T::Boolean, visibility: RBI::Visibility).void } + def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil)); end sig { params(name: String).void } def create_mixes_in_class_methods(name); end - sig { params(name: String, block: T.nilable(T.proc.params(scope: RBI::Scope).void)).void } + sig { params(name: String, block: T.nilable(T.proc.params(scope: RBI::Scope).void)).returns(RBI::Scope) } def create_module(name, &block); end sig { params(constant: Module, block: T.nilable(T.proc.params(scope: RBI::Scope).void)).void } @@ -146,6 +163,9 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(name: String, value: String).void } def create_type_member(name, value: T.unsafe(nil)); end + sig { params(annotation: String).void } + def deannotate!(annotation); end + sig { returns(T::Boolean) } def empty?; end @@ -155,8 +175,8 @@ class RBI::Tree < ::RBI::NodeWithComments sig { returns(RBI::Index) } def index; end - sig { params(other: RBI::Tree).returns(RBI::Tree) } - def merge(other); end + sig { params(other: RBI::Tree, left_name: String, right_name: String, keep: RBI::Rewriters::Merge::Keep).returns(RBI::MergeTree) } + def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end sig { void } def nest_non_public_methods!; end @@ -214,12 +234,17 @@ end module Tapioca class << self + sig { type_parameters(:Result).params(blk: T.proc.returns(T.type_parameter(:Result))).returns(T.type_parameter(:Result)) } def silence_warnings(&blk); end end end class Tapioca::Cli < ::Thor + include ::Tapioca::CliHelper + include ::Tapioca::ConfigHelper + def __print_version; end + def clean_shims(*files_to_clean); end def dsl(*constants); end def gem(*gems); end def init; end @@ -231,16 +256,24 @@ class Tapioca::Cli < ::Thor end end +Tapioca::Cli::FILE_HEADER_OPTION_DESC = T.let(T.unsafe(nil), String) + +module Tapioca::CliHelper + sig { params(message: String, color: T.any(Symbol, T::Array[Symbol])).void } + def say_error(message = T.unsafe(nil), *color); end +end + module Tapioca::Compilers; end module Tapioca::Compilers::Dsl; end class Tapioca::Compilers::Dsl::Base include ::Tapioca::Reflection + include ::Tapioca::Compilers::Dsl::ParamHelper abstract! - sig { void } - def initialize; end + sig { params(compiler: Tapioca::Compilers::DslCompiler).void } + def initialize(compiler); end sig { params(error: String).void } def add_error(error); end @@ -254,6 +287,9 @@ class Tapioca::Compilers::Dsl::Base sig { abstract.returns(T::Enumerable[Module]) } def gather_constants; end + sig { params(generator_name: String).returns(T::Boolean) } + def generator_enabled?(generator_name); end + sig { params(constant: Module).returns(T::Boolean) } def handles?(constant); end @@ -274,6 +310,21 @@ class Tapioca::Compilers::Dsl::Base sig { params(method_def: T.any(Method, UnboundMethod)).returns(String) } def compile_method_return_type_to_rbi(method_def); end + sig { params(scope: RBI::Scope, method_def: T.any(Method, UnboundMethod), class_method: T::Boolean).void } + def create_method_from_def(scope, method_def, class_method: T.unsafe(nil)); end + + sig { params(method_def: T.any(Method, UnboundMethod), signature: T.untyped).returns(T::Array[String]) } + def parameters_types_from_signature(method_def, signature); end + + class << self + sig { params(name: String).returns(T.nilable(T.class_of(Tapioca::Compilers::Dsl::Base))) } + def resolve(name); end + end +end + +Tapioca::Compilers::Dsl::DSL_COMPILERS_DIR = T.let(T.unsafe(nil), String) + +module Tapioca::Compilers::Dsl::ParamHelper sig { params(name: String, type: String).returns(RBI::TypedParam) } def create_block_param(name, type:); end @@ -286,9 +337,6 @@ class Tapioca::Compilers::Dsl::Base sig { params(name: String, type: String).returns(RBI::TypedParam) } def create_kw_rest_param(name, type:); end - sig { params(scope: RBI::Scope, method_def: T.any(Method, UnboundMethod), class_method: T::Boolean).void } - def create_method_from_def(scope, method_def, class_method: T.unsafe(nil)); end - sig { params(name: String, type: String, default: String).returns(RBI::TypedParam) } def create_opt_param(name, type:, default:); end @@ -300,27 +348,25 @@ class Tapioca::Compilers::Dsl::Base sig { params(param: RBI::Param, type: String).returns(RBI::TypedParam) } def create_typed_param(param, type); end - - sig { params(method_def: T.any(Method, UnboundMethod), signature: T.untyped).returns(T::Array[String]) } - def parameters_types_from_signature(method_def, signature); end end -Tapioca::Compilers::Dsl::COMPILERS_PATH = T.let(T.unsafe(nil), String) - class Tapioca::Compilers::DslCompiler - sig { params(requested_constants: T::Array[Module], requested_generators: T::Array[T.class_of(Tapioca::Compilers::Dsl::Base)], excluded_generators: T::Array[T.class_of(Tapioca::Compilers::Dsl::Base)], error_handler: T.nilable(T.proc.params(error: String).void)).void } - def initialize(requested_constants:, requested_generators: T.unsafe(nil), excluded_generators: T.unsafe(nil), error_handler: T.unsafe(nil)); end + sig { params(requested_constants: T::Array[Module], requested_generators: T::Array[T.class_of(Tapioca::Compilers::Dsl::Base)], excluded_generators: T::Array[T.class_of(Tapioca::Compilers::Dsl::Base)], error_handler: T.proc.params(error: String).void, number_of_workers: T.nilable(Integer)).void } + def initialize(requested_constants:, requested_generators: T.unsafe(nil), excluded_generators: T.unsafe(nil), error_handler: T.unsafe(nil), number_of_workers: T.unsafe(nil)); end sig { returns(T.proc.params(error: String).void) } def error_handler; end + sig { params(generator_name: String).returns(T::Boolean) } + def generator_enabled?(generator_name); end + sig { returns(T::Enumerable[Tapioca::Compilers::Dsl::Base]) } def generators; end sig { returns(T::Array[Module]) } def requested_constants; end - sig { params(blk: T.proc.params(constant: Module, rbi: RBI::File).void).void } + sig { type_parameters(:T).params(blk: T.proc.params(constant: Module, rbi: RBI::File).returns(T.type_parameter(:T))).returns(T::Array[T.type_parameter(:T)]) } def run(&blk); end private @@ -399,6 +445,9 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator private + sig { params(tree: RBI::Tree, mods: T::Array[Module], mixin_type: Tapioca::Trackers::Mixin::Type).void } + def add_mixins(tree, mods, mixin_type); end + sig { params(name: String).void } def add_to_alias_namespace(name); end @@ -498,15 +547,15 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator sig { params(mod: Module).returns(T::Hash[Symbol, T::Array[Symbol]]) } def method_names_by_visibility(mod); end + sig { params(mod: Module, mixin_type: Tapioca::Trackers::Mixin::Type, mixin_locations: T::Hash[Tapioca::Trackers::Mixin::Type, T::Hash[Module, T::Array[String]]]).returns(T::Boolean) } + def mixed_in_by_gem?(mod, mixin_type, mixin_locations); end + sig { params(constant: Module).returns(T.nilable(String)) } def name_of(constant); end sig { params(constant: Module, class_name: T.nilable(String)).returns(T.nilable(String)) } def name_of_proxy_target(constant, class_name); end - sig { params(symbol: String, inherit: T::Boolean, namespace: Module).returns(BasicObject) } - def resolve_constant(symbol, inherit: T.unsafe(nil), namespace: T.unsafe(nil)); end - sig { params(sig_string: String).returns(String) } def sanitize_signature_types(sig_string); end @@ -570,67 +619,50 @@ class Tapioca::Compilers::TodosCompiler def list_todos; end end -class Tapioca::Config < ::T::Struct - const :doc, T::Boolean, default: T.unsafe(nil) - const :exclude, T::Array[String] - const :exclude_generators, T::Array[String] - const :file_header, T::Boolean, default: T.unsafe(nil) - const :generators, T::Array[String] - const :outdir, String - const :postrequire, String - const :prerequire, T.nilable(String) - const :todos_path, String - const :typed_overrides, T::Hash[String, String] +module Tapioca::ConfigHelper + sig { params(args: T.untyped, local_options: T.untyped, config: T.untyped).void } + def initialize(args = T.unsafe(nil), local_options = T.unsafe(nil), config = T.unsafe(nil)); end - sig { returns(Pathname) } - def outpath; end + sig { returns(String) } + def command_name; end - class << self - def inherited(s); end - end -end + sig { returns(Thor::CoreExt::HashWithIndifferentAccess) } + def defaults; end -Tapioca::Config::DEFAULT_COMMAND = T.let(T.unsafe(nil), String) -Tapioca::Config::DEFAULT_DSLDIR = T.let(T.unsafe(nil), String) -Tapioca::Config::DEFAULT_GEMDIR = T.let(T.unsafe(nil), String) -Tapioca::Config::DEFAULT_OVERRIDES = T.let(T.unsafe(nil), Hash) -Tapioca::Config::DEFAULT_POSTREQUIRE = T.let(T.unsafe(nil), String) -Tapioca::Config::DEFAULT_RBIDIR = T.let(T.unsafe(nil), String) -Tapioca::Config::DEFAULT_TODOSPATH = T.let(T.unsafe(nil), String) -Tapioca::Config::SORBET_CONFIG = T.let(T.unsafe(nil), String) -Tapioca::Config::SORBET_PATH = T.let(T.unsafe(nil), String) -Tapioca::Config::TAPIOCA_CONFIG = T.let(T.unsafe(nil), String) -Tapioca::Config::TAPIOCA_PATH = T.let(T.unsafe(nil), String) - -class Tapioca::ConfigBuilder - class << self - sig { params(command: Symbol, options: T::Hash[String, T.untyped]).returns(Tapioca::Config) } - def from_options(command, options); end + sig { returns(Thor::CoreExt::HashWithIndifferentAccess) } + def options; end - private + private - sig { returns(T::Hash[String, T.untyped]) } - def config_options; end + sig { params(options: Thor::CoreExt::HashWithIndifferentAccess).returns(Thor::CoreExt::HashWithIndifferentAccess) } + def config_options(options); end - sig { params(command: Symbol).returns(T::Hash[String, T.untyped]) } - def default_options(command); end + sig { params(options: T::Hash[Symbol, Thor::Option]).void } + def filter_defaults(options); end - sig { params(options: T::Hash[String, T.untyped]).returns(T::Hash[String, T.untyped]) } - def merge_options(*options); end - end + sig { params(options: T.nilable(Thor::CoreExt::HashWithIndifferentAccess)).returns(Thor::CoreExt::HashWithIndifferentAccess) } + def merge_options(*options); end end -Tapioca::ConfigBuilder::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) +Tapioca::DEFAULT_COMMAND = T.let(T.unsafe(nil), String) +Tapioca::DEFAULT_DSL_DIR = T.let(T.unsafe(nil), String) +Tapioca::DEFAULT_GEM_DIR = T.let(T.unsafe(nil), String) +Tapioca::DEFAULT_OVERRIDES = T.let(T.unsafe(nil), Hash) +Tapioca::DEFAULT_POSTREQUIRE_FILE = T.let(T.unsafe(nil), String) +Tapioca::DEFAULT_RBI_DIR = T.let(T.unsafe(nil), String) +Tapioca::DEFAULT_SHIM_DIR = T.let(T.unsafe(nil), String) +Tapioca::DEFAULT_TODO_FILE = T.let(T.unsafe(nil), String) +class Tapioca::Error < ::StandardError; end -module Tapioca::ConstantLocator - extend ::Tapioca::Reflection +class Tapioca::Executor + sig { params(queue: T::Array[T.untyped], number_of_workers: T.nilable(Integer)).void } + def initialize(queue, number_of_workers: T.unsafe(nil)); end - class << self - def files_for(klass); end - end + sig { type_parameters(:T).params(block: T.proc.params(item: T.untyped).returns(T.type_parameter(:T))).returns(T::Array[T.type_parameter(:T)]) } + def run_in_parallel(&block); end end -class Tapioca::Error < ::StandardError; end +Tapioca::Executor::MINIMUM_ITEMS_PER_WORKER = T.let(T.unsafe(nil), Integer) class Tapioca::Gemfile sig { void } @@ -681,6 +713,15 @@ class Tapioca::Gemfile::GemSpec sig { params(path: String).returns(T::Boolean) } def contains_path?(path); end + sig { returns(T::Boolean) } + def export_rbi_files?; end + + sig { returns(T::Array[String]) } + def exported_rbi_files; end + + sig { returns(RBI::MergeTree) } + def exported_rbi_tree; end + sig { returns(T::Array[Pathname]) } def files; end @@ -733,6 +774,7 @@ Tapioca::Gemfile::Spec = T.type_alias { T.any(Bundler::StubSpecification, Gem::S module Tapioca::Generators; end class Tapioca::Generators::Base + include ::Tapioca::CliHelper include ::Thor::Base include ::Thor::Invocation include ::Thor::Shell @@ -752,8 +794,8 @@ class Tapioca::Generators::Base sig { params(path: T.any(Pathname, String), content: String, force: T::Boolean, skip: T::Boolean, verbose: T::Boolean).void } def create_file(path, content, force: T.unsafe(nil), skip: T.unsafe(nil), verbose: T.unsafe(nil)); end - sig { params(message: String, color: T.any(Symbol, T::Array[Symbol])).void } - def say_error(message = T.unsafe(nil), *color); end + sig { params(path: T.any(Pathname, String), verbose: T::Boolean).void } + def remove_file(path, verbose: T.unsafe(nil)); end end class Tapioca::Generators::Base::FileWriter < ::Thor @@ -762,8 +804,8 @@ class Tapioca::Generators::Base::FileWriter < ::Thor end class Tapioca::Generators::Dsl < ::Tapioca::Generators::Base - sig { params(requested_constants: T::Array[String], outpath: Pathname, generators: T::Array[String], exclude_generators: T::Array[String], file_header: T::Boolean, compiler_path: String, tapioca_path: String, default_command: String, file_writer: Thor::Actions, should_verify: T::Boolean, quiet: T::Boolean, verbose: T::Boolean).void } - def initialize(requested_constants:, outpath:, generators:, exclude_generators:, file_header:, compiler_path:, tapioca_path:, default_command:, file_writer: T.unsafe(nil), should_verify: T.unsafe(nil), quiet: T.unsafe(nil), verbose: T.unsafe(nil)); end + sig { params(requested_constants: T::Array[String], outpath: Pathname, only: T::Array[String], exclude: T::Array[String], file_header: T::Boolean, compiler_path: String, tapioca_path: String, default_command: String, file_writer: Thor::Actions, should_verify: T::Boolean, quiet: T::Boolean, verbose: T::Boolean, number_of_workers: T.nilable(Integer)).void } + def initialize(requested_constants:, outpath:, only:, exclude:, file_header:, compiler_path:, tapioca_path:, default_command:, file_writer: T.unsafe(nil), should_verify: T.unsafe(nil), quiet: T.unsafe(nil), verbose: T.unsafe(nil), number_of_workers: T.unsafe(nil)); end sig { override.void } def generate; end @@ -797,6 +839,9 @@ class Tapioca::Generators::Dsl < ::Tapioca::Generators::Base sig { params(eager_load: T::Boolean).void } def load_application(eager_load:); end + sig { void } + def load_dsl_extensions; end + sig { void } def load_dsl_generators; end @@ -815,9 +860,6 @@ class Tapioca::Generators::Dsl < ::Tapioca::Generators::Base sig { params(path: Pathname).returns(T::Array[Pathname]) } def rbi_files_in(path); end - sig { params(filename: Pathname).void } - def remove(filename); end - sig { params(diff: T::Hash[String, Symbol], command: String).void } def report_diff_and_exit_if_out_of_date(diff, command); end @@ -829,8 +871,8 @@ class Tapioca::Generators::Dsl < ::Tapioca::Generators::Base end class Tapioca::Generators::Gem < ::Tapioca::Generators::Base - sig { params(gem_names: T::Array[String], gem_excludes: T::Array[String], prerequire: T.nilable(String), postrequire: String, typed_overrides: T::Hash[String, String], default_command: String, outpath: Pathname, file_header: T::Boolean, doc: T::Boolean, file_writer: Thor::Actions).void } - def initialize(gem_names:, gem_excludes:, prerequire:, postrequire:, typed_overrides:, default_command:, outpath:, file_header:, doc:, file_writer: T.unsafe(nil)); end + sig { params(gem_names: T::Array[String], exclude: T::Array[String], prerequire: T.nilable(String), postrequire: String, typed_overrides: T::Hash[String, String], default_command: String, outpath: Pathname, file_header: T::Boolean, doc: T::Boolean, include_exported_rbis: T::Boolean, file_writer: Thor::Actions, number_of_workers: T.nilable(Integer)).void } + def initialize(gem_names:, exclude:, prerequire:, postrequire:, typed_overrides:, default_command:, outpath:, file_header:, doc:, include_exported_rbis:, file_writer: T.unsafe(nil), number_of_workers: T.unsafe(nil)); end sig { override.void } def generate; end @@ -879,6 +921,9 @@ class Tapioca::Generators::Gem < ::Tapioca::Generators::Base sig { returns(Tapioca::Loader) } def loader; end + sig { params(gem: Tapioca::Gemfile::GemSpec, file: RBI::File).void } + def merge_with_exported_rbi(gem, file); end + sig { params(old_filename: Pathname, new_filename: Pathname).void } def move(old_filename, new_filename); end @@ -891,9 +936,6 @@ class Tapioca::Generators::Gem < ::Tapioca::Generators::Base sig { void } def perform_sync_verification; end - sig { params(filename: Pathname).void } - def remove(filename); end - sig { returns(T::Array[String]) } def removed_rbis; end @@ -905,8 +947,8 @@ class Tapioca::Generators::Gem < ::Tapioca::Generators::Base end class Tapioca::Generators::Init < ::Tapioca::Generators::Base - sig { params(sorbet_config: String, default_postrequire: String, default_command: String, file_writer: Thor::Actions).void } - def initialize(sorbet_config:, default_postrequire:, default_command:, file_writer: T.unsafe(nil)); end + sig { params(sorbet_config: String, tapioca_config: String, default_postrequire: String, default_command: String, file_writer: Thor::Actions).void } + def initialize(sorbet_config:, tapioca_config:, default_postrequire:, default_command:, file_writer: T.unsafe(nil)); end sig { override.void } def generate; end @@ -914,16 +956,16 @@ class Tapioca::Generators::Init < ::Tapioca::Generators::Base private sig { void } - def create_config; end + def create_binstub; end sig { void } def create_post_require; end sig { void } - def generate_binstub; end + def create_sorbet_config; end sig { void } - def generate_binstub!; end + def create_tapioca_config; end sig { returns(Bundler::Installer) } def installer; end @@ -941,8 +983,8 @@ class Tapioca::Generators::Require < ::Tapioca::Generators::Base end class Tapioca::Generators::Todo < ::Tapioca::Generators::Base - sig { params(todos_path: String, file_header: T::Boolean, default_command: String, file_writer: Thor::Actions).void } - def initialize(todos_path:, file_header:, default_command:, file_writer: T.unsafe(nil)); end + sig { params(todo_file: String, file_header: T::Boolean, default_command: String, file_writer: Thor::Actions).void } + def initialize(todo_file:, file_header:, default_command:, file_writer: T.unsafe(nil)); end sig { override.void } def generate; end @@ -1017,6 +1059,9 @@ module Tapioca::Reflection sig { params(object: BasicObject).returns(Class) } def class_of(object); end + sig { params(symbol: String, inherit: T::Boolean, namespace: Module).returns(BasicObject) } + def constantize(symbol, inherit: T.unsafe(nil), namespace: T.unsafe(nil)); end + sig { params(constant: Module).returns(T::Array[Symbol]) } def constants_of(constant); end @@ -1072,6 +1117,52 @@ Tapioca::Reflection::PROTECTED_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), Un Tapioca::Reflection::PUBLIC_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod) Tapioca::Reflection::SINGLETON_CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod) Tapioca::Reflection::SUPERCLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod) +Tapioca::SORBET_CONFIG_FILE = T.let(T.unsafe(nil), String) +Tapioca::SORBET_DIR = T.let(T.unsafe(nil), String) +Tapioca::TAPIOCA_CONFIG_FILE = T.let(T.unsafe(nil), String) +Tapioca::TAPIOCA_DIR = T.let(T.unsafe(nil), String) +module Tapioca::Trackers; end + +module Tapioca::Trackers::Autoload + class << self + sig { void } + def eager_load_all!; end + + sig { params(constant_name: String).void } + def register(constant_name); end + + sig { type_parameters(:Result).params(block: T.proc.returns(T.type_parameter(:Result))).returns(T.type_parameter(:Result)) } + def with_disabled_exits(&block); end + end +end + +Tapioca::Trackers::Autoload::NOOP_METHOD = T.let(T.unsafe(nil), Proc) + +module Tapioca::Trackers::ConstantDefinition + extend ::Tapioca::Reflection + + class << self + def files_for(klass); end + end +end + +module Tapioca::Trackers::Mixin + class << self + sig { params(constant: Module).returns(T::Hash[Tapioca::Trackers::Mixin::Type, T::Hash[Module, T::Array[String]]]) } + def mixin_locations_for(constant); end + + sig { params(constant: Module, mod: Module, mixin_type: Tapioca::Trackers::Mixin::Type, locations: T.nilable(T::Array[Thread::Backtrace::Location])).void } + def register(constant, mod, mixin_type, locations); end + end +end + +class Tapioca::Trackers::Mixin::Type < ::T::Enum + enums do + Prepend = new + Include = new + Extend = new + end +end class Tapioca::TypeMember < ::T::Types::TypeMember sig { params(variance: Symbol, fixed: T.untyped, lower: T.untyped, upper: T.untyped).void } diff --git a/sorbet/rbi/gems/thor@1.1.0.rbi b/sorbet/rbi/gems/thor@1.2.1.rbi similarity index 99% rename from sorbet/rbi/gems/thor@1.1.0.rbi rename to sorbet/rbi/gems/thor@1.2.1.rbi index e5f5ab4447..0bcf2db6d0 100644 --- a/sorbet/rbi/gems/thor@1.1.0.rbi +++ b/sorbet/rbi/gems/thor@1.2.1.rbi @@ -388,6 +388,7 @@ class Thor::CoreExt::HashWithIndifferentAccess < ::Hash def [](key); end def []=(key, value); end def delete(key); end + def except(*keys); end def fetch(key, *args); end def key?(key); end def merge(other); end @@ -600,6 +601,8 @@ class Thor::Options < ::Thor::Arguments def parse(args); end def peek; end def remaining; end + def shift; end + def unshift(arg, is_value: T.unsafe(nil)); end protected @@ -652,6 +655,7 @@ module Thor::Shell def print_table(*args, &block); end def print_wrapped(*args, &block); end def say(*args, &block); end + def say_error(*args, &block); end def say_status(*args, &block); end def set_color(*args, &block); end def shell; end @@ -683,6 +687,7 @@ class Thor::Shell::Basic def print_table(array, options = T.unsafe(nil)); end def print_wrapped(message, options = T.unsafe(nil)); end def say(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end + def say_error(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end def say_status(status, message, log_status = T.unsafe(nil)); end def set_color(string, *_arg1); end def terminal_width; end diff --git a/sorbet/rbi/gems/unparser@0.6.2.rbi b/sorbet/rbi/gems/unparser@0.6.3.rbi similarity index 100% rename from sorbet/rbi/gems/unparser@0.6.2.rbi rename to sorbet/rbi/gems/unparser@0.6.3.rbi diff --git a/sorbet/rbi/gems/web-console@4.1.0.rbi b/sorbet/rbi/gems/web-console@4.2.0.rbi similarity index 97% rename from sorbet/rbi/gems/web-console@4.1.0.rbi rename to sorbet/rbi/gems/web-console@4.2.0.rbi index ae8a9fc73f..661f33529f 100644 --- a/sorbet/rbi/gems/web-console@4.1.0.rbi +++ b/sorbet/rbi/gems/web-console@4.2.0.rbi @@ -1,9 +1,16 @@ -# typed: ignore +# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `web-console` gem. # Please instead update this file by running `bin/tapioca gem web-console`. +class SourceLocation + def initialize(binding); end + + def lineno; end + def path; end +end + module WebConsole extend ::ActiveSupport::Autoload diff --git a/sorbet/rbi/gems/webrick@1.7.0.rbi b/sorbet/rbi/gems/webrick@1.7.0.rbi new file mode 100644 index 0000000000..63755aa3aa --- /dev/null +++ b/sorbet/rbi/gems/webrick@1.7.0.rbi @@ -0,0 +1,601 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `webrick` gem. +# Please instead update this file by running `bin/tapioca gem webrick`. + +module WEBrick::AccessLog + private + + def escape(data); end + def format(format_string, params); end + def setup_params(config, req, res); end + + class << self + def escape(data); end + def format(format_string, params); end + def setup_params(config, req, res); end + end +end + +class WEBrick::BasicLog + def initialize(log_file = T.unsafe(nil), level = T.unsafe(nil)); end + + def <<(obj); end + def close; end + def debug(msg); end + def debug?; end + def error(msg); end + def error?; end + def fatal(msg); end + def fatal?; end + def info(msg); end + def info?; end + def level; end + def level=(_arg0); end + def log(level, data); end + def warn(msg); end + def warn?; end + + private + + def format(arg); end +end + +class WEBrick::GenericServer + def initialize(config = T.unsafe(nil), default = T.unsafe(nil)); end + + def [](key); end + def config; end + def listen(address, port); end + def listeners; end + def logger; end + def run(sock); end + def shutdown; end + def start(&block); end + def status; end + def stop; end + def tokens; end + + private + + def accept_client(svr); end + def alarm_shutdown_pipe; end + def call_callback(callback_name, *args); end + def cleanup_listener; end + def cleanup_shutdown_pipe(shutdown_pipe); end + def setup_shutdown_pipe; end + def start_thread(sock, &block); end +end + +module WEBrick::HTMLUtils + private + + def escape(string); end + + class << self + def escape(string); end + end +end + +module WEBrick::HTTPAuth + private + + def _basic_auth(req, res, realm, req_field, res_field, err_type, block); end + def basic_auth(req, res, realm, &block); end + def proxy_basic_auth(req, res, realm, &block); end + + class << self + def _basic_auth(req, res, realm, req_field, res_field, err_type, block); end + def basic_auth(req, res, realm, &block); end + def proxy_basic_auth(req, res, realm, &block); end + end +end + +module WEBrick::HTTPAuth::Authenticator + def logger; end + def realm; end + def userdb; end + + private + + def check_init(config); end + def check_scheme(req); end + def error(fmt, *args); end + def info(fmt, *args); end + def log(meth, fmt, *args); end +end + +WEBrick::HTTPAuth::Authenticator::AuthException = WEBrick::HTTPStatus::Unauthorized + +class WEBrick::HTTPAuth::BasicAuth + include ::WEBrick::HTTPAuth::Authenticator + + def initialize(config, default = T.unsafe(nil)); end + + def authenticate(req, res); end + def challenge(req, res); end + def logger; end + def realm; end + def userdb; end + + class << self + def make_passwd(realm, user, pass); end + end +end + +class WEBrick::HTTPAuth::DigestAuth + include ::WEBrick::HTTPAuth::Authenticator + + def initialize(config, default = T.unsafe(nil)); end + + def algorithm; end + def authenticate(req, res); end + def challenge(req, res, stale = T.unsafe(nil)); end + def qop; end + + private + + def _authenticate(req, res); end + def check_nonce(req, auth_req); end + def check_opaque(opaque_struct, req, auth_req); end + def check_uri(req, auth_req); end + def generate_next_nonce(req); end + def generate_opaque(req); end + def hexdigest(*args); end + def split_param_value(string); end + + class << self + def make_passwd(realm, user, pass); end + end +end + +class WEBrick::HTTPAuth::DigestAuth::OpaqueInfo < ::Struct + def nc=(_); end + def nonce=(_); end + def time=(_); end +end + +class WEBrick::HTTPAuth::Htdigest + include ::WEBrick::HTTPAuth::UserDB + + def initialize(path); end + + def delete_passwd(realm, user); end + def each; end + def flush(output = T.unsafe(nil)); end + def get_passwd(realm, user, reload_db); end + def reload; end + def set_passwd(realm, user, pass); end +end + +class WEBrick::HTTPAuth::Htgroup + def initialize(path); end + + def add(group, members); end + def flush(output = T.unsafe(nil)); end + def members(group); end + def reload; end +end + +class WEBrick::HTTPAuth::Htpasswd + include ::WEBrick::HTTPAuth::UserDB + + def initialize(path, password_hash: T.unsafe(nil)); end + + def delete_passwd(realm, user); end + def each; end + def flush(output = T.unsafe(nil)); end + def get_passwd(realm, user, reload_db); end + def reload; end + def set_passwd(realm, user, pass); end +end + +WEBrick::HTTPAuth::ProxyAuthenticator::AuthException = WEBrick::HTTPStatus::ProxyAuthenticationRequired + +class WEBrick::HTTPAuth::ProxyBasicAuth < ::WEBrick::HTTPAuth::BasicAuth + include ::WEBrick::HTTPAuth::ProxyAuthenticator +end + +class WEBrick::HTTPAuth::ProxyDigestAuth < ::WEBrick::HTTPAuth::DigestAuth + include ::WEBrick::HTTPAuth::ProxyAuthenticator + + private + + def check_uri(req, auth_req); end +end + +module WEBrick::HTTPAuth::UserDB + def auth_type; end + def auth_type=(_arg0); end + def get_passwd(realm, user, reload_db = T.unsafe(nil)); end + def make_passwd(realm, user, pass); end + def set_passwd(realm, user, pass); end +end + +class WEBrick::HTTPRequest + def initialize(config); end + + def [](header_name); end + def accept; end + def accept_charset; end + def accept_encoding; end + def accept_language; end + def addr; end + def attributes; end + def body(&block); end + def body_reader; end + def content_length; end + def content_type; end + def continue; end + def cookies; end + def each; end + def fixup; end + def header; end + def host; end + def http_version; end + def keep_alive; end + def keep_alive?; end + def meta_vars; end + def parse(socket = T.unsafe(nil)); end + def path; end + def path_info; end + def path_info=(_arg0); end + def peeraddr; end + def port; end + def query; end + def query_string; end + def query_string=(_arg0); end + def raw_header; end + def readpartial(size, buf = T.unsafe(nil)); end + def remote_ip; end + def request_line; end + def request_method; end + def request_time; end + def request_uri; end + def script_name; end + def script_name=(_arg0); end + def server_name; end + def ssl?; end + def to_s; end + def unparsed_uri; end + def user; end + def user=(_arg0); end + + private + + def _read_data(io, method, *arg); end + def parse_query; end + def parse_uri(str, scheme = T.unsafe(nil)); end + def read_body(socket, block); end + def read_chunk_size(socket); end + def read_chunked(socket, block); end + def read_data(io, size); end + def read_header(socket); end + def read_line(io, size = T.unsafe(nil)); end + def read_request_line(socket); end + def setup_forwarded_info; end +end + +WEBrick::HTTPRequest::MAX_HEADER_LENGTH = T.let(T.unsafe(nil), Integer) + +class WEBrick::HTTPResponse + def initialize(config); end + + def [](field); end + def []=(field, value); end + def _rack_setup_header; end + def body; end + def body=(_arg0); end + def chunked=(val); end + def chunked?; end + def config; end + def content_length; end + def content_length=(len); end + def content_type; end + def content_type=(type); end + def cookies; end + def each; end + def filename; end + def filename=(_arg0); end + def header; end + def http_version; end + def keep_alive; end + def keep_alive=(_arg0); end + def keep_alive?; end + def make_body_tempfile; end + def reason_phrase; end + def reason_phrase=(_arg0); end + def remove_body_tempfile; end + def request_http_version; end + def request_http_version=(_arg0); end + def request_method; end + def request_method=(_arg0); end + def request_uri; end + def request_uri=(_arg0); end + def send_body(socket); end + def send_header(socket); end + def send_response(socket); end + def sent_size; end + def set_error(ex, backtrace = T.unsafe(nil)); end + def set_redirect(status, url); end + def status; end + def status=(status); end + def status_line; end + + private + + def _write_data(socket, data); end + def check_header(header_value); end + def error_body(backtrace, ex, host, port); end + def send_body_io(socket); end + def send_body_proc(socket); end + def send_body_string(socket); end +end + +class WEBrick::HTTPResponse::ChunkedWrapper + def initialize(socket, resp); end + + def <<(*buf); end + def write(buf); end +end + +class WEBrick::HTTPServer < ::WEBrick::GenericServer + def initialize(config = T.unsafe(nil), default = T.unsafe(nil)); end + + def access_log(config, req, res); end + def create_request(with_webrick_config); end + def create_response(with_webrick_config); end + def do_OPTIONS(req, res); end + def lookup_server(req); end + def mount(dir, servlet, *options); end + def mount_proc(dir, proc = T.unsafe(nil), &block); end + def run(sock); end + def search_servlet(path); end + def service(req, res); end + def umount(dir); end + def unmount(dir); end + def virtual_host(server); end +end + +class WEBrick::HTTPServer::MountTable + def initialize; end + + def [](dir); end + def []=(dir, val); end + def delete(dir); end + def scan(path); end + + private + + def compile; end + def normalize(dir); end +end + +class WEBrick::HTTPServlet::AbstractServlet + def initialize(server, *options); end + + def do_GET(req, res); end + def do_HEAD(req, res); end + def do_OPTIONS(req, res); end + def service(req, res); end + + private + + def redirect_to_directory_uri(req, res); end + + class << self + def get_instance(server, *options); end + end +end + +class WEBrick::HTTPServlet::CGIHandler < ::WEBrick::HTTPServlet::AbstractServlet + def initialize(server, name); end + + def do_GET(req, res); end + def do_POST(req, res); end +end + +WEBrick::HTTPServlet::CGIHandler::CGIRunnerArray = T.let(T.unsafe(nil), Array) + +class WEBrick::HTTPServlet::DefaultFileHandler < ::WEBrick::HTTPServlet::AbstractServlet + def initialize(server, local_path); end + + def do_GET(req, res); end + def make_partial_content(req, res, filename, filesize); end + def multipart_body(body, parts, boundary, mtype, filesize); end + def not_modified?(req, res, mtime, etag); end + def prepare_range(range, filesize); end +end + +class WEBrick::HTTPServlet::ERBHandler < ::WEBrick::HTTPServlet::AbstractServlet + def initialize(server, name); end + + def do_GET(req, res); end + def do_POST(req, res); end + + private + + def evaluate(erb, servlet_request, servlet_response); end +end + +class WEBrick::HTTPServlet::FileHandler < ::WEBrick::HTTPServlet::AbstractServlet + def initialize(server, root, options = T.unsafe(nil), default = T.unsafe(nil)); end + + def do_GET(req, res); end + def do_OPTIONS(req, res); end + def do_POST(req, res); end + def service(req, res); end + def set_filesystem_encoding(str); end + + private + + def call_callback(callback_name, req, res); end + def check_filename(req, res, name); end + def exec_handler(req, res); end + def get_handler(req, res); end + def nondisclosure_name?(name); end + def prevent_directory_traversal(req, res); end + def search_file(req, res, basename); end + def search_index_file(req, res); end + def set_dir_list(req, res); end + def set_filename(req, res); end + def shift_path_info(req, res, path_info, base = T.unsafe(nil)); end + def trailing_pathsep?(path); end + def windows_ambiguous_name?(name); end + + class << self + def add_handler(suffix, handler); end + def remove_handler(suffix); end + end +end + +module WEBrick::HTTPStatus + private + + def client_error?(code); end + def error?(code); end + def info?(code); end + def reason_phrase(code); end + def redirect?(code); end + def server_error?(code); end + def success?(code); end + + class << self + def [](code); end + def client_error?(code); end + def error?(code); end + def info?(code); end + def reason_phrase(code); end + def redirect?(code); end + def server_error?(code); end + def success?(code); end + end +end + +class WEBrick::HTTPStatus::Status < ::StandardError + def code; end + def reason_phrase; end + def to_i; end + + class << self + def code; end + def reason_phrase; end + end +end + +module WEBrick::HTTPUtils + private + + def _escape(str, regex); end + def _make_regex(str); end + def _make_regex!(str); end + def _unescape(str, regex); end + def dequote(str); end + def escape(str); end + def escape8bit(str); end + def escape_form(str); end + def escape_path(str); end + def load_mime_types(file); end + def mime_type(filename, mime_tab); end + def normalize_path(path); end + def parse_form_data(io, boundary); end + def parse_header(raw); end + def parse_query(str); end + def parse_qvalues(value); end + def parse_range_header(ranges_specifier); end + def quote(str); end + def split_header_value(str); end + def unescape(str); end + def unescape_form(str); end + + class << self + def _escape(str, regex); end + def _make_regex(str); end + def _make_regex!(str); end + def _unescape(str, regex); end + def dequote(str); end + def escape(str); end + def escape8bit(str); end + def escape_form(str); end + def escape_path(str); end + def load_mime_types(file); end + def mime_type(filename, mime_tab); end + def normalize_path(path); end + def parse_form_data(io, boundary); end + def parse_header(raw); end + def parse_query(str); end + def parse_qvalues(value); end + def parse_range_header(ranges_specifier); end + def quote(str); end + def split_header_value(str); end + def unescape(str); end + def unescape_form(str); end + end +end + +class WEBrick::HTTPUtils::FormData < ::String + def initialize(*args); end + + def <<(str); end + def [](*key); end + def append_data(data); end + def each_data; end + def filename; end + def filename=(_arg0); end + def list; end + def name; end + def name=(_arg0); end + def next_data=(_arg0); end + def to_ary; end + def to_s; end + + protected + + def next_data; end +end + +module WEBrick::Utils + private + + def create_listeners(address, port); end + def getservername; end + def random_string(len); end + def set_close_on_exec(io); end + def set_non_blocking(io); end + def su(user); end + def timeout(seconds, exception = T.unsafe(nil)); end + + class << self + def create_listeners(address, port); end + def getservername; end + def random_string(len); end + def set_close_on_exec(io); end + def set_non_blocking(io); end + def su(user); end + def timeout(seconds, exception = T.unsafe(nil)); end + end +end + +class WEBrick::Utils::TimeoutHandler + include ::Singleton + extend ::Singleton::SingletonClassMethods + + def initialize; end + + def cancel(thread, id); end + def interrupt(thread, id, exception); end + def register(thread, time, exception); end + def terminate; end + + private + + def watch; end + def watcher; end + + class << self + def cancel(id); end + def register(seconds, exception); end + def terminate; end + end +end diff --git a/sorbet/rbi/gems/yard@0.9.26.rbi b/sorbet/rbi/gems/yard@0.9.27.rbi similarity index 98% rename from sorbet/rbi/gems/yard@0.9.26.rbi rename to sorbet/rbi/gems/yard@0.9.27.rbi index 2cabe788d7..6e28ded15d 100644 --- a/sorbet/rbi/gems/yard@0.9.26.rbi +++ b/sorbet/rbi/gems/yard@0.9.27.rbi @@ -135,6 +135,29 @@ Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set) Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) RUBY19 = T.let(T.unsafe(nil), TrueClass) +class Rack::Request + include ::Rack::Request::Env + include ::Rack::Request::Helpers + + def initialize(env); end + + def delete_param(k); end + def params; end + def query; end + def update_param(k, v); end + def version_supplied; end + def version_supplied=(_arg0); end + def xhr?; end + + class << self + def ip_filter; end + def ip_filter=(_arg0); end + end +end + +Rack::Request::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array) +Rack::Request::SCHEME_WHITELIST = T.let(T.unsafe(nil), Array) + class String include ::Comparable include ::JSON::Ext::Generator::GeneratorMethods::String @@ -163,6 +186,14 @@ class SymbolHash < ::Hash end end +class WEBrick::HTTPRequest + def version_supplied; end + def version_supplied=(_arg0); end + def xhr?; end +end + +WEBrick::HTTPRequest::MAX_HEADER_LENGTH = T.let(T.unsafe(nil), Integer) + module YARD class << self def load_plugins; end @@ -171,6 +202,7 @@ module YARD def ruby18?; end def ruby19?; end def ruby2?; end + def ruby3?; end def windows?; end end end @@ -1386,7 +1418,12 @@ class YARD::Handlers::Ruby::MixinHandler < ::YARD::Handlers::Ruby::Base def recipient(mixin); end end -class YARD::Handlers::Ruby::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Base; end +class YARD::Handlers::Ruby::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Base + include ::YARD::Handlers::Ruby::DecoratorHandlerMethods + + def make_module_function(instance_method, namespace); end +end + class YARD::Handlers::Ruby::ModuleHandler < ::YARD::Handlers::Ruby::Base; end class YARD::Handlers::Ruby::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Base @@ -3074,6 +3111,13 @@ class YARD::Server::Commands::ListCommand < ::YARD::Server::Commands::LibraryCom def run; end end +class YARD::Server::Commands::RootRequestCommand < ::YARD::Server::Commands::Base + include ::WEBrick::HTTPUtils + include ::YARD::Server::Commands::StaticFileHelpers + + def run; end +end + class YARD::Server::Commands::SearchCommand < ::YARD::Server::Commands::LibraryCommand include ::YARD::Templates::Helpers::BaseHelper include ::YARD::Templates::Helpers::ModuleHelper @@ -3094,6 +3138,30 @@ class YARD::Server::Commands::SearchCommand < ::YARD::Server::Commands::LibraryC def url_for(object); end end +class YARD::Server::Commands::StaticFileCommand < ::YARD::Server::Commands::LibraryCommand + include ::WEBrick::HTTPUtils + include ::YARD::Server::Commands::StaticFileHelpers + + def run; end +end + +YARD::Server::Commands::StaticFileCommand::STATIC_PATHS = T.let(T.unsafe(nil), Array) + +module YARD::Server::Commands::StaticFileHelpers + include ::WEBrick::HTTPUtils + + def favicon?; end + def static_template_file?; end + + private + + def find_file(adapter, url); end + + class << self + def find_file(adapter, url); end + end +end + module YARD::Server::DocServerHelper def abs_url(*path_components); end def base_path(path); end @@ -3160,6 +3228,23 @@ end class YARD::Server::NotFoundError < ::RuntimeError; end +class YARD::Server::RackAdapter < ::YARD::Server::Adapter + include ::WEBrick::HTTPUtils + + def call(env); end + def start; end + + private + + def print_start_message(server); end +end + +class YARD::Server::RackMiddleware + def initialize(app, opts = T.unsafe(nil)); end + + def call(env); end +end + class YARD::Server::Router include ::YARD::Server::StaticCaching include ::YARD::Server::Commands @@ -3192,6 +3277,18 @@ module YARD::Server::StaticCaching def check_static_cache; end end +class YARD::Server::WebrickAdapter < ::YARD::Server::Adapter + def start; end +end + +class YARD::Server::WebrickServlet < ::WEBrick::HTTPServlet::AbstractServlet + def initialize(server, adapter); end + + def adapter; end + def adapter=(_arg0); end + def do_GET(request, response); end +end + class YARD::StubProxy def initialize(path, transient = T.unsafe(nil)); end @@ -3265,6 +3362,7 @@ class YARD::Tags::Directive protected + def inside_directive?; end def parser; end end diff --git a/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi b/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi index 3f5360accd..2a778f9756 100644 --- a/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +++ b/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi @@ -5,7 +5,7 @@ # # https://github.com/sorbet/sorbet-typed/edit/master/lib/actionpack/all/actionpack.rbi # -# typed: ignore +# typed: false # https://github.com/rails/rails/blob/5-2-stable/actionpack/lib/action_controller.rb module ActionController; end diff --git a/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi b/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi index f24e5ff10d..750ea00aad 100644 --- a/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +++ b/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi @@ -5,7 +5,7 @@ # # https://github.com/sorbet/sorbet-typed/edit/master/lib/actionview/all/actionview.rbi # -# typed: strong +# typed: false module ActionView class ActionViewError < StandardError; end diff --git a/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi b/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi index 3deebde0b9..53e69ca542 100644 --- a/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +++ b/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi @@ -5,7 +5,7 @@ # # https://github.com/sorbet/sorbet-typed/edit/master/lib/activerecord/all/activerecord.rbi # -# typed: ignore +# typed: false VariadicUntypedFunction = T.type_alias { Proc } AssociationCallback = T.type_alias do diff --git a/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi b/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi index 879c66630f..7bea985dc1 100644 --- a/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +++ b/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi @@ -5,7 +5,7 @@ # # https://github.com/sorbet/sorbet-typed/edit/master/lib/railties/all/railties.rbi # -# typed: ignore +# typed: strong module Rails class << self diff --git a/sorbet/rbi/sorbet-typed/lib/stripe/all/stripe.rbi b/sorbet/rbi/sorbet-typed/lib/stripe/all/stripe.rbi index 061c5ba1bc..ff99723c08 100644 --- a/sorbet/rbi/sorbet-typed/lib/stripe/all/stripe.rbi +++ b/sorbet/rbi/sorbet-typed/lib/stripe/all/stripe.rbi @@ -389,6 +389,27 @@ module Stripe class CustomerBalanceTransaction < APIResource sig { returns(Integer) } def amount; end + + sig { returns(Integer) } + def created; end + + sig { returns(T.nilable(String)) } + def credit_note; end + + sig { returns(String) } + def currency; end + + sig { returns(String) } + def customer; end + + sig { returns(Integer) } + def ending_balance; end + + sig { returns(T.nilable(String)) } + def invoice; end + + sig { returns(String) } + def type; end end class Event < APIResource diff --git a/sorbet/rbi/todo.rbi b/sorbet/rbi/todo.rbi index c4e45ef6ad..4e5b715e15 100644 --- a/sorbet/rbi/todo.rbi +++ b/sorbet/rbi/todo.rbi @@ -2,353 +2,13 @@ # This is an autogenerated file for unresolved constants. # Please instead update this file by running `bin/tapioca todo`. -# typed: ignore +# typed: strict -module ::ActionController::API; end -module ::ActionController::Base; end -module ::ActionMailer::Base; end -module ::ActiveJob::Base; end -module ::ActiveModel::EachValidator; end -module ::ActiveModel::Serializer; end -module ::ActiveRecord::Base; end -module ::ActiveRecord::ConnectionAdapters::NullDBAdapter::TableDefinition; end -module ::ActiveSupport; end -module ::ActiveSupport::EventedFileUpdateChecker; end -module ::ActiveSupport::Inflector; end -module ::ActiveSupport::Logger; end -module ::ActiveSupport::SecurityUtils; end -module ::ActiveSupport::TaggedLogging; end -module ::Bullet; end -module ::ConnectionPool; end -module ::Devise; end -module ::Faraday; end -module ::Google::Protobuf::DescriptorPool; end -module ::I18n; end -module ::Rails; end -module ::Rails::Generators::NamedBase; end -module ::Raven; end -module ::Redis; end -module ::Sidekiq; end -module ::Sidekiq::Queue; end -module ::Sidekiq::Web; end -module ::Spring; end -module ::Stripe; end -module ::Warden::Manager; end -module ::Yt; end -module Ability::CanCan::Ability; end -module Ability::Rails; end -module Admin::CasesController::ActiveRecord::Sanitization::ClassMethods; end -module Admin::ChannelsController::ActiveRecord::Sanitization::ClassMethods; end -module Admin::PayoutReportsController::ActiveRecord::RecordNotFound; end -module Admin::PayoutReportsController::Faraday::ClientError; end -module Admin::PayoutReportsController::Rails; end -module Admin::PayoutReportsController::Raven; end -module Admin::PublishersController::ActiveRecord::Sanitization::ClassMethods; end -module Admin::PublishersController::ROTP::TOTP; end -module Admin::PublishersController::Rails; end -module Admin::Stats::ContributionsController::Rails; end -module Admin::Stats::ReferralsController::Rails; end -module Admin::Stats::TopBalancesController::Rails; end -module Admin::UnattachedPromoRegistrationsController::ActiveRecord::Base; end -module AdminController::CanCan::AccessDenied; end -module Api::BaseController::ActionController::HttpAuthentication::Token::ControllerMethods; end -module Api::BaseController::ActiveRecord::RecordInvalid; end -module Api::BaseController::ActiveSupport::SecurityUtils; end -module Api::BaseController::Rails; end -module Api::V1::PromoRegistrationsController::ActiveRecord::RecordInvalid; end -module Api::V1::PromoRegistrationsController::ActiveRecord::RecordNotFound; end -module Api::V1::PublishersController::ActiveRecord::RecordInvalid; end -module Api::V1::PublishersController::ActiveRecord::RecordNotFound; end -module Api::V1::Stats::ChannelsController::ActiveRecord::RecordNotFound; end -module Api::V1::Stats::PromoCampaignsController::ActiveRecord::RecordNotFound; end -module Api::V1::Stats::PublishersController::ActiveRecord::Base; end -module Api::V1::Stats::ReferralCodesController::ActiveRecord::RecordNotFound; end -module Api::V1::TransactionsController::Faraday::ResourceNotFound; end -module Api::V3::Public::ChannelsController::CacheBrowserChannelsJsonJobV3::TOTALS_CACHE_KEY; end -module Api::V3::Public::ChannelsController::Rails; end -module ApplicationCable::ActionCable::Channel::Base; end -module ApplicationCable::ActionCable::Connection::Base; end -module ApplicationController::I18n; end -module ApplicationController::Rails; end -module ApplicationController::U2F::U2F; end -module ApplicationHelper::PublicSuffix; end -module ApplicationHelper::PublicSuffix::DomainNotAllowed; end -module ApplicationHelper::Rails; end -module ApplicationJob::ActiveRecord::RecordNotFound; end -module ApplicationJob::Raven; end -module ApplicationMailer::Rails; end -module BaseApiClient::Faraday; end -module BaseApiClient::Faraday::Response::RaiseError; end -module BaseApiClient::Rails; end -module BatchMailer::Rails; end -module Bitflyer::Account; end -module Bitflyer::AuthCompleter::Rails; end -module Bitflyer::Http::Rails; end -module BrowserChannelsDynoCaching::ActiveSupport::Concern; end -module BrowserChannelsDynoCaching::Rails; end -module BrowserChannelsDynoCaching::Raven; end -module BrowserChannelsDynoCaching::Redis; end -module Cache::BrowserChannels::Main::Rails; end -module Cache::BrowserChannels::Main::Sidekiq::Queue; end -module Cache::BrowserChannels::Main::Sidekiq::Worker; end -module Cache::BrowserChannels::PrefixList::Aws; end -module Cache::BrowserChannels::PrefixList::Aws::Credentials; end -module Cache::BrowserChannels::PrefixList::Aws::S3::Resource; end -module Cache::BrowserChannels::PrefixList::Brotli; end -module Cache::BrowserChannels::PrefixList::Rails; end -module Cache::BrowserChannels::PrefixList::Sidekiq::Worker; end -module Cache::BrowserChannels::ResponsesForPrefix::ActiveRecord::Base; end -module Cache::BrowserChannels::ResponsesForPrefix::Aws; end -module Cache::BrowserChannels::ResponsesForPrefix::Aws::Credentials; end -module Cache::BrowserChannels::ResponsesForPrefix::Aws::S3::Resource; end -module Cache::BrowserChannels::ResponsesForPrefix::Brotli; end -module Cache::BrowserChannels::ResponsesForPrefix::Rails; end -module Cache::BrowserChannels::ResponsesForPrefix::Raven; end -module Cache::BrowserChannels::ResponsesForPrefix::Sidekiq::Worker; end -module Cache::EyeshadeStatsJob::Rails; end -module Cache::PiwikDataJob::Rails; end -module Channel::ActiveRecord::Base; end -module Channel::Arel; end -module Channel::Rails; end -module ChannelProperties::ActiveSupport::Concern; end -module ChannelProperties::ActiveSupport::Inflector; end -module ChannelTransferController::ActiveRecord::RecordNotFound; end -module Channels::ApproveChannelTransferJob::ActiveRecord::Base; end -module Channels::ContestChannel::ActiveRecord::Base; end -module Channels::RejectChannelTransfer::ActiveRecord::Base; end -module ChannelsController::ActiveRecord::RecordNotFound; end -module ChannelsHelper::ActionView::Helpers::DateHelper; end -module ChannelsHelper::I18n; end -module ChannelsHelper::Rails; end -module CleanAbandonedSiteChannelsJob::Rails; end -module CreateGeminiRecipientIdsJob::Sidekiq::Worker; end -module CreateUpholdCardsJob::Rails; end -module CreateUpholdChannelCardJob::Faraday::ResourceNotFound; end -module CreateUpholdChannelCardJob::Rails; end -module DeletePublisherChannelJob::Rails; end -module ERB::Util::HTML_ESCAPE_ONCE_REGEXP; end -module EnqueuePublishersForPayoutJob::ActiveRecord::Base; end -module EnqueuePublishersForPayoutJob::Rails; end -module EnqueuePublishersForPayoutJob::SEND_NOTIFICATIONS; end -module EnqueueSiteChannelVerifications::Rails; end -module ErrorHandler::ActiveSupport::Concern; end -module ErrorHandler::ActiveSupport::Rescuable; end -module ErrorHandler::Rails; end -module ErrorHandler::Raven; end -module Eyeshade::BaseApiClient::Rails; end -module Eyeshade::BaseBalance::Rails; end -module Eyeshade::ContributionTotals::Rails; end -module Eyeshade::Publishers::Faraday::ClientError; end -module Eyeshade::Publishers::Rails; end -module Eyeshade::ReferralTotals::Rails; end -module Eyeshade::Referrals::Rails; end -module Eyeshade::TopBalances::Rails; end -module Gemini::Account::Addressable::Template; end -module Gemini::Auth::Addressable::Template; end -module Gemini::Setting::Addressable::Template; end -module GeminiConnection::Rails; end -module HealthChecksController::Sidekiq::Queue; end -module ImageConversionHelper::Wasm::Thumbnail::Rb; end -module Invoice::Rails; end -module InvoiceFile::Rails; end -module LogException::NewRelic::Agent; end -module LogException::Rails; end -module LogException::Raven; end -module MigrateUpholdAccessParametersJob::Rails; end -module PartnerMailer::Raven; end -module Payment::Connection::BitflyerConnectionsController::I18n; end -module Payment::Connection::BitflyerConnectionsController::Rails; end -module Payment::Connection::CurrenciesController::I18n; end -module Payment::Connection::GeminiConnectionsController::I18n; end -module Payment::Connection::PaypalConnectionsController::Faraday; end -module Payment::Connection::PaypalConnectionsController::I18n; end -module Payment::Connection::PaypalConnectionsController::Rails; end -module Payment::Connection::StripeConnectionsController::I18n; end -module Payment::Connection::StripeConnectionsController::Rails; end -module Payment::Connection::StripeConnectionsController::Stripe; end -module Payment::Connection::StripeConnectionsController::Stripe::Account; end -module Payment::Connection::StripeConnectionsController::Stripe::OAuth; end -module Payment::Connection::StripeConnectionsController::Stripe::OAuth::InvalidGrantError; end -module Payment::Connection::UpholdConnectionsController::Faraday::Error; end -module Payment::Connection::UpholdConnectionsController::Rails; end -module Payment::Models::Key::Addressable::Template; end -module Payout::EnqueueTopReferrerPayoutJob::Sidekiq::Worker; end -module PayoutHelper::I18n; end -module PayoutHelper::Rails; end -module Paypal::RefreshIdentity::Faraday; end -module Paypal::RefreshIdentity::Rails; end -module Paypal::RefreshIdentity::Raven; end -module Piwik::MissingConfiguration; end -module Piwik::Site; end -module Promo::AssignPromoToChannelService::ActiveRecord::RecordInvalid; end -module Promo::AssignPromoToChannelService::Faraday::Error; end -module Promo::AssignPromoToChannelService::Faraday::Error::ClientError; end -module Promo::AssignPromoToChannelService::Rails; end -module Promo::AssignPromoToChannelService::Raven; end -module Promo::ChannelOwnerUpdater::Rails; end -module Promo::Client::Rails; end -module Promo::EmailBreakdownsJob::Sidekiq::Worker; end -module Promo::Models::OwnerState::Addressable::Template; end -module Promo::Models::PeerToPeerRegistration::Addressable::Template; end -module Promo::Models::PeerToPeerRegistration::Rails; end -module Promo::Models::Reporting::Rails; end -module Promo::OwnerRegistrar::Rails; end -module Promo::RegisterChannelForPromoJob::Rails; end -module Promo::RegistrationGetter::Rails; end -module Promo::RegistrationInstallerTypeSetter::Rails; end -module Promo::RegistrationsStatsFetcher::ActiveRecord::Base; end -module Promo::RegistrationsStatsFetcher::Faraday::FlatParamsEncoder; end -module Promo::RegistrationsStatsFetcher::Rails; end -module Promo::UnattachedRegistrar::Rails; end -module Promo::UnattachedRegistrationStatusUpdater::Faraday::FlatParamsEncoder; end -module Promo::UnattachedRegistrationStatusUpdater::Rails; end -module PromosHelper::ActionView::Helpers::DateHelper; end -module PromosHelper::I18n; end -module PromosHelper::Rails; end -module PropertyGenerator::ActiveRecord::Migration; end -module PropertyGenerator::Rails::Generators::Migration; end -module Publisher::I18n; end -module PublisherBalanceFeeCalculator::Rails; end -module PublisherBalanceGetter::Faraday::ClientError; end -module PublisherBalanceGetter::Rails; end -module PublisherBalanceGetter::Raven; end -module PublisherMailer::I18n; end -module PublisherMailer::Rails; end -module PublisherMailer::Raven; end -module PublisherRemovalJob::ActiveRecord::Base; end -module PublisherStatementGetter::Faraday::ClientError; end -module PublisherStatementGetter::I18n; end -module PublisherStatementGetter::Rails; end -module PublisherStatementGetter::Statement::ActiveModel::Model; end -module PublisherTokenAuthenticator::ActiveSupport::SecurityUtils; end -module PublisherTransactionsGetter::Faraday::ClientError; end -module PublisherTransactionsGetter::Rails; end -module PublisherWalletGetter::Faraday::Error; end -module PublisherWalletGetter::Rails; end -module Publishers::Application::Rails; end -module Publishers::CasesController::ActiveStorage::Attachment; end -module Publishers::Devise::OmniauthCallbacksController; end -module Publishers::ExcludedChannels::Rails; end -module Publishers::KeysController::Faraday::ClientError; end -module Publishers::KeysController::Rails; end -module Publishers::PromoRegistrationsController::I18n; end -module Publishers::PromoRegistrationsController::Rails; end -module Publishers::Rails::Application; end -module Publishers::RegistrationsController::I18n; end -module Publishers::RegistrationsController::Rails; end -module Publishers::RestrictedChannels::Rails; end -module Publishers::SiteBannersController::ActiveStorage::SetCurrent; end -module PublishersController::I18n; end -module PublishersHelper::Addressable::Template; end -module PublishersHelper::I18n; end -module PublishersHelper::PublisherDnsRecordGenerator; end -module PublishersHelper::Rails; end -module PublishersHelper::Raven; end -module PublishersPb::BitflyerWalletState::BITFLYER_ACCOUNT_KYC; end -module PublishersPb::GeminiWalletState::GEMINI_ACCOUNT_KYC; end -module PublishersPb::GeminiWalletState::GEMINI_ACCOUNT_NO_KYC; end -module PublishersPb::PaypalWalletState::PAYPAL_ACCOUNT_KYC; end -module PublishersPb::PaypalWalletState::PAYPAL_ACCOUNT_NO_KYC; end -module PublishersPb::PublisherPrefixList::CompressionType::BROTLI_COMPRESSION; end -module PublishersPb::PublisherPrefixList::CompressionType::NO_COMPRESSION; end -module PublishersPb::UpholdWalletState::UPHOLD_ACCOUNT_KYC; end -module PublishersPb::UpholdWalletState::UPHOLD_ACCOUNT_NO_KYC; end -module QrCodeHelper::RQRCode::QRCode; end -module Rack::Attack::Fail2Ban; end -module Rack::Attack::Rails; end -module Rack::Auth::Basic; end -module Rack::Deflater; end -module Rack::Request; end -module Ratio::Ratio::Addressable::Template; end -module Ratio::Ratio::Rails; end -module ReferralPromo::ActiveSupport::Concern; end -module Search::ActiveSupport::Concern; end -module SendGrid::API; end -module SendGrid::ASM; end -module SetPayoutsInProgressJob::Rails; end -module SiteBanner::ActionView::Helpers::SanitizeHelper; end -module SiteBanner::Addressable::URI; end -module SiteBanner::I18n; end -module SiteChannelDetails::ActiveModel::EachValidator; end -module SiteChannelDetails::I18n; end -module SiteChannelDomainSetter::Addressable::URI; end -module SiteChannelDomainSetter::Addressable::URI::InvalidURIError; end -module SiteChannelDomainSetter::PublicSuffix; end -module SiteChannelHostInspector::Rails; end -module SiteChannelVerifier::Dnsruby::NXDomain; end -module SiteChannelVerifier::Dnsruby::Resolver; end -module SiteChannelVerifier::Dnsruby::ServFail; end -module SiteChannelVerifier::Rails; end -module SiteChannelsController::ActiveModel::Type::Boolean; end -module SiteChannelsController::ActiveRecord::RecordNotFound; end -module SlackMessenger::Rails; end -module StaticController::Rails; end -module StaticController::THROTTLE_THRESHOLD_CREATE; end -module Sync::Bitflyer::UpdateMissingDepositJob::Rails; end -module Sync::Bitflyer::UpdateMissingDepositJob::Sidekiq::Worker; end -module Sync::Connection::GeminiConnectionSyncJob::Sidekiq::Worker; end -module Sync::Connection::UpholdConnectionSyncJob::Sidekiq::Worker; end -module Sync::PromoRegistrationStatsJob::Sidekiq::Worker; end -module Sync::UnattachedPromoRegistrationsStatsJob::Rails; end -module Sync::Zendesk::StartJob::Rails; end -module Sync::Zendesk::TicketCommentsToNotes::ActiveRecord::RecordNotUnique; end -module Sync::Zendesk::TicketCommentsToNotes::Rails; end -module Sync::Zendesk::TicketCommentsToNotes::Sidekiq::Worker; end -module Sync::Zendesk::TicketCommentsToNotes::ZendeskAPI::Client; end -module Sync::Zendesk::TicketsToNotes::Rails; end -module Sync::Zendesk::TicketsToNotes::Sidekiq::Worker; end -module Sync::Zendesk::TicketsToNotes::ZendeskAPI::Client; end -module TotpRegistration::ROTP::TOTP; end -module TotpRegistration::Rails; end -module TotpRegistrationsController::ROTP::Base32; end -module TotpRegistrationsController::Rails; end -module TwoFactorAuth::ActiveSupport::Concern; end -module TwoFactorAuthenticationRemoval::ActionView::Helpers::DateHelper; end -module TwoFactorAuthenticationRemovalJob::ActiveRecord::Base; end -module TwoFactorAuthenticationRemovalJob::ActiveRecord::Rollback; end -module TwoFactorRegistration::ActiveSupport::Concern; end -module U2fAuthenticationsController::Rails; end -module U2fAuthenticationsController::U2F::Error; end -module U2fAuthenticationsController::U2F::SignResponse; end -module U2fRegistrationsController::Rails; end -module U2fRegistrationsController::U2F::Error; end -module U2fRegistrationsController::U2F::RegisterResponse; end -module Uphold::Client::Rails; end -module Uphold::Models::Address::Addressable::Template; end -module Uphold::Models::Address::Rails; end -module Uphold::Models::Authorization::Rails; end -module Uphold::Models::Card::Rails; end -module Uphold::Models::Transaction::Addressable::Template; end -module Uphold::Models::Transaction::Rails; end -module Uphold::Models::User::Rails; end -module UpholdConnection::Faraday::ClientError; end -module UpholdConnection::Faraday::ResourceNotFound; end -module UpholdConnection::Rails; end -module UpholdConnectionsController::I18n; end -module UpholdConnectionsController::Rails; end -module UpholdRequestAccessParameters::Faraday; end -module UpholdRequestAccessParameters::Faraday::ClientError; end -module UpholdRequestAccessParameters::Faraday::Error; end -module UpholdRequestAccessParameters::Faraday::Response::RaiseError; end -module UpholdRequestAccessParameters::Rails; end -module UserFeatureFlags::ActiveModel::Type::Boolean; end -module UserFeatureFlags::ActiveSupport::Concern; end -module Util::AttrEncrypted::Rails; end -module VerifySiteChannel::Faraday::ResourceNotFound; end -module VerifySiteChannel::Rails; end -module Views::Admin::NavigationView::ActionView::Helpers; end -module Views::Admin::NavigationView::ActiveModel::Model; end -module Views::Admin::PaymentView::ActiveModel::Model; end -module Views::User::StatementDetail::ActiveModel::Model; end -module Views::User::StatementOverview::ActiveModel::Model; end -module Views::User::StatementOverview::I18n; end -module Views::User::Statements::ActiveModel::Model; end -module VimeoChannelDetails::Rails; end -module WalletProviderProperties::ActiveSupport::Concern; end -module YoutubeChannelGetter::Faraday::Error; end -module YoutubeChannelGetter::Rails; end -module YoutubeChannelGetter::Raven; end -module YoutubeUserGetter::Faraday::Error; end -module YoutubeUserGetter::Rails; end -module YoutubeVideoGetter::Rails; end -module YoutubeVideoGetter::Yt::Video; end +module ::Partner; end +module ::Publisher; end +module ::Publisher::ActiveRecord_Associations_CollectionProxy; end +module ::YARDSorbet::Handlers::StructClassHandler; end +module Devise::RouteSet; end +module Rake::TaskLib; end +module ReverseMarkdown::Converters::Base; end +module T::Private::Methods::Signature; end diff --git a/test/controllers/admin/publishers/publisher_status_updates_controller_test.rb b/test/controllers/admin/publishers/publisher_status_updates_controller_test.rb index 4b9c7cd8a1..2e56d1b41a 100644 --- a/test/controllers/admin/publishers/publisher_status_updates_controller_test.rb +++ b/test/controllers/admin/publishers/publisher_status_updates_controller_test.rb @@ -15,8 +15,8 @@ class Admin::Publishers::PublisherStatusUpdatesControllerTest < ActionDispatch:: it "assigns @publisher and @publisher_status_updates" do get admin_publisher_publisher_status_updates_path(publishers(:notes)) - assert controller.instance_variable_get("@publisher") - assert controller.instance_variable_get("@publisher_status_updates") + assert controller.instance_variable_get(:@publisher) + assert controller.instance_variable_get(:@publisher_status_updates) end end diff --git a/test/controllers/admin/publishers_controller_test.rb b/test/controllers/admin/publishers_controller_test.rb index d3533660a3..e4c3afdd91 100644 --- a/test/controllers/admin/publishers_controller_test.rb +++ b/test/controllers/admin/publishers_controller_test.rb @@ -12,7 +12,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) "Accept" => "*/*", "Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "User-Agent" => "Ruby", - "Host" => channel.details.brave_publisher_id, + "Host" => channel.details.brave_publisher_id } body ||= SiteChannelVerificationFileGenerator.new(site_channel: channel).generate_file_content stub_request(:get, url) @@ -79,7 +79,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) it "searches referral codes" do get admin_publishers_path, params: {q: "PRO123"} - publishers = controller.instance_variable_get("@publishers") + publishers = controller.instance_variable_get(:@publishers) assert_equal publishers.length, 1 assert_equal publishers.first, publishers(:promo_enabled) end @@ -87,7 +87,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) it "only shows suspended when suspended filter is on" do get admin_publishers_path, params: {status: "suspended"} - publishers = controller.instance_variable_get("@publishers") + publishers = controller.instance_variable_get(:@publishers) publishers.each do |p| assert_equal p.last_status_update.status, "suspended" @@ -97,7 +97,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) it "filters correctly on name" do get admin_publishers_path, params: {q: publishers(:completed).name.to_s} - publishers = controller.instance_variable_get("@publishers") + publishers = controller.instance_variable_get(:@publishers) assert_equal publishers.length, 1 assert_equal publishers.first, publishers(:completed) end @@ -105,7 +105,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) it "returns no results when not found" do get admin_publishers_path, params: {q: "404 not found"} - publishers = controller.instance_variable_get("@publishers") + publishers = controller.instance_variable_get(:@publishers) assert_equal publishers.length, 0 end end diff --git a/test/controllers/admin/stats/publisher_statistics_controller_test.rb b/test/controllers/admin/stats/publisher_statistics_controller_test.rb index 0215d2cd40..12231b4f12 100644 --- a/test/controllers/admin/stats/publisher_statistics_controller_test.rb +++ b/test/controllers/admin/stats/publisher_statistics_controller_test.rb @@ -17,19 +17,19 @@ class Admin::PublisherStatsControllerTest < ActionDispatch::IntegrationTest end it "assigns @all_publishers" do - assert controller.instance_variable_get("@all_publishers") + assert controller.instance_variable_get(:@all_publishers) end it "assigns @email_verified" do - assert controller.instance_variable_get("@email_verified") + assert controller.instance_variable_get(:@email_verified) end it "assigns @email_verified_with_a_channel" do - assert controller.instance_variable_get("@email_verified_with_a_channel") + assert controller.instance_variable_get(:@email_verified_with_a_channel) end it "assigns @email_verified_with_a_verified_channel" do - assert controller.instance_variable_get("@email_verified_with_a_channel") + assert controller.instance_variable_get(:@email_verified_with_a_channel) end describe "when user requests CSV" do diff --git a/test/controllers/publishers/registrations_controller_test.rb b/test/controllers/publishers/registrations_controller_test.rb index 5d40ee49b0..3861ac63ca 100644 --- a/test/controllers/publishers/registrations_controller_test.rb +++ b/test/controllers/publishers/registrations_controller_test.rb @@ -30,7 +30,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest end it "assigns @publisher" do - assert controller.instance_variable_get("@publisher") + assert controller.instance_variable_get(:@publisher) end end @@ -40,7 +40,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest end it "assigns @publisher" do - assert controller.instance_variable_get("@publisher") + assert controller.instance_variable_get(:@publisher) end end end @@ -55,7 +55,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest end it "assigns @publishers" do - assert controller.instance_variable_get("@publisher") + assert controller.instance_variable_get(:@publisher) end end diff --git a/test/controllers/site_channels_controller_test.rb b/test/controllers/site_channels_controller_test.rb index 1b8354097c..b0df0827bf 100644 --- a/test/controllers/site_channels_controller_test.rb +++ b/test/controllers/site_channels_controller_test.rb @@ -56,7 +56,7 @@ class SiteChannelsControllerTest < ActionDispatch::IntegrationTest "Accept" => "*/*", "Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "User-Agent" => "Ruby", - "Host" => channel.details.brave_publisher_id, + "Host" => channel.details.brave_publisher_id } body = SiteChannelVerificationFileGenerator.new(site_channel: channel).generate_file_content stub_request(:get, url) @@ -79,7 +79,7 @@ class SiteChannelsControllerTest < ActionDispatch::IntegrationTest "Accept" => "*/*", "Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "User-Agent" => "Ruby", - "Host" => channel.details.brave_publisher_id, + "Host" => channel.details.brave_publisher_id } SiteChannelVerificationFileGenerator.new(site_channel: channel).generate_file_content stub_request(:get, url) diff --git a/test/controllers/totp_authentications_controller_test.rb b/test/controllers/totp_authentications_controller_test.rb index 6213d69e32..e9cd6ffc5a 100644 --- a/test/controllers/totp_authentications_controller_test.rb +++ b/test/controllers/totp_authentications_controller_test.rb @@ -12,7 +12,7 @@ class TotpAuthenticationsControllerTest < ActionDispatch::IntegrationTest visit_authentication_url publisher assert_redirected_to controller: "/two_factor_authentications", action: "index" - ROTP::TOTP.any_instance.stubs(:verify_with_drift_and_prior).returns(Time.now.to_i) + ROTP::TOTP.any_instance.stubs(:verify).returns(Time.now.to_i) post totp_authentications_path, params: { totp_password: "123456" @@ -29,7 +29,7 @@ class TotpAuthenticationsControllerTest < ActionDispatch::IntegrationTest visit_authentication_url publisher assert_redirected_to controller: "/two_factor_authentications", action: "index" - ROTP::TOTP.any_instance.stubs(:verify_with_drift_and_prior).returns(false) + ROTP::TOTP.any_instance.stubs(:verify).returns(false) post totp_authentications_path, params: { totp_password: "123456" diff --git a/test/controllers/totp_registrations_controller_test.rb b/test/controllers/totp_registrations_controller_test.rb index c9d6c6570c..abae7407f6 100644 --- a/test/controllers/totp_registrations_controller_test.rb +++ b/test/controllers/totp_registrations_controller_test.rb @@ -39,7 +39,7 @@ class TotpRegistrationsControllerTest < ActionDispatch::IntegrationTest test "TOTP registration creation" do sign_in publishers(:completed) - ROTP::TOTP.any_instance.stubs(:verify_with_drift).returns(true) + ROTP::TOTP.any_instance.stubs(:verify).returns(true) assert_difference("TotpRegistration.count") do post totp_registrations_path, params: { @@ -55,7 +55,7 @@ class TotpRegistrationsControllerTest < ActionDispatch::IntegrationTest test "TOTP registration creation after prompt" do sign_in publishers(:completed) - ROTP::TOTP.any_instance.stubs(:verify_with_drift).returns(true) + ROTP::TOTP.any_instance.stubs(:verify).returns(true) get prompt_security_publishers_path @@ -81,7 +81,7 @@ class TotpRegistrationsControllerTest < ActionDispatch::IntegrationTest sign_in publisher - ROTP::TOTP.any_instance.stubs(:verify_with_drift).returns(true) + ROTP::TOTP.any_instance.stubs(:verify).returns(true) assert_no_difference("TotpRegistration.count") do post totp_registrations_path, params: { @@ -100,7 +100,7 @@ class TotpRegistrationsControllerTest < ActionDispatch::IntegrationTest another_session = open_session another_session.sign_in publisher - ROTP::TOTP.any_instance.stubs(:verify_with_drift).returns(true) + ROTP::TOTP.any_instance.stubs(:verify).returns(true) assert_difference("TotpRegistration.count") do post totp_registrations_path, params: { diff --git a/test/features/log_in_test.rb b/test/features/log_in_test.rb index 73bd3bc940..3059372e57 100644 --- a/test/features/log_in_test.rb +++ b/test/features/log_in_test.rb @@ -82,7 +82,7 @@ def canned_u2f_response(registration) assert_content page, "Two-factor Authentication" assert_content page, "Enter the authentication code from your mobile app to verify your identity." - ROTP::TOTP.any_instance.stubs(:verify_with_drift_and_prior).returns(Time.now.to_i) + ROTP::TOTP.any_instance.stubs(:verify).returns(Time.now.to_i) fill_in "totp_password", with: "123456" click_button "Verify" @@ -100,12 +100,12 @@ def canned_u2f_response(registration) assert_content page, "Two-factor Authentication" assert_content page, "Enter the authentication code from your mobile app to verify your identity." - ROTP::TOTP.any_instance.stubs(:verify_with_drift_and_prior).returns(false) + ROTP::TOTP.any_instance.stubs(:verify).returns(false) fill_in "totp_password", with: "wrong" click_button "Verify" assert_content page, "Invalid 6-digit code. Please try again." - ROTP::TOTP.any_instance.stubs(:verify_with_drift_and_prior).returns(Time.now.to_i) + ROTP::TOTP.any_instance.stubs(:verify).returns(Time.now.to_i) fill_in "totp_password", with: "123456" click_button "Verify" assert_content page, "BALANCE" @@ -150,7 +150,7 @@ def canned_u2f_response(registration) assert_content page, "Two-factor Authentication" assert_content page, "Enter the authentication code from your mobile app to verify your identity." - ROTP::TOTP.any_instance.stubs(:verify_with_drift_and_prior).returns(Time.now.to_i) + ROTP::TOTP.any_instance.stubs(:verify).returns(Time.now.to_i) fill_in "totp_password", with: "123456" click_button "Verify" diff --git a/test/features/site_channel_verification_test.rb b/test/features/site_channel_verification_test.rb index 84fa028106..01dff87392 100644 --- a/test/features/site_channel_verification_test.rb +++ b/test/features/site_channel_verification_test.rb @@ -19,7 +19,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) "Accept" => "*/*", "Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "User-Agent" => "Ruby", - "Host" => channel.details.brave_publisher_id, + "Host" => channel.details.brave_publisher_id } body ||= SiteChannelVerificationFileGenerator.new(site_channel: channel).generate_file_content stub_request(:get, url) diff --git a/test/services/site_channel_domain_setter_test.rb b/test/services/site_channel_domain_setter_test.rb index 7e1064f66c..e2b3dee885 100644 --- a/test/services/site_channel_domain_setter_test.rb +++ b/test/services/site_channel_domain_setter_test.rb @@ -20,7 +20,7 @@ def teardown stub_request(:get, /v1\/publishers\/identity\?url=https:\/\/example\.com/) .to_return(status: 200, body: "{\"protocol\":\"http:\",\"slashes\":true,\"auth\":null,\"host\":\"example.com\",\"port\":null,\"hostname\":\"foo-bar.com\",\"hash\":null,\"search\":\"\",\"query\":{},\"pathname\":\"/\",\"path\":\"/\",\"href\":\"http://foo-bar.com/\",\"TLD\":\"com\",\"URL\":\"http://foo-bar.com\",\"SLD\":\"foo-bar.com\",\"RLD\":\"\",\"QLD\":\"\",\"publisher\":\"example.com\"}", headers: {}) - stub_request(:get, %r{\Ahttps://.*\z}).with(headers: {Host: 'example.com'}) + stub_request(:get, %r{\Ahttps://.*\z}).with(headers: {Host: "example.com"}) .to_return(status: 200, body: "

Welcome to mysite

", headers: {}) channel_details = SiteChannelDetails.new @@ -69,7 +69,7 @@ def teardown end test "skips normalization if it's unnecessary and just inspects the domain" do - stub_request(:get, %r{\Ahttps://.*\z}).with(headers: {Host: 'example.com'}) + stub_request(:get, %r{\Ahttps://.*\z}).with(headers: {Host: "example.com"}) .to_return(status: 200, body: "

Welcome to mysite

", headers: {}) channel_details = SiteChannelDetails.new diff --git a/test/services/site_channel_host_inspector_test.rb b/test/services/site_channel_host_inspector_test.rb index eac9dd3949..b647dd846c 100644 --- a/test/services/site_channel_host_inspector_test.rb +++ b/test/services/site_channel_host_inspector_test.rb @@ -13,7 +13,7 @@ def teardown test "inspects the domain for github" do stub_request(:get, %r{\Ahttps://.*\z}) - .with("headers" => {"Host" => 'mysite.github.io'}) + .with("headers" => {"Host" => "mysite.github.io"}) .to_return(status: 200, body: "

Welcome to mysite

", headers: {}) result = SiteChannelHostInspector.new(url: "mysite.github.io").perform @@ -173,7 +173,6 @@ def teardown .with("headers" => {"Host" => "www.mywordpress.com"}) .to_return(status: 301, headers: {location: "https://mywordpress2.com/index.html"}) - stub_request(:get, %r{\Ahttps://.*/index\.html\z}) .with("headers" => {"Host" => "mywordpress2.com"}) .to_return(status: 200, body: "

Welcome to mysite made with /wp-content/

", headers: {}) @@ -209,7 +208,6 @@ def teardown .with("headers" => {"Host" => "www.mywordpress.com"}) .to_return(status: 301, headers: {location: "https://mywordpress2.com/index.html"}) - stub_request(:get, %r{\Ahttps://.*/index\.html\z}) .with("headers" => {"Host" => "mywordpress2.com"}) .to_return(status: 200, body: "

Welcome to mysite made with /wp-content/

", headers: {}) diff --git a/test/services/site_channel_verifier_test.rb b/test/services/site_channel_verifier_test.rb index ec9532d0e6..b8d1465900 100644 --- a/test/services/site_channel_verifier_test.rb +++ b/test/services/site_channel_verifier_test.rb @@ -15,7 +15,7 @@ def stub_verification_public_file(channel, body: nil, status: 200) "Accept" => "*/*", "Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "User-Agent" => "Ruby", - "Host" => channel.details.brave_publisher_id, + "Host" => channel.details.brave_publisher_id } body ||= SiteChannelVerificationFileGenerator.new(site_channel: channel).generate_file_content stub_request(:get, url) diff --git a/test/test_helper.rb b/test/test_helper.rb index 8d416ebf2e..08a8048f49 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -96,7 +96,7 @@ class TestCase Rails.cache.clear unless @once default_resolver = SsrfFilter::DEFAULT_RESOLVER - Kernel::silence_warnings { SsrfFilter.const_set(:DEFAULT_RESOLVER, lambda { |arg| default_resolver[arg]+[::IPAddr.new("42.42.42.42")] }) } + Kernel.silence_warnings { SsrfFilter.const_set(:DEFAULT_RESOLVER, lambda { |arg| default_resolver[arg] + [::IPAddr.new("42.42.42.42")] }) } @once = true end end diff --git a/yarn.lock b/yarn.lock index 984395ff72..f4958d583b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1141,7 +1141,7 @@ resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-6.1.4.tgz#093d5341595a02089ed309dec40f3c37da7b1b10" integrity sha512-O3lEzL5DYbxppMdsFSw36e4BHIlfz/xusynwXGv3l2lhSlvah41qviRpsoAlKXxl37nZAqK+UUF5cnGGK45Mfw== -"@rails/webpacker@^5.4.2": +"@rails/webpacker@^5.4.3": version "5.4.3" resolved "https://registry.yarnpkg.com/@rails/webpacker/-/webpacker-5.4.3.tgz#cfe2d8faffe7db5001bad50a1534408b4f2efb2f" integrity sha512-tEM8tpUtfx6FxKwcuQ9+v6pzgqM5LeAdhT6IJ4Te3BPKFO1xrGrXugqeRuZ+gE8ASDZRTOK6yuQkapOpuX5JdA== @@ -1610,6 +1610,14 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +JSONStream@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" + integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== + dependencies: + jsonparse "^1.2.0" + through ">=2.2.7 <3" + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -1911,6 +1919,19 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== +audit-ci@4.x: + version "4.2.0" + resolved "https://registry.yarnpkg.com/audit-ci/-/audit-ci-4.2.0.tgz#a736486f404b0ec2c56029a891ef6bb0c89ed717" + integrity sha512-qTbQu8qmfF87Jdc+WWsL9Cb/K8RUwAK7xtjGn0+5SEyutV9VA8HUdj3toIyo7hazx9L326XL6GMerJRyoQut6g== + dependencies: + JSONStream "^1.3.5" + cross-spawn "^7.0.3" + event-stream "4.0.1" + jju "^1.4.0" + readline-transform "1.0.0" + semver "^7.0.0" + yargs "^15.0.0" + autoprefixer@^9.4.3, autoprefixer@^9.6.1, autoprefixer@^9.8.6: version "9.8.8" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.8.tgz#fd4bd4595385fa6f06599de749a4d5f7a474957a" @@ -2842,6 +2863,15 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + clone-regexp@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clone-regexp/-/clone-regexp-2.2.0.tgz#7d65e00885cd8796405c35a737e7a86b7429e36f" @@ -3790,6 +3820,11 @@ dot-prop@^5.2.0: dependencies: is-obj "^2.0.0" +duplexer@^0.1.1, duplexer@~0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== + duplexify@^3.4.2, duplexify@^3.6.0: version "3.7.1" resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" @@ -4074,6 +4109,19 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= +event-stream@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-4.0.1.tgz#4092808ec995d0dd75ea4580c1df6a74db2cde65" + integrity sha512-qACXdu/9VHPBzcyhdOWR5/IahhGMf0roTeZJfzz077GwylcDd90yOHLouhmv7GJ5XzPi6ekaQWd8AvPP2nOvpA== + dependencies: + duplexer "^0.1.1" + from "^0.1.7" + map-stream "0.0.7" + pause-stream "^0.0.11" + split "^1.0.1" + stream-combiner "^0.2.2" + through "^2.3.8" + eventemitter3@^4.0.0: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -4445,6 +4493,11 @@ from2@^2.1.0: inherits "^2.0.1" readable-stream "^2.0.0" +from@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" + integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4= + fs-minipass@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" @@ -5621,6 +5674,11 @@ jest-worker@^26.5.0: merge-stream "^2.0.0" supports-color "^7.0.0" +jju@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" + integrity sha1-o6vicYryQaKykE+EpiWXDzia4yo= + js-base64@^2.1.8: version "2.6.4" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4" @@ -5711,6 +5769,11 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" +jsonparse@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" + integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= + jsprim@^1.2.2: version "1.4.2" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" @@ -5930,6 +5993,11 @@ map-obj@^4.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== +map-stream@0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8" + integrity sha1-ih8HiW2CsQkmvTdEokIACfiJdKg= + map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" @@ -6861,6 +6929,13 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pause-stream@^0.0.11: + version "0.0.11" + resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" + integrity sha1-/lo0sMvOErWqaitAPuLnO2AvFEU= + dependencies: + through "~2.3" + pbkdf2@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" @@ -8211,6 +8286,11 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" +readline-transform@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/readline-transform/-/readline-transform-1.0.0.tgz#3157f97428acaec0f05a5c1ff2c3120f4e6d904b" + integrity sha512-7KA6+N9IGat52d83dvxnApAWN+MtVb1MiVuMR/cf1O4kYsJG+g/Aav0AHcHKsb6StinayfPLne0+fMX2sOzAKg== + redent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" @@ -8636,7 +8716,7 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: +semver@^7.0.0, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: version "7.3.5" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== @@ -8982,6 +9062,13 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" +split@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" + integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== + dependencies: + through "2" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -9049,6 +9136,14 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" +stream-combiner@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.2.2.tgz#aec8cbac177b56b6f4fa479ced8c1912cee52858" + integrity sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg= + dependencies: + duplexer "~0.1.1" + through "~2.3.4" + stream-each@^1.1.0: version "1.2.3" resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" @@ -9087,7 +9182,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.2, string-width@^4.2.3: +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -9508,6 +9603,11 @@ through2@^2.0.0: readable-stream "~2.3.6" xtend "~4.0.1" +through@2, "through@>=2.2.7 <3", through@^2.3.8, through@~2.3, through@~2.3.4: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + thunky@^1.0.2: version "1.1.0" resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" @@ -10242,6 +10342,15 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -10287,7 +10396,7 @@ yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yargs-parser@18.x: +yargs-parser@18.x, yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== @@ -10324,6 +10433,23 @@ yargs@^13.3.2: y18n "^4.0.0" yargs-parser "^13.1.2" +yargs@^15.0.0: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^18.1.2" + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"