sorbet-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -1
- data/.travis.yml +1 -1
- data/CONTRIBUTING.md +21 -12
- data/Rakefile +81 -0
- data/lib/sorbet-rails/gem_plugins/kaminari_plugin.rb +21 -0
- data/lib/sorbet-rails/tasks/rails_rbi.rake +10 -6
- data/sorbet-rails.gemspec +1 -1
- data/spec/bin/run_spec.sh +2 -2
- data/spec/generators/rails-template.rb +268 -0
- data/spec/{support/rails_shared → generators}/sorbet_test_cases.rb +0 -0
- data/spec/helper_rbi_formatter_spec.rb +1 -1
- data/spec/support/v4.2/Gemfile +3 -14
- data/spec/support/v4.2/Gemfile.lock +8 -23
- data/spec/support/v4.2/app/controllers/application_controller.rb +1 -1
- data/spec/support/v4.2/app/helpers/application_helper.rb +3 -0
- data/spec/support/v4.2/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v4.2/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v4.2/app/helpers/foo_helper.rb +3 -0
- data/spec/support/{rails_shared/app/controllers/concerns → v4.2/app/models}/.keep +0 -0
- data/spec/support/v4.2/app/models/application_record.rb +5 -0
- data/spec/support/{v5.0/test/controllers → v4.2/app/models/concerns}/.keep +0 -0
- data/spec/support/v4.2/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v4.2/app/models/potion.rb +5 -0
- data/spec/support/v4.2/app/models/spell_book.rb +5 -0
- data/spec/support/v4.2/app/models/wand.rb +17 -0
- data/spec/support/v4.2/app/models/wizard.rb +14 -0
- data/spec/support/v4.2/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v4.2/config/routes.rb +55 -2
- data/spec/support/v4.2/db/migrate/{20190620001234_create_wizards.rb → 20190620000001_create_wizards.rb} +0 -0
- data/spec/support/v4.2/db/migrate/{20190620003037_create_wands.rb → 20190620000002_create_wands.rb} +0 -0
- data/spec/support/v4.2/db/migrate/{20190620003739_create_spell_books.rb → 20190620000003_create_spell_books.rb} +0 -0
- data/spec/support/{rails_shared/db/migrate/20190622000000_add_more_column_types_to_wands.rb → v4.2/db/migrate/20190620000004_add_more_column_types_to_wands.rb} +4 -5
- data/spec/support/v4.2/db/schema.rb +1 -1
- data/spec/support/v4.2/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +277 -279
- data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +18 -18
- data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +46 -46
- data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +413 -410
- data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +58 -58
- data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v4.2/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +0 -6
- data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +2 -2
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v4.2/sorbet/rbi/todo.rbi +59 -1
- data/spec/support/v4.2/sorbet_test_cases.rb +123 -0
- data/spec/support/v4.2/typed-override.yaml +2 -0
- data/spec/support/v5.0/Gemfile +6 -19
- data/spec/support/v5.0/Gemfile.lock +12 -9
- data/spec/support/v5.0/app/assets/config/manifest.js +2 -0
- data/spec/support/v5.0/{test/fixtures → app/assets/images}/.keep +0 -0
- data/spec/support/v5.0/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v5.0/app/controllers/application_controller.rb +4 -0
- data/spec/support/v5.0/{test/fixtures/files → app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.0/app/helpers/application_helper.rb +3 -0
- data/spec/support/v5.0/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v5.0/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v5.0/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v5.0/app/models/application_record.rb +5 -0
- data/spec/support/v5.0/{test/integration → app/models/concerns}/.keep +0 -0
- data/spec/support/v5.0/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v5.0/app/models/potion.rb +5 -0
- data/spec/support/v5.0/app/models/spell_book.rb +5 -0
- data/spec/support/v5.0/app/models/wand.rb +17 -0
- data/spec/support/v5.0/app/models/wizard.rb +14 -0
- data/spec/support/v5.0/app/views/layouts/application.html.erb +13 -0
- data/spec/support/v5.0/config/application.rb +2 -7
- data/spec/support/v5.0/config/environments/production.rb +0 -4
- data/spec/support/v5.0/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +8 -0
- data/spec/support/v5.0/config/initializers/session_store.rb +4 -0
- data/spec/support/v5.0/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.0/config/routes.rb +2 -2
- data/spec/support/{rails_shared/db/migrate/20190620001234_create_wizards.rb → v5.0/db/migrate/20190620000001_create_wizards.rb} +2 -1
- data/spec/support/{rails_shared/db/migrate/20190620003037_create_wands.rb → v5.0/db/migrate/20190620000002_create_wands.rb} +2 -1
- data/spec/support/{rails_shared/db/migrate/20190620003739_create_spell_books.rb → v5.0/db/migrate/20190620000003_create_spell_books.rb} +2 -1
- data/spec/support/v5.0/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v5.0/db/schema.rb +1 -1
- data/spec/support/v5.0/{test/mailers → lib/assets}/.keep +0 -0
- data/spec/support/v5.0/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +2 -50
- data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +533 -696
- data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +56 -57
- data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +0 -22
- data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +75 -75
- data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +644 -1020
- data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +81 -216
- data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +6 -6
- data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v5.0/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +6 -6
- data/spec/support/v5.0/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +53 -98
- data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +0 -210
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v5.0/sorbet/rbi/todo.rbi +62 -4
- data/spec/support/v5.0/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.0/typed-override.yaml +2 -0
- data/spec/support/v5.0/{test/models → vendor/assets/stylesheets}/.keep +0 -0
- data/spec/support/v5.1/.gitignore +23 -0
- data/spec/support/v5.1/Gemfile +9 -25
- data/spec/support/v5.1/Gemfile.lock +22 -11
- data/spec/support/v5.1/app/assets/config/manifest.js +2 -0
- data/spec/support/v5.1/{test/controllers → app/assets/images}/.keep +0 -0
- data/spec/support/v5.1/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v5.1/app/controllers/application_controller.rb +4 -0
- data/spec/support/v5.1/{test/fixtures → app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.1/app/helpers/application_helper.rb +3 -0
- data/spec/support/v5.1/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v5.1/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v5.1/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v5.1/app/models/application_record.rb +5 -0
- data/spec/support/v5.1/{test/fixtures/files → app/models/concerns}/.keep +0 -0
- data/spec/support/v5.1/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v5.1/app/models/potion.rb +5 -0
- data/spec/support/v5.1/app/models/spell_book.rb +5 -0
- data/spec/support/v5.1/app/models/wand.rb +17 -0
- data/spec/support/v5.1/app/models/wizard.rb +14 -0
- data/spec/support/v5.1/app/views/layouts/application.html.erb +13 -0
- data/spec/support/v5.1/bin/setup +3 -0
- data/spec/support/v5.1/bin/yarn +11 -0
- data/spec/support/v5.1/config/application.rb +5 -7
- data/spec/support/v5.1/config/environments/production.rb +1 -5
- data/spec/support/v5.1/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v5.1/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.1/config/routes.rb +5 -0
- data/spec/support/v5.1/db/migrate/20190620000001_create_wizards.rb +13 -0
- data/spec/support/v5.1/db/migrate/20190620000002_create_wands.rb +12 -0
- data/spec/support/v5.1/db/migrate/20190620000003_create_spell_books.rb +9 -0
- data/spec/support/v5.1/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v5.1/db/schema.rb +1 -1
- data/spec/support/v5.1/{test/integration → lib/assets}/.keep +0 -0
- data/spec/support/v5.1/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.1/package.json +5 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +2 -49
- data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +588 -732
- data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +123 -124
- data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +0 -35
- data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +68 -68
- data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +501 -651
- data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +80 -218
- data/spec/support/v5.1/sorbet/rbi/gems/bindex.rbi +36 -0
- data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v5.1/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +6 -6
- data/spec/support/v5.1/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +53 -98
- data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +0 -209
- data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +13 -5
- data/spec/support/{v4.2 → v5.1}/sorbet/rbi/gems/web-console.rbi +10 -73
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v5.1/sorbet/rbi/todo.rbi +59 -2
- data/spec/support/v5.1/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.1/typed-override.yaml +2 -0
- data/spec/support/v5.2-no-sorbet/.gitignore +31 -0
- data/spec/support/v5.2-no-sorbet/Gemfile +12 -28
- data/spec/support/v5.2-no-sorbet/Gemfile.lock +24 -10
- data/spec/support/v5.2-no-sorbet/app/assets/config/manifest.js +2 -0
- data/spec/support/{v5.1/test/mailers → v5.2-no-sorbet/app/assets/images}/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/assets/stylesheets/application.css +15 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/controllers/application_controller.rb +0 -0
- data/spec/support/{v5.1/test/models → v5.2-no-sorbet/app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/app/helpers/application_helper.rb +2 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/helpers/bar_helper.rb +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/helpers/baz_helper.rb +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/helpers/foo_helper.rb +0 -0
- data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +0 -1
- data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +0 -1
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/application_record.rb +0 -1
- data/spec/support/v5.2-no-sorbet/{test/controllers → app/models/concerns}/.keep +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/concerns/mythical.rb +1 -1
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/potion.rb +0 -1
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/spell_book.rb +0 -2
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/wand.rb +0 -0
- data/spec/support/{rails_shared → v5.2-no-sorbet}/app/models/wizard.rb +0 -1
- data/spec/support/v5.2-no-sorbet/app/views/layouts/application.html.erb +14 -0
- data/spec/support/v5.2-no-sorbet/bin/setup +3 -0
- data/spec/support/v5.2-no-sorbet/bin/update +3 -0
- data/spec/support/v5.2-no-sorbet/bin/yarn +11 -0
- data/spec/support/v5.2-no-sorbet/config/application.rb +5 -8
- data/spec/support/v5.2-no-sorbet/config/boot.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/environment.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/environments/development.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/environments/production.rb +1 -7
- data/spec/support/v5.2-no-sorbet/config/environments/test.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/content_security_policy.rb +25 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/cookies_serializer.rb +5 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/puma.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/routes.rb +4 -0
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000001_create_wizards.rb +12 -0
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000002_create_wands.rb +11 -0
- data/spec/support/v5.2-no-sorbet/db/migrate/20190620000003_create_spell_books.rb +8 -0
- data/spec/support/{v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb → v5.2-no-sorbet/db/migrate/20190620000004_add_more_column_types_to_wands.rb} +6 -2
- data/spec/support/v5.2-no-sorbet/db/schema.rb +1 -2
- data/spec/support/v5.2-no-sorbet/db/seeds.rb +0 -1
- data/spec/support/v5.2-no-sorbet/{test/fixtures → lib/assets}/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.2-no-sorbet/package.json +5 -0
- data/spec/support/v5.2-no-sorbet/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.2-no-sorbet/typed-override.yaml +2 -0
- data/spec/support/v5.2/.gitignore +31 -0
- data/spec/support/v5.2/Gemfile +12 -28
- data/spec/support/v5.2/Gemfile.lock +24 -10
- data/spec/support/v5.2/app/assets/config/manifest.js +2 -0
- data/spec/support/{v5.2-no-sorbet/test/fixtures/files → v5.2/app/assets/images}/.keep +0 -0
- data/spec/support/v5.2/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v5.2/app/controllers/application_controller.rb +3 -0
- data/spec/support/{v5.2-no-sorbet/test/integration → v5.2/app/controllers/concerns}/.keep +0 -0
- data/spec/support/v5.2/app/helpers/application_helper.rb +3 -0
- data/spec/support/v5.2/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v5.2/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v5.2/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v5.2/app/models/application_record.rb +5 -0
- data/spec/support/{v5.2-no-sorbet/test/mailers → v5.2/app/models/concerns}/.keep +0 -0
- data/spec/support/v5.2/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v5.2/app/models/potion.rb +5 -0
- data/spec/support/v5.2/app/models/spell_book.rb +5 -0
- data/spec/support/v5.2/app/models/wand.rb +17 -0
- data/spec/support/v5.2/app/models/wizard.rb +14 -0
- data/spec/support/v5.2/app/views/layouts/application.html.erb +14 -0
- data/spec/support/v5.2/bin/setup +3 -0
- data/spec/support/v5.2/bin/update +3 -0
- data/spec/support/v5.2/bin/yarn +11 -0
- data/spec/support/v5.2/config/application.rb +5 -7
- data/spec/support/v5.2/config/environments/production.rb +1 -6
- data/spec/support/v5.2/config/initializers/content_security_policy.rb +26 -0
- data/spec/support/v5.2/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v5.2/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v5.2/config/routes.rb +5 -0
- data/spec/support/v5.2/db/migrate/20190620000001_create_wizards.rb +13 -0
- data/spec/support/v5.2/db/migrate/20190620000002_create_wands.rb +12 -0
- data/spec/support/v5.2/db/migrate/20190620000003_create_spell_books.rb +9 -0
- data/spec/support/v5.2/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v5.2/db/schema.rb +1 -1
- data/spec/support/{v5.2-no-sorbet/test/models → v5.2/lib/assets}/.keep +0 -0
- data/spec/support/v5.2/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v5.2/package.json +5 -0
- data/spec/support/v5.2/sorbet/rbi/gems/actionmailer.rbi +2 -50
- data/spec/support/v5.2/sorbet/rbi/gems/actionpack.rbi +504 -640
- data/spec/support/v5.2/sorbet/rbi/gems/actionview.rbi +123 -124
- data/spec/support/v5.2/sorbet/rbi/gems/activejob.rbi +0 -37
- data/spec/support/v5.2/sorbet/rbi/gems/activemodel.rbi +70 -69
- data/spec/support/v5.2/sorbet/rbi/gems/activerecord.rbi +521 -690
- data/spec/support/v5.2/sorbet/rbi/gems/activesupport.rbi +93 -235
- data/spec/support/v5.2/sorbet/rbi/gems/arel.rbi +4 -0
- data/spec/support/v5.2/sorbet/rbi/gems/bindex.rbi +36 -0
- data/spec/support/v5.2/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v5.2/sorbet/rbi/gems/concurrent-ruby.rbi +4 -0
- data/spec/support/v5.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v5.2/sorbet/rbi/gems/mail.rbi +2 -2
- data/spec/support/v5.2/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v5.2/sorbet/rbi/gems/nokogiri.rbi +10 -6
- data/spec/support/v5.2/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v5.2/sorbet/rbi/gems/rack.rbi +57 -98
- data/spec/support/v5.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v5.2/sorbet/rbi/gems/railties.rbi +1 -215
- data/spec/support/v5.2/sorbet/rbi/gems/web-console.rbi +73 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activerecord/{~>5.2 → ~>5.2.0}/activerecord.rbi +1 -1
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +360 -9
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v5.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v5.2/sorbet/rbi/todo.rbi +59 -2
- data/spec/support/v5.2/sorbet_test_cases.rb +123 -0
- data/spec/support/v5.2/typed-override.yaml +2 -0
- data/spec/support/v6.0/.gitignore +2 -0
- data/spec/support/v6.0/Gemfile +8 -17
- data/spec/support/v6.0/Gemfile.lock +19 -6
- data/spec/support/v6.0/app/assets/config/manifest.js +2 -0
- data/spec/support/{v5.2/sorbet → v6.0/app/assets/images}/.keep +0 -0
- data/spec/support/v6.0/app/assets/stylesheets/application.css +15 -0
- data/spec/support/v6.0/app/controllers/application_controller.rb +3 -0
- data/spec/support/{v5.2/test/controllers → v6.0/app/controllers/concerns}/.keep +0 -0
- data/spec/support/v6.0/app/helpers/application_helper.rb +3 -0
- data/spec/support/v6.0/app/helpers/bar_helper.rb +3 -0
- data/spec/support/v6.0/app/helpers/baz_helper.rb +3 -0
- data/spec/support/v6.0/app/helpers/foo_helper.rb +3 -0
- data/spec/support/v6.0/app/models/application_record.rb +5 -0
- data/spec/support/{v5.2/test/fixtures → v6.0/app/models/concerns}/.keep +0 -0
- data/spec/support/v6.0/app/models/concerns/mythical.rb +11 -0
- data/spec/support/v6.0/app/models/potion.rb +5 -0
- data/spec/support/v6.0/app/models/spell_book.rb +5 -0
- data/spec/support/v6.0/app/models/wand.rb +17 -0
- data/spec/support/v6.0/app/models/wizard.rb +14 -0
- data/spec/support/v6.0/app/views/layouts/application.html.erb +14 -0
- data/spec/support/v6.0/config/application.rb +4 -6
- data/spec/support/v6.0/config/database.yml +1 -1
- data/spec/support/v6.0/config/environments/development.rb +3 -0
- data/spec/support/v6.0/config/environments/production.rb +1 -5
- data/spec/support/v6.0/config/initializers/content_security_policy.rb +29 -0
- data/spec/support/v6.0/config/initializers/cookies_serializer.rb +6 -0
- data/spec/support/v6.0/config/initializers/sorbet_rails.rb +3 -0
- data/spec/support/v6.0/config/routes.rb +2 -2
- data/spec/support/v6.0/db/migrate/20190620000001_create_wizards.rb +13 -0
- data/spec/support/v6.0/db/migrate/20190620000002_create_wands.rb +12 -0
- data/spec/support/v6.0/db/migrate/20190620000003_create_spell_books.rb +9 -0
- data/spec/support/v6.0/db/migrate/20190620000004_add_more_column_types_to_wands.rb +16 -0
- data/spec/support/v6.0/db/schema.rb +1 -1
- data/spec/support/{v5.2/test/fixtures/files → v6.0/lib/assets}/.keep +0 -0
- data/spec/support/v6.0/lib/mythical_rbi_plugin.rb +16 -0
- data/spec/support/v6.0/public/robots.txt +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +1 -50
- data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +232 -479
- data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +179 -77
- data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +1 -283
- data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +71 -70
- data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +705 -843
- data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +5 -1
- data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +121 -300
- data/spec/support/v6.0/sorbet/rbi/gems/bindex.rbi +36 -0
- data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +22 -22
- data/spec/support/v6.0/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1 -1
- data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +8 -2
- data/spec/support/v6.0/sorbet/rbi/gems/parlour.rbi +214 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +54 -95
- data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +3 -2
- data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +9 -221
- data/spec/support/v6.0/sorbet/rbi/gems/web-console.rbi +72 -0
- data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +12 -4
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +457 -2
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +422 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1229 -17
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.0.0.rc1/activerecord.rbi +10 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +361 -10
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +32 -4
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +99 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +14 -14
- data/spec/support/v6.0/sorbet/rbi/todo.rbi +59 -0
- data/spec/support/v6.0/sorbet_test_cases.rb +123 -0
- data/spec/support/v6.0/typed-override.yaml +2 -0
- data/spec/test_data/v4.2/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.0/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.1/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.2-no-sorbet/expected_helpers.rbi +5 -0
- data/spec/test_data/v5.2/expected_helpers.rbi +5 -0
- data/spec/test_data/v6.0/expected_helpers.rbi +5 -0
- data/spec/test_data/v6.0/expected_routes.rbi +12 -0
- metadata +356 -317
- data/spec/support/rails_shared/config/initializers/sorbet_rails.rb +0 -3
- data/spec/support/rails_shared/config/routes.rb +0 -6
- data/spec/support/rails_shared/lib/mythical_rbi_plugin.rb +0 -16
- data/spec/support/rails_shared/typed-override.yaml +0 -2
- data/spec/support/rails_symlinks/app/controllers +0 -1
- data/spec/support/rails_symlinks/app/helpers +0 -1
- data/spec/support/rails_symlinks/app/models +0 -1
- data/spec/support/rails_symlinks/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/rails_symlinks/config/routes.rb +0 -5
- data/spec/support/rails_symlinks/db/migrate +0 -1
- data/spec/support/rails_symlinks/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/rails_symlinks/sorbet_test_cases.rb +0 -1
- data/spec/support/rails_symlinks/typed-override.yaml +0 -1
- data/spec/support/v4.2/app/helpers +0 -1
- data/spec/support/v4.2/app/models +0 -1
- data/spec/support/v4.2/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v4.2/config/secrets.yml +0 -22
- data/spec/support/v4.2/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +0 -22
- data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +0 -18
- data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +0 -1053
- data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +0 -73
- data/spec/support/v4.2/sorbet_test_cases.rb +0 -1
- data/spec/support/v4.2/typed-override.yaml +0 -1
- data/spec/support/v5.0/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.0/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.0/app/controllers +0 -1
- data/spec/support/v5.0/app/helpers +0 -1
- data/spec/support/v5.0/app/models +0 -1
- data/spec/support/v5.0/config/cable.yml +0 -9
- data/spec/support/v5.0/config/initializers/cors.rb +0 -17
- data/spec/support/v5.0/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.0/config/secrets.yml +0 -22
- data/spec/support/v5.0/db/migrate +0 -1
- data/spec/support/v5.0/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.0/rails_symlinks/app/controllers +0 -1
- data/spec/support/v5.0/rails_symlinks/app/models +0 -1
- data/spec/support/v5.0/rails_symlinks/config/routes.rb +0 -6
- data/spec/support/v5.0/rails_symlinks/db/migrate +0 -1
- data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +0 -309
- data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +0 -255
- data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +0 -401
- data/spec/support/v5.0/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.0/test/test_helper.rb +0 -11
- data/spec/support/v5.0/typed-override.yaml +0 -1
- data/spec/support/v5.1/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.1/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.1/app/controllers +0 -1
- data/spec/support/v5.1/app/helpers +0 -1
- data/spec/support/v5.1/app/models +0 -1
- data/spec/support/v5.1/bin/spring +0 -17
- data/spec/support/v5.1/config/cable.yml +0 -10
- data/spec/support/v5.1/config/initializers/cors.rb +0 -17
- data/spec/support/v5.1/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.1/config/routes.rb +0 -1
- data/spec/support/v5.1/config/secrets.yml +0 -32
- data/spec/support/v5.1/config/spring.rb +0 -7
- data/spec/support/v5.1/db/migrate +0 -1
- data/spec/support/v5.1/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +0 -309
- data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +0 -255
- data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +0 -450
- data/spec/support/v5.1/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.1/test/test_helper.rb +0 -11
- data/spec/support/v5.1/typed-override.yaml +0 -1
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.2-no-sorbet/app/controllers +0 -1
- data/spec/support/v5.2-no-sorbet/app/helpers +0 -1
- data/spec/support/v5.2-no-sorbet/app/models +0 -1
- data/spec/support/v5.2-no-sorbet/bin/spring +0 -17
- data/spec/support/v5.2-no-sorbet/config/cable.yml +0 -10
- data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +0 -1
- data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +0 -17
- data/spec/support/v5.2-no-sorbet/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/routes.rb +0 -1
- data/spec/support/v5.2-no-sorbet/config/spring.rb +0 -7
- data/spec/support/v5.2-no-sorbet/db/migrate +0 -1
- data/spec/support/v5.2-no-sorbet/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.2-no-sorbet/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.2-no-sorbet/test/test_helper.rb +0 -11
- data/spec/support/v5.2-no-sorbet/typed-override.yaml +0 -1
- data/spec/support/v5.2/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v5.2/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v5.2/app/controllers +0 -1
- data/spec/support/v5.2/app/helpers +0 -1
- data/spec/support/v5.2/app/models +0 -1
- data/spec/support/v5.2/bin/spring +0 -17
- data/spec/support/v5.2/config/cable.yml +0 -10
- data/spec/support/v5.2/config/credentials.yml.enc +0 -1
- data/spec/support/v5.2/config/initializers/cors.rb +0 -17
- data/spec/support/v5.2/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v5.2/config/routes.rb +0 -1
- data/spec/support/v5.2/config/spring.rb +0 -7
- data/spec/support/v5.2/db/migrate +0 -1
- data/spec/support/v5.2/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v5.2/sorbet/rbi/gems/actioncable.rbi +0 -309
- data/spec/support/v5.2/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v5.2/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v5.2/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v5.2/sorbet/rbi/gems/rake.rbi +0 -251
- data/spec/support/v5.2/sorbet/rbi/gems/thor.rbi +0 -449
- data/spec/support/v5.2/sorbet_test_cases.rb +0 -1
- data/spec/support/v5.2/test/integration/.keep +0 -0
- data/spec/support/v5.2/test/mailers/.keep +0 -0
- data/spec/support/v5.2/test/models/.keep +0 -0
- data/spec/support/v5.2/test/test_helper.rb +0 -11
- data/spec/support/v5.2/typed-override.yaml +0 -1
- data/spec/support/v6.0/app/channels/application_cable/channel.rb +0 -5
- data/spec/support/v6.0/app/channels/application_cable/connection.rb +0 -5
- data/spec/support/v6.0/app/controllers +0 -1
- data/spec/support/v6.0/app/helpers +0 -1
- data/spec/support/v6.0/app/models +0 -1
- data/spec/support/v6.0/config/cable.yml +0 -10
- data/spec/support/v6.0/config/credentials.yml.enc +0 -1
- data/spec/support/v6.0/config/initializers/cors.rb +0 -17
- data/spec/support/v6.0/config/initializers/sorbet_rails.rb +0 -1
- data/spec/support/v6.0/db/migrate +0 -1
- data/spec/support/v6.0/lib/mythical_rbi_plugin.rb +0 -1
- data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +0 -245
- data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +0 -63
- data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +0 -276
- data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +0 -67
- data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +0 -254
- data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +0 -450
- data/spec/support/v6.0/sorbet_test_cases.rb +0 -1
- data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +0 -12
- data/spec/support/v6.0/test/controllers/.keep +0 -0
- data/spec/support/v6.0/test/fixtures/.keep +0 -0
- data/spec/support/v6.0/test/fixtures/files/.keep +0 -0
- data/spec/support/v6.0/test/integration/.keep +0 -0
- data/spec/support/v6.0/test/mailers/.keep +0 -0
- data/spec/support/v6.0/test/models/.keep +0 -0
- data/spec/support/v6.0/test/test_helper.rb +0 -14
- data/spec/support/v6.0/typed-override.yaml +0 -1
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
File without changes
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# typed: true
|
2
|
+
class Wand < ApplicationRecord
|
3
|
+
include Mythical
|
4
|
+
|
5
|
+
enum core_type: {
|
6
|
+
phoenix_feather: 0,
|
7
|
+
dragon_heartstring: 1,
|
8
|
+
unicorn_tail_hair: 2,
|
9
|
+
basilisk_horn: 3,
|
10
|
+
}
|
11
|
+
|
12
|
+
belongs_to :wizard
|
13
|
+
|
14
|
+
def wood_type
|
15
|
+
'Type ' + super
|
16
|
+
end
|
17
|
+
end
|
@@ -9,9 +9,9 @@ require "active_record/railtie"
|
|
9
9
|
require "action_controller/railtie"
|
10
10
|
require "action_mailer/railtie"
|
11
11
|
require "action_view/railtie"
|
12
|
-
require "action_cable/engine"
|
12
|
+
# require "action_cable/engine"
|
13
13
|
# require "sprockets/railtie"
|
14
|
-
require "rails/test_unit/railtie"
|
14
|
+
# require "rails/test_unit/railtie"
|
15
15
|
|
16
16
|
# Require the gems listed in Gemfile, including any gems
|
17
17
|
# you've limited to :test, :development, or :production.
|
@@ -22,10 +22,5 @@ module V50
|
|
22
22
|
# Settings in config/environments/* take precedence over those specified here.
|
23
23
|
# Application configuration should go into files in config/initializers
|
24
24
|
# -- all .rb files in that directory are automatically loaded.
|
25
|
-
|
26
|
-
# Only loads a smaller set of middleware suitable for API only apps.
|
27
|
-
# Middleware like session, flash, cookies can be added back manually.
|
28
|
-
# Skip views, helpers and assets when generating a new resource.
|
29
|
-
config.api_only = true
|
30
25
|
end
|
31
26
|
end
|
@@ -27,10 +27,6 @@ Rails.application.configure do
|
|
27
27
|
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
28
28
|
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
29
29
|
|
30
|
-
# Mount Action Cable outside main process or domain
|
31
|
-
# config.action_cable.mount_path = nil
|
32
|
-
# config.action_cable.url = 'wss://example.com/cable'
|
33
|
-
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
|
34
30
|
|
35
31
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
36
32
|
# config.force_ssl = true
|
@@ -5,6 +5,14 @@
|
|
5
5
|
#
|
6
6
|
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
7
7
|
|
8
|
+
Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
|
9
|
+
|
10
|
+
# Enable per-form CSRF tokens. Previous versions had false.
|
11
|
+
Rails.application.config.action_controller.per_form_csrf_tokens = true
|
12
|
+
|
13
|
+
# Enable origin-checking CSRF mitigation. Previous versions had false.
|
14
|
+
Rails.application.config.action_controller.forgery_protection_origin_check = true
|
15
|
+
|
8
16
|
# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
|
9
17
|
# Previous versions had false.
|
10
18
|
ActiveSupport.to_time_preserves_timezone = true
|
@@ -1,5 +1,5 @@
|
|
1
|
+
# typed: strict
|
1
2
|
Rails.application.routes.draw do
|
2
|
-
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
3
|
-
|
4
3
|
get 'test/index' => 'test#index'
|
4
|
+
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
5
5
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# typed: true
|
2
|
+
class AddMoreColumnTypesToWands < ActiveRecord::Migration[5.0]
|
3
|
+
def change
|
4
|
+
add_column :wands, :flexibility, :float, null: false, default: 0.5
|
5
|
+
add_column :wands, :hardness, :decimal, null: false, precision: 10, scale: 10, default: 5
|
6
|
+
add_column :wands, :reflectance, :decimal, null: false, precision: 10, scale: 0, default: 0.5
|
7
|
+
add_column :wands, :broken, :boolean, null: false, default: false
|
8
|
+
add_column :wands, :chosen_at_date, :date
|
9
|
+
add_column :wands, :chosen_at_time, :time
|
10
|
+
# JSON column type is only supported on 5.2 or higher
|
11
|
+
unless ['4.2', '5.0', '5.1'].include?(ENV['RAILS_VERSION'])
|
12
|
+
add_column :wands, :spell_history, :json
|
13
|
+
add_column :wands, :maker_info, :json, null: false, default: '{}'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20190620000004) do
|
15
15
|
|
16
16
|
create_table "spell_books", force: :cascade do |t|
|
17
17
|
t.string "name"
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# typed: true
|
2
|
+
class MythicalRbiPlugin < SorbetRails::ModelPlugins::Base
|
3
|
+
def generate(root)
|
4
|
+
return unless @model_class.include?(Mythical)
|
5
|
+
|
6
|
+
model_class_rbi = root.create_class(self.model_class_name)
|
7
|
+
|
8
|
+
# ActiveSupport::Concern class method will be inserted to the class
|
9
|
+
# directly. We need to also put the sig in the model class rbi directly
|
10
|
+
model_class_rbi.create_method(
|
11
|
+
'mythicals',
|
12
|
+
class_method: true,
|
13
|
+
return_type: "T::Array[#{@model_class.name}]",
|
14
|
+
)
|
15
|
+
end
|
16
|
+
end
|
@@ -291,7 +291,7 @@ class ActionMailer::Base < AbstractController::Base
|
|
291
291
|
extend ActiveSupport::Callbacks::ClassMethods
|
292
292
|
extend ActiveSupport::DescendantsTracker
|
293
293
|
extend ActiveSupport::Rescuable::ClassMethods
|
294
|
-
extend
|
294
|
+
extend Anonymous_Module_22
|
295
295
|
include AbstractController::AssetPaths
|
296
296
|
include AbstractController::Caching
|
297
297
|
include AbstractController::Caching::Fragments
|
@@ -326,54 +326,6 @@ class ActionMailer::Base::LateAttachmentsProxy < SimpleDelegator
|
|
326
326
|
def _raise_error; end
|
327
327
|
def inline; end
|
328
328
|
end
|
329
|
-
module
|
329
|
+
module Anonymous_Module_22
|
330
330
|
def inherited(klass); end
|
331
331
|
end
|
332
|
-
module ActionMailer::TestHelper
|
333
|
-
def assert_emails(number); end
|
334
|
-
def assert_enqueued_emails(number, &block); end
|
335
|
-
def assert_no_emails(&block); end
|
336
|
-
def assert_no_enqueued_emails(&block); end
|
337
|
-
include ActiveJob::TestHelper
|
338
|
-
end
|
339
|
-
class ActionMailer::NonInferrableMailerError < StandardError
|
340
|
-
def initialize(name); end
|
341
|
-
end
|
342
|
-
class ActionMailer::TestCase < ActiveSupport::TestCase
|
343
|
-
def _mailer_class; end
|
344
|
-
def _mailer_class=(arg0); end
|
345
|
-
def _mailer_class?; end
|
346
|
-
def self._mailer_class; end
|
347
|
-
def self._mailer_class=(val); end
|
348
|
-
def self._mailer_class?; end
|
349
|
-
def self._setup_callbacks; end
|
350
|
-
def self._teardown_callbacks; end
|
351
|
-
extend ActionMailer::TestCase::Behavior::ClassMethods
|
352
|
-
extend ActiveSupport::Testing::ConstantLookup::ClassMethods
|
353
|
-
include ActionMailer::TestCase::Behavior
|
354
|
-
include ActiveSupport::Testing::ConstantLookup
|
355
|
-
end
|
356
|
-
module ActionMailer::TestCase::ClearTestDeliveries
|
357
|
-
def clear_test_deliveries; end
|
358
|
-
extend ActiveSupport::Concern
|
359
|
-
end
|
360
|
-
module ActionMailer::TestCase::Behavior
|
361
|
-
def charset; end
|
362
|
-
def encode(subject); end
|
363
|
-
def initialize_test_deliveries; end
|
364
|
-
def read_fixture(action); end
|
365
|
-
def restore_delivery_method; end
|
366
|
-
def restore_test_deliveries; end
|
367
|
-
def set_delivery_method(method); end
|
368
|
-
def set_expected_mail; end
|
369
|
-
extend ActiveSupport::Concern
|
370
|
-
include ActionMailer::TestHelper
|
371
|
-
include ActiveSupport::Testing::ConstantLookup
|
372
|
-
include Rails::Dom::Testing::Assertions::DomAssertions
|
373
|
-
include Rails::Dom::Testing::Assertions::SelectorAssertions
|
374
|
-
end
|
375
|
-
module ActionMailer::TestCase::Behavior::ClassMethods
|
376
|
-
def determine_default_mailer(name); end
|
377
|
-
def mailer_class; end
|
378
|
-
def tests(mailer); end
|
379
|
-
end
|
@@ -145,7 +145,7 @@ class ActionDispatch::Response
|
|
145
145
|
include MonitorMixin
|
146
146
|
include Rack::Response::Helpers
|
147
147
|
end
|
148
|
-
class ActionDispatch::Response::Header <
|
148
|
+
class ActionDispatch::Response::Header < Anonymous_Delegator_4
|
149
149
|
def []=(k, v); end
|
150
150
|
def initialize(response, header); end
|
151
151
|
def merge(other); end
|
@@ -357,6 +357,86 @@ module ActionController::Railties::Helpers
|
|
357
357
|
end
|
358
358
|
class ActionController::Railtie < Rails::Railtie
|
359
359
|
end
|
360
|
+
module Mime
|
361
|
+
def self.[](type); end
|
362
|
+
def self.const_defined?(sym, inherit = nil); end
|
363
|
+
def self.const_missing(sym); end
|
364
|
+
def self.fetch(type); end
|
365
|
+
end
|
366
|
+
class Mime::Mimes
|
367
|
+
def <<(type); end
|
368
|
+
def delete_if; end
|
369
|
+
def each; end
|
370
|
+
def initialize; end
|
371
|
+
def symbols; end
|
372
|
+
include Enumerable
|
373
|
+
end
|
374
|
+
class Mime::Type
|
375
|
+
def ==(mime_type); end
|
376
|
+
def ===(list); end
|
377
|
+
def =~(mime_type); end
|
378
|
+
def all?; end
|
379
|
+
def eql?(other); end
|
380
|
+
def hash; end
|
381
|
+
def html?; end
|
382
|
+
def initialize(string, symbol = nil, synonyms = nil); end
|
383
|
+
def method_missing(method, *args); end
|
384
|
+
def ref; end
|
385
|
+
def respond_to_missing?(method, include_private = nil); end
|
386
|
+
def self.lookup(string); end
|
387
|
+
def self.lookup_by_extension(extension); end
|
388
|
+
def self.parse(accept_header); end
|
389
|
+
def self.parse_data_with_trailing_star(type); end
|
390
|
+
def self.parse_trailing_star(accept_header); end
|
391
|
+
def self.register(string, symbol, mime_type_synonyms = nil, extension_synonyms = nil, skip_lookup = nil); end
|
392
|
+
def self.register_alias(string, symbol, extension_synonyms = nil); end
|
393
|
+
def self.register_callback(&block); end
|
394
|
+
def self.unregister(symbol); end
|
395
|
+
def string; end
|
396
|
+
def symbol; end
|
397
|
+
def synonyms; end
|
398
|
+
def to_a; end
|
399
|
+
def to_ary; end
|
400
|
+
def to_s; end
|
401
|
+
def to_str; end
|
402
|
+
def to_sym; end
|
403
|
+
end
|
404
|
+
class Mime::Type::AcceptItem
|
405
|
+
def <=>(item); end
|
406
|
+
def index; end
|
407
|
+
def index=(arg0); end
|
408
|
+
def initialize(index, name, q = nil); end
|
409
|
+
def name; end
|
410
|
+
def name=(arg0); end
|
411
|
+
def q; end
|
412
|
+
def q=(arg0); end
|
413
|
+
def to_s; end
|
414
|
+
end
|
415
|
+
class Mime::Type::AcceptList
|
416
|
+
def self.find_item_by_name(array, name); end
|
417
|
+
def self.sort!(list); end
|
418
|
+
end
|
419
|
+
class Mime::AllType < Mime::Type
|
420
|
+
def all?; end
|
421
|
+
def html?; end
|
422
|
+
def initialize; end
|
423
|
+
def self.allocate; end
|
424
|
+
def self.instance; end
|
425
|
+
def self.new(*arg0); end
|
426
|
+
extend Singleton::SingletonClassMethods
|
427
|
+
include Singleton
|
428
|
+
end
|
429
|
+
class Mime::NullType
|
430
|
+
def method_missing(method, *args); end
|
431
|
+
def nil?; end
|
432
|
+
def ref; end
|
433
|
+
def respond_to_missing?(method, include_private = nil); end
|
434
|
+
def self.allocate; end
|
435
|
+
def self.instance; end
|
436
|
+
def self.new(*arg0); end
|
437
|
+
extend Singleton::SingletonClassMethods
|
438
|
+
include Singleton
|
439
|
+
end
|
360
440
|
module ActionDispatch::Routing
|
361
441
|
extend ActiveSupport::Autoload
|
362
442
|
end
|
@@ -473,7 +553,7 @@ class ActionDispatch::Journey::Format
|
|
473
553
|
def self.required_path(symbol); end
|
474
554
|
def self.required_segment(symbol); end
|
475
555
|
end
|
476
|
-
class
|
556
|
+
class Anonymous_Struct_5 < Struct
|
477
557
|
def escaper; end
|
478
558
|
def escaper=(_); end
|
479
559
|
def name; end
|
@@ -483,7 +563,7 @@ class Anonymous_Struct_6 < Struct
|
|
483
563
|
def self.members; end
|
484
564
|
def self.new(*arg0); end
|
485
565
|
end
|
486
|
-
class ActionDispatch::Journey::Format::Parameter <
|
566
|
+
class ActionDispatch::Journey::Format::Parameter < Anonymous_Struct_5
|
487
567
|
def escape(value); end
|
488
568
|
end
|
489
569
|
module ActionDispatch::Journey::Visitors
|
@@ -901,86 +981,6 @@ module ActionDispatch::Http::MimeNegotiation
|
|
901
981
|
def variant=(variant); end
|
902
982
|
extend ActiveSupport::Concern
|
903
983
|
end
|
904
|
-
module Mime
|
905
|
-
def self.[](type); end
|
906
|
-
def self.const_defined?(sym, inherit = nil); end
|
907
|
-
def self.const_missing(sym); end
|
908
|
-
def self.fetch(type); end
|
909
|
-
end
|
910
|
-
class Mime::Mimes
|
911
|
-
def <<(type); end
|
912
|
-
def delete_if; end
|
913
|
-
def each; end
|
914
|
-
def initialize; end
|
915
|
-
def symbols; end
|
916
|
-
include Enumerable
|
917
|
-
end
|
918
|
-
class Mime::Type
|
919
|
-
def ==(mime_type); end
|
920
|
-
def ===(list); end
|
921
|
-
def =~(mime_type); end
|
922
|
-
def all?; end
|
923
|
-
def eql?(other); end
|
924
|
-
def hash; end
|
925
|
-
def html?; end
|
926
|
-
def initialize(string, symbol = nil, synonyms = nil); end
|
927
|
-
def method_missing(method, *args); end
|
928
|
-
def ref; end
|
929
|
-
def respond_to_missing?(method, include_private = nil); end
|
930
|
-
def self.lookup(string); end
|
931
|
-
def self.lookup_by_extension(extension); end
|
932
|
-
def self.parse(accept_header); end
|
933
|
-
def self.parse_data_with_trailing_star(type); end
|
934
|
-
def self.parse_trailing_star(accept_header); end
|
935
|
-
def self.register(string, symbol, mime_type_synonyms = nil, extension_synonyms = nil, skip_lookup = nil); end
|
936
|
-
def self.register_alias(string, symbol, extension_synonyms = nil); end
|
937
|
-
def self.register_callback(&block); end
|
938
|
-
def self.unregister(symbol); end
|
939
|
-
def string; end
|
940
|
-
def symbol; end
|
941
|
-
def synonyms; end
|
942
|
-
def to_a; end
|
943
|
-
def to_ary; end
|
944
|
-
def to_s; end
|
945
|
-
def to_str; end
|
946
|
-
def to_sym; end
|
947
|
-
end
|
948
|
-
class Mime::Type::AcceptItem
|
949
|
-
def <=>(item); end
|
950
|
-
def index; end
|
951
|
-
def index=(arg0); end
|
952
|
-
def initialize(index, name, q = nil); end
|
953
|
-
def name; end
|
954
|
-
def name=(arg0); end
|
955
|
-
def q; end
|
956
|
-
def q=(arg0); end
|
957
|
-
def to_s; end
|
958
|
-
end
|
959
|
-
class Mime::Type::AcceptList
|
960
|
-
def self.find_item_by_name(array, name); end
|
961
|
-
def self.sort!(list); end
|
962
|
-
end
|
963
|
-
class Mime::AllType < Mime::Type
|
964
|
-
def all?; end
|
965
|
-
def html?; end
|
966
|
-
def initialize; end
|
967
|
-
def self.allocate; end
|
968
|
-
def self.instance; end
|
969
|
-
def self.new(*arg0); end
|
970
|
-
extend Singleton::SingletonClassMethods
|
971
|
-
include Singleton
|
972
|
-
end
|
973
|
-
class Mime::NullType
|
974
|
-
def method_missing(method, *args); end
|
975
|
-
def nil?; end
|
976
|
-
def ref; end
|
977
|
-
def respond_to_missing?(method, include_private = nil); end
|
978
|
-
def self.allocate; end
|
979
|
-
def self.instance; end
|
980
|
-
def self.new(*arg0); end
|
981
|
-
extend Singleton::SingletonClassMethods
|
982
|
-
include Singleton
|
983
|
-
end
|
984
984
|
module ActionDispatch::Http::Parameters
|
985
985
|
def parameters; end
|
986
986
|
def params; end
|
@@ -1528,6 +1528,10 @@ class ActionDispatch::Callbacks
|
|
1528
1528
|
extend ActiveSupport::DescendantsTracker
|
1529
1529
|
include ActiveSupport::Callbacks
|
1530
1530
|
end
|
1531
|
+
module ActionController::ApiRendering
|
1532
|
+
def render_to_body(options = nil); end
|
1533
|
+
extend ActiveSupport::Concern
|
1534
|
+
end
|
1531
1535
|
class ActionDispatch::MiddlewareStack
|
1532
1536
|
def [](i); end
|
1533
1537
|
def assert_index(index, where); end
|
@@ -1669,6 +1673,132 @@ class ActionDispatch::RemoteIp::GetIp
|
|
1669
1673
|
def ips_from(header); end
|
1670
1674
|
def to_s; end
|
1671
1675
|
end
|
1676
|
+
class ActionDispatch::Request::Session
|
1677
|
+
def [](key); end
|
1678
|
+
def []=(key, value); end
|
1679
|
+
def clear; end
|
1680
|
+
def delete(key); end
|
1681
|
+
def destroy; end
|
1682
|
+
def each(&block); end
|
1683
|
+
def empty?; end
|
1684
|
+
def exists?; end
|
1685
|
+
def fetch(key, default = nil, &block); end
|
1686
|
+
def has_key?(key); end
|
1687
|
+
def id; end
|
1688
|
+
def include?(key); end
|
1689
|
+
def initialize(by, req); end
|
1690
|
+
def inspect; end
|
1691
|
+
def key?(key); end
|
1692
|
+
def keys; end
|
1693
|
+
def load!; end
|
1694
|
+
def load_for_read!; end
|
1695
|
+
def load_for_write!; end
|
1696
|
+
def loaded?; end
|
1697
|
+
def merge!(other); end
|
1698
|
+
def options; end
|
1699
|
+
def self.create(store, req, default_options); end
|
1700
|
+
def self.find(req); end
|
1701
|
+
def self.set(req, session); end
|
1702
|
+
def stringify_keys(other); end
|
1703
|
+
def to_hash; end
|
1704
|
+
def update(hash); end
|
1705
|
+
def values; end
|
1706
|
+
end
|
1707
|
+
class ActionDispatch::Request::Session::Options
|
1708
|
+
def [](key); end
|
1709
|
+
def []=(k, v); end
|
1710
|
+
def id(req); end
|
1711
|
+
def initialize(by, default_options); end
|
1712
|
+
def self.find(req); end
|
1713
|
+
def self.set(req, options); end
|
1714
|
+
def to_hash; end
|
1715
|
+
def values_at(*args); end
|
1716
|
+
end
|
1717
|
+
class ActionDispatch::Session::SessionRestoreError < StandardError
|
1718
|
+
def initialize(const_error = nil); end
|
1719
|
+
def original_exception; end
|
1720
|
+
end
|
1721
|
+
module ActionDispatch::Session::Compatibility
|
1722
|
+
def generate_sid; end
|
1723
|
+
def initialize(app, options = nil); end
|
1724
|
+
def initialize_sid; end
|
1725
|
+
def make_request(env); end
|
1726
|
+
end
|
1727
|
+
module ActionDispatch::Session::StaleSessionCheck
|
1728
|
+
def extract_session_id(env); end
|
1729
|
+
def load_session(env); end
|
1730
|
+
def stale_session_check!; end
|
1731
|
+
end
|
1732
|
+
module ActionDispatch::Session::SessionObject
|
1733
|
+
def loaded_session?(session); end
|
1734
|
+
def prepare_session(req); end
|
1735
|
+
end
|
1736
|
+
class ActionDispatch::Session::AbstractStore < Rack::Session::Abstract::Persisted
|
1737
|
+
def set_cookie(request, session_id, cookie); end
|
1738
|
+
include ActionDispatch::Session::Compatibility
|
1739
|
+
include ActionDispatch::Session::SessionObject
|
1740
|
+
include ActionDispatch::Session::StaleSessionCheck
|
1741
|
+
end
|
1742
|
+
class ActionDispatch::Session::CookieStore < ActionDispatch::Session::AbstractStore
|
1743
|
+
def cookie_jar(request); end
|
1744
|
+
def delete_session(req, session_id, options); end
|
1745
|
+
def extract_session_id(req); end
|
1746
|
+
def get_cookie(req); end
|
1747
|
+
def initialize(app, options = nil); end
|
1748
|
+
def load_session(req); end
|
1749
|
+
def persistent_session_id!(data, sid = nil); end
|
1750
|
+
def set_cookie(request, session_id, cookie); end
|
1751
|
+
def unpacked_cookie_data(req); end
|
1752
|
+
def write_session(req, sid, session_data, options); end
|
1753
|
+
end
|
1754
|
+
class ActionDispatch::Flash
|
1755
|
+
def self.new(app); end
|
1756
|
+
end
|
1757
|
+
module ActionDispatch::Flash::RequestMethods
|
1758
|
+
def commit_flash; end
|
1759
|
+
def flash; end
|
1760
|
+
def flash=(flash); end
|
1761
|
+
def flash_hash; end
|
1762
|
+
def reset_session; end
|
1763
|
+
end
|
1764
|
+
class ActionDispatch::Flash::FlashNow
|
1765
|
+
def [](k); end
|
1766
|
+
def []=(k, v); end
|
1767
|
+
def alert=(message); end
|
1768
|
+
def flash; end
|
1769
|
+
def flash=(arg0); end
|
1770
|
+
def initialize(flash); end
|
1771
|
+
def notice=(message); end
|
1772
|
+
end
|
1773
|
+
class ActionDispatch::Flash::FlashHash
|
1774
|
+
def [](k); end
|
1775
|
+
def []=(k, v); end
|
1776
|
+
def alert; end
|
1777
|
+
def alert=(message); end
|
1778
|
+
def clear; end
|
1779
|
+
def delete(key); end
|
1780
|
+
def discard(k = nil); end
|
1781
|
+
def each(&block); end
|
1782
|
+
def empty?; end
|
1783
|
+
def initialize(flashes = nil, discard = nil); end
|
1784
|
+
def initialize_copy(other); end
|
1785
|
+
def keep(k = nil); end
|
1786
|
+
def key?(name); end
|
1787
|
+
def keys; end
|
1788
|
+
def merge!(h); end
|
1789
|
+
def notice; end
|
1790
|
+
def notice=(message); end
|
1791
|
+
def now; end
|
1792
|
+
def now_is_loaded?; end
|
1793
|
+
def replace(h); end
|
1794
|
+
def self.from_session_value(value); end
|
1795
|
+
def stringify_array(array); end
|
1796
|
+
def sweep; end
|
1797
|
+
def to_hash; end
|
1798
|
+
def to_session_value; end
|
1799
|
+
def update(h); end
|
1800
|
+
include Enumerable
|
1801
|
+
end
|
1672
1802
|
class ActionDispatch::Routing::Redirect < ActionDispatch::Routing::Endpoint
|
1673
1803
|
def block; end
|
1674
1804
|
def call(env); end
|
@@ -1893,16 +2023,62 @@ class ActionDispatch::Routing::Mapper::Scope
|
|
1893
2023
|
end
|
1894
2024
|
class ActionController::LogSubscriber < ActiveSupport::LogSubscriber
|
1895
2025
|
end
|
1896
|
-
|
1897
|
-
end
|
1898
|
-
|
2026
|
+
module ActionController::ParamsWrapper
|
2027
|
+
def _extract_parameters(parameters); end
|
2028
|
+
def _wrap_parameters(parameters); end
|
2029
|
+
def _wrapper_enabled?; end
|
2030
|
+
def _wrapper_formats; end
|
2031
|
+
def _wrapper_key; end
|
2032
|
+
def process_action(*args); end
|
2033
|
+
extend ActiveSupport::Concern
|
1899
2034
|
end
|
1900
|
-
class
|
1901
|
-
def
|
1902
|
-
def
|
1903
|
-
def
|
1904
|
-
def
|
1905
|
-
def
|
2035
|
+
class Anonymous_Struct_6 < Struct
|
2036
|
+
def exclude; end
|
2037
|
+
def exclude=(_); end
|
2038
|
+
def format; end
|
2039
|
+
def format=(_); end
|
2040
|
+
def include; end
|
2041
|
+
def include=(_); end
|
2042
|
+
def klass; end
|
2043
|
+
def klass=(_); end
|
2044
|
+
def model; end
|
2045
|
+
def model=(_); end
|
2046
|
+
def name; end
|
2047
|
+
def name=(_); end
|
2048
|
+
def self.[](*arg0); end
|
2049
|
+
def self.inspect; end
|
2050
|
+
def self.members; end
|
2051
|
+
def self.new(*arg0); end
|
2052
|
+
end
|
2053
|
+
class ActionController::ParamsWrapper::Options < Anonymous_Struct_6
|
2054
|
+
def _default_wrap_model; end
|
2055
|
+
def include; end
|
2056
|
+
def initialize(name, format, include, exclude, klass, model); end
|
2057
|
+
def lock; end
|
2058
|
+
def locked?; end
|
2059
|
+
def model; end
|
2060
|
+
def name; end
|
2061
|
+
def self.from_hash(hash); end
|
2062
|
+
def synchronize(&block); end
|
2063
|
+
def try_lock; end
|
2064
|
+
def unlock; end
|
2065
|
+
include Mutex_m
|
2066
|
+
end
|
2067
|
+
module ActionController::ParamsWrapper::ClassMethods
|
2068
|
+
def _set_wrapper_options(options); end
|
2069
|
+
def inherited(klass); end
|
2070
|
+
def wrap_parameters(name_or_model_or_options, options = nil); end
|
2071
|
+
end
|
2072
|
+
class AbstractController::Error < StandardError
|
2073
|
+
end
|
2074
|
+
class AbstractController::ActionNotFound < StandardError
|
2075
|
+
end
|
2076
|
+
class AbstractController::Base
|
2077
|
+
def _find_action_name(action_name); end
|
2078
|
+
def _handle_action_missing(*args); end
|
2079
|
+
def _valid_action_name?(action_name); end
|
2080
|
+
def action_method?(name); end
|
2081
|
+
def action_methods; end
|
1906
2082
|
def action_name; end
|
1907
2083
|
def action_name=(arg0); end
|
1908
2084
|
def available_action?(action_name); end
|
@@ -1979,7 +2155,6 @@ class ActionController::Metal < AbstractController::Base
|
|
1979
2155
|
def status=(arg); end
|
1980
2156
|
def to_a; end
|
1981
2157
|
def url_for(string); end
|
1982
|
-
include ActionController::Testing::Functional
|
1983
2158
|
end
|
1984
2159
|
class AbstractController::DoubleRenderError < AbstractController::Error
|
1985
2160
|
def initialize(message = nil); end
|
@@ -2001,6 +2176,15 @@ module AbstractController::Rendering
|
|
2001
2176
|
extend ActiveSupport::Concern
|
2002
2177
|
include ActionView::ViewPaths
|
2003
2178
|
end
|
2179
|
+
module AbstractController::Translation
|
2180
|
+
def l(*args); end
|
2181
|
+
def localize(*args); end
|
2182
|
+
def t(key, options = nil); end
|
2183
|
+
def translate(key, options = nil); end
|
2184
|
+
end
|
2185
|
+
module AbstractController::AssetPaths
|
2186
|
+
extend ActiveSupport::Concern
|
2187
|
+
end
|
2004
2188
|
module AbstractController::UrlFor
|
2005
2189
|
def _routes; end
|
2006
2190
|
extend ActiveSupport::Concern
|
@@ -2031,10 +2215,26 @@ module ActionController::Redirecting
|
|
2031
2215
|
include AbstractController::Logger
|
2032
2216
|
include ActionController::UrlFor
|
2033
2217
|
end
|
2034
|
-
module ActionController::
|
2218
|
+
module ActionController::Rendering
|
2219
|
+
def _normalize_args(action = nil, options = nil, &blk); end
|
2220
|
+
def _normalize_options(options); end
|
2221
|
+
def _normalize_text(options); end
|
2222
|
+
def _process_options(options); end
|
2223
|
+
def _render_in_priorities(options); end
|
2224
|
+
def _set_html_content_type; end
|
2225
|
+
def _set_rendered_content_type(format); end
|
2226
|
+
def process_action(*arg0); end
|
2227
|
+
def render(*args); end
|
2035
2228
|
def render_to_body(options = nil); end
|
2229
|
+
def render_to_string(*arg0); end
|
2036
2230
|
extend ActiveSupport::Concern
|
2037
2231
|
end
|
2232
|
+
module ActionController::Rendering::ClassMethods
|
2233
|
+
def inherited(klass); end
|
2234
|
+
def render(*args, &block); end
|
2235
|
+
def renderer; end
|
2236
|
+
def setup_renderer!; end
|
2237
|
+
end
|
2038
2238
|
class ActionController::MissingRenderer < LoadError
|
2039
2239
|
def initialize(format); end
|
2040
2240
|
end
|
@@ -2074,159 +2274,6 @@ end
|
|
2074
2274
|
module ActionController::ConditionalGet::ClassMethods
|
2075
2275
|
def etag(&etagger); end
|
2076
2276
|
end
|
2077
|
-
module ActionController::BasicImplicitRender
|
2078
|
-
def default_render(*args); end
|
2079
|
-
def send_action(method, *args); end
|
2080
|
-
end
|
2081
|
-
module AbstractController::Callbacks
|
2082
|
-
def process_action(*args); end
|
2083
|
-
extend ActiveSupport::Concern
|
2084
|
-
include ActiveSupport::Callbacks
|
2085
|
-
end
|
2086
|
-
module AbstractController::Callbacks::ClassMethods
|
2087
|
-
def _insert_callbacks(callbacks, block = nil); end
|
2088
|
-
def _normalize_callback_option(options, from, to); end
|
2089
|
-
def _normalize_callback_options(options); end
|
2090
|
-
def after_action(*names, &blk); end
|
2091
|
-
def after_filter(*names, &blk); end
|
2092
|
-
def append_after_action(*names, &blk); end
|
2093
|
-
def append_after_filter(*names, &blk); end
|
2094
|
-
def append_around_action(*names, &blk); end
|
2095
|
-
def append_around_filter(*names, &blk); end
|
2096
|
-
def append_before_action(*names, &blk); end
|
2097
|
-
def append_before_filter(*names, &blk); end
|
2098
|
-
def around_action(*names, &blk); end
|
2099
|
-
def around_filter(*names, &blk); end
|
2100
|
-
def before_action(*names, &blk); end
|
2101
|
-
def before_filter(*names, &blk); end
|
2102
|
-
def prepend_after_action(*names, &blk); end
|
2103
|
-
def prepend_after_filter(*names, &blk); end
|
2104
|
-
def prepend_around_action(*names, &blk); end
|
2105
|
-
def prepend_around_filter(*names, &blk); end
|
2106
|
-
def prepend_before_action(*names, &blk); end
|
2107
|
-
def prepend_before_filter(*names, &blk); end
|
2108
|
-
def skip_action_callback(*names); end
|
2109
|
-
def skip_after_action(*names); end
|
2110
|
-
def skip_after_filter(*names, &blk); end
|
2111
|
-
def skip_around_action(*names); end
|
2112
|
-
def skip_around_filter(*names, &blk); end
|
2113
|
-
def skip_before_action(*names); end
|
2114
|
-
def skip_before_filter(*names, &blk); end
|
2115
|
-
def skip_filter(*names); end
|
2116
|
-
end
|
2117
|
-
module ActionController::ForceSSL
|
2118
|
-
def force_ssl_redirect(host_or_options = nil); end
|
2119
|
-
extend ActiveSupport::Concern
|
2120
|
-
include AbstractController::Callbacks
|
2121
|
-
end
|
2122
|
-
module ActionController::ForceSSL::ClassMethods
|
2123
|
-
def force_ssl(options = nil); end
|
2124
|
-
end
|
2125
|
-
module ActionController::Rendering
|
2126
|
-
def _normalize_args(action = nil, options = nil, &blk); end
|
2127
|
-
def _normalize_options(options); end
|
2128
|
-
def _normalize_text(options); end
|
2129
|
-
def _process_options(options); end
|
2130
|
-
def _render_in_priorities(options); end
|
2131
|
-
def _set_html_content_type; end
|
2132
|
-
def _set_rendered_content_type(format); end
|
2133
|
-
def process_action(*arg0); end
|
2134
|
-
def render(*args); end
|
2135
|
-
def render_to_body(options = nil); end
|
2136
|
-
def render_to_string(*arg0); end
|
2137
|
-
extend ActiveSupport::Concern
|
2138
|
-
end
|
2139
|
-
module ActionController::Rendering::ClassMethods
|
2140
|
-
def inherited(klass); end
|
2141
|
-
def render(*args, &block); end
|
2142
|
-
def renderer; end
|
2143
|
-
def setup_renderer!; end
|
2144
|
-
end
|
2145
|
-
module ActionController::DataStreaming
|
2146
|
-
def send_data(data, options = nil); end
|
2147
|
-
def send_file(path, options = nil); end
|
2148
|
-
def send_file_headers!(options); end
|
2149
|
-
extend ActiveSupport::Concern
|
2150
|
-
include ActionController::Rendering
|
2151
|
-
end
|
2152
|
-
module ActionController::Rescue
|
2153
|
-
def process_action(*args); end
|
2154
|
-
def show_detailed_exceptions?; end
|
2155
|
-
extend ActiveSupport::Concern
|
2156
|
-
include ActiveSupport::Rescuable
|
2157
|
-
end
|
2158
|
-
module ActionController::Instrumentation
|
2159
|
-
def append_info_to_payload(payload); end
|
2160
|
-
def cleanup_view_runtime; end
|
2161
|
-
def halted_callback_hook(filter); end
|
2162
|
-
def process_action(*args); end
|
2163
|
-
def redirect_to(*args); end
|
2164
|
-
def render(*args); end
|
2165
|
-
def send_data(data, options = nil); end
|
2166
|
-
def send_file(path, options = nil); end
|
2167
|
-
def view_runtime; end
|
2168
|
-
def view_runtime=(arg0); end
|
2169
|
-
extend ActiveSupport::Concern
|
2170
|
-
include AbstractController::Logger
|
2171
|
-
end
|
2172
|
-
module ActionController::Instrumentation::ClassMethods
|
2173
|
-
def log_process_action(payload); end
|
2174
|
-
end
|
2175
|
-
module ActionController::ParamsWrapper
|
2176
|
-
def _extract_parameters(parameters); end
|
2177
|
-
def _wrap_parameters(parameters); end
|
2178
|
-
def _wrapper_enabled?; end
|
2179
|
-
def _wrapper_formats; end
|
2180
|
-
def _wrapper_key; end
|
2181
|
-
def process_action(*args); end
|
2182
|
-
extend ActiveSupport::Concern
|
2183
|
-
end
|
2184
|
-
class Anonymous_Struct_7 < Struct
|
2185
|
-
def exclude; end
|
2186
|
-
def exclude=(_); end
|
2187
|
-
def format; end
|
2188
|
-
def format=(_); end
|
2189
|
-
def include; end
|
2190
|
-
def include=(_); end
|
2191
|
-
def klass; end
|
2192
|
-
def klass=(_); end
|
2193
|
-
def model; end
|
2194
|
-
def model=(_); end
|
2195
|
-
def name; end
|
2196
|
-
def name=(_); end
|
2197
|
-
def self.[](*arg0); end
|
2198
|
-
def self.inspect; end
|
2199
|
-
def self.members; end
|
2200
|
-
def self.new(*arg0); end
|
2201
|
-
end
|
2202
|
-
class ActionController::ParamsWrapper::Options < Anonymous_Struct_7
|
2203
|
-
def _default_wrap_model; end
|
2204
|
-
def include; end
|
2205
|
-
def initialize(name, format, include, exclude, klass, model); end
|
2206
|
-
def lock; end
|
2207
|
-
def locked?; end
|
2208
|
-
def model; end
|
2209
|
-
def name; end
|
2210
|
-
def self.from_hash(hash); end
|
2211
|
-
def synchronize(&block); end
|
2212
|
-
def try_lock; end
|
2213
|
-
def unlock; end
|
2214
|
-
include Mutex_m
|
2215
|
-
end
|
2216
|
-
module ActionController::ParamsWrapper::ClassMethods
|
2217
|
-
def _set_wrapper_options(options); end
|
2218
|
-
def inherited(klass); end
|
2219
|
-
def wrap_parameters(name_or_model_or_options, options = nil); end
|
2220
|
-
end
|
2221
|
-
module AbstractController::Translation
|
2222
|
-
def l(*args); end
|
2223
|
-
def localize(*args); end
|
2224
|
-
def t(key, options = nil); end
|
2225
|
-
def translate(key, options = nil); end
|
2226
|
-
end
|
2227
|
-
module AbstractController::AssetPaths
|
2228
|
-
extend ActiveSupport::Concern
|
2229
|
-
end
|
2230
2277
|
module ActionController::EtagWithTemplateDigest
|
2231
2278
|
def determine_template_etag(options); end
|
2232
2279
|
def lookup_and_digest_template(template); end
|
@@ -2290,6 +2337,10 @@ class ActionController::MimeResponds::Collector::VariantCollector
|
|
2290
2337
|
def variant; end
|
2291
2338
|
def variant_key; end
|
2292
2339
|
end
|
2340
|
+
module ActionController::BasicImplicitRender
|
2341
|
+
def default_render(*args); end
|
2342
|
+
def send_action(method, *args); end
|
2343
|
+
end
|
2293
2344
|
module ActionController::ImplicitRender
|
2294
2345
|
def default_render(*args); end
|
2295
2346
|
def interactive_browser_request?; end
|
@@ -2314,31 +2365,67 @@ end
|
|
2314
2365
|
module ActionController::FormBuilder::ClassMethods
|
2315
2366
|
def default_form_builder(builder); end
|
2316
2367
|
end
|
2317
|
-
|
2318
|
-
end
|
2319
|
-
|
2368
|
+
module AbstractController::Callbacks
|
2369
|
+
def process_action(*args); end
|
2370
|
+
extend ActiveSupport::Concern
|
2371
|
+
include ActiveSupport::Callbacks
|
2320
2372
|
end
|
2321
|
-
module
|
2322
|
-
def
|
2323
|
-
def
|
2324
|
-
def
|
2325
|
-
def
|
2326
|
-
def
|
2327
|
-
def
|
2328
|
-
def
|
2329
|
-
def
|
2330
|
-
def
|
2331
|
-
def
|
2332
|
-
def
|
2333
|
-
def
|
2334
|
-
def
|
2335
|
-
def
|
2336
|
-
def
|
2337
|
-
def
|
2338
|
-
def
|
2339
|
-
def
|
2340
|
-
def
|
2341
|
-
def
|
2373
|
+
module AbstractController::Callbacks::ClassMethods
|
2374
|
+
def _insert_callbacks(callbacks, block = nil); end
|
2375
|
+
def _normalize_callback_option(options, from, to); end
|
2376
|
+
def _normalize_callback_options(options); end
|
2377
|
+
def after_action(*names, &blk); end
|
2378
|
+
def after_filter(*names, &blk); end
|
2379
|
+
def append_after_action(*names, &blk); end
|
2380
|
+
def append_after_filter(*names, &blk); end
|
2381
|
+
def append_around_action(*names, &blk); end
|
2382
|
+
def append_around_filter(*names, &blk); end
|
2383
|
+
def append_before_action(*names, &blk); end
|
2384
|
+
def append_before_filter(*names, &blk); end
|
2385
|
+
def around_action(*names, &blk); end
|
2386
|
+
def around_filter(*names, &blk); end
|
2387
|
+
def before_action(*names, &blk); end
|
2388
|
+
def before_filter(*names, &blk); end
|
2389
|
+
def prepend_after_action(*names, &blk); end
|
2390
|
+
def prepend_after_filter(*names, &blk); end
|
2391
|
+
def prepend_around_action(*names, &blk); end
|
2392
|
+
def prepend_around_filter(*names, &blk); end
|
2393
|
+
def prepend_before_action(*names, &blk); end
|
2394
|
+
def prepend_before_filter(*names, &blk); end
|
2395
|
+
def skip_action_callback(*names); end
|
2396
|
+
def skip_after_action(*names); end
|
2397
|
+
def skip_after_filter(*names, &blk); end
|
2398
|
+
def skip_around_action(*names); end
|
2399
|
+
def skip_around_filter(*names, &blk); end
|
2400
|
+
def skip_before_action(*names); end
|
2401
|
+
def skip_before_filter(*names, &blk); end
|
2402
|
+
def skip_filter(*names); end
|
2403
|
+
end
|
2404
|
+
class ActionController::InvalidAuthenticityToken < ActionController::ActionControllerError
|
2405
|
+
end
|
2406
|
+
class ActionController::InvalidCrossOriginRequest < ActionController::ActionControllerError
|
2407
|
+
end
|
2408
|
+
module ActionController::RequestForgeryProtection
|
2409
|
+
def any_authenticity_token_valid?; end
|
2410
|
+
def compare_with_real_token(token, session); end
|
2411
|
+
def form_authenticity_param; end
|
2412
|
+
def form_authenticity_token(form_options: nil); end
|
2413
|
+
def handle_unverified_request; end
|
2414
|
+
def mark_for_same_origin_verification!; end
|
2415
|
+
def marked_for_same_origin_verification?; end
|
2416
|
+
def masked_authenticity_token(session, form_options: nil); end
|
2417
|
+
def non_xhr_javascript_response?; end
|
2418
|
+
def normalize_action_path(action_path); end
|
2419
|
+
def per_form_csrf_token(session, action_path, method); end
|
2420
|
+
def protect_against_forgery?; end
|
2421
|
+
def real_csrf_token(session); end
|
2422
|
+
def request_authenticity_tokens; end
|
2423
|
+
def unmask_token(masked_token); end
|
2424
|
+
def valid_authenticity_token?(session, encoded_masked_token); end
|
2425
|
+
def valid_per_form_csrf_token?(token, session); end
|
2426
|
+
def valid_request_origin?; end
|
2427
|
+
def verified_request?; end
|
2428
|
+
def verify_authenticity_token; end
|
2342
2429
|
def verify_same_origin_request; end
|
2343
2430
|
def xor_byte_strings(s1, s2); end
|
2344
2431
|
extend ActiveSupport::Concern
|
@@ -2371,11 +2458,26 @@ class ActionController::RequestForgeryProtection::ProtectionMethods::Exception
|
|
2371
2458
|
def handle_unverified_request; end
|
2372
2459
|
def initialize(controller); end
|
2373
2460
|
end
|
2461
|
+
module ActionController::ForceSSL
|
2462
|
+
def force_ssl_redirect(host_or_options = nil); end
|
2463
|
+
extend ActiveSupport::Concern
|
2464
|
+
include AbstractController::Callbacks
|
2465
|
+
end
|
2466
|
+
module ActionController::ForceSSL::ClassMethods
|
2467
|
+
def force_ssl(options = nil); end
|
2468
|
+
end
|
2374
2469
|
module ActionController::Streaming
|
2375
2470
|
def _process_options(options); end
|
2376
2471
|
def _render_template(options); end
|
2377
2472
|
extend ActiveSupport::Concern
|
2378
2473
|
end
|
2474
|
+
module ActionController::DataStreaming
|
2475
|
+
def send_data(data, options = nil); end
|
2476
|
+
def send_file(path, options = nil); end
|
2477
|
+
def send_file_headers!(options); end
|
2478
|
+
extend ActiveSupport::Concern
|
2479
|
+
include ActionController::Rendering
|
2480
|
+
end
|
2379
2481
|
module ActionController::HttpAuthentication
|
2380
2482
|
end
|
2381
2483
|
module ActionController::HttpAuthentication::Basic
|
@@ -2435,6 +2537,29 @@ module ActionController::HttpAuthentication::Token::ControllerMethods
|
|
2435
2537
|
def authenticate_with_http_token(&login_procedure); end
|
2436
2538
|
def request_http_token_authentication(realm = nil, message = nil); end
|
2437
2539
|
end
|
2540
|
+
module ActionController::Rescue
|
2541
|
+
def process_action(*args); end
|
2542
|
+
def show_detailed_exceptions?; end
|
2543
|
+
extend ActiveSupport::Concern
|
2544
|
+
include ActiveSupport::Rescuable
|
2545
|
+
end
|
2546
|
+
module ActionController::Instrumentation
|
2547
|
+
def append_info_to_payload(payload); end
|
2548
|
+
def cleanup_view_runtime; end
|
2549
|
+
def halted_callback_hook(filter); end
|
2550
|
+
def process_action(*args); end
|
2551
|
+
def redirect_to(*args); end
|
2552
|
+
def render(*args); end
|
2553
|
+
def send_data(data, options = nil); end
|
2554
|
+
def send_file(path, options = nil); end
|
2555
|
+
def view_runtime; end
|
2556
|
+
def view_runtime=(arg0); end
|
2557
|
+
extend ActiveSupport::Concern
|
2558
|
+
include AbstractController::Logger
|
2559
|
+
end
|
2560
|
+
module ActionController::Instrumentation::ClassMethods
|
2561
|
+
def log_process_action(payload); end
|
2562
|
+
end
|
2438
2563
|
module AbstractController::Caching
|
2439
2564
|
def cache(key, options = nil, &block); end
|
2440
2565
|
def view_cache_dependencies; end
|
@@ -2475,6 +2600,143 @@ class ActionController::Renderer
|
|
2475
2600
|
def self.for(controller, env = nil, defaults = nil); end
|
2476
2601
|
def with_defaults(defaults); end
|
2477
2602
|
end
|
2603
|
+
class ActionController::API < ActionController::Metal
|
2604
|
+
def _helper_methods; end
|
2605
|
+
def _helper_methods=(arg0); end
|
2606
|
+
def _helper_methods?; end
|
2607
|
+
def _helpers; end
|
2608
|
+
def _helpers=(arg0); end
|
2609
|
+
def _helpers?; end
|
2610
|
+
def _process_action_callbacks; end
|
2611
|
+
def _process_action_callbacks?; end
|
2612
|
+
def _renderers; end
|
2613
|
+
def _renderers=(arg0); end
|
2614
|
+
def _renderers?; end
|
2615
|
+
def _run_process_action_callbacks(&block); end
|
2616
|
+
def _view_paths; end
|
2617
|
+
def _view_paths=(arg0); end
|
2618
|
+
def _view_paths?; end
|
2619
|
+
def _wrapper_options; end
|
2620
|
+
def _wrapper_options=(arg0); end
|
2621
|
+
def _wrapper_options?; end
|
2622
|
+
def default_url_options; end
|
2623
|
+
def default_url_options=(arg0); end
|
2624
|
+
def default_url_options?; end
|
2625
|
+
def etaggers; end
|
2626
|
+
def etaggers=(arg0); end
|
2627
|
+
def etaggers?; end
|
2628
|
+
def helpers_path; end
|
2629
|
+
def helpers_path=(arg0); end
|
2630
|
+
def helpers_path?; end
|
2631
|
+
def include_all_helpers; end
|
2632
|
+
def include_all_helpers=(arg0); end
|
2633
|
+
def include_all_helpers?; end
|
2634
|
+
def logger; end
|
2635
|
+
def logger=(value); end
|
2636
|
+
def rescue_handlers; end
|
2637
|
+
def rescue_handlers=(arg0); end
|
2638
|
+
def rescue_handlers?; end
|
2639
|
+
def self._helper_methods; end
|
2640
|
+
def self._helper_methods=(val); end
|
2641
|
+
def self._helper_methods?; end
|
2642
|
+
def self._helpers; end
|
2643
|
+
def self._helpers=(val); end
|
2644
|
+
def self._helpers?; end
|
2645
|
+
def self._process_action_callbacks; end
|
2646
|
+
def self._process_action_callbacks=(val); end
|
2647
|
+
def self._process_action_callbacks?; end
|
2648
|
+
def self._renderers; end
|
2649
|
+
def self._renderers=(val); end
|
2650
|
+
def self._renderers?; end
|
2651
|
+
def self._view_paths; end
|
2652
|
+
def self._view_paths=(val); end
|
2653
|
+
def self._view_paths?; end
|
2654
|
+
def self._wrapper_options; end
|
2655
|
+
def self._wrapper_options=(val); end
|
2656
|
+
def self._wrapper_options?; end
|
2657
|
+
def self.default_url_options; end
|
2658
|
+
def self.default_url_options=(val); end
|
2659
|
+
def self.default_url_options?; end
|
2660
|
+
def self.etaggers; end
|
2661
|
+
def self.etaggers=(val); end
|
2662
|
+
def self.etaggers?; end
|
2663
|
+
def self.helpers_path; end
|
2664
|
+
def self.helpers_path=(val); end
|
2665
|
+
def self.helpers_path?; end
|
2666
|
+
def self.include_all_helpers; end
|
2667
|
+
def self.include_all_helpers=(val); end
|
2668
|
+
def self.include_all_helpers?; end
|
2669
|
+
def self.logger; end
|
2670
|
+
def self.logger=(value); end
|
2671
|
+
def self.middleware_stack; end
|
2672
|
+
def self.rescue_handlers; end
|
2673
|
+
def self.rescue_handlers=(val); end
|
2674
|
+
def self.rescue_handlers?; end
|
2675
|
+
def self.without_modules(*modules); end
|
2676
|
+
extend AbstractController::Callbacks::ClassMethods
|
2677
|
+
extend AbstractController::Helpers::ClassMethods
|
2678
|
+
extend AbstractController::UrlFor::ClassMethods
|
2679
|
+
extend ActionController::ConditionalGet::ClassMethods
|
2680
|
+
extend ActionController::ForceSSL::ClassMethods
|
2681
|
+
extend ActionController::Helpers::ClassMethods
|
2682
|
+
extend ActionController::Instrumentation::ClassMethods
|
2683
|
+
extend ActionController::ParamsWrapper::ClassMethods
|
2684
|
+
extend ActionController::Railties::Helpers
|
2685
|
+
extend ActionController::Renderers::ClassMethods
|
2686
|
+
extend ActionController::Rendering::ClassMethods
|
2687
|
+
extend ActionView::Rendering::ClassMethods
|
2688
|
+
extend ActionView::ViewPaths::ClassMethods
|
2689
|
+
extend ActiveRecord::Railties::ControllerRuntime::ClassMethods
|
2690
|
+
extend ActiveSupport::Callbacks::ClassMethods
|
2691
|
+
extend ActiveSupport::DescendantsTracker
|
2692
|
+
extend ActiveSupport::Rescuable::ClassMethods
|
2693
|
+
extend Anonymous_Module_7
|
2694
|
+
include AbstractController::Callbacks
|
2695
|
+
include AbstractController::Callbacks
|
2696
|
+
include AbstractController::Helpers
|
2697
|
+
include AbstractController::Logger
|
2698
|
+
include AbstractController::Logger
|
2699
|
+
include AbstractController::Rendering
|
2700
|
+
include AbstractController::UrlFor
|
2701
|
+
include ActionController::ApiRendering
|
2702
|
+
include ActionController::BasicImplicitRender
|
2703
|
+
include ActionController::ConditionalGet
|
2704
|
+
include ActionController::DataStreaming
|
2705
|
+
include ActionController::ForceSSL
|
2706
|
+
include ActionController::Helpers
|
2707
|
+
include ActionController::ImplicitRender
|
2708
|
+
include ActionController::Instrumentation
|
2709
|
+
include ActionController::ParamsWrapper
|
2710
|
+
include ActionController::Redirecting
|
2711
|
+
include ActionController::Renderers
|
2712
|
+
include ActionController::Renderers::All
|
2713
|
+
include ActionController::Rendering
|
2714
|
+
include ActionController::Rendering
|
2715
|
+
include ActionController::Rescue
|
2716
|
+
include ActionController::StrongParameters
|
2717
|
+
include ActionController::UrlFor
|
2718
|
+
include ActionController::UrlFor
|
2719
|
+
include ActionDispatch::Routing::RouteSet::MountedHelpers
|
2720
|
+
include ActionDispatch::Routing::UrlFor
|
2721
|
+
include ActionDispatch::Routing::UrlFor
|
2722
|
+
include ActionView::Rendering
|
2723
|
+
include ActionView::ViewPaths
|
2724
|
+
include ActionView::ViewPaths
|
2725
|
+
include ActiveRecord::Railties::ControllerRuntime
|
2726
|
+
include ActiveSupport::Benchmarkable
|
2727
|
+
include ActiveSupport::Callbacks
|
2728
|
+
include ActiveSupport::Rescuable
|
2729
|
+
include ActiveSupport::Rescuable
|
2730
|
+
end
|
2731
|
+
module ActionView::RoutingUrlFor
|
2732
|
+
def default_url_options=(obj); end
|
2733
|
+
def self.default_url_options=(obj); end
|
2734
|
+
include ActionDispatch::Routing::UrlFor
|
2735
|
+
include ActionDispatch::Routing::UrlFor
|
2736
|
+
end
|
2737
|
+
module Anonymous_Module_7
|
2738
|
+
def inherited(klass); end
|
2739
|
+
end
|
2478
2740
|
class ActionController::Base < ActionController::Metal
|
2479
2741
|
def _helper_methods; end
|
2480
2742
|
def _helper_methods=(arg0); end
|
@@ -2720,431 +2982,6 @@ class ActionController::Base < ActionController::Metal
|
|
2720
2982
|
include ActiveSupport::Rescuable
|
2721
2983
|
include ActiveSupport::Rescuable
|
2722
2984
|
end
|
2723
|
-
module ActionView::RoutingUrlFor
|
2724
|
-
def default_url_options=(obj); end
|
2725
|
-
def self.default_url_options=(obj); end
|
2726
|
-
include ActionDispatch::Routing::UrlFor
|
2727
|
-
include ActionDispatch::Routing::UrlFor
|
2728
|
-
end
|
2729
2985
|
module Anonymous_Module_8
|
2730
2986
|
def inherited(klass); end
|
2731
2987
|
end
|
2732
|
-
class ActionController::API < ActionController::Metal
|
2733
|
-
def _process_action_callbacks; end
|
2734
|
-
def _process_action_callbacks?; end
|
2735
|
-
def _renderers; end
|
2736
|
-
def _renderers=(arg0); end
|
2737
|
-
def _renderers?; end
|
2738
|
-
def _run_process_action_callbacks(&block); end
|
2739
|
-
def _view_paths; end
|
2740
|
-
def _view_paths=(arg0); end
|
2741
|
-
def _view_paths?; end
|
2742
|
-
def _wrapper_options; end
|
2743
|
-
def _wrapper_options=(arg0); end
|
2744
|
-
def _wrapper_options?; end
|
2745
|
-
def default_url_options; end
|
2746
|
-
def default_url_options=(arg0); end
|
2747
|
-
def default_url_options?; end
|
2748
|
-
def etaggers; end
|
2749
|
-
def etaggers=(arg0); end
|
2750
|
-
def etaggers?; end
|
2751
|
-
def logger; end
|
2752
|
-
def logger=(value); end
|
2753
|
-
def rescue_handlers; end
|
2754
|
-
def rescue_handlers=(arg0); end
|
2755
|
-
def rescue_handlers?; end
|
2756
|
-
def self._process_action_callbacks; end
|
2757
|
-
def self._process_action_callbacks=(val); end
|
2758
|
-
def self._process_action_callbacks?; end
|
2759
|
-
def self._renderers; end
|
2760
|
-
def self._renderers=(val); end
|
2761
|
-
def self._renderers?; end
|
2762
|
-
def self._view_paths; end
|
2763
|
-
def self._view_paths=(val); end
|
2764
|
-
def self._view_paths?; end
|
2765
|
-
def self._wrapper_options; end
|
2766
|
-
def self._wrapper_options=(val); end
|
2767
|
-
def self._wrapper_options?; end
|
2768
|
-
def self.default_url_options; end
|
2769
|
-
def self.default_url_options=(val); end
|
2770
|
-
def self.default_url_options?; end
|
2771
|
-
def self.etaggers; end
|
2772
|
-
def self.etaggers=(val); end
|
2773
|
-
def self.etaggers?; end
|
2774
|
-
def self.logger; end
|
2775
|
-
def self.logger=(value); end
|
2776
|
-
def self.middleware_stack; end
|
2777
|
-
def self.rescue_handlers; end
|
2778
|
-
def self.rescue_handlers=(val); end
|
2779
|
-
def self.rescue_handlers?; end
|
2780
|
-
def self.without_modules(*modules); end
|
2781
|
-
extend AbstractController::Callbacks::ClassMethods
|
2782
|
-
extend AbstractController::UrlFor::ClassMethods
|
2783
|
-
extend ActionController::ConditionalGet::ClassMethods
|
2784
|
-
extend ActionController::ForceSSL::ClassMethods
|
2785
|
-
extend ActionController::Instrumentation::ClassMethods
|
2786
|
-
extend ActionController::ParamsWrapper::ClassMethods
|
2787
|
-
extend ActionController::Railties::Helpers
|
2788
|
-
extend ActionController::Renderers::ClassMethods
|
2789
|
-
extend ActionController::Rendering::ClassMethods
|
2790
|
-
extend ActionView::ViewPaths::ClassMethods
|
2791
|
-
extend ActiveRecord::Railties::ControllerRuntime::ClassMethods
|
2792
|
-
extend ActiveSupport::Callbacks::ClassMethods
|
2793
|
-
extend ActiveSupport::DescendantsTracker
|
2794
|
-
extend ActiveSupport::Rescuable::ClassMethods
|
2795
|
-
extend Anonymous_Module_9
|
2796
|
-
include AbstractController::Callbacks
|
2797
|
-
include AbstractController::Callbacks
|
2798
|
-
include AbstractController::Logger
|
2799
|
-
include AbstractController::Logger
|
2800
|
-
include AbstractController::Rendering
|
2801
|
-
include AbstractController::UrlFor
|
2802
|
-
include ActionController::ApiRendering
|
2803
|
-
include ActionController::BasicImplicitRender
|
2804
|
-
include ActionController::ConditionalGet
|
2805
|
-
include ActionController::DataStreaming
|
2806
|
-
include ActionController::ForceSSL
|
2807
|
-
include ActionController::Instrumentation
|
2808
|
-
include ActionController::ParamsWrapper
|
2809
|
-
include ActionController::Redirecting
|
2810
|
-
include ActionController::Renderers
|
2811
|
-
include ActionController::Renderers::All
|
2812
|
-
include ActionController::Rendering
|
2813
|
-
include ActionController::Rendering
|
2814
|
-
include ActionController::Rescue
|
2815
|
-
include ActionController::StrongParameters
|
2816
|
-
include ActionController::UrlFor
|
2817
|
-
include ActionController::UrlFor
|
2818
|
-
include ActionDispatch::Routing::RouteSet::MountedHelpers
|
2819
|
-
include ActionDispatch::Routing::UrlFor
|
2820
|
-
include ActionDispatch::Routing::UrlFor
|
2821
|
-
include ActionView::ViewPaths
|
2822
|
-
include ActiveRecord::Railties::ControllerRuntime
|
2823
|
-
include ActiveSupport::Benchmarkable
|
2824
|
-
include ActiveSupport::Callbacks
|
2825
|
-
include ActiveSupport::Rescuable
|
2826
|
-
include ActiveSupport::Rescuable
|
2827
|
-
end
|
2828
|
-
module Anonymous_Module_9
|
2829
|
-
def inherited(klass); end
|
2830
|
-
end
|
2831
|
-
module ActionController::TemplateAssertions
|
2832
|
-
def assert_template(options = nil, message = nil); end
|
2833
|
-
end
|
2834
|
-
module ActionController::Testing
|
2835
|
-
extend ActiveSupport::Concern
|
2836
|
-
end
|
2837
|
-
module ActionController::Testing::Functional
|
2838
|
-
def recycle!; end
|
2839
|
-
end
|
2840
|
-
module ActionController::Testing::ClassMethods
|
2841
|
-
def before_filters; end
|
2842
|
-
end
|
2843
|
-
class ActionDispatch::TestRequest < ActionDispatch::Request
|
2844
|
-
def accept=(mime_types); end
|
2845
|
-
def action=(action_name); end
|
2846
|
-
def host=(host); end
|
2847
|
-
def if_modified_since=(last_modified); end
|
2848
|
-
def if_none_match=(etag); end
|
2849
|
-
def path=(path); end
|
2850
|
-
def port=(number); end
|
2851
|
-
def remote_addr=(addr); end
|
2852
|
-
def request_method=(method); end
|
2853
|
-
def request_uri=(uri); end
|
2854
|
-
def self.create(env = nil); end
|
2855
|
-
def self.default_env; end
|
2856
|
-
def user_agent=(user_agent); end
|
2857
|
-
end
|
2858
|
-
class ActionDispatch::Flash
|
2859
|
-
def self.new(app); end
|
2860
|
-
end
|
2861
|
-
module ActionDispatch::Flash::RequestMethods
|
2862
|
-
def commit_flash; end
|
2863
|
-
def flash; end
|
2864
|
-
def flash=(flash); end
|
2865
|
-
def flash_hash; end
|
2866
|
-
def reset_session; end
|
2867
|
-
end
|
2868
|
-
class ActionDispatch::Flash::FlashNow
|
2869
|
-
def [](k); end
|
2870
|
-
def []=(k, v); end
|
2871
|
-
def alert=(message); end
|
2872
|
-
def flash; end
|
2873
|
-
def flash=(arg0); end
|
2874
|
-
def initialize(flash); end
|
2875
|
-
def notice=(message); end
|
2876
|
-
end
|
2877
|
-
class ActionDispatch::Flash::FlashHash
|
2878
|
-
def [](k); end
|
2879
|
-
def []=(k, v); end
|
2880
|
-
def alert; end
|
2881
|
-
def alert=(message); end
|
2882
|
-
def clear; end
|
2883
|
-
def delete(key); end
|
2884
|
-
def discard(k = nil); end
|
2885
|
-
def each(&block); end
|
2886
|
-
def empty?; end
|
2887
|
-
def initialize(flashes = nil, discard = nil); end
|
2888
|
-
def initialize_copy(other); end
|
2889
|
-
def keep(k = nil); end
|
2890
|
-
def key?(name); end
|
2891
|
-
def keys; end
|
2892
|
-
def merge!(h); end
|
2893
|
-
def notice; end
|
2894
|
-
def notice=(message); end
|
2895
|
-
def now; end
|
2896
|
-
def now_is_loaded?; end
|
2897
|
-
def replace(h); end
|
2898
|
-
def self.from_session_value(value); end
|
2899
|
-
def stringify_array(array); end
|
2900
|
-
def sweep; end
|
2901
|
-
def to_hash; end
|
2902
|
-
def to_session_value; end
|
2903
|
-
def update(h); end
|
2904
|
-
include Enumerable
|
2905
|
-
end
|
2906
|
-
module ActionDispatch::TestProcess
|
2907
|
-
def assigns(key = nil); end
|
2908
|
-
def cookies; end
|
2909
|
-
def flash; end
|
2910
|
-
def redirect_to_url; end
|
2911
|
-
def session; end
|
2912
|
-
include ActionDispatch::TestProcess::FixtureFile
|
2913
|
-
end
|
2914
|
-
module ActionDispatch::TestProcess::FixtureFile
|
2915
|
-
def fixture_file_upload(path, mime_type = nil, binary = nil); end
|
2916
|
-
end
|
2917
|
-
module ActionDispatch::Assertions
|
2918
|
-
def html_document; end
|
2919
|
-
extend ActiveSupport::Concern
|
2920
|
-
include ActionDispatch::Assertions::ResponseAssertions
|
2921
|
-
include ActionDispatch::Assertions::RoutingAssertions
|
2922
|
-
include Rails::Dom::Testing::Assertions
|
2923
|
-
end
|
2924
|
-
module ActionDispatch::Assertions::ResponseAssertions
|
2925
|
-
def assert_redirected_to(options = nil, message = nil); end
|
2926
|
-
def assert_response(type, message = nil); end
|
2927
|
-
def code_with_name(code_or_name); end
|
2928
|
-
def generate_response_message(expected, actual = nil); end
|
2929
|
-
def location_if_redirected; end
|
2930
|
-
def normalize_argument_to_redirection(fragment); end
|
2931
|
-
def parameterize(value); end
|
2932
|
-
end
|
2933
|
-
module ActionDispatch::Assertions::RoutingAssertions
|
2934
|
-
def assert_generates(expected_path, options, defaults = nil, extras = nil, message = nil); end
|
2935
|
-
def assert_recognizes(expected_options, path, extras = nil, msg = nil); end
|
2936
|
-
def assert_routing(path, options, defaults = nil, extras = nil, message = nil); end
|
2937
|
-
def fail_on(exception_class, message); end
|
2938
|
-
def method_missing(selector, *args, &block); end
|
2939
|
-
def recognized_request_for(path, extras = nil, msg); end
|
2940
|
-
def with_routing; end
|
2941
|
-
end
|
2942
|
-
class ActionController::TestRequest < ActionDispatch::TestRequest
|
2943
|
-
def assign_parameters(routes, controller_path, action, parameters, generated_path, query_string_keys); end
|
2944
|
-
def content_type=(type); end
|
2945
|
-
def initialize(env, session); end
|
2946
|
-
def params_parsers; end
|
2947
|
-
def query_string=(string); end
|
2948
|
-
def self.create; end
|
2949
|
-
def self.default_env; end
|
2950
|
-
def self.new_session; end
|
2951
|
-
end
|
2952
|
-
class ActionController::LiveTestResponse < ActionController::Live::Response
|
2953
|
-
def error?; end
|
2954
|
-
def missing?; end
|
2955
|
-
def success?; end
|
2956
|
-
end
|
2957
|
-
class ActionController::TestSession < Rack::Session::Abstract::SessionHash
|
2958
|
-
def destroy; end
|
2959
|
-
def exists?; end
|
2960
|
-
def fetch(key, *args, &block); end
|
2961
|
-
def initialize(session = nil); end
|
2962
|
-
def keys; end
|
2963
|
-
def load!; end
|
2964
|
-
def values; end
|
2965
|
-
end
|
2966
|
-
class ActionController::TestCase < ActiveSupport::TestCase
|
2967
|
-
def _controller_class; end
|
2968
|
-
def _controller_class=(arg0); end
|
2969
|
-
def _controller_class?; end
|
2970
|
-
def self._controller_class; end
|
2971
|
-
def self._controller_class=(val); end
|
2972
|
-
def self._controller_class?; end
|
2973
|
-
def self._setup_callbacks; end
|
2974
|
-
extend ActionController::TestCase::Behavior::ClassMethods
|
2975
|
-
extend ActiveSupport::Testing::ConstantLookup::ClassMethods
|
2976
|
-
include ActionController::TemplateAssertions
|
2977
|
-
include ActionController::TestCase::Behavior
|
2978
|
-
include ActionDispatch::Assertions
|
2979
|
-
include ActiveSupport::Testing::ConstantLookup
|
2980
|
-
include Rails::Dom::Testing::Assertions
|
2981
|
-
include Rails::Dom::Testing::Assertions
|
2982
|
-
end
|
2983
|
-
module ActionController::TestCase::Behavior
|
2984
|
-
def build_response(klass); end
|
2985
|
-
def check_required_ivars; end
|
2986
|
-
def controller_class_name; end
|
2987
|
-
def delete(action, *args); end
|
2988
|
-
def document_root_element; end
|
2989
|
-
def generated_path(generated_extras); end
|
2990
|
-
def get(action, *args); end
|
2991
|
-
def head(action, *args); end
|
2992
|
-
def html_format?(parameters); end
|
2993
|
-
def kwarg_request?(args); end
|
2994
|
-
def non_kwarg_request_warning; end
|
2995
|
-
def patch(action, *args); end
|
2996
|
-
def post(action, *args); end
|
2997
|
-
def process(action, *args); end
|
2998
|
-
def process_with_kwargs(http_method, action, *args); end
|
2999
|
-
def put(action, *args); end
|
3000
|
-
def query_parameter_names(generated_extras); end
|
3001
|
-
def request; end
|
3002
|
-
def response; end
|
3003
|
-
def scrub_env!(env); end
|
3004
|
-
def setup_controller_request_and_response; end
|
3005
|
-
def xhr(*args); end
|
3006
|
-
def xml_http_request(*args); end
|
3007
|
-
extend ActiveSupport::Concern
|
3008
|
-
include ActionDispatch::TestProcess
|
3009
|
-
include ActiveSupport::Testing::ConstantLookup
|
3010
|
-
include Rails::Dom::Testing::Assertions
|
3011
|
-
end
|
3012
|
-
module ActionController::TestCase::Behavior::ClassMethods
|
3013
|
-
def controller_class; end
|
3014
|
-
def controller_class=(new_class); end
|
3015
|
-
def determine_default_controller_class(name); end
|
3016
|
-
def tests(controller_class); end
|
3017
|
-
end
|
3018
|
-
class ActionDispatch::RequestEncoder
|
3019
|
-
def accept_header; end
|
3020
|
-
def content_type; end
|
3021
|
-
def encode_params(params); end
|
3022
|
-
def initialize(mime_name, param_encoder, response_parser); end
|
3023
|
-
def response_parser; end
|
3024
|
-
def self.encoder(name); end
|
3025
|
-
def self.parser(content_type); end
|
3026
|
-
def self.register_encoder(mime_name, param_encoder: nil, response_parser: nil); end
|
3027
|
-
end
|
3028
|
-
class ActionDispatch::RequestEncoder::IdentityEncoder
|
3029
|
-
def accept_header; end
|
3030
|
-
def content_type; end
|
3031
|
-
def encode_params(params); end
|
3032
|
-
def response_parser; end
|
3033
|
-
end
|
3034
|
-
module ActionDispatch::Integration
|
3035
|
-
end
|
3036
|
-
module ActionDispatch::Integration::RequestHelpers
|
3037
|
-
def delete(path, *args); end
|
3038
|
-
def delete_via_redirect(path, *args); end
|
3039
|
-
def follow_redirect!; end
|
3040
|
-
def get(path, *args); end
|
3041
|
-
def get_via_redirect(path, *args); end
|
3042
|
-
def head(path, *args); end
|
3043
|
-
def patch(path, *args); end
|
3044
|
-
def patch_via_redirect(path, *args); end
|
3045
|
-
def post(path, *args); end
|
3046
|
-
def post_via_redirect(path, *args); end
|
3047
|
-
def put(path, *args); end
|
3048
|
-
def put_via_redirect(path, *args); end
|
3049
|
-
def request_via_redirect(http_method, path, *args); end
|
3050
|
-
def xhr(request_method, path, parameters = nil, headers_or_env = nil); end
|
3051
|
-
def xml_http_request(request_method, path, parameters = nil, headers_or_env = nil); end
|
3052
|
-
end
|
3053
|
-
class ActionDispatch::Integration::Session
|
3054
|
-
def _mock_session; end
|
3055
|
-
def accept; end
|
3056
|
-
def accept=(arg0); end
|
3057
|
-
def body(*args, &block); end
|
3058
|
-
def build_full_uri(path, env); end
|
3059
|
-
def controller; end
|
3060
|
-
def cookies; end
|
3061
|
-
def default_url_options; end
|
3062
|
-
def default_url_options=(arg0); end
|
3063
|
-
def default_url_options?; end
|
3064
|
-
def headers(*args, &block); end
|
3065
|
-
def host!(arg0); end
|
3066
|
-
def host; end
|
3067
|
-
def host=(arg0); end
|
3068
|
-
def https!(flag = nil); end
|
3069
|
-
def https?; end
|
3070
|
-
def initialize(app); end
|
3071
|
-
def kwarg_request?(args); end
|
3072
|
-
def non_kwarg_request_warning; end
|
3073
|
-
def path(*args, &block); end
|
3074
|
-
def process(method, path, params: nil, headers: nil, env: nil, xhr: nil, as: nil); end
|
3075
|
-
def process_with_kwargs(http_method, path, *args); end
|
3076
|
-
def redirect?(*args, &block); end
|
3077
|
-
def remote_addr; end
|
3078
|
-
def remote_addr=(arg0); end
|
3079
|
-
def request; end
|
3080
|
-
def request_count; end
|
3081
|
-
def request_count=(arg0); end
|
3082
|
-
def reset!; end
|
3083
|
-
def response; end
|
3084
|
-
def self.default_url_options; end
|
3085
|
-
def self.default_url_options=(val); end
|
3086
|
-
def self.default_url_options?; end
|
3087
|
-
def status(*args, &block); end
|
3088
|
-
def status_message(*args, &block); end
|
3089
|
-
def url_options; end
|
3090
|
-
include ActionDispatch::Routing::UrlFor
|
3091
|
-
include ActionDispatch::TestProcess
|
3092
|
-
include Minitest::Assertions
|
3093
|
-
include Rails::Dom::Testing::Assertions
|
3094
|
-
end
|
3095
|
-
module ActionDispatch::Integration::Runner
|
3096
|
-
def app; end
|
3097
|
-
def assigns(*args); end
|
3098
|
-
def before_setup; end
|
3099
|
-
def cookies(*args); end
|
3100
|
-
def copy_session_variables!; end
|
3101
|
-
def create_session(app); end
|
3102
|
-
def default_url_options; end
|
3103
|
-
def default_url_options=(options); end
|
3104
|
-
def delete(*args); end
|
3105
|
-
def follow_redirect!(*args); end
|
3106
|
-
def get(*args); end
|
3107
|
-
def get_via_redirect(*args); end
|
3108
|
-
def head(*args); end
|
3109
|
-
def initialize(*args, &blk); end
|
3110
|
-
def integration_session; end
|
3111
|
-
def method_missing(sym, *args, &block); end
|
3112
|
-
def open_session; end
|
3113
|
-
def patch(*args); end
|
3114
|
-
def post(*args); end
|
3115
|
-
def post_via_redirect(*args); end
|
3116
|
-
def put(*args); end
|
3117
|
-
def remove!; end
|
3118
|
-
def reset!; end
|
3119
|
-
def respond_to?(method, include_private = nil); end
|
3120
|
-
def xhr(*args); end
|
3121
|
-
def xml_http_request(*args); end
|
3122
|
-
include ActionDispatch::Assertions
|
3123
|
-
include Rails::Dom::Testing::Assertions
|
3124
|
-
end
|
3125
|
-
class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
|
3126
|
-
def self._setup_callbacks; end
|
3127
|
-
def self._teardown_callbacks; end
|
3128
|
-
extend ActionDispatch::IntegrationTest::Behavior::ClassMethods
|
3129
|
-
include ActionDispatch::IntegrationTest::Behavior
|
3130
|
-
include ActionDispatch::IntegrationTest::UrlOptions
|
3131
|
-
include ActionDispatch::Routing::UrlFor
|
3132
|
-
include ActionDispatch::TestProcess::FixtureFile
|
3133
|
-
include ActionMailer::TestCase::ClearTestDeliveries
|
3134
|
-
end
|
3135
|
-
module ActionDispatch::IntegrationTest::UrlOptions
|
3136
|
-
def url_options; end
|
3137
|
-
extend ActiveSupport::Concern
|
3138
|
-
end
|
3139
|
-
module ActionDispatch::IntegrationTest::Behavior
|
3140
|
-
def app; end
|
3141
|
-
def document_root_element; end
|
3142
|
-
extend ActiveSupport::Concern
|
3143
|
-
include ActionController::TemplateAssertions
|
3144
|
-
include ActionDispatch::Integration::Runner
|
3145
|
-
end
|
3146
|
-
module ActionDispatch::IntegrationTest::Behavior::ClassMethods
|
3147
|
-
def app; end
|
3148
|
-
def app=(app); end
|
3149
|
-
def register_encoder(*args); end
|
3150
|
-
end
|