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
@@ -130,10 +130,10 @@ module Squib::GeneratedSerializedAttributeMethods
|
|
130
130
|
sig { returns(T::Boolean) }
|
131
131
|
def owl_results?; end
|
132
132
|
|
133
|
-
sig { returns(T.nilable(
|
133
|
+
sig { returns(T.nilable(ActiveRecord::Coders::JSON)) }
|
134
134
|
def patronus_characteristics; end
|
135
135
|
|
136
|
-
sig { params(value: T.nilable(
|
136
|
+
sig { params(value: T.nilable(ActiveRecord::Coders::JSON)).void }
|
137
137
|
def patronus_characteristics=(value); end
|
138
138
|
|
139
139
|
sig { returns(T::Boolean) }
|
@@ -286,62 +286,6 @@ module Squib::GeneratedAttributeMethods
|
|
286
286
|
def updated_at?; end
|
287
287
|
end
|
288
288
|
|
289
|
-
module Squib::GeneratedAssociationMethods
|
290
|
-
sig { returns(T.nilable(::School)) }
|
291
|
-
def school; end
|
292
|
-
|
293
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
294
|
-
def build_school(*args, &block); end
|
295
|
-
|
296
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
297
|
-
def create_school(*args, &block); end
|
298
|
-
|
299
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
300
|
-
def create_school!(*args, &block); end
|
301
|
-
|
302
|
-
sig { params(value: T.nilable(::School)).void }
|
303
|
-
def school=(value); end
|
304
|
-
|
305
|
-
sig { returns(T.nilable(::School)) }
|
306
|
-
def reload_school; end
|
307
|
-
|
308
|
-
sig { returns(::SpellBook::ActiveRecord_Associations_CollectionProxy) }
|
309
|
-
def spell_books; end
|
310
|
-
|
311
|
-
sig { returns(T::Array[Integer]) }
|
312
|
-
def spell_book_ids; end
|
313
|
-
|
314
|
-
sig { params(value: T::Enumerable[::SpellBook]).void }
|
315
|
-
def spell_books=(value); end
|
316
|
-
|
317
|
-
sig { returns(::Subject::ActiveRecord_Associations_CollectionProxy) }
|
318
|
-
def subjects; end
|
319
|
-
|
320
|
-
sig { returns(T::Array[Integer]) }
|
321
|
-
def subject_ids; end
|
322
|
-
|
323
|
-
sig { params(value: T::Enumerable[::Subject]).void }
|
324
|
-
def subjects=(value); end
|
325
|
-
|
326
|
-
sig { returns(T.nilable(::Wand)) }
|
327
|
-
def wand; end
|
328
|
-
|
329
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
330
|
-
def build_wand(*args, &block); end
|
331
|
-
|
332
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
333
|
-
def create_wand(*args, &block); end
|
334
|
-
|
335
|
-
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
336
|
-
def create_wand!(*args, &block); end
|
337
|
-
|
338
|
-
sig { params(value: T.nilable(::Wand)).void }
|
339
|
-
def wand=(value); end
|
340
|
-
|
341
|
-
sig { returns(T.nilable(::Wand)) }
|
342
|
-
def reload_wand; end
|
343
|
-
end
|
344
|
-
|
345
289
|
module Squib::CustomFinderMethods
|
346
290
|
sig { params(limit: Integer).returns(T::Array[Squib]) }
|
347
291
|
def first_n(limit); end
|
@@ -352,7 +296,7 @@ module Squib::CustomFinderMethods
|
|
352
296
|
sig { params(args: T::Array[T.any(Integer, String)]).returns(T::Array[Squib]) }
|
353
297
|
def find_n(*args); end
|
354
298
|
|
355
|
-
sig { params(id: Integer).returns(T.nilable(Squib)) }
|
299
|
+
sig { params(id: T.nilable(Integer)).returns(T.nilable(Squib)) }
|
356
300
|
def find_by_id(id); end
|
357
301
|
|
358
302
|
sig { params(id: Integer).returns(Squib) }
|
@@ -386,6 +330,12 @@ class Squib < Wizard
|
|
386
330
|
sig { returns(T::Hash[T.any(String, Symbol), Integer]) }
|
387
331
|
def self.quidditch_positions; end
|
388
332
|
|
333
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
334
|
+
def self.Alastor_Mad_Eye_Moody(*args); end
|
335
|
+
|
336
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
337
|
+
def self.Filius_Flitwick(*args); end
|
338
|
+
|
389
339
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
390
340
|
def self.Gryffindor(*args); end
|
391
341
|
|
@@ -395,9 +345,18 @@ class Squib < Wizard
|
|
395
345
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
396
346
|
def self.Hufflepuff(*args); end
|
397
347
|
|
348
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
349
|
+
def self.Minerva_McGonagall(*args); end
|
350
|
+
|
351
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
352
|
+
def self.Pomona_Sprout(*args); end
|
353
|
+
|
398
354
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
399
355
|
def self.Ravenclaw(*args); end
|
400
356
|
|
357
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
358
|
+
def self.Severus_Snape(*args); end
|
359
|
+
|
401
360
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
402
361
|
def self.Slytherin(*args); end
|
403
362
|
|
@@ -425,6 +384,72 @@ class Squib < Wizard
|
|
425
384
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
426
385
|
def self.color_green_eyes(*args); end
|
427
386
|
|
387
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
388
|
+
def self.not_Alastor_Mad_Eye_Moody(*args); end
|
389
|
+
|
390
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
391
|
+
def self.not_Filius_Flitwick(*args); end
|
392
|
+
|
393
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
394
|
+
def self.not_Gryffindor(*args); end
|
395
|
+
|
396
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
397
|
+
def self.not_Hagrid(*args); end
|
398
|
+
|
399
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
400
|
+
def self.not_Hufflepuff(*args); end
|
401
|
+
|
402
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
403
|
+
def self.not_Minerva_McGonagall(*args); end
|
404
|
+
|
405
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
406
|
+
def self.not_Pomona_Sprout(*args); end
|
407
|
+
|
408
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
409
|
+
def self.not_Ravenclaw(*args); end
|
410
|
+
|
411
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
412
|
+
def self.not_Severus_Snape(*args); end
|
413
|
+
|
414
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
415
|
+
def self.not_Slytherin(*args); end
|
416
|
+
|
417
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
418
|
+
def self.not_black_hair(*args); end
|
419
|
+
|
420
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
421
|
+
def self.not_blonde_hair(*args); end
|
422
|
+
|
423
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
424
|
+
def self.not_broom_firebolt(*args); end
|
425
|
+
|
426
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
427
|
+
def self.not_broom_nimbus(*args); end
|
428
|
+
|
429
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
430
|
+
def self.not_brown_hair(*args); end
|
431
|
+
|
432
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
433
|
+
def self.not_color_blue_eyes(*args); end
|
434
|
+
|
435
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
436
|
+
def self.not_color_brown_eyes(*args); end
|
437
|
+
|
438
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
439
|
+
def self.not_color_green_eyes(*args); end
|
440
|
+
|
441
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
442
|
+
def self.not_quidditch_beater(*args); end
|
443
|
+
|
444
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
445
|
+
def self.not_quidditch_chaser(*args); end
|
446
|
+
|
447
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
448
|
+
def self.not_quidditch_keeper(*args); end
|
449
|
+
|
450
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
451
|
+
def self.not_quidditch_seeker(*args); end
|
452
|
+
|
428
453
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
429
454
|
def self.quidditch_beater(*args); end
|
430
455
|
|
@@ -439,6 +464,12 @@ class Squib < Wizard
|
|
439
464
|
|
440
465
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
441
466
|
def self.recent(*args); end
|
467
|
+
|
468
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
469
|
+
def self.with_attached_hats(*args); end
|
470
|
+
|
471
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
472
|
+
def self.with_attached_school_photo(*args); end
|
442
473
|
end
|
443
474
|
|
444
475
|
class Squib::ActiveRecord_Relation < ActiveRecord::Relation
|
@@ -447,6 +478,12 @@ class Squib::ActiveRecord_Relation < ActiveRecord::Relation
|
|
447
478
|
include Squib::QueryMethodsReturningRelation
|
448
479
|
Elem = type_member(fixed: Squib)
|
449
480
|
|
481
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
482
|
+
def Alastor_Mad_Eye_Moody(*args); end
|
483
|
+
|
484
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
485
|
+
def Filius_Flitwick(*args); end
|
486
|
+
|
450
487
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
451
488
|
def Gryffindor(*args); end
|
452
489
|
|
@@ -456,9 +493,18 @@ class Squib::ActiveRecord_Relation < ActiveRecord::Relation
|
|
456
493
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
457
494
|
def Hufflepuff(*args); end
|
458
495
|
|
496
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
497
|
+
def Minerva_McGonagall(*args); end
|
498
|
+
|
499
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
500
|
+
def Pomona_Sprout(*args); end
|
501
|
+
|
459
502
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
460
503
|
def Ravenclaw(*args); end
|
461
504
|
|
505
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
506
|
+
def Severus_Snape(*args); end
|
507
|
+
|
462
508
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
463
509
|
def Slytherin(*args); end
|
464
510
|
|
@@ -486,6 +532,72 @@ class Squib::ActiveRecord_Relation < ActiveRecord::Relation
|
|
486
532
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
487
533
|
def color_green_eyes(*args); end
|
488
534
|
|
535
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
536
|
+
def not_Alastor_Mad_Eye_Moody(*args); end
|
537
|
+
|
538
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
539
|
+
def not_Filius_Flitwick(*args); end
|
540
|
+
|
541
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
542
|
+
def not_Gryffindor(*args); end
|
543
|
+
|
544
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
545
|
+
def not_Hagrid(*args); end
|
546
|
+
|
547
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
548
|
+
def not_Hufflepuff(*args); end
|
549
|
+
|
550
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
551
|
+
def not_Minerva_McGonagall(*args); end
|
552
|
+
|
553
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
554
|
+
def not_Pomona_Sprout(*args); end
|
555
|
+
|
556
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
557
|
+
def not_Ravenclaw(*args); end
|
558
|
+
|
559
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
560
|
+
def not_Severus_Snape(*args); end
|
561
|
+
|
562
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
563
|
+
def not_Slytherin(*args); end
|
564
|
+
|
565
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
566
|
+
def not_black_hair(*args); end
|
567
|
+
|
568
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
569
|
+
def not_blonde_hair(*args); end
|
570
|
+
|
571
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
572
|
+
def not_broom_firebolt(*args); end
|
573
|
+
|
574
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
575
|
+
def not_broom_nimbus(*args); end
|
576
|
+
|
577
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
578
|
+
def not_brown_hair(*args); end
|
579
|
+
|
580
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
581
|
+
def not_color_blue_eyes(*args); end
|
582
|
+
|
583
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
584
|
+
def not_color_brown_eyes(*args); end
|
585
|
+
|
586
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
587
|
+
def not_color_green_eyes(*args); end
|
588
|
+
|
589
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
590
|
+
def not_quidditch_beater(*args); end
|
591
|
+
|
592
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
593
|
+
def not_quidditch_chaser(*args); end
|
594
|
+
|
595
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
596
|
+
def not_quidditch_keeper(*args); end
|
597
|
+
|
598
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
599
|
+
def not_quidditch_seeker(*args); end
|
600
|
+
|
489
601
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
490
602
|
def quidditch_beater(*args); end
|
491
603
|
|
@@ -500,6 +612,12 @@ class Squib::ActiveRecord_Relation < ActiveRecord::Relation
|
|
500
612
|
|
501
613
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
502
614
|
def recent(*args); end
|
615
|
+
|
616
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
617
|
+
def with_attached_hats(*args); end
|
618
|
+
|
619
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
620
|
+
def with_attached_school_photo(*args); end
|
503
621
|
end
|
504
622
|
|
505
623
|
class Squib::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation
|
@@ -508,6 +626,12 @@ class Squib::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelatio
|
|
508
626
|
include Squib::QueryMethodsReturningAssociationRelation
|
509
627
|
Elem = type_member(fixed: Squib)
|
510
628
|
|
629
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
630
|
+
def Alastor_Mad_Eye_Moody(*args); end
|
631
|
+
|
632
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
633
|
+
def Filius_Flitwick(*args); end
|
634
|
+
|
511
635
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
512
636
|
def Gryffindor(*args); end
|
513
637
|
|
@@ -517,9 +641,18 @@ class Squib::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelatio
|
|
517
641
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
518
642
|
def Hufflepuff(*args); end
|
519
643
|
|
644
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
645
|
+
def Minerva_McGonagall(*args); end
|
646
|
+
|
647
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
648
|
+
def Pomona_Sprout(*args); end
|
649
|
+
|
520
650
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
521
651
|
def Ravenclaw(*args); end
|
522
652
|
|
653
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
654
|
+
def Severus_Snape(*args); end
|
655
|
+
|
523
656
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
524
657
|
def Slytherin(*args); end
|
525
658
|
|
@@ -547,6 +680,72 @@ class Squib::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelatio
|
|
547
680
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
548
681
|
def color_green_eyes(*args); end
|
549
682
|
|
683
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
684
|
+
def not_Alastor_Mad_Eye_Moody(*args); end
|
685
|
+
|
686
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
687
|
+
def not_Filius_Flitwick(*args); end
|
688
|
+
|
689
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
690
|
+
def not_Gryffindor(*args); end
|
691
|
+
|
692
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
693
|
+
def not_Hagrid(*args); end
|
694
|
+
|
695
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
696
|
+
def not_Hufflepuff(*args); end
|
697
|
+
|
698
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
699
|
+
def not_Minerva_McGonagall(*args); end
|
700
|
+
|
701
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
702
|
+
def not_Pomona_Sprout(*args); end
|
703
|
+
|
704
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
705
|
+
def not_Ravenclaw(*args); end
|
706
|
+
|
707
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
708
|
+
def not_Severus_Snape(*args); end
|
709
|
+
|
710
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
711
|
+
def not_Slytherin(*args); end
|
712
|
+
|
713
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
714
|
+
def not_black_hair(*args); end
|
715
|
+
|
716
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
717
|
+
def not_blonde_hair(*args); end
|
718
|
+
|
719
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
720
|
+
def not_broom_firebolt(*args); end
|
721
|
+
|
722
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
723
|
+
def not_broom_nimbus(*args); end
|
724
|
+
|
725
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
726
|
+
def not_brown_hair(*args); end
|
727
|
+
|
728
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
729
|
+
def not_color_blue_eyes(*args); end
|
730
|
+
|
731
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
732
|
+
def not_color_brown_eyes(*args); end
|
733
|
+
|
734
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
735
|
+
def not_color_green_eyes(*args); end
|
736
|
+
|
737
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
738
|
+
def not_quidditch_beater(*args); end
|
739
|
+
|
740
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
741
|
+
def not_quidditch_chaser(*args); end
|
742
|
+
|
743
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
744
|
+
def not_quidditch_keeper(*args); end
|
745
|
+
|
746
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
747
|
+
def not_quidditch_seeker(*args); end
|
748
|
+
|
550
749
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
551
750
|
def quidditch_beater(*args); end
|
552
751
|
|
@@ -561,6 +760,12 @@ class Squib::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelatio
|
|
561
760
|
|
562
761
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
563
762
|
def recent(*args); end
|
763
|
+
|
764
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
765
|
+
def with_attached_hats(*args); end
|
766
|
+
|
767
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
768
|
+
def with_attached_school_photo(*args); end
|
564
769
|
end
|
565
770
|
|
566
771
|
class Squib::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
@@ -568,6 +773,12 @@ class Squib::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associati
|
|
568
773
|
include Squib::QueryMethodsReturningAssociationRelation
|
569
774
|
Elem = type_member(fixed: Squib)
|
570
775
|
|
776
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
777
|
+
def Alastor_Mad_Eye_Moody(*args); end
|
778
|
+
|
779
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
780
|
+
def Filius_Flitwick(*args); end
|
781
|
+
|
571
782
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
572
783
|
def Gryffindor(*args); end
|
573
784
|
|
@@ -577,9 +788,18 @@ class Squib::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associati
|
|
577
788
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
578
789
|
def Hufflepuff(*args); end
|
579
790
|
|
791
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
792
|
+
def Minerva_McGonagall(*args); end
|
793
|
+
|
794
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
795
|
+
def Pomona_Sprout(*args); end
|
796
|
+
|
580
797
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
581
798
|
def Ravenclaw(*args); end
|
582
799
|
|
800
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
801
|
+
def Severus_Snape(*args); end
|
802
|
+
|
583
803
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
584
804
|
def Slytherin(*args); end
|
585
805
|
|
@@ -607,6 +827,72 @@ class Squib::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associati
|
|
607
827
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
608
828
|
def color_green_eyes(*args); end
|
609
829
|
|
830
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
831
|
+
def not_Alastor_Mad_Eye_Moody(*args); end
|
832
|
+
|
833
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
834
|
+
def not_Filius_Flitwick(*args); end
|
835
|
+
|
836
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
837
|
+
def not_Gryffindor(*args); end
|
838
|
+
|
839
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
840
|
+
def not_Hagrid(*args); end
|
841
|
+
|
842
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
843
|
+
def not_Hufflepuff(*args); end
|
844
|
+
|
845
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
846
|
+
def not_Minerva_McGonagall(*args); end
|
847
|
+
|
848
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
849
|
+
def not_Pomona_Sprout(*args); end
|
850
|
+
|
851
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
852
|
+
def not_Ravenclaw(*args); end
|
853
|
+
|
854
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
855
|
+
def not_Severus_Snape(*args); end
|
856
|
+
|
857
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
858
|
+
def not_Slytherin(*args); end
|
859
|
+
|
860
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
861
|
+
def not_black_hair(*args); end
|
862
|
+
|
863
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
864
|
+
def not_blonde_hair(*args); end
|
865
|
+
|
866
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
867
|
+
def not_broom_firebolt(*args); end
|
868
|
+
|
869
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
870
|
+
def not_broom_nimbus(*args); end
|
871
|
+
|
872
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
873
|
+
def not_brown_hair(*args); end
|
874
|
+
|
875
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
876
|
+
def not_color_blue_eyes(*args); end
|
877
|
+
|
878
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
879
|
+
def not_color_brown_eyes(*args); end
|
880
|
+
|
881
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
882
|
+
def not_color_green_eyes(*args); end
|
883
|
+
|
884
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
885
|
+
def not_quidditch_beater(*args); end
|
886
|
+
|
887
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
888
|
+
def not_quidditch_chaser(*args); end
|
889
|
+
|
890
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
891
|
+
def not_quidditch_keeper(*args); end
|
892
|
+
|
893
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
894
|
+
def not_quidditch_seeker(*args); end
|
895
|
+
|
610
896
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
611
897
|
def quidditch_beater(*args); end
|
612
898
|
|
@@ -622,6 +908,12 @@ class Squib::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associati
|
|
622
908
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
623
909
|
def recent(*args); end
|
624
910
|
|
911
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
912
|
+
def with_attached_hats(*args); end
|
913
|
+
|
914
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
915
|
+
def with_attached_school_photo(*args); end
|
916
|
+
|
625
917
|
sig { params(records: T.any(Squib, T::Array[Squib])).returns(T.self_type) }
|
626
918
|
def <<(*records); end
|
627
919
|
|
@@ -645,6 +937,9 @@ module Squib::QueryMethodsReturningRelation
|
|
645
937
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
646
938
|
def select(*args); end
|
647
939
|
|
940
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
941
|
+
def reselect(*args); end
|
942
|
+
|
648
943
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
649
944
|
def order(*args); end
|
650
945
|
|
@@ -678,6 +973,9 @@ module Squib::QueryMethodsReturningRelation
|
|
678
973
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
679
974
|
def preload(*args); end
|
680
975
|
|
976
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
977
|
+
def extract_associated(*args); end
|
978
|
+
|
681
979
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
682
980
|
def eager_load(*args); end
|
683
981
|
|
@@ -714,12 +1012,18 @@ module Squib::QueryMethodsReturningRelation
|
|
714
1012
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
715
1013
|
def unscope(*args); end
|
716
1014
|
|
1015
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
1016
|
+
def optimizer_hints(*args); end
|
1017
|
+
|
717
1018
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
718
1019
|
def merge(*args); end
|
719
1020
|
|
720
1021
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
721
1022
|
def except(*args); end
|
722
1023
|
|
1024
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_Relation) }
|
1025
|
+
def only(*args); end
|
1026
|
+
|
723
1027
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_Relation) }
|
724
1028
|
def extending(*args, &block); end
|
725
1029
|
|
@@ -746,6 +1050,9 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
746
1050
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
747
1051
|
def select(*args); end
|
748
1052
|
|
1053
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
1054
|
+
def reselect(*args); end
|
1055
|
+
|
749
1056
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
750
1057
|
def order(*args); end
|
751
1058
|
|
@@ -779,6 +1086,9 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
779
1086
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
780
1087
|
def preload(*args); end
|
781
1088
|
|
1089
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
1090
|
+
def extract_associated(*args); end
|
1091
|
+
|
782
1092
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
783
1093
|
def eager_load(*args); end
|
784
1094
|
|
@@ -815,12 +1125,18 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
815
1125
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
816
1126
|
def unscope(*args); end
|
817
1127
|
|
1128
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
1129
|
+
def optimizer_hints(*args); end
|
1130
|
+
|
818
1131
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
819
1132
|
def merge(*args); end
|
820
1133
|
|
821
1134
|
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
822
1135
|
def except(*args); end
|
823
1136
|
|
1137
|
+
sig { params(args: T.untyped).returns(Squib::ActiveRecord_AssociationRelation) }
|
1138
|
+
def only(*args); end
|
1139
|
+
|
824
1140
|
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Squib::ActiveRecord_AssociationRelation) }
|
825
1141
|
def extending(*args, &block); end
|
826
1142
|
|
@@ -836,3 +1152,125 @@ module Squib::QueryMethodsReturningAssociationRelation
|
|
836
1152
|
end
|
837
1153
|
def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end
|
838
1154
|
end
|
1155
|
+
|
1156
|
+
module Squib::GeneratedAssociationMethods
|
1157
|
+
sig { returns(::ActiveStorage::Attachment::ActiveRecord_Associations_CollectionProxy) }
|
1158
|
+
def hats_attachments; end
|
1159
|
+
|
1160
|
+
sig { returns(T::Array[T.untyped]) }
|
1161
|
+
def hats_attachment_ids; end
|
1162
|
+
|
1163
|
+
sig { params(value: T::Enumerable[::ActiveStorage::Attachment]).void }
|
1164
|
+
def hats_attachments=(value); end
|
1165
|
+
|
1166
|
+
sig { returns(::ActiveStorage::Blob::ActiveRecord_Associations_CollectionProxy) }
|
1167
|
+
def hats_blobs; end
|
1168
|
+
|
1169
|
+
sig { returns(T::Array[T.untyped]) }
|
1170
|
+
def hats_blob_ids; end
|
1171
|
+
|
1172
|
+
sig { params(value: T::Enumerable[::ActiveStorage::Blob]).void }
|
1173
|
+
def hats_blobs=(value); end
|
1174
|
+
|
1175
|
+
sig { returns(T.nilable(::School)) }
|
1176
|
+
def school; end
|
1177
|
+
|
1178
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
1179
|
+
def build_school(*args, &block); end
|
1180
|
+
|
1181
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
1182
|
+
def create_school(*args, &block); end
|
1183
|
+
|
1184
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::School).void)).returns(::School) }
|
1185
|
+
def create_school!(*args, &block); end
|
1186
|
+
|
1187
|
+
sig { params(value: T.nilable(::School)).void }
|
1188
|
+
def school=(value); end
|
1189
|
+
|
1190
|
+
sig { returns(T.nilable(::School)) }
|
1191
|
+
def reload_school; end
|
1192
|
+
|
1193
|
+
sig { returns(T.nilable(::ActiveStorage::Attachment)) }
|
1194
|
+
def school_photo_attachment; end
|
1195
|
+
|
1196
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::ActiveStorage::Attachment).void)).returns(::ActiveStorage::Attachment) }
|
1197
|
+
def build_school_photo_attachment(*args, &block); end
|
1198
|
+
|
1199
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::ActiveStorage::Attachment).void)).returns(::ActiveStorage::Attachment) }
|
1200
|
+
def create_school_photo_attachment(*args, &block); end
|
1201
|
+
|
1202
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::ActiveStorage::Attachment).void)).returns(::ActiveStorage::Attachment) }
|
1203
|
+
def create_school_photo_attachment!(*args, &block); end
|
1204
|
+
|
1205
|
+
sig { params(value: T.nilable(::ActiveStorage::Attachment)).void }
|
1206
|
+
def school_photo_attachment=(value); end
|
1207
|
+
|
1208
|
+
sig { returns(T.nilable(::ActiveStorage::Attachment)) }
|
1209
|
+
def reload_school_photo_attachment; end
|
1210
|
+
|
1211
|
+
sig { returns(T.nilable(::ActiveStorage::Blob)) }
|
1212
|
+
def school_photo_blob; end
|
1213
|
+
|
1214
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::ActiveStorage::Blob).void)).returns(::ActiveStorage::Blob) }
|
1215
|
+
def build_school_photo_blob(*args, &block); end
|
1216
|
+
|
1217
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::ActiveStorage::Blob).void)).returns(::ActiveStorage::Blob) }
|
1218
|
+
def create_school_photo_blob(*args, &block); end
|
1219
|
+
|
1220
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::ActiveStorage::Blob).void)).returns(::ActiveStorage::Blob) }
|
1221
|
+
def create_school_photo_blob!(*args, &block); end
|
1222
|
+
|
1223
|
+
sig { params(value: T.nilable(::ActiveStorage::Blob)).void }
|
1224
|
+
def school_photo_blob=(value); end
|
1225
|
+
|
1226
|
+
sig { returns(T.nilable(::ActiveStorage::Blob)) }
|
1227
|
+
def reload_school_photo_blob; end
|
1228
|
+
|
1229
|
+
sig { returns(::SpellBook::ActiveRecord_Associations_CollectionProxy) }
|
1230
|
+
def spell_books; end
|
1231
|
+
|
1232
|
+
sig { returns(T::Array[Integer]) }
|
1233
|
+
def spell_book_ids; end
|
1234
|
+
|
1235
|
+
sig { params(value: T::Enumerable[::SpellBook]).void }
|
1236
|
+
def spell_books=(value); end
|
1237
|
+
|
1238
|
+
sig { returns(::Subject::ActiveRecord_Associations_CollectionProxy) }
|
1239
|
+
def subjects; end
|
1240
|
+
|
1241
|
+
sig { returns(T::Array[Integer]) }
|
1242
|
+
def subject_ids; end
|
1243
|
+
|
1244
|
+
sig { params(value: T::Enumerable[::Subject]).void }
|
1245
|
+
def subjects=(value); end
|
1246
|
+
|
1247
|
+
sig { returns(T.nilable(::Wand)) }
|
1248
|
+
def wand; end
|
1249
|
+
|
1250
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
1251
|
+
def build_wand(*args, &block); end
|
1252
|
+
|
1253
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
1254
|
+
def create_wand(*args, &block); end
|
1255
|
+
|
1256
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Wand).void)).returns(::Wand) }
|
1257
|
+
def create_wand!(*args, &block); end
|
1258
|
+
|
1259
|
+
sig { params(value: T.nilable(::Wand)).void }
|
1260
|
+
def wand=(value); end
|
1261
|
+
|
1262
|
+
sig { returns(T.nilable(::Wand)) }
|
1263
|
+
def reload_wand; end
|
1264
|
+
|
1265
|
+
sig { returns(T.nilable(ActiveStorage::Attached::One)) }
|
1266
|
+
def school_photo; end
|
1267
|
+
|
1268
|
+
sig { params(attachable: T.untyped).returns(T.untyped) }
|
1269
|
+
def school_photo=(attachable); end
|
1270
|
+
|
1271
|
+
sig { returns(T.nilable(ActiveStorage::Attached::Many)) }
|
1272
|
+
def hats; end
|
1273
|
+
|
1274
|
+
sig { params(attachables: T.untyped).returns(T.untyped) }
|
1275
|
+
def hats=(attachables); end
|
1276
|
+
end
|