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,63 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strong
|
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/method_source/all/method_source.rbi
|
9
|
+
#
|
10
|
+
# method_source-0.9.2
|
11
|
+
module MethodSource
|
12
|
+
def self.comment_helper(source_location, name = nil); end
|
13
|
+
def self.extract_code(source_location); end
|
14
|
+
def self.lines_for(file_name, name = nil); end
|
15
|
+
def self.source_helper(source_location, name = nil); end
|
16
|
+
def self.valid_expression?(str); end
|
17
|
+
extend MethodSource::CodeHelpers
|
18
|
+
end
|
19
|
+
module MethodSource::ReeSourceLocation
|
20
|
+
def source_location; end
|
21
|
+
end
|
22
|
+
module MethodSource::SourceLocation
|
23
|
+
end
|
24
|
+
module MethodSource::SourceLocation::MethodExtensions
|
25
|
+
def source_location; end
|
26
|
+
def trace_func(event, file, line, id, binding, classname); end
|
27
|
+
end
|
28
|
+
module MethodSource::SourceLocation::ProcExtensions
|
29
|
+
def source_location; end
|
30
|
+
end
|
31
|
+
module MethodSource::SourceLocation::UnboundMethodExtensions
|
32
|
+
def source_location; end
|
33
|
+
end
|
34
|
+
module MethodSource::CodeHelpers
|
35
|
+
def comment_describing(file, line_number); end
|
36
|
+
def complete_expression?(str); end
|
37
|
+
def expression_at(file, line_number, options = nil); end
|
38
|
+
def extract_first_expression(lines, consume = nil, &block); end
|
39
|
+
def extract_last_comment(lines); end
|
40
|
+
end
|
41
|
+
module MethodSource::CodeHelpers::IncompleteExpression
|
42
|
+
def self.===(ex); end
|
43
|
+
def self.rbx?; end
|
44
|
+
end
|
45
|
+
class MethodSource::SourceNotFoundError < StandardError
|
46
|
+
end
|
47
|
+
module MethodSource::MethodExtensions
|
48
|
+
def comment; end
|
49
|
+
def self.included(klass); end
|
50
|
+
def source; end
|
51
|
+
end
|
52
|
+
class Method
|
53
|
+
include MethodSource::MethodExtensions
|
54
|
+
include MethodSource::SourceLocation::MethodExtensions
|
55
|
+
end
|
56
|
+
class UnboundMethod
|
57
|
+
include MethodSource::MethodExtensions
|
58
|
+
include MethodSource::SourceLocation::UnboundMethodExtensions
|
59
|
+
end
|
60
|
+
class Proc
|
61
|
+
include MethodSource::MethodExtensions
|
62
|
+
include MethodSource::SourceLocation::ProcExtensions
|
63
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strong
|
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/mini_mime/all/mini_mime.rbi
|
9
|
+
#
|
10
|
+
# mini_mime-1.0.1
|
11
|
+
module MiniMime
|
12
|
+
def self.lookup_by_content_type(mime); end
|
13
|
+
def self.lookup_by_extension(extension); end
|
14
|
+
def self.lookup_by_filename(filename); end
|
15
|
+
end
|
16
|
+
class MiniMime::Info
|
17
|
+
def [](idx); end
|
18
|
+
def binary?; end
|
19
|
+
def content_type; end
|
20
|
+
def content_type=(arg0); end
|
21
|
+
def encoding; end
|
22
|
+
def encoding=(arg0); end
|
23
|
+
def extension; end
|
24
|
+
def extension=(arg0); end
|
25
|
+
def initialize(buffer); end
|
26
|
+
end
|
27
|
+
class MiniMime::Db
|
28
|
+
def initialize; end
|
29
|
+
def lookup_by_content_type(content_type); end
|
30
|
+
def lookup_by_extension(extension); end
|
31
|
+
def self.lookup_by_content_type(content_type); end
|
32
|
+
def self.lookup_by_extension(extension); end
|
33
|
+
def self.lookup_by_filename(filename); end
|
34
|
+
end
|
35
|
+
class MiniMime::Db::Cache
|
36
|
+
def []=(key, val); end
|
37
|
+
def fetch(key, &blk); end
|
38
|
+
def initialize(size); end
|
39
|
+
end
|
40
|
+
class MiniMime::Db::RandomAccessDb
|
41
|
+
def initialize(name, sort_order); end
|
42
|
+
def lookup(val); end
|
43
|
+
def lookup_uncached(val); end
|
44
|
+
def resolve(row); end
|
45
|
+
end
|
@@ -0,0 +1,276 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strong
|
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/minitest/all/minitest.rbi
|
9
|
+
#
|
10
|
+
# minitest-5.11.3
|
11
|
+
module Minitest
|
12
|
+
def self.__run(reporter, options); end
|
13
|
+
def self.after_run(&block); end
|
14
|
+
def self.autorun; end
|
15
|
+
def self.backtrace_filter; end
|
16
|
+
def self.backtrace_filter=(arg0); end
|
17
|
+
def self.clock_time; end
|
18
|
+
def self.extensions; end
|
19
|
+
def self.extensions=(arg0); end
|
20
|
+
def self.filter_backtrace(bt); end
|
21
|
+
def self.info_signal; end
|
22
|
+
def self.info_signal=(arg0); end
|
23
|
+
def self.init_plugins(options); end
|
24
|
+
def self.load_plugins; end
|
25
|
+
def self.parallel_executor; end
|
26
|
+
def self.parallel_executor=(arg0); end
|
27
|
+
def self.process_args(args = nil); end
|
28
|
+
def self.reporter; end
|
29
|
+
def self.reporter=(arg0); end
|
30
|
+
def self.run(args = nil); end
|
31
|
+
def self.run_one_method(klass, method_name); end
|
32
|
+
end
|
33
|
+
module Minitest::Parallel
|
34
|
+
end
|
35
|
+
class Minitest::Parallel::Executor
|
36
|
+
def <<(work); end
|
37
|
+
def initialize(size); end
|
38
|
+
def shutdown; end
|
39
|
+
def size; end
|
40
|
+
def start; end
|
41
|
+
end
|
42
|
+
module Minitest::Parallel::Test
|
43
|
+
def _synchronize; end
|
44
|
+
end
|
45
|
+
module Minitest::Parallel::Test::ClassMethods
|
46
|
+
def run_one_method(klass, method_name, reporter); end
|
47
|
+
def test_order; end
|
48
|
+
end
|
49
|
+
module Minitest::Assertions
|
50
|
+
def _synchronize; end
|
51
|
+
def assert(test, msg = nil); end
|
52
|
+
def assert_empty(obj, msg = nil); end
|
53
|
+
def assert_equal(exp, act, msg = nil); end
|
54
|
+
def assert_in_delta(exp, act, delta = nil, msg = nil); end
|
55
|
+
def assert_in_epsilon(exp, act, epsilon = nil, msg = nil); end
|
56
|
+
def assert_includes(collection, obj, msg = nil); end
|
57
|
+
def assert_instance_of(cls, obj, msg = nil); end
|
58
|
+
def assert_kind_of(cls, obj, msg = nil); end
|
59
|
+
def assert_match(matcher, obj, msg = nil); end
|
60
|
+
def assert_nil(obj, msg = nil); end
|
61
|
+
def assert_operator(o1, op, o2 = nil, msg = nil); end
|
62
|
+
def assert_output(stdout = nil, stderr = nil); end
|
63
|
+
def assert_predicate(o1, op, msg = nil); end
|
64
|
+
def assert_raises(*exp); end
|
65
|
+
def assert_respond_to(obj, meth, msg = nil); end
|
66
|
+
def assert_same(exp, act, msg = nil); end
|
67
|
+
def assert_send(send_ary, m = nil); end
|
68
|
+
def assert_silent; end
|
69
|
+
def assert_throws(sym, msg = nil); end
|
70
|
+
def capture_io; end
|
71
|
+
def capture_subprocess_io; end
|
72
|
+
def diff(exp, act); end
|
73
|
+
def exception_details(e, msg); end
|
74
|
+
def flunk(msg = nil); end
|
75
|
+
def message(msg = nil, ending = nil, &default); end
|
76
|
+
def mu_pp(obj); end
|
77
|
+
def mu_pp_for_diff(obj); end
|
78
|
+
def pass(_msg = nil); end
|
79
|
+
def refute(test, msg = nil); end
|
80
|
+
def refute_empty(obj, msg = nil); end
|
81
|
+
def refute_equal(exp, act, msg = nil); end
|
82
|
+
def refute_in_delta(exp, act, delta = nil, msg = nil); end
|
83
|
+
def refute_in_epsilon(a, b, epsilon = nil, msg = nil); end
|
84
|
+
def refute_includes(collection, obj, msg = nil); end
|
85
|
+
def refute_instance_of(cls, obj, msg = nil); end
|
86
|
+
def refute_kind_of(cls, obj, msg = nil); end
|
87
|
+
def refute_match(matcher, obj, msg = nil); end
|
88
|
+
def refute_nil(obj, msg = nil); end
|
89
|
+
def refute_operator(o1, op, o2 = nil, msg = nil); end
|
90
|
+
def refute_predicate(o1, op, msg = nil); end
|
91
|
+
def refute_respond_to(obj, meth, msg = nil); end
|
92
|
+
def refute_same(exp, act, msg = nil); end
|
93
|
+
def self.diff; end
|
94
|
+
def self.diff=(o); end
|
95
|
+
def skip(msg = nil, bt = nil); end
|
96
|
+
def skipped?; end
|
97
|
+
end
|
98
|
+
class Minitest::Unit
|
99
|
+
def self.after_tests(&b); end
|
100
|
+
def self.autorun; end
|
101
|
+
end
|
102
|
+
class Minitest::Unit::TestCase < Minitest::Test
|
103
|
+
def self.inherited(klass); end
|
104
|
+
end
|
105
|
+
class Minitest::Test < Minitest::Runnable
|
106
|
+
def capture_exceptions; end
|
107
|
+
def class_name; end
|
108
|
+
def run; end
|
109
|
+
def self.i_suck_and_my_tests_are_order_dependent!; end
|
110
|
+
def self.io_lock; end
|
111
|
+
def self.io_lock=(arg0); end
|
112
|
+
def self.make_my_diffs_pretty!; end
|
113
|
+
def self.parallelize_me!; end
|
114
|
+
def self.runnable_methods; end
|
115
|
+
def self.test_order; end
|
116
|
+
def with_info_handler(&block); end
|
117
|
+
extend Minitest::Guard
|
118
|
+
include Minitest::Assertions
|
119
|
+
include Minitest::Guard
|
120
|
+
include Minitest::Reportable
|
121
|
+
include Minitest::Test::LifecycleHooks
|
122
|
+
end
|
123
|
+
module Minitest::Test::LifecycleHooks
|
124
|
+
def after_setup; end
|
125
|
+
def after_teardown; end
|
126
|
+
def before_setup; end
|
127
|
+
def before_teardown; end
|
128
|
+
def setup; end
|
129
|
+
def teardown; end
|
130
|
+
end
|
131
|
+
class Minitest::Runnable
|
132
|
+
def assertions; end
|
133
|
+
def assertions=(arg0); end
|
134
|
+
def failure; end
|
135
|
+
def failures; end
|
136
|
+
def failures=(arg0); end
|
137
|
+
def initialize(name); end
|
138
|
+
def marshal_dump; end
|
139
|
+
def marshal_load(ary); end
|
140
|
+
def name; end
|
141
|
+
def name=(o); end
|
142
|
+
def passed?; end
|
143
|
+
def result_code; end
|
144
|
+
def run; end
|
145
|
+
def self.inherited(klass); end
|
146
|
+
def self.methods_matching(re); end
|
147
|
+
def self.on_signal(name, action); end
|
148
|
+
def self.reset; end
|
149
|
+
def self.run(reporter, options = nil); end
|
150
|
+
def self.run_one_method(klass, method_name, reporter); end
|
151
|
+
def self.runnable_methods; end
|
152
|
+
def self.runnables; end
|
153
|
+
def self.with_info_handler(reporter, &block); end
|
154
|
+
def skipped?; end
|
155
|
+
def time; end
|
156
|
+
def time=(arg0); end
|
157
|
+
def time_it; end
|
158
|
+
end
|
159
|
+
module Minitest::Reportable
|
160
|
+
def class_name; end
|
161
|
+
def error?; end
|
162
|
+
def location; end
|
163
|
+
def passed?; end
|
164
|
+
def result_code; end
|
165
|
+
def skipped?; end
|
166
|
+
end
|
167
|
+
class Minitest::Result < Minitest::Runnable
|
168
|
+
def class_name; end
|
169
|
+
def klass; end
|
170
|
+
def klass=(arg0); end
|
171
|
+
def self.from(runnable); end
|
172
|
+
def source_location; end
|
173
|
+
def source_location=(arg0); end
|
174
|
+
def to_s; end
|
175
|
+
include Minitest::Reportable
|
176
|
+
end
|
177
|
+
class Minitest::AbstractReporter
|
178
|
+
def lock; end
|
179
|
+
def locked?; end
|
180
|
+
def passed?; end
|
181
|
+
def prerecord(klass, name); end
|
182
|
+
def record(result); end
|
183
|
+
def report; end
|
184
|
+
def start; end
|
185
|
+
def synchronize(&block); end
|
186
|
+
def try_lock; end
|
187
|
+
def unlock; end
|
188
|
+
include Mutex_m
|
189
|
+
end
|
190
|
+
class Minitest::Reporter < Minitest::AbstractReporter
|
191
|
+
def initialize(io = nil, options = nil); end
|
192
|
+
def io; end
|
193
|
+
def io=(arg0); end
|
194
|
+
def options; end
|
195
|
+
def options=(arg0); end
|
196
|
+
end
|
197
|
+
class Minitest::ProgressReporter < Minitest::Reporter
|
198
|
+
def prerecord(klass, name); end
|
199
|
+
def record(result); end
|
200
|
+
end
|
201
|
+
class Minitest::StatisticsReporter < Minitest::Reporter
|
202
|
+
def assertions; end
|
203
|
+
def assertions=(arg0); end
|
204
|
+
def count; end
|
205
|
+
def count=(arg0); end
|
206
|
+
def errors; end
|
207
|
+
def errors=(arg0); end
|
208
|
+
def failures; end
|
209
|
+
def failures=(arg0); end
|
210
|
+
def initialize(io = nil, options = nil); end
|
211
|
+
def passed?; end
|
212
|
+
def record(result); end
|
213
|
+
def report; end
|
214
|
+
def results; end
|
215
|
+
def results=(arg0); end
|
216
|
+
def skips; end
|
217
|
+
def skips=(arg0); end
|
218
|
+
def start; end
|
219
|
+
def start_time; end
|
220
|
+
def start_time=(arg0); end
|
221
|
+
def total_time; end
|
222
|
+
def total_time=(arg0); end
|
223
|
+
end
|
224
|
+
class Minitest::SummaryReporter < Minitest::StatisticsReporter
|
225
|
+
def aggregated_results(io); end
|
226
|
+
def binary_string; end
|
227
|
+
def old_sync; end
|
228
|
+
def old_sync=(arg0); end
|
229
|
+
def report; end
|
230
|
+
def start; end
|
231
|
+
def statistics; end
|
232
|
+
def summary; end
|
233
|
+
def sync; end
|
234
|
+
def sync=(arg0); end
|
235
|
+
def to_s; end
|
236
|
+
end
|
237
|
+
class Minitest::CompositeReporter < Minitest::AbstractReporter
|
238
|
+
def <<(reporter); end
|
239
|
+
def initialize(*reporters); end
|
240
|
+
def io; end
|
241
|
+
def passed?; end
|
242
|
+
def prerecord(klass, name); end
|
243
|
+
def record(result); end
|
244
|
+
def report; end
|
245
|
+
def reporters; end
|
246
|
+
def reporters=(arg0); end
|
247
|
+
def start; end
|
248
|
+
end
|
249
|
+
class Minitest::Assertion < Exception
|
250
|
+
def error; end
|
251
|
+
def location; end
|
252
|
+
def result_code; end
|
253
|
+
def result_label; end
|
254
|
+
end
|
255
|
+
class Minitest::Skip < Minitest::Assertion
|
256
|
+
def result_label; end
|
257
|
+
end
|
258
|
+
class Minitest::UnexpectedError < Minitest::Assertion
|
259
|
+
def backtrace; end
|
260
|
+
def error; end
|
261
|
+
def exception; end
|
262
|
+
def exception=(arg0); end
|
263
|
+
def initialize(exception); end
|
264
|
+
def message; end
|
265
|
+
def result_label; end
|
266
|
+
end
|
267
|
+
module Minitest::Guard
|
268
|
+
def jruby?(platform = nil); end
|
269
|
+
def maglev?(platform = nil); end
|
270
|
+
def mri?(platform = nil); end
|
271
|
+
def rubinius?(platform = nil); end
|
272
|
+
def windows?(platform = nil); end
|
273
|
+
end
|
274
|
+
class Minitest::BacktraceFilter
|
275
|
+
def filter(bt); end
|
276
|
+
end
|