sorbet-rails 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -2
- data/.travis.yml +7 -1
- data/CONTRIBUTING.md +3 -1
- data/Gemfile +11 -0
- data/README.md +0 -2
- data/{rbi → lib/sorbet-rails/rbi}/activerecord.rbi +118 -86
- data/lib/sorbet-rails/tasks/rails_rbi.rake +15 -6
- data/lib/sorbet-rails/utils.rb +11 -0
- data/sorbet-rails.gemspec +1 -1
- data/spec/bin/run_all_specs.sh +3 -2
- data/spec/bin/run_spec.sh +33 -26
- data/spec/model_rbi_formatter_spec.rb +0 -15
- data/spec/rails_helper.rb +12 -7
- data/spec/rake_rails_rbi_models_spec.rb +22 -5
- data/spec/rake_rails_rbi_routes_spec.rb +0 -1
- data/spec/sorbet_spec.rb +80 -0
- data/spec/support/rails_shared/config/routes.rb +1 -0
- data/spec/support/rails_shared/sorbet_test_cases.rb +120 -0
- data/spec/support/rails_symlinks/sorbet_test_cases.rb +1 -0
- data/spec/support/v4.2/Gemfile +13 -0
- data/spec/support/v4.2/Gemfile.lock +138 -0
- data/spec/support/v4.2/app/controllers/application_controller.rb +1 -0
- data/spec/support/v4.2/app/helpers/application_helper.rb +1 -0
- data/spec/support/v4.2/config/application.rb +1 -0
- data/spec/support/v4.2/config/boot.rb +1 -0
- data/spec/support/v4.2/config/environment.rb +1 -0
- data/spec/support/v4.2/config/environments/development.rb +1 -0
- data/spec/support/v4.2/config/environments/production.rb +1 -0
- data/spec/support/v4.2/config/environments/test.rb +1 -0
- data/spec/support/v4.2/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v4.2/config/initializers/cookies_serializer.rb +1 -0
- data/spec/support/v4.2/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v4.2/config/initializers/inflections.rb +1 -0
- data/spec/support/v4.2/config/initializers/mime_types.rb +1 -0
- data/spec/support/v4.2/config/initializers/session_store.rb +1 -0
- data/spec/support/v4.2/config/initializers/to_time_preserves_timezone.rb +1 -0
- data/spec/support/v4.2/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v4.2/config/routes.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190620001234_create_wizards.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190620003037_create_wands.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190620003739_create_spell_books.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb +1 -0
- data/spec/support/v4.2/db/schema.rb +1 -0
- data/spec/support/v4.2/db/seeds.rb +1 -0
- data/spec/support/v4.2/sorbet/config +2 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionmailer.rbi +267 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +2885 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +978 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activejob.rbi +19 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +335 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +3382 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +1892 -0
- data/spec/support/v4.2/sorbet/rbi/gems/arel.rbi +1109 -0
- data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +22 -0
- data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v4.2/sorbet/rbi/gems/concurrent-ruby.rbi +218 -0
- data/spec/support/v4.2/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +18 -0
- data/spec/support/v4.2/sorbet/rbi/gems/erubis.rbi +265 -0
- data/spec/support/v4.2/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v4.2/sorbet/rbi/gems/i18n.rbi +186 -0
- data/spec/support/v4.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v4.2/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +1091 -0
- data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v4.2/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v4.2/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rack-test.rbi +145 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rack.rbi +490 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-deprecated_sanitizer.rbi +13 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-dom-testing.rbi +76 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +623 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +1053 -0
- data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +73 -0
- data/spec/support/v4.2/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v4.2/sorbet/rbi/gems/sqlite3.rbi +345 -0
- data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +401 -0
- data/spec/support/v4.2/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v4.2/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v4.2/sorbet/rbi/gems/web-console.rbi +136 -0
- data/spec/support/v4.2/sorbet/rbi/hidden-definitions/errors.txt +11998 -0
- data/spec/support/v4.2/sorbet/rbi/hidden-definitions/hidden.rbi +27774 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v4.2/sorbet/rbi/todo.rbi +8 -0
- data/spec/support/v4.2/sorbet_test_cases.rb +1 -0
- data/spec/support/v4.2/test/test_helper.rb +1 -0
- data/spec/support/v5.0/Gemfile +13 -0
- data/spec/support/v5.0/Gemfile.lock +130 -0
- data/spec/support/v5.0/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v5.0/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v5.0/app/jobs/application_job.rb +1 -0
- data/spec/support/v5.0/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v5.0/config/application.rb +1 -0
- data/spec/support/v5.0/config/boot.rb +1 -0
- data/spec/support/v5.0/config/environment.rb +1 -0
- data/spec/support/v5.0/config/environments/development.rb +1 -0
- data/spec/support/v5.0/config/environments/production.rb +1 -0
- data/spec/support/v5.0/config/environments/test.rb +1 -0
- data/spec/support/v5.0/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v5.0/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v5.0/config/initializers/cors.rb +1 -0
- data/spec/support/v5.0/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v5.0/config/initializers/inflections.rb +1 -0
- data/spec/support/v5.0/config/initializers/mime_types.rb +1 -0
- data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +1 -0
- data/spec/support/v5.0/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v5.0/config/puma.rb +1 -0
- data/spec/support/v5.0/config/routes.rb +1 -0
- data/spec/support/v5.0/db/schema.rb +1 -0
- data/spec/support/v5.0/db/seeds.rb +1 -0
- data/spec/support/v5.0/rails_symlinks/config/routes.rb +1 -0
- data/spec/support/v5.0/sorbet/config +2 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +309 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +379 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +3150 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +1093 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +252 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +562 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +4060 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +2078 -0
- data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +1222 -0
- data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v5.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
- data/spec/support/v5.0/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v5.0/sorbet/rbi/gems/erubis.rbi +265 -0
- data/spec/support/v5.0/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v5.0/sorbet/rbi/gems/i18n.rbi +191 -0
- data/spec/support/v5.0/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +1091 -0
- data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +63 -0
- data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v5.0/sorbet/rbi/gems/puma.rbi +570 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rack-test.rbi +145 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +534 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +682 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +255 -0
- data/spec/support/v5.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v5.0/sorbet/rbi/gems/sqlite3.rbi +345 -0
- data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +401 -0
- data/spec/support/v5.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v5.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v5.0/sorbet/rbi/hidden-definitions/errors.txt +10523 -0
- data/spec/support/v5.0/sorbet/rbi/hidden-definitions/hidden.rbi +24969 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v5.0/sorbet/rbi/todo.rbi +10 -0
- data/spec/support/v5.0/sorbet_test_cases.rb +1 -0
- data/spec/support/v5.0/test/test_helper.rb +1 -0
- data/spec/support/v5.1/Gemfile +13 -0
- data/spec/support/v5.1/Gemfile.lock +15 -20
- data/spec/support/v5.1/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v5.1/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v5.1/app/jobs/application_job.rb +1 -0
- data/spec/support/v5.1/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v5.1/bin/rails +0 -5
- data/spec/support/v5.1/bin/rake +0 -5
- data/spec/support/v5.1/config/application.rb +1 -0
- data/spec/support/v5.1/config/boot.rb +1 -0
- data/spec/support/v5.1/config/environment.rb +1 -0
- data/spec/support/v5.1/config/environments/development.rb +2 -1
- data/spec/support/v5.1/config/environments/production.rb +1 -0
- data/spec/support/v5.1/config/environments/test.rb +1 -0
- data/spec/support/v5.1/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v5.1/config/initializers/cors.rb +1 -0
- data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v5.1/config/initializers/inflections.rb +1 -0
- data/spec/support/v5.1/config/initializers/mime_types.rb +1 -0
- data/spec/support/v5.1/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v5.1/config/puma.rb +1 -0
- data/spec/support/v5.1/config/spring.rb +1 -0
- data/spec/support/v5.1/db/schema.rb +1 -0
- data/spec/support/v5.1/db/seeds.rb +1 -0
- data/spec/support/v5.1/sorbet/config +2 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +309 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +429 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +3171 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +1115 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +273 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +547 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +4093 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +2180 -0
- data/spec/support/v5.1/sorbet/rbi/gems/arel.rbi +1220 -0
- data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v5.1/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
- data/spec/support/v5.1/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v5.1/sorbet/rbi/gems/erubi.rbi +26 -0
- data/spec/support/v5.1/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v5.1/sorbet/rbi/gems/i18n.rbi +191 -0
- data/spec/support/v5.1/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +1091 -0
- data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +63 -0
- data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v5.1/sorbet/rbi/gems/puma.rbi +570 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rack-test.rbi +161 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +534 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +707 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +255 -0
- data/spec/support/v5.1/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +345 -0
- data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +450 -0
- data/spec/support/v5.1/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v5.1/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v5.1/sorbet/rbi/hidden-definitions/errors.txt +10226 -0
- data/spec/support/v5.1/sorbet/rbi/hidden-definitions/hidden.rbi +24635 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v5.1/sorbet/rbi/todo.rbi +11 -0
- data/spec/support/v5.1/sorbet_test_cases.rb +1 -0
- data/spec/support/v5.1/test/test_helper.rb +1 -0
- data/spec/support/v5.2/Gemfile +12 -0
- data/spec/support/v5.2/Gemfile.lock +12 -0
- data/spec/support/v5.2/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v5.2/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v5.2/app/jobs/application_job.rb +1 -0
- data/spec/support/v5.2/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v5.2/bin/rails +0 -5
- data/spec/support/v5.2/bin/rake +0 -5
- data/spec/support/v5.2/config/application.rb +1 -0
- data/spec/support/v5.2/config/boot.rb +1 -0
- data/spec/support/v5.2/config/environment.rb +1 -0
- data/spec/support/v5.2/config/environments/development.rb +1 -0
- data/spec/support/v5.2/config/environments/production.rb +1 -0
- data/spec/support/v5.2/config/environments/test.rb +1 -0
- data/spec/support/v5.2/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v5.2/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v5.2/config/initializers/cors.rb +1 -0
- data/spec/support/v5.2/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v5.2/config/initializers/inflections.rb +1 -0
- data/spec/support/v5.2/config/initializers/mime_types.rb +1 -0
- data/spec/support/v5.2/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v5.2/config/puma.rb +1 -0
- data/spec/support/v5.2/config/spring.rb +1 -0
- data/spec/support/v5.2/db/schema.rb +1 -0
- data/spec/support/v5.2/db/seeds.rb +1 -0
- data/spec/support/v5.2/sorbet/rbi/gems/sorbet-runtime.rbi +644 -0
- data/spec/support/v5.2/sorbet/rbi/hidden-definitions/errors.txt +12 -6
- data/spec/support/v5.2/sorbet/rbi/hidden-definitions/hidden.rbi +57 -19
- data/spec/support/v5.2/sorbet_test_cases.rb +1 -0
- data/spec/support/v5.2/test/test_helper.rb +1 -0
- data/spec/support/v5.2-no-sorbet/Gemfile +57 -0
- data/spec/support/v5.2-no-sorbet/Gemfile.lock +140 -0
- data/spec/support/v5.2-no-sorbet/README.md +24 -0
- data/spec/support/v5.2-no-sorbet/Rakefile +6 -0
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +5 -0
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +5 -0
- data/spec/support/v5.2-no-sorbet/app/controllers +1 -0
- data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +3 -0
- data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +5 -0
- data/spec/support/v5.2-no-sorbet/app/models +1 -0
- data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.html.erb +13 -0
- data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.text.erb +1 -0
- data/spec/support/v5.2-no-sorbet/bin/bundle +3 -0
- data/spec/support/v5.2-no-sorbet/bin/rails +4 -0
- data/spec/support/v5.2-no-sorbet/bin/rake +4 -0
- data/spec/support/v5.2-no-sorbet/bin/setup +33 -0
- data/spec/support/v5.2-no-sorbet/bin/spring +17 -0
- data/spec/support/v5.2-no-sorbet/bin/update +28 -0
- data/spec/support/v5.2-no-sorbet/config/application.rb +36 -0
- data/spec/support/v5.2-no-sorbet/config/boot.rb +4 -0
- data/spec/support/v5.2-no-sorbet/config/cable.yml +10 -0
- data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +1 -0
- data/spec/support/v5.2-no-sorbet/config/database.yml +25 -0
- data/spec/support/v5.2-no-sorbet/config/environment.rb +6 -0
- data/spec/support/v5.2-no-sorbet/config/environments/development.rb +55 -0
- data/spec/support/v5.2-no-sorbet/config/environments/production.rb +86 -0
- data/spec/support/v5.2-no-sorbet/config/environments/test.rb +47 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +9 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +17 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +5 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +17 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +5 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +15 -0
- data/spec/support/v5.2-no-sorbet/config/locales/en.yml +33 -0
- data/spec/support/v5.2-no-sorbet/config/puma.rb +35 -0
- data/spec/support/v5.2-no-sorbet/config/routes.rb +1 -0
- data/spec/support/v5.2-no-sorbet/config/spring.rb +7 -0
- data/spec/support/v5.2-no-sorbet/config/storage.yml +34 -0
- data/spec/support/v5.2-no-sorbet/config.ru +5 -0
- data/spec/support/v5.2-no-sorbet/db/migrate +1 -0
- data/spec/support/v5.2-no-sorbet/db/schema.rb +48 -0
- data/spec/support/v5.2-no-sorbet/db/seeds.rb +8 -0
- data/spec/support/v5.2-no-sorbet/lib/tasks/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/log/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/public/robots.txt +1 -0
- data/spec/support/v5.2-no-sorbet/storage/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/controllers/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/fixtures/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/fixtures/files/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/integration/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/mailers/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/models/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/test_helper.rb +11 -0
- data/spec/support/v5.2-no-sorbet/tmp/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/vendor/.keep +0 -0
- data/spec/support/v6.0/Gemfile +12 -0
- data/spec/support/v6.0/Gemfile.lock +157 -0
- data/spec/support/v6.0/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v6.0/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v6.0/app/jobs/application_job.rb +1 -0
- data/spec/support/v6.0/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v6.0/config/application.rb +1 -0
- data/spec/support/v6.0/config/boot.rb +1 -0
- data/spec/support/v6.0/config/environment.rb +1 -0
- data/spec/support/v6.0/config/environments/development.rb +1 -0
- data/spec/support/v6.0/config/environments/production.rb +1 -0
- data/spec/support/v6.0/config/environments/test.rb +1 -0
- data/spec/support/v6.0/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v6.0/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v6.0/config/initializers/cors.rb +1 -0
- data/spec/support/v6.0/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v6.0/config/initializers/inflections.rb +1 -0
- data/spec/support/v6.0/config/initializers/mime_types.rb +1 -0
- data/spec/support/v6.0/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v6.0/config/puma.rb +1 -0
- data/spec/support/v6.0/config/routes.rb +1 -0
- data/spec/support/v6.0/db/schema.rb +1 -0
- data/spec/support/v6.0/db/seeds.rb +1 -0
- data/spec/support/v6.0/sorbet/config +2 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +245 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +56 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +69 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +2401 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +32 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +1033 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +362 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +750 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +5552 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +217 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +2430 -0
- data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v6.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
- data/spec/support/v6.0/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v6.0/sorbet/rbi/gems/erubi.rbi +26 -0
- data/spec/support/v6.0/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v6.0/sorbet/rbi/gems/i18n.rbi +191 -0
- data/spec/support/v6.0/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1542 -0
- data/spec/support/v6.0/sorbet/rbi/gems/marcel.rbi +12 -0
- data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +63 -0
- data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v6.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v6.0/sorbet/rbi/gems/puma.rbi +570 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rack-test.rbi +161 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +522 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +760 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +254 -0
- data/spec/support/v6.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v6.0/sorbet/rbi/gems/sqlite3.rbi +353 -0
- data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +450 -0
- data/spec/support/v6.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v6.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +119 -0
- data/spec/support/v6.0/sorbet/rbi/hidden-definitions/errors.txt +12074 -0
- data/spec/support/v6.0/sorbet/rbi/hidden-definitions/hidden.rbi +28231 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v6.0/sorbet/rbi/todo.rbi +11 -0
- data/spec/support/v6.0/sorbet_test_cases.rb +1 -0
- data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +1 -0
- data/spec/support/v6.0/test/test_helper.rb +1 -0
- data/spec/test_data/v4.2/expected_srb_tc_output.txt +178 -0
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +155 -0
- data/spec/test_data/v5.0/expected_schema_migration.rbi +128 -0
- data/spec/test_data/v5.0/expected_srb_tc_output.txt +178 -0
- data/spec/test_data/v5.1/expected_internal_metadata.rbi +161 -0
- data/spec/test_data/v5.1/expected_schema_migration.rbi +134 -0
- data/spec/test_data/v5.1/expected_srb_tc_output.txt +160 -0
- data/spec/test_data/v5.2/expected_attachment.rbi +137 -0
- data/spec/test_data/v5.2/expected_blob.rbi +149 -0
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +161 -0
- data/spec/test_data/v5.2/expected_schema_migration.rbi +134 -0
- data/spec/test_data/v5.2/expected_srb_tc_output.txt +160 -0
- data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +137 -0
- data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +149 -0
- data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +161 -0
- data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +11 -0
- data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +128 -0
- data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +43 -0
- data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +134 -0
- data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +161 -0
- data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +160 -0
- data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +311 -0
- data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +254 -0
- data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +254 -0
- data/spec/test_data/v6.0/expected_attachment.rbi +149 -0
- data/spec/test_data/v6.0/expected_blob.rbi +161 -0
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +173 -0
- data/spec/test_data/v6.0/expected_schema_migration.rbi +146 -0
- data/spec/test_data/v6.0/expected_srb_tc_output.txt +160 -0
- data/spec/utils_spec.rb +24 -0
- metadata +573 -2
@@ -0,0 +1,137 @@
|
|
1
|
+
# This is an autogenerated file for dynamic methods in ActiveStorage::Attachment
|
2
|
+
# Please rerun rake rails_rbi:models to regenerate.
|
3
|
+
# typed: strong
|
4
|
+
|
5
|
+
class ActiveStorage::Attachment::ActiveRecord_Relation < ActiveRecord::Relation
|
6
|
+
include ActiveStorage::Attachment::ModelRelationShared
|
7
|
+
extend T::Generic
|
8
|
+
Elem = type_member(fixed: ActiveStorage::Attachment)
|
9
|
+
end
|
10
|
+
|
11
|
+
class ActiveStorage::Attachment::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
12
|
+
include ActiveStorage::Attachment::ModelRelationShared
|
13
|
+
extend T::Generic
|
14
|
+
Elem = type_member(fixed: ActiveStorage::Attachment)
|
15
|
+
end
|
16
|
+
|
17
|
+
class ActiveStorage::Attachment < ActiveRecord::Base
|
18
|
+
extend T::Sig
|
19
|
+
extend T::Generic
|
20
|
+
extend ActiveStorage::Attachment::ModelRelationShared
|
21
|
+
include ActiveStorage::Attachment::InstanceMethods
|
22
|
+
Elem = type_template(fixed: ActiveStorage::Attachment)
|
23
|
+
end
|
24
|
+
|
25
|
+
module ActiveStorage::Attachment::InstanceMethods
|
26
|
+
extend T::Sig
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
class ActiveStorage::Attachment
|
31
|
+
extend T::Sig
|
32
|
+
|
33
|
+
sig { returns(T.nilable(::ActiveStorage::Blob)) }
|
34
|
+
def blob(); end
|
35
|
+
|
36
|
+
sig { params(value: T.nilable(::ActiveStorage::Blob)).void }
|
37
|
+
def blob=(value); end
|
38
|
+
|
39
|
+
sig { returns(T.nilable(T.untyped)) }
|
40
|
+
def record(); end
|
41
|
+
|
42
|
+
sig { params(value: T.nilable(T.untyped)).void }
|
43
|
+
def record=(value); end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
module ActiveStorage::Attachment::ModelRelationShared
|
48
|
+
extend T::Sig
|
49
|
+
|
50
|
+
sig { returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
51
|
+
def all(); end
|
52
|
+
|
53
|
+
sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
54
|
+
def unscoped(&block); end
|
55
|
+
|
56
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
57
|
+
def select(*args, &block); end
|
58
|
+
|
59
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
60
|
+
def order(*args, &block); end
|
61
|
+
|
62
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
63
|
+
def reorder(*args, &block); end
|
64
|
+
|
65
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
66
|
+
def group(*args, &block); end
|
67
|
+
|
68
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
69
|
+
def limit(*args, &block); end
|
70
|
+
|
71
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
72
|
+
def offset(*args, &block); end
|
73
|
+
|
74
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
75
|
+
def joins(*args, &block); end
|
76
|
+
|
77
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
78
|
+
def left_joins(*args, &block); end
|
79
|
+
|
80
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
81
|
+
def left_outer_joins(*args, &block); end
|
82
|
+
|
83
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
84
|
+
def where(*args, &block); end
|
85
|
+
|
86
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
87
|
+
def rewhere(*args, &block); end
|
88
|
+
|
89
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
90
|
+
def preload(*args, &block); end
|
91
|
+
|
92
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
93
|
+
def eager_load(*args, &block); end
|
94
|
+
|
95
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
96
|
+
def includes(*args, &block); end
|
97
|
+
|
98
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
99
|
+
def from(*args, &block); end
|
100
|
+
|
101
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
102
|
+
def lock(*args, &block); end
|
103
|
+
|
104
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
105
|
+
def readonly(*args, &block); end
|
106
|
+
|
107
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
108
|
+
def extending(*args, &block); end
|
109
|
+
|
110
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
111
|
+
def or(*args, &block); end
|
112
|
+
|
113
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
114
|
+
def having(*args, &block); end
|
115
|
+
|
116
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
117
|
+
def create_with(*args, &block); end
|
118
|
+
|
119
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
120
|
+
def distinct(*args, &block); end
|
121
|
+
|
122
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
123
|
+
def references(*args, &block); end
|
124
|
+
|
125
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
126
|
+
def none(*args, &block); end
|
127
|
+
|
128
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
129
|
+
def unscope(*args, &block); end
|
130
|
+
|
131
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
132
|
+
def merge(*args, &block); end
|
133
|
+
|
134
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Attachment::ActiveRecord_Relation) }
|
135
|
+
def except(*args, &block); end
|
136
|
+
|
137
|
+
end
|
@@ -0,0 +1,149 @@
|
|
1
|
+
# This is an autogenerated file for dynamic methods in ActiveStorage::Blob
|
2
|
+
# Please rerun rake rails_rbi:models to regenerate.
|
3
|
+
# typed: strong
|
4
|
+
|
5
|
+
class ActiveStorage::Blob::ActiveRecord_Relation < ActiveRecord::Relation
|
6
|
+
include ActiveStorage::Blob::ModelRelationShared
|
7
|
+
extend T::Generic
|
8
|
+
Elem = type_member(fixed: ActiveStorage::Blob)
|
9
|
+
end
|
10
|
+
|
11
|
+
class ActiveStorage::Blob::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
12
|
+
include ActiveStorage::Blob::ModelRelationShared
|
13
|
+
extend T::Generic
|
14
|
+
Elem = type_member(fixed: ActiveStorage::Blob)
|
15
|
+
end
|
16
|
+
|
17
|
+
class ActiveStorage::Blob < ActiveRecord::Base
|
18
|
+
extend T::Sig
|
19
|
+
extend T::Generic
|
20
|
+
extend ActiveStorage::Blob::ModelRelationShared
|
21
|
+
include ActiveStorage::Blob::InstanceMethods
|
22
|
+
Elem = type_template(fixed: ActiveStorage::Blob)
|
23
|
+
end
|
24
|
+
|
25
|
+
module ActiveStorage::Blob::InstanceMethods
|
26
|
+
extend T::Sig
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
class ActiveStorage::Blob
|
31
|
+
extend T::Sig
|
32
|
+
|
33
|
+
sig { returns(::ActiveStorage::Attachment::ActiveRecord_Associations_CollectionProxy) }
|
34
|
+
def attachments(); end
|
35
|
+
|
36
|
+
sig { params(value: T.any(T::Array[::ActiveStorage::Attachment], ::ActiveStorage::Attachment::ActiveRecord_Associations_CollectionProxy)).void }
|
37
|
+
def attachments=(value); end
|
38
|
+
|
39
|
+
sig { returns(T.nilable(::ActiveStorage::Attachment)) }
|
40
|
+
def preview_image_attachment(); end
|
41
|
+
|
42
|
+
sig { params(value: T.nilable(::ActiveStorage::Attachment)).void }
|
43
|
+
def preview_image_attachment=(value); end
|
44
|
+
|
45
|
+
sig { returns(T.nilable(::ActiveStorage::Blob)) }
|
46
|
+
def preview_image_blob(); end
|
47
|
+
|
48
|
+
sig { params(value: T.nilable(::ActiveStorage::Blob)).void }
|
49
|
+
def preview_image_blob=(value); end
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
module ActiveStorage::Blob::ModelRelationShared
|
54
|
+
extend T::Sig
|
55
|
+
|
56
|
+
sig { returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
57
|
+
def all(); end
|
58
|
+
|
59
|
+
sig { params(block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
60
|
+
def unscoped(&block); end
|
61
|
+
|
62
|
+
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
63
|
+
def unattached(*args); end
|
64
|
+
|
65
|
+
sig { params(args: T.untyped).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
66
|
+
def with_attached_preview_image(*args); end
|
67
|
+
|
68
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
69
|
+
def select(*args, &block); end
|
70
|
+
|
71
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
72
|
+
def order(*args, &block); end
|
73
|
+
|
74
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
75
|
+
def reorder(*args, &block); end
|
76
|
+
|
77
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
78
|
+
def group(*args, &block); end
|
79
|
+
|
80
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
81
|
+
def limit(*args, &block); end
|
82
|
+
|
83
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
84
|
+
def offset(*args, &block); end
|
85
|
+
|
86
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
87
|
+
def joins(*args, &block); end
|
88
|
+
|
89
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
90
|
+
def left_joins(*args, &block); end
|
91
|
+
|
92
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
93
|
+
def left_outer_joins(*args, &block); end
|
94
|
+
|
95
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
96
|
+
def where(*args, &block); end
|
97
|
+
|
98
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
99
|
+
def rewhere(*args, &block); end
|
100
|
+
|
101
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
102
|
+
def preload(*args, &block); end
|
103
|
+
|
104
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
105
|
+
def eager_load(*args, &block); end
|
106
|
+
|
107
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
108
|
+
def includes(*args, &block); end
|
109
|
+
|
110
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
111
|
+
def from(*args, &block); end
|
112
|
+
|
113
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
114
|
+
def lock(*args, &block); end
|
115
|
+
|
116
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
117
|
+
def readonly(*args, &block); end
|
118
|
+
|
119
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
120
|
+
def extending(*args, &block); end
|
121
|
+
|
122
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
123
|
+
def or(*args, &block); end
|
124
|
+
|
125
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
126
|
+
def having(*args, &block); end
|
127
|
+
|
128
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
129
|
+
def create_with(*args, &block); end
|
130
|
+
|
131
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
132
|
+
def distinct(*args, &block); end
|
133
|
+
|
134
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
135
|
+
def references(*args, &block); end
|
136
|
+
|
137
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
138
|
+
def none(*args, &block); end
|
139
|
+
|
140
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
141
|
+
def unscope(*args, &block); end
|
142
|
+
|
143
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
144
|
+
def merge(*args, &block); end
|
145
|
+
|
146
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveStorage::Blob::ActiveRecord_Relation) }
|
147
|
+
def except(*args, &block); end
|
148
|
+
|
149
|
+
end
|
@@ -0,0 +1,161 @@
|
|
1
|
+
# This is an autogenerated file for dynamic methods in ActiveRecord::InternalMetadata
|
2
|
+
# Please rerun rake rails_rbi:models to regenerate.
|
3
|
+
# typed: strong
|
4
|
+
|
5
|
+
class ActiveRecord::InternalMetadata::ActiveRecord_Relation < ActiveRecord::Relation
|
6
|
+
include ActiveRecord::InternalMetadata::ModelRelationShared
|
7
|
+
extend T::Generic
|
8
|
+
Elem = type_member(fixed: ActiveRecord::InternalMetadata)
|
9
|
+
end
|
10
|
+
|
11
|
+
class ActiveRecord::InternalMetadata::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
12
|
+
include ActiveRecord::InternalMetadata::ModelRelationShared
|
13
|
+
extend T::Generic
|
14
|
+
Elem = type_member(fixed: ActiveRecord::InternalMetadata)
|
15
|
+
end
|
16
|
+
|
17
|
+
class ActiveRecord::InternalMetadata < ActiveRecord::Base
|
18
|
+
extend T::Sig
|
19
|
+
extend T::Generic
|
20
|
+
extend ActiveRecord::InternalMetadata::ModelRelationShared
|
21
|
+
include ActiveRecord::InternalMetadata::InstanceMethods
|
22
|
+
Elem = type_template(fixed: ActiveRecord::InternalMetadata)
|
23
|
+
end
|
24
|
+
|
25
|
+
module ActiveRecord::InternalMetadata::InstanceMethods
|
26
|
+
extend T::Sig
|
27
|
+
|
28
|
+
sig { returns(DateTime) }
|
29
|
+
def created_at(); end
|
30
|
+
|
31
|
+
sig { params(value: DateTime).void }
|
32
|
+
def created_at=(value); end
|
33
|
+
|
34
|
+
sig { params(args: T.untyped).returns(T::Boolean) }
|
35
|
+
def created_at?(*args); end
|
36
|
+
|
37
|
+
sig { returns(String) }
|
38
|
+
def key(); end
|
39
|
+
|
40
|
+
sig { params(value: String).void }
|
41
|
+
def key=(value); end
|
42
|
+
|
43
|
+
sig { params(args: T.untyped).returns(T::Boolean) }
|
44
|
+
def key?(*args); end
|
45
|
+
|
46
|
+
sig { returns(DateTime) }
|
47
|
+
def updated_at(); end
|
48
|
+
|
49
|
+
sig { params(value: DateTime).void }
|
50
|
+
def updated_at=(value); end
|
51
|
+
|
52
|
+
sig { params(args: T.untyped).returns(T::Boolean) }
|
53
|
+
def updated_at?(*args); end
|
54
|
+
|
55
|
+
sig { returns(T.nilable(String)) }
|
56
|
+
def value(); end
|
57
|
+
|
58
|
+
sig { params(value: T.nilable(String)).void }
|
59
|
+
def value=(value); end
|
60
|
+
|
61
|
+
sig { params(args: T.untyped).returns(T::Boolean) }
|
62
|
+
def value?(*args); end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
class ActiveRecord::InternalMetadata
|
67
|
+
extend T::Sig
|
68
|
+
|
69
|
+
end
|
70
|
+
|
71
|
+
module ActiveRecord::InternalMetadata::ModelRelationShared
|
72
|
+
extend T::Sig
|
73
|
+
|
74
|
+
sig { returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
75
|
+
def all(); end
|
76
|
+
|
77
|
+
sig { params(block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
78
|
+
def unscoped(&block); end
|
79
|
+
|
80
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
81
|
+
def select(*args, &block); end
|
82
|
+
|
83
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
84
|
+
def order(*args, &block); end
|
85
|
+
|
86
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
87
|
+
def reorder(*args, &block); end
|
88
|
+
|
89
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
90
|
+
def group(*args, &block); end
|
91
|
+
|
92
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
93
|
+
def limit(*args, &block); end
|
94
|
+
|
95
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
96
|
+
def offset(*args, &block); end
|
97
|
+
|
98
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
99
|
+
def joins(*args, &block); end
|
100
|
+
|
101
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
102
|
+
def left_joins(*args, &block); end
|
103
|
+
|
104
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
105
|
+
def left_outer_joins(*args, &block); end
|
106
|
+
|
107
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
108
|
+
def where(*args, &block); end
|
109
|
+
|
110
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
111
|
+
def rewhere(*args, &block); end
|
112
|
+
|
113
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
114
|
+
def preload(*args, &block); end
|
115
|
+
|
116
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
117
|
+
def eager_load(*args, &block); end
|
118
|
+
|
119
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
120
|
+
def includes(*args, &block); end
|
121
|
+
|
122
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
123
|
+
def from(*args, &block); end
|
124
|
+
|
125
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
126
|
+
def lock(*args, &block); end
|
127
|
+
|
128
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
129
|
+
def readonly(*args, &block); end
|
130
|
+
|
131
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
132
|
+
def extending(*args, &block); end
|
133
|
+
|
134
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
135
|
+
def or(*args, &block); end
|
136
|
+
|
137
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
138
|
+
def having(*args, &block); end
|
139
|
+
|
140
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
141
|
+
def create_with(*args, &block); end
|
142
|
+
|
143
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
144
|
+
def distinct(*args, &block); end
|
145
|
+
|
146
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
147
|
+
def references(*args, &block); end
|
148
|
+
|
149
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
150
|
+
def none(*args, &block); end
|
151
|
+
|
152
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
153
|
+
def unscope(*args, &block); end
|
154
|
+
|
155
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
156
|
+
def merge(*args, &block); end
|
157
|
+
|
158
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(ActiveRecord::InternalMetadata::ActiveRecord_Relation) }
|
159
|
+
def except(*args, &block); end
|
160
|
+
|
161
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# This is an autogenerated file for routes helper methods
|
2
|
+
|
3
|
+
# typed: strong
|
4
|
+
class ActionController::Base
|
5
|
+
extend T::Sig
|
6
|
+
|
7
|
+
# You do not have any routes defined!
|
8
|
+
# Please add some routes in config/routes.rb.
|
9
|
+
# For more information about routes, see the Rails guide: https://guides.rubyonrails.org/routing.html.
|
10
|
+
|
11
|
+
end
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# This is an autogenerated file for dynamic methods in Potion
|
2
|
+
# Please rerun rake rails_rbi:models to regenerate.
|
3
|
+
# typed: strong
|
4
|
+
|
5
|
+
class Potion::ActiveRecord_Relation < ActiveRecord::Relation
|
6
|
+
include Potion::ModelRelationShared
|
7
|
+
extend T::Generic
|
8
|
+
Elem = type_member(fixed: Potion)
|
9
|
+
end
|
10
|
+
|
11
|
+
class Potion::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy
|
12
|
+
include Potion::ModelRelationShared
|
13
|
+
extend T::Generic
|
14
|
+
Elem = type_member(fixed: Potion)
|
15
|
+
end
|
16
|
+
|
17
|
+
class Potion < ApplicationRecord
|
18
|
+
extend T::Sig
|
19
|
+
extend T::Generic
|
20
|
+
extend Potion::ModelRelationShared
|
21
|
+
include Potion::InstanceMethods
|
22
|
+
Elem = type_template(fixed: Potion)
|
23
|
+
end
|
24
|
+
|
25
|
+
module Potion::InstanceMethods
|
26
|
+
extend T::Sig
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
class Potion
|
31
|
+
extend T::Sig
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
module Potion::ModelRelationShared
|
36
|
+
extend T::Sig
|
37
|
+
|
38
|
+
sig { returns(Potion::ActiveRecord_Relation) }
|
39
|
+
def all(); end
|
40
|
+
|
41
|
+
sig { params(block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
42
|
+
def unscoped(&block); end
|
43
|
+
|
44
|
+
sig { params(args: T.untyped).returns(Potion::ActiveRecord_Relation) }
|
45
|
+
def recent(*args); end
|
46
|
+
|
47
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
48
|
+
def select(*args, &block); end
|
49
|
+
|
50
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
51
|
+
def order(*args, &block); end
|
52
|
+
|
53
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
54
|
+
def reorder(*args, &block); end
|
55
|
+
|
56
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
57
|
+
def group(*args, &block); end
|
58
|
+
|
59
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
60
|
+
def limit(*args, &block); end
|
61
|
+
|
62
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
63
|
+
def offset(*args, &block); end
|
64
|
+
|
65
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
66
|
+
def joins(*args, &block); end
|
67
|
+
|
68
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
69
|
+
def left_joins(*args, &block); end
|
70
|
+
|
71
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
72
|
+
def left_outer_joins(*args, &block); end
|
73
|
+
|
74
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
75
|
+
def where(*args, &block); end
|
76
|
+
|
77
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
78
|
+
def rewhere(*args, &block); end
|
79
|
+
|
80
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
81
|
+
def preload(*args, &block); end
|
82
|
+
|
83
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
84
|
+
def eager_load(*args, &block); end
|
85
|
+
|
86
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
87
|
+
def includes(*args, &block); end
|
88
|
+
|
89
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
90
|
+
def from(*args, &block); end
|
91
|
+
|
92
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
93
|
+
def lock(*args, &block); end
|
94
|
+
|
95
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
96
|
+
def readonly(*args, &block); end
|
97
|
+
|
98
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
99
|
+
def extending(*args, &block); end
|
100
|
+
|
101
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
102
|
+
def or(*args, &block); end
|
103
|
+
|
104
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
105
|
+
def having(*args, &block); end
|
106
|
+
|
107
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
108
|
+
def create_with(*args, &block); end
|
109
|
+
|
110
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
111
|
+
def distinct(*args, &block); end
|
112
|
+
|
113
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
114
|
+
def references(*args, &block); end
|
115
|
+
|
116
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
117
|
+
def none(*args, &block); end
|
118
|
+
|
119
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
120
|
+
def unscope(*args, &block); end
|
121
|
+
|
122
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
123
|
+
def merge(*args, &block); end
|
124
|
+
|
125
|
+
sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(Potion::ActiveRecord_Relation) }
|
126
|
+
def except(*args, &block); end
|
127
|
+
|
128
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# This is an autogenerated file for routes helper methods
|
2
|
+
|
3
|
+
# typed: strong
|
4
|
+
class ActionController::Base
|
5
|
+
extend T::Sig
|
6
|
+
|
7
|
+
# Sigs for route /test/index(.:format)
|
8
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
9
|
+
def test_index_path(*args, **kwargs); end
|
10
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
11
|
+
def test_index_url(*args, **kwargs); end
|
12
|
+
|
13
|
+
# Sigs for route /rails/active_storage/blobs/:signed_id/*filename(.:format)
|
14
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
15
|
+
def rails_service_blob_path(*args, **kwargs); end
|
16
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
17
|
+
def rails_service_blob_url(*args, **kwargs); end
|
18
|
+
|
19
|
+
# Sigs for route /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format)
|
20
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
21
|
+
def rails_blob_representation_path(*args, **kwargs); end
|
22
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
23
|
+
def rails_blob_representation_url(*args, **kwargs); end
|
24
|
+
|
25
|
+
# Sigs for route /rails/active_storage/disk/:encoded_key/*filename(.:format)
|
26
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
27
|
+
def rails_disk_service_path(*args, **kwargs); end
|
28
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
29
|
+
def rails_disk_service_url(*args, **kwargs); end
|
30
|
+
|
31
|
+
# Sigs for route /rails/active_storage/disk/:encoded_token(.:format)
|
32
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
33
|
+
def update_rails_disk_service_path(*args, **kwargs); end
|
34
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
35
|
+
def update_rails_disk_service_url(*args, **kwargs); end
|
36
|
+
|
37
|
+
# Sigs for route /rails/active_storage/direct_uploads(.:format)
|
38
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
39
|
+
def rails_direct_uploads_path(*args, **kwargs); end
|
40
|
+
sig { params(args: T.untyped, kwargs: T.untyped).returns(String) }
|
41
|
+
def rails_direct_uploads_url(*args, **kwargs); end
|
42
|
+
|
43
|
+
end
|