sorbet-rails 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +7 -0
- data/.github/workflows/ci-master.yml +28 -0
- data/.github/workflows/ci.yml +26 -0
- data/.github/workflows/publish-gem.yml +21 -0
- data/CONTRIBUTING.md +1 -2
- data/Gemfile +7 -9
- data/README.md +7 -3
- data/Rakefile +13 -24
- data/lib/sorbet-rails/active_record_rbi_formatter.rb +12 -9
- data/lib/sorbet-rails/dependent_gem_rbis/activerecord.rbi +4 -0
- data/lib/sorbet-rails/dependent_gem_rbis/parlour.rbi +1 -1
- data/lib/sorbet-rails/gem_plugins/aasm_plugin.rb +50 -0
- data/lib/sorbet-rails/gem_plugins/money_rails_plugin.rb +76 -0
- data/lib/sorbet-rails/job_rbi_formatter.rb +1 -1
- data/lib/sorbet-rails/model_plugins/active_record_serialized_attribute.rb +3 -2
- data/lib/sorbet-rails/model_plugins/base.rb +8 -1
- data/lib/sorbet-rails/model_plugins/custom_finder_methods.rb +1 -1
- data/lib/sorbet-rails/model_plugins/plugins.rb +6 -0
- data/lib/sorbet-rails/railtie.rb +1 -1
- data/lib/sorbet-rails/routes_rbi_formatter.rb +8 -0
- data/lib/sorbet-rails/tasks/rails_rbi.rake +12 -8
- data/sorbet-rails.gemspec +2 -2
- data/spec/bin/run_all_specs.sh +3 -4
- data/spec/bin/run_spec.sh +4 -1
- data/spec/generators/rails-template.rb +3 -20
- data/spec/generators/sorbet_test_cases.rb +17 -4
- data/spec/rails_helper.rb +5 -5
- data/spec/rake_rails_rbi_models_spec.rb +11 -4
- data/spec/sorbet_spec.rb +2 -1
- data/spec/support/v5.2/Gemfile +1 -3
- data/spec/support/v5.2/Gemfile.lock +66 -71
- data/spec/support/v5.2/app/controllers/application_controller.rb +1 -1
- data/spec/support/v5.2/app/mailers/application_mailer.rb +1 -1
- data/spec/support/v5.2/app/mailers/daily_prophet_mailer.rb +1 -1
- data/spec/support/v5.2/app/mailers/hogwarts_acceptance_mailer.rb +1 -1
- data/spec/support/v5.2/app/models/spell_book.rb +1 -1
- data/spec/support/v5.2/app/models/wand.rb +1 -1
- data/spec/support/v5.2/app/models/wizard.rb +1 -1
- data/spec/support/v5.2/config/environments/development.rb +1 -1
- data/spec/support/v5.2/config/environments/production.rb +1 -1
- data/spec/support/v5.2/config/environments/test.rb +1 -1
- data/spec/support/v5.2/config/routes.rb +1 -1
- data/spec/support/v5.2/sorbet_test_cases.rb +17 -4
- data/spec/support/v6.0/Gemfile +1 -1
- data/spec/support/v6.0/Gemfile.lock +81 -85
- data/spec/support/v6.0/app/mailers/application_mailer.rb +1 -1
- data/spec/support/v6.0/config/environments/development.rb +1 -1
- data/spec/support/v6.0/config/environments/test.rb +1 -1
- data/spec/support/v6.0/config/initializers/cookies_serializer.rb +1 -1
- data/spec/support/v6.0/config/initializers/sorbet_rails.rb +1 -1
- data/spec/support/v6.0/config/routes.rb +1 -1
- data/spec/support/v6.0/sorbet_test_cases.rb +17 -4
- data/spec/support/{v5.1 → v6.1}/.gitignore +13 -2
- data/spec/support/{v5.1 → v6.1}/Gemfile +12 -15
- data/spec/support/{v5.1 → v6.1}/Gemfile.lock +87 -59
- data/spec/support/{v5.0 → v6.1}/README.md +0 -0
- data/spec/support/{v5.0 → v6.1}/Rakefile +0 -0
- data/spec/support/{v5.0 → v6.1}/app/assets/config/manifest.js +0 -0
- data/spec/support/{v5.0 → v6.1}/app/assets/images/.keep +0 -0
- data/spec/support/{v5.1 → v6.1}/app/assets/stylesheets/application.css +0 -0
- data/spec/support/{v5.0 → v6.1}/app/controllers/application_controller.rb +1 -2
- data/spec/support/{v5.0 → v6.1}/app/controllers/concerns/.keep +0 -0
- data/spec/support/{v5.0 → v6.1}/app/helpers/application_helper.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/helpers/bar_helper.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/helpers/baz_helper.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/helpers/foo_helper.rb +0 -0
- data/spec/support/v6.1/app/jobs/application_job.rb +8 -0
- data/spec/support/{v5.0 → v6.1}/app/jobs/award_house_point_hourglasses.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/app/mailers/application_mailer.rb +1 -1
- data/spec/support/{v5.0 → v6.1}/app/mailers/daily_prophet_mailer.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/mailers/hogwarts_acceptance_mailer.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/application_record.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/concerns/.keep +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/concerns/mythical.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/app/models/headmaster.rb +1 -1
- data/spec/support/{v5.1 → v6.1}/app/models/potion.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/app/models/robe.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/school.rb +1 -1
- data/spec/support/{v5.1 → v6.1}/app/models/spell.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/spell_book.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/squib.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/app/models/subject.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/wand.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/models/wizard.rb +2 -1
- data/spec/support/{v5.1 → v6.1}/app/views/layouts/application.html.erb +2 -1
- data/spec/support/{v5.0 → v6.1}/app/views/layouts/mailer.html.erb +0 -0
- data/spec/support/{v5.0 → v6.1}/app/views/layouts/mailer.text.erb +0 -0
- data/spec/support/v6.1/bin/bundle +114 -0
- data/spec/support/{v5.0 → v6.1}/bin/rails +0 -0
- data/spec/support/{v5.0 → v6.1}/bin/rake +0 -0
- data/spec/support/{v5.1 → v6.1}/bin/setup +6 -11
- data/spec/support/{v5.1 → v6.1}/config/application.rb +8 -4
- data/spec/support/{v5.0 → v6.1}/config/boot.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/config/database.yml +1 -1
- data/spec/support/{v5.0 → v6.1}/config/environment.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/config/environments/development.rb +12 -4
- data/spec/support/{v5.1 → v6.1}/config/environments/production.rb +29 -7
- data/spec/support/{v5.1 → v6.1}/config/environments/test.rb +13 -7
- data/spec/support/{v5.0 → v6.1}/config/initializers/application_controller_renderer.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/support/v6.1/config/initializers/content_security_policy.rb +29 -0
- data/spec/support/{v5.1 → v6.1}/config/initializers/cookies_serializer.rb +1 -1
- data/spec/support/{v5.0 → v6.1}/config/initializers/filter_parameter_logging.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/config/initializers/inflections.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/config/initializers/mime_types.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/config/initializers/sorbet_rails.rb +1 -1
- data/spec/support/{v5.0 → v6.1}/config/initializers/wrap_parameters.rb +0 -0
- data/spec/support/{v5.1 → v6.1}/config/locales/en.yml +1 -1
- data/spec/support/{v5.1 → v6.1}/config/puma.rb +8 -26
- data/spec/support/v6.1/config/routes.rb +5 -0
- data/spec/support/v6.1/config/storage.yml +34 -0
- data/spec/support/{v5.0 → v6.1}/config.ru +0 -0
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000001_create_wizards.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000002_create_wands.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000003_create_spell_books.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000004_add_more_column_types_to_wands.rb +2 -2
- data/spec/support/v6.1/db/migrate/20190620000005_add_broom_to_wizard.rb +6 -0
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000006_add_more_enums_to_wizard.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000007_add_type_to_wizard.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000008_add_robe_to_wizard.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000009_add_school.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000010_add_subject.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000011_add_subjects_wizards.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000012_add_spell.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/migrate/20190620000013_add_spells_spell_books.rb +2 -2
- data/spec/support/{v5.0 → v6.1}/db/migrate/20190620000014_create_headmasters.rb +2 -2
- data/spec/support/{v5.0 → v6.1}/db/migrate/20190620000015_add_serialized_to_wizards.rb +2 -2
- data/spec/support/{v5.1 → v6.1}/db/schema.rb +14 -11
- data/spec/support/{v5.0 → v6.1}/db/seeds.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/lib/assets/.keep +0 -0
- data/spec/support/{v5.0 → v6.1}/lib/mythical_rbi_plugin.rb +0 -0
- data/spec/support/{v5.0 → v6.1}/lib/tasks/.keep +0 -0
- data/spec/support/{v5.0 → v6.1}/log/.keep +0 -0
- data/spec/support/{v5.0 → v6.1}/sorbet_test_cases.rb +17 -4
- data/spec/support/{v5.0/tmp → v6.1/storage}/.keep +0 -0
- data/spec/support/{v5.0/vendor/assets/stylesheets → v6.1/tmp}/.keep +0 -0
- data/spec/support/{v5.1/app/assets/images → v6.1/tmp/pids}/.keep +0 -0
- data/spec/support/{v5.1/app/controllers/concerns → v6.1/vendor}/.keep +0 -0
- data/spec/test_data/v5.2/expected_active_record_base.rbi +10 -10
- data/spec/test_data/v5.2/expected_active_record_relation.rbi +10 -10
- data/spec/test_data/v5.2/expected_attachment.rbi +1 -1
- data/spec/test_data/v5.2/expected_blob.rbi +1 -1
- data/spec/test_data/v5.2/expected_headmaster.rbi +1 -1
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +1 -1
- data/spec/test_data/v5.2/expected_potion.rbi +1 -1
- data/spec/test_data/v5.2/expected_robe.rbi +1 -1
- data/spec/test_data/v5.2/expected_routes.rbi +8 -0
- data/spec/test_data/v5.2/expected_schema_migration.rbi +1 -1
- data/spec/test_data/v5.2/expected_school.rbi +1 -1
- data/spec/test_data/v5.2/expected_spell/habtm_spell_books.rbi +1 -1
- data/spec/test_data/v5.2/expected_spell.rbi +1 -1
- data/spec/test_data/v5.2/expected_spell_book/habtm_spells.rbi +1 -1
- data/spec/test_data/v5.2/expected_spell_book.rbi +1 -1
- data/spec/test_data/v5.2/expected_squib.rbi +3 -3
- data/spec/test_data/v5.2/expected_subject/habtm_wizards.rbi +1 -1
- data/spec/test_data/v5.2/expected_subject.rbi +1 -1
- data/spec/test_data/v5.2/expected_wand.rbi +1 -1
- data/spec/test_data/v5.2/expected_wizard/habtm_subjects.rbi +1 -1
- data/spec/test_data/v5.2/expected_wizard.rbi +3 -3
- data/spec/test_data/v5.2/expected_wizard_wo_spellbook.rbi +3 -3
- data/spec/test_data/v6.0/expected_active_record_base.rbi +10 -10
- data/spec/test_data/v6.0/expected_active_record_relation.rbi +10 -10
- data/spec/test_data/v6.0/expected_attachment.rbi +1 -1
- data/spec/test_data/v6.0/expected_blob.rbi +1 -1
- data/spec/test_data/v6.0/expected_headmaster.rbi +1 -1
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +1 -1
- data/spec/test_data/v6.0/expected_potion.rbi +1 -1
- data/spec/test_data/v6.0/expected_robe.rbi +1 -1
- data/spec/test_data/v6.0/expected_routes.rbi +8 -0
- data/spec/test_data/v6.0/expected_schema_migration.rbi +1 -1
- data/spec/test_data/v6.0/expected_school.rbi +1 -1
- data/spec/test_data/v6.0/expected_spell/habtm_spell_books.rbi +1 -1
- data/spec/test_data/v6.0/expected_spell.rbi +1 -1
- data/spec/test_data/v6.0/expected_spell_book/habtm_spells.rbi +1 -1
- data/spec/test_data/v6.0/expected_spell_book.rbi +1 -1
- data/spec/test_data/v6.0/expected_squib.rbi +3 -3
- data/spec/test_data/v6.0/expected_subject/habtm_wizards.rbi +1 -1
- data/spec/test_data/v6.0/expected_subject.rbi +1 -1
- data/spec/test_data/v6.0/expected_wand.rbi +1 -1
- data/spec/test_data/v6.0/expected_wizard/habtm_subjects.rbi +1 -1
- data/spec/test_data/v6.0/expected_wizard.rbi +3 -3
- data/spec/test_data/v6.0/expected_wizard_wo_spellbook.rbi +3 -3
- data/spec/test_data/{v5.1 → v6.1}/expected_active_record_base.rbi +16 -16
- data/spec/test_data/{v5.1 → v6.1}/expected_active_record_relation.rbi +26 -29
- data/spec/test_data/{v5.0 → v6.1}/expected_application_job.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_application_mailer.rbi +0 -0
- data/spec/test_data/v6.1/expected_attachment.rbi +328 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_award_house_point_hourglasses.rbi +0 -0
- data/spec/test_data/v6.1/expected_blob.rbi +376 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_custom_application_job.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_custom_application_mailer.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_custom_award_house_point_hourglasses.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_custom_daily_prophet_mailer.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_custom_hogwarts_acceptance_mailer.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_daily_prophet_mailer.rbi +0 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_habtm_subjects.rbi +48 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_habtm_wizards.rbi +48 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_headmaster.rbi +25 -1
- data/spec/test_data/{v5.0 → v6.1}/expected_helpers.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_helpers_with_application_and_devise_helpers.rbi +0 -0
- data/spec/test_data/{v5.0 → v6.1}/expected_hogwarts_acceptance_mailer.rbi +0 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_internal_metadata.rbi +25 -1
- data/spec/test_data/{v5.0 → v6.1}/expected_no_routes.rbi +0 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_potion.rbi +25 -1
- data/spec/test_data/v6.1/expected_record.rbi +289 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_robe.rbi +25 -1
- data/spec/test_data/v6.1/expected_routes.rbi +175 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_schema_migration.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_school.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_spell/habtm_spell_books.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_spell.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_spell_book/habtm_spell_books.rbi +48 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_spell_book/habtm_spells.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_spell_book.rbi +61 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_squib.rbi +497 -59
- data/spec/test_data/{v5.0 → v6.1}/expected_srb_tc_output.txt +0 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_subject/habtm_wizards.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_subject.rbi +25 -1
- data/spec/test_data/v6.1/expected_variant_record.rbi +364 -0
- data/spec/test_data/{v5.1 → v6.1}/expected_wand.rbi +91 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_wizard/habtm_subjects.rbi +25 -1
- data/spec/test_data/{v5.1 → v6.1}/expected_wizard.rbi +497 -59
- data/spec/test_data/{v5.1 → v6.1}/expected_wizard_wo_spellbook.rbi +491 -53
- metadata +266 -501
- data/.travis.yml +0 -42
- data/lib/sorbet-rails/type_assert/actionpack.rbi +0 -4
- data/spec/support/v5.0/.gitignore +0 -21
- data/spec/support/v5.0/Gemfile +0 -37
- data/spec/support/v5.0/Gemfile.lock +0 -161
- data/spec/support/v5.0/app/assets/stylesheets/application.css +0 -15
- data/spec/support/v5.0/app/jobs/application_job.rb +0 -3
- data/spec/support/v5.0/app/mailers/application_mailer.rb +0 -5
- data/spec/support/v5.0/app/models/headmaster.rb +0 -8
- data/spec/support/v5.0/app/models/potion.rb +0 -6
- data/spec/support/v5.0/app/models/robe.rb +0 -4
- data/spec/support/v5.0/app/models/spell.rb +0 -5
- data/spec/support/v5.0/app/models/subject.rb +0 -5
- data/spec/support/v5.0/app/views/layouts/application.html.erb +0 -13
- data/spec/support/v5.0/bin/bundle +0 -3
- data/spec/support/v5.0/bin/setup +0 -34
- data/spec/support/v5.0/bin/update +0 -29
- data/spec/support/v5.0/config/application.rb +0 -27
- data/spec/support/v5.0/config/database.yml +0 -25
- data/spec/support/v5.0/config/environments/development.rb +0 -48
- data/spec/support/v5.0/config/environments/production.rb +0 -75
- data/spec/support/v5.0/config/environments/test.rb +0 -43
- data/spec/support/v5.0/config/initializers/cookies_serializer.rb +0 -6
- data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +0 -27
- data/spec/support/v5.0/config/initializers/session_store.rb +0 -4
- data/spec/support/v5.0/config/locales/en.yml +0 -23
- data/spec/support/v5.0/config/puma.rb +0 -48
- data/spec/support/v5.0/config/routes.rb +0 -5
- data/spec/support/v5.0/db/migrate/20190620000001_create_wizards.rb +0 -14
- data/spec/support/v5.0/db/migrate/20190620000002_create_wands.rb +0 -12
- data/spec/support/v5.0/db/migrate/20190620000003_create_spell_books.rb +0 -10
- data/spec/support/v5.0/db/migrate/20190620000004_add_more_column_types_to_wands.rb +0 -17
- data/spec/support/v5.0/db/migrate/20190620000005_add_broom_to_wizard.rb +0 -6
- data/spec/support/v5.0/db/migrate/20190620000006_add_more_enums_to_wizard.rb +0 -9
- data/spec/support/v5.0/db/migrate/20190620000007_add_type_to_wizard.rb +0 -6
- data/spec/support/v5.0/db/migrate/20190620000008_add_robe_to_wizard.rb +0 -8
- data/spec/support/v5.0/db/migrate/20190620000009_add_school.rb +0 -10
- data/spec/support/v5.0/db/migrate/20190620000010_add_subject.rb +0 -8
- data/spec/support/v5.0/db/migrate/20190620000011_add_subjects_wizards.rb +0 -8
- data/spec/support/v5.0/db/migrate/20190620000012_add_spell.rb +0 -8
- data/spec/support/v5.0/db/migrate/20190620000013_add_spells_spell_books.rb +0 -8
- data/spec/support/v5.0/db/schema.rb +0 -96
- data/spec/support/v5.0/public/robots.txt +0 -5
- data/spec/support/v5.1/README.md +0 -24
- data/spec/support/v5.1/Rakefile +0 -6
- data/spec/support/v5.1/app/assets/config/manifest.js +0 -2
- data/spec/support/v5.1/app/controllers/application_controller.rb +0 -4
- data/spec/support/v5.1/app/helpers/application_helper.rb +0 -3
- data/spec/support/v5.1/app/helpers/bar_helper.rb +0 -3
- data/spec/support/v5.1/app/helpers/baz_helper.rb +0 -3
- data/spec/support/v5.1/app/helpers/foo_helper.rb +0 -3
- data/spec/support/v5.1/app/jobs/application_job.rb +0 -3
- data/spec/support/v5.1/app/jobs/award_house_point_hourglasses.rb +0 -12
- data/spec/support/v5.1/app/mailers/daily_prophet_mailer.rb +0 -9
- data/spec/support/v5.1/app/mailers/hogwarts_acceptance_mailer.rb +0 -29
- data/spec/support/v5.1/app/models/application_record.rb +0 -4
- data/spec/support/v5.1/app/models/concerns/.keep +0 -0
- data/spec/support/v5.1/app/models/concerns/mythical.rb +0 -11
- data/spec/support/v5.1/app/models/school.rb +0 -5
- data/spec/support/v5.1/app/models/spell_book.rb +0 -18
- data/spec/support/v5.1/app/models/squib.rb +0 -6
- data/spec/support/v5.1/app/models/wand.rb +0 -19
- data/spec/support/v5.1/app/models/wizard.rb +0 -65
- data/spec/support/v5.1/app/views/layouts/mailer.html.erb +0 -13
- data/spec/support/v5.1/app/views/layouts/mailer.text.erb +0 -1
- data/spec/support/v5.1/bin/bundle +0 -3
- data/spec/support/v5.1/bin/rails +0 -4
- data/spec/support/v5.1/bin/rake +0 -4
- data/spec/support/v5.1/bin/update +0 -29
- data/spec/support/v5.1/bin/yarn +0 -11
- data/spec/support/v5.1/config/boot.rb +0 -4
- data/spec/support/v5.1/config/environment.rb +0 -6
- data/spec/support/v5.1/config/initializers/application_controller_renderer.rb +0 -9
- data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +0 -8
- data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +0 -5
- data/spec/support/v5.1/config/initializers/inflections.rb +0 -17
- data/spec/support/v5.1/config/initializers/mime_types.rb +0 -5
- data/spec/support/v5.1/config/initializers/sorbet_rails.rb +0 -3
- data/spec/support/v5.1/config/initializers/wrap_parameters.rb +0 -15
- data/spec/support/v5.1/config/routes.rb +0 -5
- data/spec/support/v5.1/config.ru +0 -5
- data/spec/support/v5.1/db/migrate/20190620000005_add_broom_to_wizard.rb +0 -6
- data/spec/support/v5.1/db/migrate/20190620000014_create_headmasters.rb +0 -9
- data/spec/support/v5.1/db/migrate/20190620000015_add_serialized_to_wizards.rb +0 -9
- data/spec/support/v5.1/db/seeds.rb +0 -8
- data/spec/support/v5.1/lib/assets/.keep +0 -0
- data/spec/support/v5.1/lib/mythical_rbi_plugin.rb +0 -16
- data/spec/support/v5.1/lib/tasks/.keep +0 -0
- data/spec/support/v5.1/log/.keep +0 -0
- data/spec/support/v5.1/package.json +0 -5
- data/spec/support/v5.1/public/robots.txt +0 -1
- data/spec/support/v5.1/sorbet_test_cases.rb +0 -409
- data/spec/support/v5.1/tmp/.keep +0 -0
- data/spec/support/v5.1/vendor/.keep +0 -0
- data/spec/test_data/v5.0/expected_active_record_base.rbi +0 -113
- data/spec/test_data/v5.0/expected_active_record_relation.rbi +0 -198
- data/spec/test_data/v5.0/expected_habtm_subjects.rbi +0 -660
- data/spec/test_data/v5.0/expected_habtm_wizards.rbi +0 -660
- data/spec/test_data/v5.0/expected_headmaster.rbi +0 -328
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +0 -298
- data/spec/test_data/v5.0/expected_potion.rbi +0 -280
- data/spec/test_data/v5.0/expected_robe.rbi +0 -301
- data/spec/test_data/v5.0/expected_routes.rbi +0 -27
- data/spec/test_data/v5.0/expected_schema_migration.rbi +0 -271
- data/spec/test_data/v5.0/expected_school.rbi +0 -301
- data/spec/test_data/v5.0/expected_spell/habtm_spell_books.rbi +0 -319
- data/spec/test_data/v5.0/expected_spell.rbi +0 -292
- data/spec/test_data/v5.0/expected_spell_book/habtm_spell_books.rbi +0 -637
- data/spec/test_data/v5.0/expected_spell_book/habtm_spells.rbi +0 -319
- data/spec/test_data/v5.0/expected_spell_book.rbi +0 -415
- data/spec/test_data/v5.0/expected_squib.rbi +0 -832
- data/spec/test_data/v5.0/expected_subject/habtm_wizards.rbi +0 -319
- data/spec/test_data/v5.0/expected_subject.rbi +0 -292
- data/spec/test_data/v5.0/expected_wand.rbi +0 -497
- data/spec/test_data/v5.0/expected_wizard/habtm_subjects.rbi +0 -319
- data/spec/test_data/v5.0/expected_wizard.rbi +0 -908
- data/spec/test_data/v5.0/expected_wizard_wo_spellbook.rbi +0 -902
- data/spec/test_data/v5.1/expected_application_job.rbi +0 -20
- data/spec/test_data/v5.1/expected_application_mailer.rbi +0 -5
- data/spec/test_data/v5.1/expected_award_house_point_hourglasses.rbi +0 -20
- data/spec/test_data/v5.1/expected_custom_application_job.rbi +0 -21
- data/spec/test_data/v5.1/expected_custom_application_mailer.rbi +0 -6
- data/spec/test_data/v5.1/expected_custom_award_house_point_hourglasses.rbi +0 -21
- data/spec/test_data/v5.1/expected_custom_daily_prophet_mailer.rbi +0 -8
- data/spec/test_data/v5.1/expected_custom_hogwarts_acceptance_mailer.rbi +0 -21
- data/spec/test_data/v5.1/expected_daily_prophet_mailer.rbi +0 -7
- data/spec/test_data/v5.1/expected_helpers.rbi +0 -27
- data/spec/test_data/v5.1/expected_helpers_with_application_and_devise_helpers.rbi +0 -34
- data/spec/test_data/v5.1/expected_hogwarts_acceptance_mailer.rbi +0 -20
- data/spec/test_data/v5.1/expected_no_routes.rbi +0 -4
- data/spec/test_data/v5.1/expected_routes.rbi +0 -27
- data/spec/test_data/v5.1/expected_srb_tc_output.txt +0 -1
@@ -1,908 +0,0 @@
|
|
1
|
-
# This is an autogenerated file for dynamic methods in Wizard
|
2
|
-
# Please rerun bundle exec rake rails_rbi:models[Wizard] to regenerate.
|
3
|
-
|
4
|
-
# typed: strong
|
5
|
-
module Wizard::EnumInstanceMethods
|
6
|
-
sig { returns(T::Boolean) }
|
7
|
-
def broom_nimbus?; end
|
8
|
-
|
9
|
-
sig { void }
|
10
|
-
def broom_nimbus!; end
|
11
|
-
|
12
|
-
sig { returns(T::Boolean) }
|
13
|
-
def broom_firebolt?; end
|
14
|
-
|
15
|
-
sig { void }
|
16
|
-
def broom_firebolt!; end
|
17
|
-
|
18
|
-
sig { returns(T::Boolean) }
|
19
|
-
def color_brown_eyes?; end
|
20
|
-
|
21
|
-
sig { void }
|
22
|
-
def color_brown_eyes!; end
|
23
|
-
|
24
|
-
sig { returns(T::Boolean) }
|
25
|
-
def color_green_eyes?; end
|
26
|
-
|
27
|
-
sig { void }
|
28
|
-
def color_green_eyes!; end
|
29
|
-
|
30
|
-
sig { returns(T::Boolean) }
|
31
|
-
def color_blue_eyes?; end
|
32
|
-
|
33
|
-
sig { void }
|
34
|
-
def color_blue_eyes!; end
|
35
|
-
|
36
|
-
sig { returns(T::Boolean) }
|
37
|
-
def brown_hair?; end
|
38
|
-
|
39
|
-
sig { void }
|
40
|
-
def brown_hair!; end
|
41
|
-
|
42
|
-
sig { returns(T::Boolean) }
|
43
|
-
def black_hair?; end
|
44
|
-
|
45
|
-
sig { void }
|
46
|
-
def black_hair!; end
|
47
|
-
|
48
|
-
sig { returns(T::Boolean) }
|
49
|
-
def blonde_hair?; end
|
50
|
-
|
51
|
-
sig { void }
|
52
|
-
def blonde_hair!; end
|
53
|
-
|
54
|
-
sig { returns(T::Boolean) }
|
55
|
-
def Gryffindor?; end
|
56
|
-
|
57
|
-
sig { void }
|
58
|
-
def Gryffindor!; end
|
59
|
-
|
60
|
-
sig { returns(T::Boolean) }
|
61
|
-
def Hufflepuff?; end
|
62
|
-
|
63
|
-
sig { void }
|
64
|
-
def Hufflepuff!; end
|
65
|
-
|
66
|
-
sig { returns(T::Boolean) }
|
67
|
-
def Ravenclaw?; end
|
68
|
-
|
69
|
-
sig { void }
|
70
|
-
def Ravenclaw!; end
|
71
|
-
|
72
|
-
sig { returns(T::Boolean) }
|
73
|
-
def Slytherin?; end
|
74
|
-
|
75
|
-
sig { void }
|
76
|
-
def Slytherin!; end
|
77
|
-
|
78
|
-
sig { returns(T::Boolean) }
|
79
|
-
def Hagrid?; end
|
80
|
-
|
81
|
-
sig { void }
|
82
|
-
def Hagrid!; end
|
83
|
-
|
84
|
-
sig { returns(T::Boolean) }
|
85
|
-
def quidditch_keeper?; end
|
86
|
-
|
87
|
-
sig { void }
|
88
|
-
def quidditch_keeper!; end
|
89
|
-
|
90
|
-
sig { returns(T::Boolean) }
|
91
|
-
def quidditch_seeker?; end
|
92
|
-
|
93
|
-
sig { void }
|
94
|
-
def quidditch_seeker!; end
|
95
|
-
|
96
|
-
sig { returns(T::Boolean) }
|
97
|
-
def quidditch_beater?; end
|
98
|
-
|
99
|
-
sig { void }
|
100
|
-
def quidditch_beater!; end
|
101
|
-
|
102
|
-
sig { returns(T::Boolean) }
|
103
|
-
def quidditch_chaser?; end
|
104
|
-
|
105
|
-
sig { void }
|
106
|
-
def quidditch_chaser!; end
|
107
|
-
end
|
108
|
-
|
109
|
-
module Wizard::ActiveRelation_WhereNot
|
110
|
-
sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) }
|
111
|
-
def not(opts, *rest); end
|
112
|
-
end
|
113
|
-
|
114
|
-
module Wizard::GeneratedSerializedAttributeMethods
|
115
|
-
sig { returns(T.nilable(T.any(T::Array[T.untyped], T::Boolean, Float, T::Hash[T.untyped, T.untyped], Integer, String))) }
|
116
|
-
def newt_subjects; end
|
117
|
-
|
118
|
-
sig { params(value: T.nilable(T.any(T::Array[T.untyped], T::Boolean, Float, T::Hash[T.untyped, T.untyped], Integer, String))).void }
|
119
|
-
def newt_subjects=(value); end
|
120
|
-
|
121
|
-
sig { returns(T::Boolean) }
|
122
|
-
def newt_subjects?; end
|
123
|
-
|
124
|
-
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
125
|
-
def owl_results; end
|
126
|
-
|
127
|
-
sig { params(value: T.nilable(T::Hash[T.untyped, T.untyped])).void }
|
128
|
-
def owl_results=(value); end
|
129
|
-
|
130
|
-
sig { returns(T::Boolean) }
|
131
|
-
def owl_results?; end
|
132
|
-
|
133
|
-
sig { returns(T.nilable(T.any(T::Array[T.untyped], T::Boolean, Float, T::Hash[T.untyped, T.untyped], Integer, String))) }
|
134
|
-
def patronus_characteristics; end
|
135
|
-
|
136
|
-
sig { params(value: T.nilable(T.any(T::Array[T.untyped], T::Boolean, Float, T::Hash[T.untyped, T.untyped], Integer, String))).void }
|
137
|
-
def patronus_characteristics=(value); end
|
138
|
-
|
139
|
-
sig { returns(T::Boolean) }
|
140
|
-
def patronus_characteristics?; end
|
141
|
-
|
142
|
-
sig { returns(T.nilable(T::Array[T.untyped])) }
|
143
|
-
def pets; end
|
144
|
-
|
145
|
-
sig { params(value: T.nilable(T::Array[T.untyped])).void }
|
146
|
-
def pets=(value); end
|
147
|
-
|
148
|
-
sig { returns(T::Boolean) }
|
149
|
-
def pets?; end
|
150
|
-
end
|
151
|
-
|
152
|
-
module Wizard::GeneratedAttributeMethods
|
153
|
-
sig { returns(T::Boolean) }
|
154
|
-
def broom?; end
|
155
|
-
|
156
|
-
sig { returns(ActiveSupport::TimeWithZone) }
|
157
|
-
def created_at; end
|
158
|
-
|
159
|
-
sig { params(value: T.any(Date, Time, ActiveSupport::TimeWithZone)).void }
|
160
|
-
def created_at=(value); end
|
161
|
-
|
162
|
-
sig { returns(T::Boolean) }
|
163
|
-
def created_at?; end
|
164
|
-
|
165
|
-
sig { returns(T.nilable(String)) }
|
166
|
-
def eye_color; end
|
167
|
-
|
168
|
-
sig { params(value: T.nilable(T.any(Integer, String, Symbol))).void }
|
169
|
-
def eye_color=(value); end
|
170
|
-
|
171
|
-
sig { returns(T::Boolean) }
|
172
|
-
def eye_color?; end
|
173
|
-
|
174
|
-
sig { returns(T.nilable(String)) }
|
175
|
-
def hair_color; end
|
176
|
-
|
177
|
-
sig { params(value: T.nilable(T.any(Integer, String, Symbol))).void }
|
178
|
-
def hair_color=(value); end
|
179
|
-
|
180
|
-
sig { returns(T::Boolean) }
|
181
|
-
def hair_color?; end
|
182
|
-
|
183
|
-
sig { returns(T.nilable(Integer)) }
|
184
|
-
def hair_length; end
|
185
|
-
|
186
|
-
sig { params(value: T.nilable(T.any(Numeric, ActiveSupport::Duration))).void }
|
187
|
-
def hair_length=(value); end
|
188
|
-
|
189
|
-
sig { returns(T::Boolean) }
|
190
|
-
def hair_length?; end
|
191
|
-
|
192
|
-
sig { returns(T::Boolean) }
|
193
|
-
def house?; end
|
194
|
-
|
195
|
-
sig { returns(Integer) }
|
196
|
-
def id; end
|
197
|
-
|
198
|
-
sig { params(value: T.any(Numeric, ActiveSupport::Duration)).void }
|
199
|
-
def id=(value); end
|
200
|
-
|
201
|
-
sig { returns(T::Boolean) }
|
202
|
-
def id?; end
|
203
|
-
|
204
|
-
sig { returns(String) }
|
205
|
-
def name; end
|
206
|
-
|
207
|
-
sig { params(value: T.any(String, Symbol)).void }
|
208
|
-
def name=(value); end
|
209
|
-
|
210
|
-
sig { returns(T::Boolean) }
|
211
|
-
def name?; end
|
212
|
-
|
213
|
-
sig { returns(T.nilable(String)) }
|
214
|
-
def notes; end
|
215
|
-
|
216
|
-
sig { params(value: T.nilable(T.any(String, Symbol))).void }
|
217
|
-
def notes=(value); end
|
218
|
-
|
219
|
-
sig { returns(T::Boolean) }
|
220
|
-
def notes?; end
|
221
|
-
|
222
|
-
sig { returns(T.nilable(String)) }
|
223
|
-
def parent_email; end
|
224
|
-
|
225
|
-
sig { params(value: T.nilable(T.any(String, Symbol))).void }
|
226
|
-
def parent_email=(value); end
|
227
|
-
|
228
|
-
sig { returns(T::Boolean) }
|
229
|
-
def parent_email?; end
|
230
|
-
|
231
|
-
sig { returns(T.nilable(String)) }
|
232
|
-
def professor; end
|
233
|
-
|
234
|
-
sig { params(value: T.nilable(T.any(Integer, String, Symbol))).void }
|
235
|
-
def professor=(value); end
|
236
|
-
|
237
|
-
sig { returns(T::Boolean) }
|
238
|
-
def professor?; end
|
239
|
-
|
240
|
-
sig { returns(T::Boolean) }
|
241
|
-
def quidditch_position?; end
|
242
|
-
|
243
|
-
sig { returns(T.nilable(Integer)) }
|
244
|
-
def school_id; end
|
245
|
-
|
246
|
-
sig { params(value: T.nilable(T.any(Numeric, ActiveSupport::Duration))).void }
|
247
|
-
def school_id=(value); end
|
248
|
-
|
249
|
-
sig { returns(T::Boolean) }
|
250
|
-
def school_id?; end
|
251
|
-
|
252
|
-
sig { returns(String) }
|
253
|
-
def type; end
|
254
|
-
|
255
|
-
sig { params(value: T.any(String, Symbol)).void }
|
256
|
-
def type=(value); end
|
257
|
-
|
258
|
-
sig { returns(T::Boolean) }
|
259
|
-
def type?; end
|
260
|
-
|
261
|
-
sig { returns(ActiveSupport::TimeWithZone) }
|
262
|
-
def updated_at; end
|
263
|
-
|
264
|
-
sig { params(value: T.any(Date, Time, ActiveSupport::TimeWithZone)).void }
|
265
|
-
def updated_at=(value); end
|
266
|
-
|
267
|
-
sig { returns(T::Boolean) }
|
268
|
-
def updated_at?; end
|
269
|
-
end
|
270
|
-
|
271
|
-
module Wizard::GeneratedAssociationMethods
|
272
|
-
sig { returns(T.nilable(::School)) }
|
273
|
-
def school; end
|
274
|
-
|
275
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
276
|
-
def build_school(*args, &block); end
|
277
|
-
|
278
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
279
|
-
def create_school(*args, &block); end
|
280
|
-
|
281
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
282
|
-
def create_school!(*args, &block); end
|
283
|
-
|
284
|
-
sig { params(value: T.nilable(::School)).void }
|
285
|
-
def school=(value); end
|
286
|
-
|
287
|
-
sig { returns(T.nilable(::School)) }
|
288
|
-
def reload_school; end
|
289
|
-
|
290
|
-
sig { returns(::SpellBook::ActiveRecord_Associations_CollectionProxy) }
|
291
|
-
def spell_books; end
|
292
|
-
|
293
|
-
sig { returns(T::Array[Integer]) }
|
294
|
-
def spell_book_ids; end
|
295
|
-
|
296
|
-
sig { params(value: T::Enumerable[::SpellBook]).void }
|
297
|
-
def spell_books=(value); end
|
298
|
-
|
299
|
-
sig { returns(::Subject::ActiveRecord_Associations_CollectionProxy) }
|
300
|
-
def subjects; end
|
301
|
-
|
302
|
-
sig { returns(T::Array[Integer]) }
|
303
|
-
def subject_ids; end
|
304
|
-
|
305
|
-
sig { params(value: T::Enumerable[::Subject]).void }
|
306
|
-
def subjects=(value); end
|
307
|
-
|
308
|
-
sig { returns(T.nilable(::Wand)) }
|
309
|
-
def wand; end
|
310
|
-
|
311
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
312
|
-
def build_wand(*args, &block); end
|
313
|
-
|
314
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
315
|
-
def create_wand(*args, &block); end
|
316
|
-
|
317
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
318
|
-
def create_wand!(*args, &block); end
|
319
|
-
|
320
|
-
sig { params(value: T.nilable(::Wand)).void }
|
321
|
-
def wand=(value); end
|
322
|
-
|
323
|
-
sig { returns(T.nilable(::Wand)) }
|
324
|
-
def reload_wand; end
|
325
|
-
end
|
326
|
-
|
327
|
-
module Wizard::CustomFinderMethods
|
328
|
-
sig { params(limit: Integer).returns(T::Array[Wizard]) }
|
329
|
-
def first_n(limit); end
|
330
|
-
|
331
|
-
sig { params(limit: Integer).returns(T::Array[Wizard]) }
|
332
|
-
def last_n(limit); end
|
333
|
-
|
334
|
-
sig { params(args: T::Array[T.any(Integer, String)]).returns(T::Array[Wizard]) }
|
335
|
-
def find_n(*args); end
|
336
|
-
|
337
|
-
sig { params(id: Integer).returns(T.nilable(Wizard)) }
|
338
|
-
def find_by_id(id); end
|
339
|
-
|
340
|
-
sig { params(id: Integer).returns(Wizard) }
|
341
|
-
def find_by_id!(id); end
|
342
|
-
end
|
343
|
-
|
344
|
-
class Wizard < ApplicationRecord
|
345
|
-
include Wizard::EnumInstanceMethods
|
346
|
-
include Wizard::GeneratedSerializedAttributeMethods
|
347
|
-
include Wizard::GeneratedAttributeMethods
|
348
|
-
include Wizard::GeneratedAssociationMethods
|
349
|
-
extend Wizard::CustomFinderMethods
|
350
|
-
extend Wizard::QueryMethodsReturningRelation
|
351
|
-
RelationType = T.type_alias { T.any(Wizard::ActiveRecord_Relation, Wizard::ActiveRecord_Associations_CollectionProxy, Wizard::ActiveRecord_AssociationRelation) }
|
352
|
-
|
353
|
-
sig { returns(T::Hash[T.any(String, Symbol), String]) }
|
354
|
-
def self.brooms; end
|
355
|
-
|
356
|
-
sig { returns(T::Hash[T.any(String, Symbol), Integer]) }
|
357
|
-
def self.eye_colors; end
|
358
|
-
|
359
|
-
sig { returns(T::Hash[T.any(String, Symbol), Integer]) }
|
360
|
-
def self.hair_colors; end
|
361
|
-
|
362
|
-
sig { returns(T::Hash[T.any(String, Symbol), Integer]) }
|
363
|
-
def self.houses; end
|
364
|
-
|
365
|
-
sig { returns(T::Hash[T.any(String, Symbol), Integer]) }
|
366
|
-
def self.professors; end
|
367
|
-
|
368
|
-
sig { returns(T::Hash[T.any(String, Symbol), Integer]) }
|
369
|
-
def self.quidditch_positions; end
|
370
|
-
|
371
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
372
|
-
def self.Gryffindor(*args); end
|
373
|
-
|
374
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
375
|
-
def self.Hagrid(*args); end
|
376
|
-
|
377
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
378
|
-
def self.Hufflepuff(*args); end
|
379
|
-
|
380
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
381
|
-
def self.Ravenclaw(*args); end
|
382
|
-
|
383
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
384
|
-
def self.Slytherin(*args); end
|
385
|
-
|
386
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
387
|
-
def self.black_hair(*args); end
|
388
|
-
|
389
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
390
|
-
def self.blonde_hair(*args); end
|
391
|
-
|
392
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
393
|
-
def self.broom_firebolt(*args); end
|
394
|
-
|
395
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
396
|
-
def self.broom_nimbus(*args); end
|
397
|
-
|
398
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
399
|
-
def self.brown_hair(*args); end
|
400
|
-
|
401
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
402
|
-
def self.color_blue_eyes(*args); end
|
403
|
-
|
404
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
405
|
-
def self.color_brown_eyes(*args); end
|
406
|
-
|
407
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
408
|
-
def self.color_green_eyes(*args); end
|
409
|
-
|
410
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
411
|
-
def self.quidditch_beater(*args); end
|
412
|
-
|
413
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
414
|
-
def self.quidditch_chaser(*args); end
|
415
|
-
|
416
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
417
|
-
def self.quidditch_keeper(*args); end
|
418
|
-
|
419
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
420
|
-
def self.quidditch_seeker(*args); end
|
421
|
-
|
422
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
423
|
-
def self.recent(*args); end
|
424
|
-
|
425
|
-
sig { returns(T.nilable(Wizard::Broom)) }
|
426
|
-
def typed_broom; end
|
427
|
-
|
428
|
-
sig { params(value: T.nilable(Wizard::Broom)).void }
|
429
|
-
def typed_broom=(value); end
|
430
|
-
|
431
|
-
sig { returns(T.nilable(Wizard::EyeColor)) }
|
432
|
-
def typed_eye_color; end
|
433
|
-
|
434
|
-
sig { params(value: T.nilable(Wizard::EyeColor)).void }
|
435
|
-
def typed_eye_color=(value); end
|
436
|
-
|
437
|
-
sig { returns(T.nilable(Wizard::HairColor)) }
|
438
|
-
def typed_hair_color; end
|
439
|
-
|
440
|
-
sig { params(value: T.nilable(Wizard::HairColor)).void }
|
441
|
-
def typed_hair_color=(value); end
|
442
|
-
|
443
|
-
sig { returns(T.nilable(Wizard::House)) }
|
444
|
-
def typed_house; end
|
445
|
-
|
446
|
-
sig { params(value: T.nilable(Wizard::House)).void }
|
447
|
-
def typed_house=(value); end
|
448
|
-
|
449
|
-
sig { returns(T.nilable(Wizard::ProfessorEnum)) }
|
450
|
-
def typed_professor; end
|
451
|
-
|
452
|
-
sig { params(value: T.nilable(Wizard::ProfessorEnum)).void }
|
453
|
-
def typed_professor=(value); end
|
454
|
-
|
455
|
-
sig { returns(T.nilable(Wizard::QuidditchPosition)) }
|
456
|
-
def typed_quidditch_position; end
|
457
|
-
|
458
|
-
sig { params(value: T.nilable(Wizard::QuidditchPosition)).void }
|
459
|
-
def typed_quidditch_position=(value); end
|
460
|
-
|
461
|
-
class Broom < T::Enum
|
462
|
-
enums do
|
463
|
-
Nimbus = new(%q{nimbus})
|
464
|
-
Firebolt = new(%q{firebolt})
|
465
|
-
end
|
466
|
-
|
467
|
-
end
|
468
|
-
|
469
|
-
class EyeColor < T::Enum
|
470
|
-
enums do
|
471
|
-
Brown = new(%q{brown})
|
472
|
-
Green = new(%q{green})
|
473
|
-
Blue = new(%q{blue})
|
474
|
-
end
|
475
|
-
|
476
|
-
end
|
477
|
-
|
478
|
-
class HairColor < T::Enum
|
479
|
-
enums do
|
480
|
-
Brown = new(%q{brown})
|
481
|
-
Black = new(%q{black})
|
482
|
-
Blonde = new(%q{blonde})
|
483
|
-
end
|
484
|
-
|
485
|
-
end
|
486
|
-
|
487
|
-
class House < T::Enum
|
488
|
-
enums do
|
489
|
-
Gryffindor = new(%q{Gryffindor})
|
490
|
-
Hufflepuff = new(%q{Hufflepuff})
|
491
|
-
Ravenclaw = new(%q{Ravenclaw})
|
492
|
-
Slytherin = new(%q{Slytherin})
|
493
|
-
end
|
494
|
-
|
495
|
-
end
|
496
|
-
|
497
|
-
class ProfessorEnum < T::Enum
|
498
|
-
enums do
|
499
|
-
SeverusSnape = new(%q{Severus Snape})
|
500
|
-
MinervaMcGonagall = new(%q{Minerva McGonagall})
|
501
|
-
PomonaSprout = new(%q{Pomona Sprout})
|
502
|
-
FiliusFlitwick = new(%q{Filius Flitwick})
|
503
|
-
Hagrid = new(%q{Hagrid})
|
504
|
-
AlastorMadEyeMoody = new(%q{Alastor 'Mad-Eye' Moody})
|
505
|
-
end
|
506
|
-
|
507
|
-
end
|
508
|
-
|
509
|
-
class QuidditchPosition < T::Enum
|
510
|
-
enums do
|
511
|
-
Keeper = new(%q{keeper})
|
512
|
-
Seeker = new(%q{seeker})
|
513
|
-
Beater = new(%q{beater})
|
514
|
-
Chaser = new(%q{chaser})
|
515
|
-
end
|
516
|
-
|
517
|
-
end
|
518
|
-
end
|
519
|
-
|
520
|
-
class Wizard::ActiveRecord_Relation < ActiveRecord::Relation
|
521
|
-
include Wizard::ActiveRelation_WhereNot
|
522
|
-
include Wizard::CustomFinderMethods
|
523
|
-
include Wizard::QueryMethodsReturningRelation
|
524
|
-
Elem = type_member(fixed: Wizard)
|
525
|
-
|
526
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
527
|
-
def Gryffindor(*args); end
|
528
|
-
|
529
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
530
|
-
def Hagrid(*args); end
|
531
|
-
|
532
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
533
|
-
def Hufflepuff(*args); end
|
534
|
-
|
535
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
536
|
-
def Ravenclaw(*args); end
|
537
|
-
|
538
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
539
|
-
def Slytherin(*args); end
|
540
|
-
|
541
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
542
|
-
def black_hair(*args); end
|
543
|
-
|
544
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
545
|
-
def blonde_hair(*args); end
|
546
|
-
|
547
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
548
|
-
def broom_firebolt(*args); end
|
549
|
-
|
550
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
551
|
-
def broom_nimbus(*args); end
|
552
|
-
|
553
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
554
|
-
def brown_hair(*args); end
|
555
|
-
|
556
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
557
|
-
def color_blue_eyes(*args); end
|
558
|
-
|
559
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
560
|
-
def color_brown_eyes(*args); end
|
561
|
-
|
562
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
563
|
-
def color_green_eyes(*args); end
|
564
|
-
|
565
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
566
|
-
def quidditch_beater(*args); end
|
567
|
-
|
568
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
569
|
-
def quidditch_chaser(*args); end
|
570
|
-
|
571
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
572
|
-
def quidditch_keeper(*args); end
|
573
|
-
|
574
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
575
|
-
def quidditch_seeker(*args); end
|
576
|
-
|
577
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
578
|
-
def recent(*args); end
|
579
|
-
end
|
580
|
-
|
581
|
-
class Wizard::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
582
|
-
include Wizard::ActiveRelation_WhereNot
|
583
|
-
include Wizard::CustomFinderMethods
|
584
|
-
include Wizard::QueryMethodsReturningAssociationRelation
|
585
|
-
Elem = type_member(fixed: Wizard)
|
586
|
-
|
587
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
588
|
-
def Gryffindor(*args); end
|
589
|
-
|
590
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
591
|
-
def Hagrid(*args); end
|
592
|
-
|
593
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
594
|
-
def Hufflepuff(*args); end
|
595
|
-
|
596
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
597
|
-
def Ravenclaw(*args); end
|
598
|
-
|
599
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
600
|
-
def Slytherin(*args); end
|
601
|
-
|
602
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
603
|
-
def black_hair(*args); end
|
604
|
-
|
605
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
606
|
-
def blonde_hair(*args); end
|
607
|
-
|
608
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
609
|
-
def broom_firebolt(*args); end
|
610
|
-
|
611
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
612
|
-
def broom_nimbus(*args); end
|
613
|
-
|
614
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
615
|
-
def brown_hair(*args); end
|
616
|
-
|
617
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
618
|
-
def color_blue_eyes(*args); end
|
619
|
-
|
620
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
621
|
-
def color_brown_eyes(*args); end
|
622
|
-
|
623
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
624
|
-
def color_green_eyes(*args); end
|
625
|
-
|
626
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
627
|
-
def quidditch_beater(*args); end
|
628
|
-
|
629
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
630
|
-
def quidditch_chaser(*args); end
|
631
|
-
|
632
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
633
|
-
def quidditch_keeper(*args); end
|
634
|
-
|
635
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
636
|
-
def quidditch_seeker(*args); end
|
637
|
-
|
638
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
639
|
-
def recent(*args); end
|
640
|
-
end
|
641
|
-
|
642
|
-
class Wizard::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
643
|
-
include Wizard::CustomFinderMethods
|
644
|
-
include Wizard::QueryMethodsReturningAssociationRelation
|
645
|
-
Elem = type_member(fixed: Wizard)
|
646
|
-
|
647
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
648
|
-
def Gryffindor(*args); end
|
649
|
-
|
650
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
651
|
-
def Hagrid(*args); end
|
652
|
-
|
653
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
654
|
-
def Hufflepuff(*args); end
|
655
|
-
|
656
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
657
|
-
def Ravenclaw(*args); end
|
658
|
-
|
659
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
660
|
-
def Slytherin(*args); end
|
661
|
-
|
662
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
663
|
-
def black_hair(*args); end
|
664
|
-
|
665
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
666
|
-
def blonde_hair(*args); end
|
667
|
-
|
668
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
669
|
-
def broom_firebolt(*args); end
|
670
|
-
|
671
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
672
|
-
def broom_nimbus(*args); end
|
673
|
-
|
674
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
675
|
-
def brown_hair(*args); end
|
676
|
-
|
677
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
678
|
-
def color_blue_eyes(*args); end
|
679
|
-
|
680
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
681
|
-
def color_brown_eyes(*args); end
|
682
|
-
|
683
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
684
|
-
def color_green_eyes(*args); end
|
685
|
-
|
686
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
687
|
-
def quidditch_beater(*args); end
|
688
|
-
|
689
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
690
|
-
def quidditch_chaser(*args); end
|
691
|
-
|
692
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
693
|
-
def quidditch_keeper(*args); end
|
694
|
-
|
695
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
696
|
-
def quidditch_seeker(*args); end
|
697
|
-
|
698
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
699
|
-
def recent(*args); end
|
700
|
-
|
701
|
-
sig { params(records: T.any(Wizard, T::Array[Wizard])).returns(T.self_type) }
|
702
|
-
def <<(*records); end
|
703
|
-
|
704
|
-
sig { params(records: T.any(Wizard, T::Array[Wizard])).returns(T.self_type) }
|
705
|
-
def append(*records); end
|
706
|
-
|
707
|
-
sig { params(records: T.any(Wizard, T::Array[Wizard])).returns(T.self_type) }
|
708
|
-
def push(*records); end
|
709
|
-
|
710
|
-
sig { params(records: T.any(Wizard, T::Array[Wizard])).returns(T.self_type) }
|
711
|
-
def concat(*records); end
|
712
|
-
end
|
713
|
-
|
714
|
-
module Wizard::QueryMethodsReturningRelation
|
715
|
-
sig { returns(Wizard::ActiveRecord_Relation) }
|
716
|
-
def all; end
|
717
|
-
|
718
|
-
sig { params(block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_Relation) }
|
719
|
-
def unscoped(&block); end
|
720
|
-
|
721
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
722
|
-
def select(*args); end
|
723
|
-
|
724
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
725
|
-
def order(*args); end
|
726
|
-
|
727
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
728
|
-
def reorder(*args); end
|
729
|
-
|
730
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
731
|
-
def group(*args); end
|
732
|
-
|
733
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
734
|
-
def limit(*args); end
|
735
|
-
|
736
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
737
|
-
def offset(*args); end
|
738
|
-
|
739
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
740
|
-
def joins(*args); end
|
741
|
-
|
742
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
743
|
-
def left_joins(*args); end
|
744
|
-
|
745
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
746
|
-
def left_outer_joins(*args); end
|
747
|
-
|
748
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
749
|
-
def where(*args); end
|
750
|
-
|
751
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
752
|
-
def rewhere(*args); end
|
753
|
-
|
754
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
755
|
-
def preload(*args); end
|
756
|
-
|
757
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
758
|
-
def eager_load(*args); end
|
759
|
-
|
760
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
761
|
-
def includes(*args); end
|
762
|
-
|
763
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
764
|
-
def from(*args); end
|
765
|
-
|
766
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
767
|
-
def lock(*args); end
|
768
|
-
|
769
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
770
|
-
def readonly(*args); end
|
771
|
-
|
772
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
773
|
-
def or(*args); end
|
774
|
-
|
775
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
776
|
-
def having(*args); end
|
777
|
-
|
778
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
779
|
-
def create_with(*args); end
|
780
|
-
|
781
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
782
|
-
def distinct(*args); end
|
783
|
-
|
784
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
785
|
-
def references(*args); end
|
786
|
-
|
787
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
788
|
-
def none(*args); end
|
789
|
-
|
790
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
791
|
-
def unscope(*args); end
|
792
|
-
|
793
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_Relation) }
|
794
|
-
def except(*args); end
|
795
|
-
|
796
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_Relation) }
|
797
|
-
def extending(*args, &block); end
|
798
|
-
|
799
|
-
sig do
|
800
|
-
params(
|
801
|
-
of: T.nilable(Integer),
|
802
|
-
start: T.nilable(Integer),
|
803
|
-
finish: T.nilable(Integer),
|
804
|
-
load: T.nilable(T::Boolean),
|
805
|
-
error_on_ignore: T.nilable(T::Boolean),
|
806
|
-
block: T.nilable(T.proc.params(e: Wizard::ActiveRecord_Relation).void)
|
807
|
-
).returns(ActiveRecord::Batches::BatchEnumerator)
|
808
|
-
end
|
809
|
-
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
810
|
-
end
|
811
|
-
|
812
|
-
module Wizard::QueryMethodsReturningAssociationRelation
|
813
|
-
sig { returns(Wizard::ActiveRecord_AssociationRelation) }
|
814
|
-
def all; end
|
815
|
-
|
816
|
-
sig { params(block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_Relation) }
|
817
|
-
def unscoped(&block); end
|
818
|
-
|
819
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
820
|
-
def select(*args); end
|
821
|
-
|
822
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
823
|
-
def order(*args); end
|
824
|
-
|
825
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
826
|
-
def reorder(*args); end
|
827
|
-
|
828
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
829
|
-
def group(*args); end
|
830
|
-
|
831
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
832
|
-
def limit(*args); end
|
833
|
-
|
834
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
835
|
-
def offset(*args); end
|
836
|
-
|
837
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
838
|
-
def joins(*args); end
|
839
|
-
|
840
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
841
|
-
def left_joins(*args); end
|
842
|
-
|
843
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
844
|
-
def left_outer_joins(*args); end
|
845
|
-
|
846
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
847
|
-
def where(*args); end
|
848
|
-
|
849
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
850
|
-
def rewhere(*args); end
|
851
|
-
|
852
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
853
|
-
def preload(*args); end
|
854
|
-
|
855
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
856
|
-
def eager_load(*args); end
|
857
|
-
|
858
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
859
|
-
def includes(*args); end
|
860
|
-
|
861
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
862
|
-
def from(*args); end
|
863
|
-
|
864
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
865
|
-
def lock(*args); end
|
866
|
-
|
867
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
868
|
-
def readonly(*args); end
|
869
|
-
|
870
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
871
|
-
def or(*args); end
|
872
|
-
|
873
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
874
|
-
def having(*args); end
|
875
|
-
|
876
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
877
|
-
def create_with(*args); end
|
878
|
-
|
879
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
880
|
-
def distinct(*args); end
|
881
|
-
|
882
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
883
|
-
def references(*args); end
|
884
|
-
|
885
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
886
|
-
def none(*args); end
|
887
|
-
|
888
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
889
|
-
def unscope(*args); end
|
890
|
-
|
891
|
-
sig { params(args: T.untyped).returns(Wizard::ActiveRecord_AssociationRelation) }
|
892
|
-
def except(*args); end
|
893
|
-
|
894
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Wizard::ActiveRecord_AssociationRelation) }
|
895
|
-
def extending(*args, &block); end
|
896
|
-
|
897
|
-
sig do
|
898
|
-
params(
|
899
|
-
of: T.nilable(Integer),
|
900
|
-
start: T.nilable(Integer),
|
901
|
-
finish: T.nilable(Integer),
|
902
|
-
load: T.nilable(T::Boolean),
|
903
|
-
error_on_ignore: T.nilable(T::Boolean),
|
904
|
-
block: T.nilable(T.proc.params(e: Wizard::ActiveRecord_AssociationRelation).void)
|
905
|
-
).returns(ActiveRecord::Batches::BatchEnumerator)
|
906
|
-
end
|
907
|
-
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
908
|
-
end
|