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,707 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/railties/all/railties.rbi
|
9
|
+
#
|
10
|
+
# railties-5.1.7
|
11
|
+
module Rails
|
12
|
+
def self.app_class; end
|
13
|
+
def self.app_class=(arg0); end
|
14
|
+
def self.application; end
|
15
|
+
def self.application=(arg0); end
|
16
|
+
def self.backtrace_cleaner; end
|
17
|
+
def self.cache; end
|
18
|
+
def self.cache=(arg0); end
|
19
|
+
def self.configuration; end
|
20
|
+
def self.env; end
|
21
|
+
def self.env=(environment); end
|
22
|
+
def self.gem_version; end
|
23
|
+
def self.groups(*groups); end
|
24
|
+
def self.initialize!(*args, &block); end
|
25
|
+
def self.initialized?(*args, &block); end
|
26
|
+
def self.logger; end
|
27
|
+
def self.logger=(arg0); end
|
28
|
+
def self.public_path; end
|
29
|
+
def self.root; end
|
30
|
+
def self.version; end
|
31
|
+
extend ActiveSupport::Autoload
|
32
|
+
end
|
33
|
+
module Rails::Initializable
|
34
|
+
def initializers; end
|
35
|
+
def run_initializers(group = nil, *args); end
|
36
|
+
def self.included(base); end
|
37
|
+
end
|
38
|
+
class Rails::Initializable::Initializer
|
39
|
+
def after; end
|
40
|
+
def before; end
|
41
|
+
def belongs_to?(group); end
|
42
|
+
def bind(context); end
|
43
|
+
def block; end
|
44
|
+
def context_class; end
|
45
|
+
def initialize(name, context, options, &block); end
|
46
|
+
def name; end
|
47
|
+
def run(*args); end
|
48
|
+
end
|
49
|
+
class Rails::Initializable::Collection < Array
|
50
|
+
def +(other); end
|
51
|
+
def tsort_each_child(initializer, &block); end
|
52
|
+
def tsort_each_node; end
|
53
|
+
include TSort
|
54
|
+
end
|
55
|
+
module Rails::Initializable::ClassMethods
|
56
|
+
def initializer(name, opts = nil, &blk); end
|
57
|
+
def initializers; end
|
58
|
+
def initializers_chain; end
|
59
|
+
def initializers_for(binding); end
|
60
|
+
end
|
61
|
+
class Rails::Railtie
|
62
|
+
def config; end
|
63
|
+
def configure(&block); end
|
64
|
+
def each_registered_block(type, &block); end
|
65
|
+
def initialize; end
|
66
|
+
def railtie_name(*args, &block); end
|
67
|
+
def railtie_namespace; end
|
68
|
+
def run_console_blocks(app); end
|
69
|
+
def run_generators_blocks(app); end
|
70
|
+
def run_runner_blocks(app); end
|
71
|
+
def run_tasks_blocks(app); end
|
72
|
+
def self.abstract_railtie?; end
|
73
|
+
def self.config(*args, &block); end
|
74
|
+
def self.configure(&block); end
|
75
|
+
def self.console(&blk); end
|
76
|
+
def self.generate_railtie_name(string); end
|
77
|
+
def self.generators(&blk); end
|
78
|
+
def self.inherited(base); end
|
79
|
+
def self.instance; end
|
80
|
+
def self.method_missing(name, *args, &block); end
|
81
|
+
def self.new(*arg0); end
|
82
|
+
def self.railtie_name(name = nil); end
|
83
|
+
def self.rake_tasks(&blk); end
|
84
|
+
def self.register_block_for(type, &blk); end
|
85
|
+
def self.respond_to_missing?(*args); end
|
86
|
+
def self.runner(&blk); end
|
87
|
+
def self.subclasses; end
|
88
|
+
extend Rails::Initializable::ClassMethods
|
89
|
+
include Rails::Initializable
|
90
|
+
end
|
91
|
+
class Rails::Engine < Rails::Railtie
|
92
|
+
def _all_autoload_once_paths; end
|
93
|
+
def _all_autoload_paths; end
|
94
|
+
def _all_load_paths; end
|
95
|
+
def app; end
|
96
|
+
def build_middleware; end
|
97
|
+
def build_request(env); end
|
98
|
+
def call(env); end
|
99
|
+
def config; end
|
100
|
+
def default_middleware_stack; end
|
101
|
+
def eager_load!; end
|
102
|
+
def endpoint; end
|
103
|
+
def engine_name(*args, &block); end
|
104
|
+
def env_config; end
|
105
|
+
def has_migrations?; end
|
106
|
+
def helpers; end
|
107
|
+
def helpers_paths; end
|
108
|
+
def initialize; end
|
109
|
+
def isolated?(*args, &block); end
|
110
|
+
def load_config_initializer(initializer); end
|
111
|
+
def load_console(app = nil); end
|
112
|
+
def load_generators(app = nil); end
|
113
|
+
def load_runner(app = nil); end
|
114
|
+
def load_seed; end
|
115
|
+
def load_tasks(app = nil); end
|
116
|
+
def middleware(*args, &block); end
|
117
|
+
def paths(*args, &block); end
|
118
|
+
def railties; end
|
119
|
+
def root(*args, &block); end
|
120
|
+
def routes; end
|
121
|
+
def routes?; end
|
122
|
+
def run_tasks_blocks(*arg0); end
|
123
|
+
def self.called_from; end
|
124
|
+
def self.called_from=(arg0); end
|
125
|
+
def self.eager_load!(*args, &block); end
|
126
|
+
def self.endpoint(endpoint = nil); end
|
127
|
+
def self.engine_name(name = nil); end
|
128
|
+
def self.find(path); end
|
129
|
+
def self.find_root(from); end
|
130
|
+
def self.find_root_with_flag(flag, root_path, default = nil); end
|
131
|
+
def self.inherited(base); end
|
132
|
+
def self.isolate_namespace(mod); end
|
133
|
+
def self.isolated; end
|
134
|
+
def self.isolated=(arg0); end
|
135
|
+
def self.isolated?; end
|
136
|
+
end
|
137
|
+
class Rails::Engine::Railties
|
138
|
+
def -(others); end
|
139
|
+
def _all; end
|
140
|
+
def each(*args, &block); end
|
141
|
+
def initialize; end
|
142
|
+
include Enumerable
|
143
|
+
end
|
144
|
+
class Rails::Secrets
|
145
|
+
def self.decrypt(data); end
|
146
|
+
def self.encrypt(data); end
|
147
|
+
def self.encryptor; end
|
148
|
+
def self.generate_key; end
|
149
|
+
def self.handle_missing_key; end
|
150
|
+
def self.key; end
|
151
|
+
def self.key_path; end
|
152
|
+
def self.parse(paths, env:); end
|
153
|
+
def self.path; end
|
154
|
+
def self.preprocess(path); end
|
155
|
+
def self.read; end
|
156
|
+
def self.read_for_editing(&block); end
|
157
|
+
def self.read_key_file; end
|
158
|
+
def self.read_template_for_editing(&block); end
|
159
|
+
def self.root=(arg0); end
|
160
|
+
def self.template; end
|
161
|
+
def self.write(contents); end
|
162
|
+
def self.writing(contents); end
|
163
|
+
end
|
164
|
+
class Rails::Secrets::MissingKeyError < RuntimeError
|
165
|
+
def initialize; end
|
166
|
+
end
|
167
|
+
class Rails::Application < Rails::Engine
|
168
|
+
def assets; end
|
169
|
+
def assets=(arg0); end
|
170
|
+
def build_middleware; end
|
171
|
+
def build_middleware_stack; end
|
172
|
+
def build_request(env); end
|
173
|
+
def config; end
|
174
|
+
def config=(configuration); end
|
175
|
+
def config_for(name, env: nil); end
|
176
|
+
def console(&blk); end
|
177
|
+
def default_middleware_stack; end
|
178
|
+
def default_url_options(*args, &block); end
|
179
|
+
def default_url_options=(arg); end
|
180
|
+
def env_config; end
|
181
|
+
def executor; end
|
182
|
+
def generators(&blk); end
|
183
|
+
def helpers_paths; end
|
184
|
+
def initialize!(group = nil); end
|
185
|
+
def initialize(initial_variable_values = nil, &block); end
|
186
|
+
def initialized?; end
|
187
|
+
def initializer(name, opts = nil, &block); end
|
188
|
+
def initializers; end
|
189
|
+
def isolate_namespace(mod); end
|
190
|
+
def key_generator; end
|
191
|
+
def message_verifier(verifier_name); end
|
192
|
+
def migration_railties; end
|
193
|
+
def ordered_railties; end
|
194
|
+
def railties_initializers(current); end
|
195
|
+
def rake_tasks(&block); end
|
196
|
+
def reload_routes!; end
|
197
|
+
def reloader; end
|
198
|
+
def reloaders; end
|
199
|
+
def require_environment!; end
|
200
|
+
def routes_reloader; end
|
201
|
+
def run_console_blocks(app); end
|
202
|
+
def run_generators_blocks(app); end
|
203
|
+
def run_load_hooks!; end
|
204
|
+
def run_runner_blocks(app); end
|
205
|
+
def run_tasks_blocks(app); end
|
206
|
+
def runner(&blk); end
|
207
|
+
def sandbox; end
|
208
|
+
def sandbox=(arg0); end
|
209
|
+
def sandbox?; end
|
210
|
+
def secrets; end
|
211
|
+
def secrets=(secrets); end
|
212
|
+
def self.add_lib_to_load_path!(root); end
|
213
|
+
def self.create(initial_variable_values = nil, &block); end
|
214
|
+
def self.find_root(from); end
|
215
|
+
def self.inherited(base); end
|
216
|
+
def self.instance; end
|
217
|
+
def self.new(*arg0); end
|
218
|
+
def to_app; end
|
219
|
+
def validate_secret_key_config!; end
|
220
|
+
def watchable_args; end
|
221
|
+
end
|
222
|
+
module Rails::VERSION
|
223
|
+
end
|
224
|
+
module Rails::Paths
|
225
|
+
end
|
226
|
+
class Rails::Paths::Root
|
227
|
+
def [](path); end
|
228
|
+
def []=(path, value); end
|
229
|
+
def add(path, options = nil); end
|
230
|
+
def all_paths; end
|
231
|
+
def autoload_once; end
|
232
|
+
def autoload_paths; end
|
233
|
+
def eager_load; end
|
234
|
+
def filter_by(&block); end
|
235
|
+
def initialize(path); end
|
236
|
+
def keys; end
|
237
|
+
def load_paths; end
|
238
|
+
def path; end
|
239
|
+
def path=(arg0); end
|
240
|
+
def values; end
|
241
|
+
def values_at(*list); end
|
242
|
+
end
|
243
|
+
class Rails::Paths::Path
|
244
|
+
def <<(path); end
|
245
|
+
def absolute_current; end
|
246
|
+
def autoload!; end
|
247
|
+
def autoload?; end
|
248
|
+
def autoload_once!; end
|
249
|
+
def autoload_once?; end
|
250
|
+
def children; end
|
251
|
+
def concat(paths); end
|
252
|
+
def each(&block); end
|
253
|
+
def eager_load!; end
|
254
|
+
def eager_load?; end
|
255
|
+
def existent; end
|
256
|
+
def existent_directories; end
|
257
|
+
def expanded; end
|
258
|
+
def extensions; end
|
259
|
+
def first; end
|
260
|
+
def glob; end
|
261
|
+
def glob=(arg0); end
|
262
|
+
def initialize(root, current, paths, options = nil); end
|
263
|
+
def last; end
|
264
|
+
def load_path!; end
|
265
|
+
def load_path?; end
|
266
|
+
def push(path); end
|
267
|
+
def skip_autoload!; end
|
268
|
+
def skip_autoload_once!; end
|
269
|
+
def skip_eager_load!; end
|
270
|
+
def skip_load_path!; end
|
271
|
+
def to_a; end
|
272
|
+
def to_ary; end
|
273
|
+
def unshift(*paths); end
|
274
|
+
include Enumerable
|
275
|
+
end
|
276
|
+
module Rails::Rack
|
277
|
+
end
|
278
|
+
module Rails::Configuration
|
279
|
+
end
|
280
|
+
class Rails::Configuration::MiddlewareStackProxy
|
281
|
+
def +(other); end
|
282
|
+
def delete(*args, &block); end
|
283
|
+
def delete_operations; end
|
284
|
+
def initialize(operations = nil, delete_operations = nil); end
|
285
|
+
def insert(*args, &block); end
|
286
|
+
def insert_after(*args, &block); end
|
287
|
+
def insert_before(*args, &block); end
|
288
|
+
def merge_into(other); end
|
289
|
+
def operations; end
|
290
|
+
def swap(*args, &block); end
|
291
|
+
def unshift(*args, &block); end
|
292
|
+
def use(*args, &block); end
|
293
|
+
end
|
294
|
+
class Rails::Configuration::Generators
|
295
|
+
def aliases; end
|
296
|
+
def aliases=(arg0); end
|
297
|
+
def api_only; end
|
298
|
+
def api_only=(arg0); end
|
299
|
+
def colorize_logging; end
|
300
|
+
def colorize_logging=(arg0); end
|
301
|
+
def fallbacks; end
|
302
|
+
def fallbacks=(arg0); end
|
303
|
+
def hidden_namespaces; end
|
304
|
+
def hide_namespace(namespace); end
|
305
|
+
def initialize; end
|
306
|
+
def initialize_copy(source); end
|
307
|
+
def method_missing(method, *args); end
|
308
|
+
def options; end
|
309
|
+
def options=(arg0); end
|
310
|
+
def templates; end
|
311
|
+
def templates=(arg0); end
|
312
|
+
end
|
313
|
+
class Rails::Railtie::Configuration
|
314
|
+
def after_initialize(&block); end
|
315
|
+
def app_generators; end
|
316
|
+
def app_middleware; end
|
317
|
+
def before_configuration(&block); end
|
318
|
+
def before_eager_load(&block); end
|
319
|
+
def before_initialize(&block); end
|
320
|
+
def eager_load_namespaces; end
|
321
|
+
def initialize; end
|
322
|
+
def method_missing(name, *args, &blk); end
|
323
|
+
def respond_to?(name, include_private = nil); end
|
324
|
+
def self.eager_load_namespaces; end
|
325
|
+
def to_prepare(&blk); end
|
326
|
+
def to_prepare_blocks; end
|
327
|
+
def watchable_dirs; end
|
328
|
+
def watchable_files; end
|
329
|
+
end
|
330
|
+
class Rails::Engine::Configuration < Rails::Railtie::Configuration
|
331
|
+
def autoload_once_paths; end
|
332
|
+
def autoload_once_paths=(arg0); end
|
333
|
+
def autoload_paths; end
|
334
|
+
def autoload_paths=(arg0); end
|
335
|
+
def eager_load_paths; end
|
336
|
+
def eager_load_paths=(arg0); end
|
337
|
+
def generators; end
|
338
|
+
def initialize(root = nil); end
|
339
|
+
def middleware; end
|
340
|
+
def middleware=(arg0); end
|
341
|
+
def paths; end
|
342
|
+
def root; end
|
343
|
+
def root=(value); end
|
344
|
+
end
|
345
|
+
module Rails::TestUnit
|
346
|
+
end
|
347
|
+
class Rails::TestUnit::Runner
|
348
|
+
def filters; end
|
349
|
+
def self.compose_filter(runnable, filter); end
|
350
|
+
def self.extract_filters(argv); end
|
351
|
+
def self.filters; end
|
352
|
+
def self.load_tests(argv); end
|
353
|
+
def self.options(opts); end
|
354
|
+
def self.parse_options(argv); end
|
355
|
+
def self.rake_run(argv = nil); end
|
356
|
+
def self.run(argv = nil); end
|
357
|
+
end
|
358
|
+
class Rails::TestUnit::CompositeFilter
|
359
|
+
def ===(method); end
|
360
|
+
def derive_line_filters(patterns); end
|
361
|
+
def derive_named_filter(filter); end
|
362
|
+
def initialize(runnable, filter, patterns); end
|
363
|
+
def named_filter; end
|
364
|
+
end
|
365
|
+
class Rails::TestUnit::Filter
|
366
|
+
def ===(method); end
|
367
|
+
def definition_for(method); end
|
368
|
+
def initialize(runnable, file, line); end
|
369
|
+
end
|
370
|
+
module Rails::LineFiltering
|
371
|
+
def run(reporter, options = nil); end
|
372
|
+
end
|
373
|
+
class Rails::TestUnitRailtie < Rails::Railtie
|
374
|
+
end
|
375
|
+
class SourceAnnotationExtractor
|
376
|
+
def display(results, options = nil); end
|
377
|
+
def extract_annotations_from(file, pattern); end
|
378
|
+
def find(dirs); end
|
379
|
+
def find_in(dir); end
|
380
|
+
def initialize(tag); end
|
381
|
+
def self.enumerate(tag, options = nil); end
|
382
|
+
def tag; end
|
383
|
+
end
|
384
|
+
class SourceAnnotationExtractor::Annotation < Struct
|
385
|
+
def line; end
|
386
|
+
def line=(_); end
|
387
|
+
def self.[](*arg0); end
|
388
|
+
def self.directories; end
|
389
|
+
def self.extensions; end
|
390
|
+
def self.inspect; end
|
391
|
+
def self.members; end
|
392
|
+
def self.new(*arg0); end
|
393
|
+
def self.register_directories(*dirs); end
|
394
|
+
def self.register_extensions(*exts, &block); end
|
395
|
+
def tag; end
|
396
|
+
def tag=(_); end
|
397
|
+
def text; end
|
398
|
+
def text=(_); end
|
399
|
+
def to_s(options = nil); end
|
400
|
+
end
|
401
|
+
class Rails::Application::Configuration < Rails::Engine::Configuration
|
402
|
+
def allow_concurrency; end
|
403
|
+
def allow_concurrency=(arg0); end
|
404
|
+
def annotations; end
|
405
|
+
def api_only; end
|
406
|
+
def api_only=(value); end
|
407
|
+
def asset_host; end
|
408
|
+
def asset_host=(arg0); end
|
409
|
+
def autoflush_log; end
|
410
|
+
def autoflush_log=(arg0); end
|
411
|
+
def beginning_of_week; end
|
412
|
+
def beginning_of_week=(arg0); end
|
413
|
+
def cache_classes; end
|
414
|
+
def cache_classes=(arg0); end
|
415
|
+
def cache_store; end
|
416
|
+
def cache_store=(arg0); end
|
417
|
+
def colorize_logging; end
|
418
|
+
def colorize_logging=(val); end
|
419
|
+
def consider_all_requests_local; end
|
420
|
+
def consider_all_requests_local=(arg0); end
|
421
|
+
def console; end
|
422
|
+
def console=(arg0); end
|
423
|
+
def database_configuration; end
|
424
|
+
def debug_exception_response_format; end
|
425
|
+
def debug_exception_response_format=(value); end
|
426
|
+
def eager_load; end
|
427
|
+
def eager_load=(arg0); end
|
428
|
+
def enable_dependency_loading; end
|
429
|
+
def enable_dependency_loading=(arg0); end
|
430
|
+
def encoding; end
|
431
|
+
def encoding=(value); end
|
432
|
+
def exceptions_app; end
|
433
|
+
def exceptions_app=(arg0); end
|
434
|
+
def file_watcher; end
|
435
|
+
def file_watcher=(arg0); end
|
436
|
+
def filter_parameters; end
|
437
|
+
def filter_parameters=(arg0); end
|
438
|
+
def filter_redirect; end
|
439
|
+
def filter_redirect=(arg0); end
|
440
|
+
def force_ssl; end
|
441
|
+
def force_ssl=(arg0); end
|
442
|
+
def helpers_paths; end
|
443
|
+
def helpers_paths=(arg0); end
|
444
|
+
def initialize(*arg0); end
|
445
|
+
def load_defaults(target_version); end
|
446
|
+
def log_formatter; end
|
447
|
+
def log_formatter=(arg0); end
|
448
|
+
def log_level; end
|
449
|
+
def log_level=(arg0); end
|
450
|
+
def log_tags; end
|
451
|
+
def log_tags=(arg0); end
|
452
|
+
def logger; end
|
453
|
+
def logger=(arg0); end
|
454
|
+
def paths; end
|
455
|
+
def public_file_server; end
|
456
|
+
def public_file_server=(arg0); end
|
457
|
+
def railties_order; end
|
458
|
+
def railties_order=(arg0); end
|
459
|
+
def read_encrypted_secrets; end
|
460
|
+
def read_encrypted_secrets=(arg0); end
|
461
|
+
def relative_url_root; end
|
462
|
+
def relative_url_root=(arg0); end
|
463
|
+
def reload_classes_only_on_change; end
|
464
|
+
def reload_classes_only_on_change=(arg0); end
|
465
|
+
def secret_key_base; end
|
466
|
+
def secret_key_base=(arg0); end
|
467
|
+
def secret_token; end
|
468
|
+
def secret_token=(arg0); end
|
469
|
+
def session_options; end
|
470
|
+
def session_options=(arg0); end
|
471
|
+
def session_store(new_session_store = nil, **options); end
|
472
|
+
def session_store?; end
|
473
|
+
def ssl_options; end
|
474
|
+
def ssl_options=(arg0); end
|
475
|
+
def time_zone; end
|
476
|
+
def time_zone=(arg0); end
|
477
|
+
def x; end
|
478
|
+
def x=(arg0); end
|
479
|
+
end
|
480
|
+
class Rails::Application::Configuration::Custom
|
481
|
+
def initialize; end
|
482
|
+
def method_missing(method, *args); end
|
483
|
+
def respond_to_missing?(symbol, *arg1); end
|
484
|
+
end
|
485
|
+
module Rails::Application::Bootstrap
|
486
|
+
extend Rails::Initializable::ClassMethods
|
487
|
+
include Rails::Initializable
|
488
|
+
end
|
489
|
+
module Rails::Application::Finisher
|
490
|
+
extend Rails::Initializable::ClassMethods
|
491
|
+
include Rails::Initializable
|
492
|
+
end
|
493
|
+
class Rails::Application::Finisher::MutexHook
|
494
|
+
def complete(_state); end
|
495
|
+
def initialize(mutex = nil); end
|
496
|
+
def run; end
|
497
|
+
end
|
498
|
+
module Rails::Application::Finisher::InterlockHook
|
499
|
+
def self.complete(_state); end
|
500
|
+
def self.run; end
|
501
|
+
end
|
502
|
+
class Rails::Application::RoutesReloader
|
503
|
+
def clear!; end
|
504
|
+
def eager_load; end
|
505
|
+
def eager_load=(arg0); end
|
506
|
+
def execute(*args, &block); end
|
507
|
+
def execute_if_updated(*args, &block); end
|
508
|
+
def finalize!; end
|
509
|
+
def initialize; end
|
510
|
+
def load_paths; end
|
511
|
+
def paths; end
|
512
|
+
def reload!; end
|
513
|
+
def revert; end
|
514
|
+
def route_sets; end
|
515
|
+
def updated?(*args, &block); end
|
516
|
+
def updater; end
|
517
|
+
end
|
518
|
+
class Rails::Application::DefaultMiddlewareStack
|
519
|
+
def app; end
|
520
|
+
def build_stack; end
|
521
|
+
def config; end
|
522
|
+
def initialize(app, config, paths); end
|
523
|
+
def load_rack_cache; end
|
524
|
+
def paths; end
|
525
|
+
def show_exceptions_app; end
|
526
|
+
end
|
527
|
+
class Rails::Rack::Logger < ActiveSupport::LogSubscriber
|
528
|
+
end
|
529
|
+
module Rails::Command
|
530
|
+
def self.command_type; end
|
531
|
+
def self.environment; end
|
532
|
+
def self.file_lookup_paths; end
|
533
|
+
def self.find_by_namespace(namespace, command_name = nil); end
|
534
|
+
def self.hidden_commands; end
|
535
|
+
def self.invoke(full_namespace, args = nil, **config); end
|
536
|
+
def self.lookup_paths; end
|
537
|
+
def self.print_commands; end
|
538
|
+
def self.root; end
|
539
|
+
def self.sorted_groups; end
|
540
|
+
extend ActiveSupport::Autoload
|
541
|
+
extend Rails::Command::Behavior::ClassMethods
|
542
|
+
include Rails::Command::Behavior
|
543
|
+
end
|
544
|
+
module Rails::Command::Behavior
|
545
|
+
extend ActiveSupport::Concern
|
546
|
+
end
|
547
|
+
module Rails::Command::Behavior::ClassMethods
|
548
|
+
def levenshtein_distance(str1, str2); end
|
549
|
+
def lookup!; end
|
550
|
+
def lookup(namespaces); end
|
551
|
+
def namespaces_to_paths(namespaces); end
|
552
|
+
def no_color!; end
|
553
|
+
def print_list(base, namespaces); end
|
554
|
+
def subclasses; end
|
555
|
+
end
|
556
|
+
module Rails::Generators
|
557
|
+
def namespace; end
|
558
|
+
def namespace=(obj); end
|
559
|
+
def self.aliases; end
|
560
|
+
def self.api_only!; end
|
561
|
+
def self.command_type; end
|
562
|
+
def self.configure!(config); end
|
563
|
+
def self.fallbacks; end
|
564
|
+
def self.file_lookup_paths; end
|
565
|
+
def self.find_by_namespace(name, base = nil, context = nil); end
|
566
|
+
def self.help(command = nil); end
|
567
|
+
def self.hidden_namespaces; end
|
568
|
+
def self.hide_namespace(*namespaces); end
|
569
|
+
def self.hide_namespaces(*namespaces); end
|
570
|
+
def self.invoke(namespace, args = nil, config = nil); end
|
571
|
+
def self.invoke_fallbacks_for(name, base); end
|
572
|
+
def self.lookup_paths; end
|
573
|
+
def self.namespace; end
|
574
|
+
def self.namespace=(obj); end
|
575
|
+
def self.no_color!; end
|
576
|
+
def self.options; end
|
577
|
+
def self.print_generators; end
|
578
|
+
def self.print_list(base, namespaces); end
|
579
|
+
def self.public_namespaces; end
|
580
|
+
def self.sorted_groups; end
|
581
|
+
def self.templates_path; end
|
582
|
+
extend Rails::Command::Behavior::ClassMethods
|
583
|
+
include Rails::Command::Behavior
|
584
|
+
end
|
585
|
+
module Rails::Generators::Testing
|
586
|
+
end
|
587
|
+
module Rails::Generators::Testing::Behaviour
|
588
|
+
def create_generated_attribute(attribute_type, name = nil, index = nil); end
|
589
|
+
def destination_root_is_set?; end
|
590
|
+
def ensure_current_path; end
|
591
|
+
def generator(args = nil, options = nil, config = nil); end
|
592
|
+
def migration_file_name(relative); end
|
593
|
+
def prepare_destination; end
|
594
|
+
def run_generator(args = nil, config = nil); end
|
595
|
+
extend ActiveSupport::Concern
|
596
|
+
include ActiveSupport::Testing::Stream
|
597
|
+
end
|
598
|
+
module Rails::Generators::Testing::Behaviour::ClassMethods
|
599
|
+
def arguments(array); end
|
600
|
+
def destination(path); end
|
601
|
+
def tests(klass); end
|
602
|
+
end
|
603
|
+
module Rails::Generators::Testing::SetupAndTeardown
|
604
|
+
def setup; end
|
605
|
+
def teardown; end
|
606
|
+
end
|
607
|
+
module Rails::Generators::Testing::Assertions
|
608
|
+
def assert_class_method(method, content, &block); end
|
609
|
+
def assert_directory(relative, *contents); end
|
610
|
+
def assert_field_default_value(attribute_type, value); end
|
611
|
+
def assert_field_type(attribute_type, field_type); end
|
612
|
+
def assert_file(relative, *contents); end
|
613
|
+
def assert_instance_method(method, content); end
|
614
|
+
def assert_method(method, content); end
|
615
|
+
def assert_migration(relative, *contents, &block); end
|
616
|
+
def assert_no_directory(relative); end
|
617
|
+
def assert_no_file(relative); end
|
618
|
+
def assert_no_migration(relative); end
|
619
|
+
end
|
620
|
+
class Rails::Generators::TestCase < ActiveSupport::TestCase
|
621
|
+
def current_path; end
|
622
|
+
def current_path=(arg0); end
|
623
|
+
def current_path?; end
|
624
|
+
def default_arguments; end
|
625
|
+
def default_arguments=(arg0); end
|
626
|
+
def default_arguments?; end
|
627
|
+
def destination_root; end
|
628
|
+
def destination_root=(arg0); end
|
629
|
+
def destination_root?; end
|
630
|
+
def generator_class; end
|
631
|
+
def generator_class=(arg0); end
|
632
|
+
def generator_class?; end
|
633
|
+
def self.current_path; end
|
634
|
+
def self.current_path=(val); end
|
635
|
+
def self.current_path?; end
|
636
|
+
def self.default_arguments; end
|
637
|
+
def self.default_arguments=(val); end
|
638
|
+
def self.default_arguments?; end
|
639
|
+
def self.destination_root; end
|
640
|
+
def self.destination_root=(val); end
|
641
|
+
def self.destination_root?; end
|
642
|
+
def self.generator_class; end
|
643
|
+
def self.generator_class=(val); end
|
644
|
+
def self.generator_class?; end
|
645
|
+
extend Rails::Generators::Testing::Behaviour::ClassMethods
|
646
|
+
include FileUtils
|
647
|
+
include Rails::Generators::Testing::Assertions
|
648
|
+
include Rails::Generators::Testing::Behaviour
|
649
|
+
include Rails::Generators::Testing::SetupAndTeardown
|
650
|
+
end
|
651
|
+
module ActiveSupport
|
652
|
+
end
|
653
|
+
class ActiveSupport::TestCase < Minitest::Test
|
654
|
+
def config; end
|
655
|
+
def config=(arg0); end
|
656
|
+
def config?; end
|
657
|
+
def fixture_class_names; end
|
658
|
+
def fixture_class_names=(arg0); end
|
659
|
+
def fixture_class_names?; end
|
660
|
+
def fixture_path; end
|
661
|
+
def fixture_path?; end
|
662
|
+
def fixture_table_names; end
|
663
|
+
def fixture_table_names=(arg0); end
|
664
|
+
def fixture_table_names?; end
|
665
|
+
def pre_loaded_fixtures; end
|
666
|
+
def pre_loaded_fixtures=(arg0); end
|
667
|
+
def pre_loaded_fixtures?; end
|
668
|
+
def self.config; end
|
669
|
+
def self.config=(val); end
|
670
|
+
def self.config?; end
|
671
|
+
def self.fixture_class_names; end
|
672
|
+
def self.fixture_class_names=(val); end
|
673
|
+
def self.fixture_class_names?; end
|
674
|
+
def self.fixture_path; end
|
675
|
+
def self.fixture_path=(val); end
|
676
|
+
def self.fixture_path?; end
|
677
|
+
def self.fixture_table_names; end
|
678
|
+
def self.fixture_table_names=(val); end
|
679
|
+
def self.fixture_table_names?; end
|
680
|
+
def self.pre_loaded_fixtures; end
|
681
|
+
def self.pre_loaded_fixtures=(val); end
|
682
|
+
def self.pre_loaded_fixtures?; end
|
683
|
+
def self.use_instantiated_fixtures; end
|
684
|
+
def self.use_instantiated_fixtures=(val); end
|
685
|
+
def self.use_instantiated_fixtures?; end
|
686
|
+
def self.use_transactional_tests; end
|
687
|
+
def self.use_transactional_tests=(val); end
|
688
|
+
def self.use_transactional_tests?; end
|
689
|
+
def use_instantiated_fixtures; end
|
690
|
+
def use_instantiated_fixtures=(arg0); end
|
691
|
+
def use_instantiated_fixtures?; end
|
692
|
+
def use_transactional_tests; end
|
693
|
+
def use_transactional_tests=(arg0); end
|
694
|
+
def use_transactional_tests?; end
|
695
|
+
extend ActiveRecord::TestFixtures::ClassMethods
|
696
|
+
include ActiveRecord::TestFixtures
|
697
|
+
end
|
698
|
+
class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
|
699
|
+
def before_setup; end
|
700
|
+
def self.fixture_path; end
|
701
|
+
end
|
702
|
+
class Object < BasicObject
|
703
|
+
def create_fixtures(*fixture_set_names, &block); end
|
704
|
+
end
|
705
|
+
class ActionController::TestCase < ActiveSupport::TestCase
|
706
|
+
def before_setup; end
|
707
|
+
end
|