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
@@ -357,6 +357,84 @@ 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.fetch(type); end
|
363
|
+
end
|
364
|
+
class Mime::Mimes
|
365
|
+
def <<(type); end
|
366
|
+
def delete_if; end
|
367
|
+
def each; end
|
368
|
+
def initialize; end
|
369
|
+
def symbols; end
|
370
|
+
include Enumerable
|
371
|
+
end
|
372
|
+
class Mime::Type
|
373
|
+
def ==(mime_type); end
|
374
|
+
def ===(list); end
|
375
|
+
def =~(mime_type); end
|
376
|
+
def all?; end
|
377
|
+
def eql?(other); end
|
378
|
+
def hash; end
|
379
|
+
def html?; end
|
380
|
+
def initialize(string, symbol = nil, synonyms = nil); end
|
381
|
+
def method_missing(method, *args); end
|
382
|
+
def ref; end
|
383
|
+
def respond_to_missing?(method, include_private = nil); end
|
384
|
+
def self.lookup(string); end
|
385
|
+
def self.lookup_by_extension(extension); end
|
386
|
+
def self.parse(accept_header); end
|
387
|
+
def self.parse_data_with_trailing_star(type); end
|
388
|
+
def self.parse_trailing_star(accept_header); end
|
389
|
+
def self.register(string, symbol, mime_type_synonyms = nil, extension_synonyms = nil, skip_lookup = nil); end
|
390
|
+
def self.register_alias(string, symbol, extension_synonyms = nil); end
|
391
|
+
def self.register_callback(&block); end
|
392
|
+
def self.unregister(symbol); end
|
393
|
+
def string; end
|
394
|
+
def symbol; end
|
395
|
+
def synonyms; end
|
396
|
+
def to_a; end
|
397
|
+
def to_ary; end
|
398
|
+
def to_s; end
|
399
|
+
def to_str; end
|
400
|
+
def to_sym; end
|
401
|
+
end
|
402
|
+
class Mime::Type::AcceptItem
|
403
|
+
def <=>(item); end
|
404
|
+
def index; end
|
405
|
+
def index=(arg0); end
|
406
|
+
def initialize(index, name, q = nil); end
|
407
|
+
def name; end
|
408
|
+
def name=(arg0); end
|
409
|
+
def q; end
|
410
|
+
def q=(arg0); end
|
411
|
+
def to_s; end
|
412
|
+
end
|
413
|
+
class Mime::Type::AcceptList
|
414
|
+
def self.find_item_by_name(array, name); end
|
415
|
+
def self.sort!(list); end
|
416
|
+
end
|
417
|
+
class Mime::AllType < Mime::Type
|
418
|
+
def all?; end
|
419
|
+
def html?; end
|
420
|
+
def initialize; end
|
421
|
+
def self.allocate; end
|
422
|
+
def self.instance; end
|
423
|
+
def self.new(*arg0); end
|
424
|
+
extend Singleton::SingletonClassMethods
|
425
|
+
include Singleton
|
426
|
+
end
|
427
|
+
class Mime::NullType
|
428
|
+
def method_missing(method, *args); end
|
429
|
+
def nil?; end
|
430
|
+
def ref; end
|
431
|
+
def respond_to_missing?(method, include_private = nil); end
|
432
|
+
def self.allocate; end
|
433
|
+
def self.instance; end
|
434
|
+
def self.new(*arg0); end
|
435
|
+
extend Singleton::SingletonClassMethods
|
436
|
+
include Singleton
|
437
|
+
end
|
360
438
|
module ActionDispatch::Routing
|
361
439
|
extend ActiveSupport::Autoload
|
362
440
|
end
|
@@ -901,84 +979,6 @@ module ActionDispatch::Http::MimeNegotiation
|
|
901
979
|
def variant=(variant); end
|
902
980
|
extend ActiveSupport::Concern
|
903
981
|
end
|
904
|
-
module Mime
|
905
|
-
def self.[](type); end
|
906
|
-
def self.fetch(type); end
|
907
|
-
end
|
908
|
-
class Mime::Mimes
|
909
|
-
def <<(type); end
|
910
|
-
def delete_if; end
|
911
|
-
def each; end
|
912
|
-
def initialize; end
|
913
|
-
def symbols; end
|
914
|
-
include Enumerable
|
915
|
-
end
|
916
|
-
class Mime::Type
|
917
|
-
def ==(mime_type); end
|
918
|
-
def ===(list); end
|
919
|
-
def =~(mime_type); end
|
920
|
-
def all?; end
|
921
|
-
def eql?(other); end
|
922
|
-
def hash; end
|
923
|
-
def html?; end
|
924
|
-
def initialize(string, symbol = nil, synonyms = nil); end
|
925
|
-
def method_missing(method, *args); end
|
926
|
-
def ref; end
|
927
|
-
def respond_to_missing?(method, include_private = nil); end
|
928
|
-
def self.lookup(string); end
|
929
|
-
def self.lookup_by_extension(extension); end
|
930
|
-
def self.parse(accept_header); end
|
931
|
-
def self.parse_data_with_trailing_star(type); end
|
932
|
-
def self.parse_trailing_star(accept_header); end
|
933
|
-
def self.register(string, symbol, mime_type_synonyms = nil, extension_synonyms = nil, skip_lookup = nil); end
|
934
|
-
def self.register_alias(string, symbol, extension_synonyms = nil); end
|
935
|
-
def self.register_callback(&block); end
|
936
|
-
def self.unregister(symbol); end
|
937
|
-
def string; end
|
938
|
-
def symbol; end
|
939
|
-
def synonyms; end
|
940
|
-
def to_a; end
|
941
|
-
def to_ary; end
|
942
|
-
def to_s; end
|
943
|
-
def to_str; end
|
944
|
-
def to_sym; end
|
945
|
-
end
|
946
|
-
class Mime::Type::AcceptItem
|
947
|
-
def <=>(item); end
|
948
|
-
def index; end
|
949
|
-
def index=(arg0); end
|
950
|
-
def initialize(index, name, q = nil); end
|
951
|
-
def name; end
|
952
|
-
def name=(arg0); end
|
953
|
-
def q; end
|
954
|
-
def q=(arg0); end
|
955
|
-
def to_s; end
|
956
|
-
end
|
957
|
-
class Mime::Type::AcceptList
|
958
|
-
def self.find_item_by_name(array, name); end
|
959
|
-
def self.sort!(list); end
|
960
|
-
end
|
961
|
-
class Mime::AllType < Mime::Type
|
962
|
-
def all?; end
|
963
|
-
def html?; end
|
964
|
-
def initialize; end
|
965
|
-
def self.allocate; end
|
966
|
-
def self.instance; end
|
967
|
-
def self.new(*arg0); end
|
968
|
-
extend Singleton::SingletonClassMethods
|
969
|
-
include Singleton
|
970
|
-
end
|
971
|
-
class Mime::NullType
|
972
|
-
def method_missing(method, *args); end
|
973
|
-
def nil?; end
|
974
|
-
def ref; end
|
975
|
-
def respond_to_missing?(method, include_private = nil); end
|
976
|
-
def self.allocate; end
|
977
|
-
def self.instance; end
|
978
|
-
def self.new(*arg0); end
|
979
|
-
extend Singleton::SingletonClassMethods
|
980
|
-
include Singleton
|
981
|
-
end
|
982
982
|
module ActionDispatch::Http::Parameters
|
983
983
|
def binary_params_for?(controller, action); end
|
984
984
|
def parameters; end
|
@@ -1544,6 +1544,85 @@ class ActionDispatch::Callbacks
|
|
1544
1544
|
extend ActiveSupport::DescendantsTracker
|
1545
1545
|
include ActiveSupport::Callbacks
|
1546
1546
|
end
|
1547
|
+
module ActionController::ApiRendering
|
1548
|
+
def render_to_body(options = nil); end
|
1549
|
+
extend ActiveSupport::Concern
|
1550
|
+
end
|
1551
|
+
class ActionDispatch::Routing::RouteWrapper < SimpleDelegator
|
1552
|
+
def action; end
|
1553
|
+
def constraints; end
|
1554
|
+
def controller; end
|
1555
|
+
def endpoint; end
|
1556
|
+
def engine?; end
|
1557
|
+
def internal?; end
|
1558
|
+
def name; end
|
1559
|
+
def path; end
|
1560
|
+
def rack_app; end
|
1561
|
+
def reqs; end
|
1562
|
+
end
|
1563
|
+
class ActionDispatch::Routing::RoutesInspector
|
1564
|
+
def collect_engine_routes(route); end
|
1565
|
+
def collect_routes(routes); end
|
1566
|
+
def filter_routes(filter); end
|
1567
|
+
def format(formatter, filter = nil); end
|
1568
|
+
def initialize(routes); end
|
1569
|
+
def normalize_filter(filter); end
|
1570
|
+
end
|
1571
|
+
class ActionDispatch::Routing::ConsoleFormatter
|
1572
|
+
def draw_header(routes); end
|
1573
|
+
def draw_section(routes); end
|
1574
|
+
def header(routes); end
|
1575
|
+
def initialize; end
|
1576
|
+
def no_routes(routes); end
|
1577
|
+
def result; end
|
1578
|
+
def section(routes); end
|
1579
|
+
def section_title(title); end
|
1580
|
+
def widths(routes); end
|
1581
|
+
end
|
1582
|
+
class ActionDispatch::Routing::HtmlTableFormatter
|
1583
|
+
def header(routes); end
|
1584
|
+
def initialize(view); end
|
1585
|
+
def no_routes(*arg0); end
|
1586
|
+
def result; end
|
1587
|
+
def section(routes); end
|
1588
|
+
def section_title(title); end
|
1589
|
+
end
|
1590
|
+
class ActionDispatch::DebugExceptions
|
1591
|
+
def api_request?(content_type); end
|
1592
|
+
def call(env); end
|
1593
|
+
def create_template(request, wrapper); end
|
1594
|
+
def initialize(app, routes_app = nil, response_format = nil); end
|
1595
|
+
def log_array(logger, array); end
|
1596
|
+
def log_error(request, wrapper); end
|
1597
|
+
def logger(request); end
|
1598
|
+
def render(status, body, format); end
|
1599
|
+
def render_exception(request, exception); end
|
1600
|
+
def render_for_api_request(content_type, wrapper); end
|
1601
|
+
def render_for_browser_request(request, wrapper); end
|
1602
|
+
def routes_inspector(exception); end
|
1603
|
+
def stderr_logger; end
|
1604
|
+
end
|
1605
|
+
class ActionDispatch::DebugExceptions::DebugView < ActionView::Base
|
1606
|
+
def debug_hash(object); end
|
1607
|
+
def debug_headers(headers); end
|
1608
|
+
def debug_params(params); end
|
1609
|
+
def render(*arg0); end
|
1610
|
+
end
|
1611
|
+
class ActionDispatch::RemoteIp
|
1612
|
+
def call(env); end
|
1613
|
+
def check_ip; end
|
1614
|
+
def initialize(app, ip_spoofing_check = nil, custom_proxies = nil); end
|
1615
|
+
def proxies; end
|
1616
|
+
end
|
1617
|
+
class ActionDispatch::RemoteIp::IpSpoofAttackError < StandardError
|
1618
|
+
end
|
1619
|
+
class ActionDispatch::RemoteIp::GetIp
|
1620
|
+
def calculate_ip; end
|
1621
|
+
def filter_proxies(ips); end
|
1622
|
+
def initialize(req, check_ip, proxies); end
|
1623
|
+
def ips_from(header); end
|
1624
|
+
def to_s; end
|
1625
|
+
end
|
1547
1626
|
class ActionDispatch::MiddlewareStack
|
1548
1627
|
def [](i); end
|
1549
1628
|
def assert_index(index, where); end
|
@@ -1599,21 +1678,6 @@ class ActionDispatch::RequestId
|
|
1599
1678
|
def internal_request_id; end
|
1600
1679
|
def make_request_id(request_id); end
|
1601
1680
|
end
|
1602
|
-
class ActionDispatch::RemoteIp
|
1603
|
-
def call(env); end
|
1604
|
-
def check_ip; end
|
1605
|
-
def initialize(app, ip_spoofing_check = nil, custom_proxies = nil); end
|
1606
|
-
def proxies; end
|
1607
|
-
end
|
1608
|
-
class ActionDispatch::RemoteIp::IpSpoofAttackError < StandardError
|
1609
|
-
end
|
1610
|
-
class ActionDispatch::RemoteIp::GetIp
|
1611
|
-
def calculate_ip; end
|
1612
|
-
def filter_proxies(ips); end
|
1613
|
-
def initialize(req, check_ip, proxies); end
|
1614
|
-
def ips_from(header); end
|
1615
|
-
def to_s; end
|
1616
|
-
end
|
1617
1681
|
class ActionDispatch::ShowExceptions
|
1618
1682
|
def call(env); end
|
1619
1683
|
def initialize(app, exceptions_app); end
|
@@ -1629,67 +1693,132 @@ class ActionDispatch::PublicExceptions
|
|
1629
1693
|
def render_format(status, content_type, body); end
|
1630
1694
|
def render_html(status); end
|
1631
1695
|
end
|
1632
|
-
class ActionDispatch::
|
1633
|
-
def action; end
|
1634
|
-
def constraints; end
|
1635
|
-
def controller; end
|
1636
|
-
def endpoint; end
|
1637
|
-
def engine?; end
|
1638
|
-
def internal?; end
|
1639
|
-
def name; end
|
1640
|
-
def path; end
|
1641
|
-
def rack_app; end
|
1642
|
-
def reqs; end
|
1696
|
+
class ActionDispatch::Reloader < ActionDispatch::Executor
|
1643
1697
|
end
|
1644
|
-
class ActionDispatch::
|
1645
|
-
def
|
1646
|
-
def
|
1647
|
-
def
|
1648
|
-
def
|
1649
|
-
def
|
1650
|
-
def
|
1698
|
+
class ActionDispatch::Request::Session
|
1699
|
+
def [](key); end
|
1700
|
+
def []=(key, value); end
|
1701
|
+
def clear; end
|
1702
|
+
def delete(key); end
|
1703
|
+
def destroy; end
|
1704
|
+
def each(&block); end
|
1705
|
+
def empty?; end
|
1706
|
+
def exists?; end
|
1707
|
+
def fetch(key, default = nil, &block); end
|
1708
|
+
def has_key?(key); end
|
1709
|
+
def id; end
|
1710
|
+
def include?(key); end
|
1711
|
+
def initialize(by, req); end
|
1712
|
+
def inspect; end
|
1713
|
+
def key?(key); end
|
1714
|
+
def keys; end
|
1715
|
+
def load!; end
|
1716
|
+
def load_for_read!; end
|
1717
|
+
def load_for_write!; end
|
1718
|
+
def loaded?; end
|
1719
|
+
def merge!(other); end
|
1720
|
+
def options; end
|
1721
|
+
def self.create(store, req, default_options); end
|
1722
|
+
def self.find(req); end
|
1723
|
+
def self.set(req, session); end
|
1724
|
+
def stringify_keys(other); end
|
1725
|
+
def to_hash; end
|
1726
|
+
def update(hash); end
|
1727
|
+
def values; end
|
1651
1728
|
end
|
1652
|
-
class ActionDispatch::
|
1653
|
-
def
|
1654
|
-
def
|
1655
|
-
def
|
1729
|
+
class ActionDispatch::Request::Session::Options
|
1730
|
+
def [](key); end
|
1731
|
+
def []=(k, v); end
|
1732
|
+
def id(req); end
|
1733
|
+
def initialize(by, default_options); end
|
1734
|
+
def self.find(req); end
|
1735
|
+
def self.set(req, options); end
|
1736
|
+
def to_hash; end
|
1737
|
+
def values_at(*args); end
|
1738
|
+
end
|
1739
|
+
class ActionDispatch::Session::SessionRestoreError < StandardError
|
1656
1740
|
def initialize; end
|
1657
|
-
def no_routes(routes); end
|
1658
|
-
def result; end
|
1659
|
-
def section(routes); end
|
1660
|
-
def section_title(title); end
|
1661
|
-
def widths(routes); end
|
1662
1741
|
end
|
1663
|
-
|
1664
|
-
def
|
1665
|
-
def initialize(
|
1666
|
-
def
|
1667
|
-
def
|
1668
|
-
def section(routes); end
|
1669
|
-
def section_title(title); end
|
1742
|
+
module ActionDispatch::Session::Compatibility
|
1743
|
+
def generate_sid; end
|
1744
|
+
def initialize(app, options = nil); end
|
1745
|
+
def initialize_sid; end
|
1746
|
+
def make_request(env); end
|
1670
1747
|
end
|
1671
|
-
|
1672
|
-
def
|
1673
|
-
def
|
1674
|
-
def
|
1675
|
-
|
1676
|
-
|
1677
|
-
def
|
1678
|
-
def
|
1679
|
-
|
1680
|
-
|
1681
|
-
def
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1748
|
+
module ActionDispatch::Session::StaleSessionCheck
|
1749
|
+
def extract_session_id(env); end
|
1750
|
+
def load_session(env); end
|
1751
|
+
def stale_session_check!; end
|
1752
|
+
end
|
1753
|
+
module ActionDispatch::Session::SessionObject
|
1754
|
+
def loaded_session?(session); end
|
1755
|
+
def prepare_session(req); end
|
1756
|
+
end
|
1757
|
+
class ActionDispatch::Session::AbstractStore < Rack::Session::Abstract::Persisted
|
1758
|
+
def set_cookie(request, session_id, cookie); end
|
1759
|
+
include ActionDispatch::Session::Compatibility
|
1760
|
+
include ActionDispatch::Session::SessionObject
|
1761
|
+
include ActionDispatch::Session::StaleSessionCheck
|
1762
|
+
end
|
1763
|
+
class ActionDispatch::Session::CookieStore < ActionDispatch::Session::AbstractStore
|
1764
|
+
def cookie_jar(request); end
|
1765
|
+
def delete_session(req, session_id, options); end
|
1766
|
+
def extract_session_id(req); end
|
1767
|
+
def get_cookie(req); end
|
1768
|
+
def initialize(app, options = nil); end
|
1769
|
+
def load_session(req); end
|
1770
|
+
def persistent_session_id!(data, sid = nil); end
|
1771
|
+
def set_cookie(request, session_id, cookie); end
|
1772
|
+
def unpacked_cookie_data(req); end
|
1773
|
+
def write_session(req, sid, session_data, options); end
|
1685
1774
|
end
|
1686
|
-
class ActionDispatch::
|
1687
|
-
def
|
1688
|
-
def debug_headers(headers); end
|
1689
|
-
def debug_params(params); end
|
1690
|
-
def render(*arg0); end
|
1775
|
+
class ActionDispatch::Flash
|
1776
|
+
def self.new(app); end
|
1691
1777
|
end
|
1692
|
-
|
1778
|
+
module ActionDispatch::Flash::RequestMethods
|
1779
|
+
def commit_flash; end
|
1780
|
+
def flash; end
|
1781
|
+
def flash=(flash); end
|
1782
|
+
def flash_hash; end
|
1783
|
+
def reset_session; end
|
1784
|
+
end
|
1785
|
+
class ActionDispatch::Flash::FlashNow
|
1786
|
+
def [](k); end
|
1787
|
+
def []=(k, v); end
|
1788
|
+
def alert=(message); end
|
1789
|
+
def flash; end
|
1790
|
+
def flash=(arg0); end
|
1791
|
+
def initialize(flash); end
|
1792
|
+
def notice=(message); end
|
1793
|
+
end
|
1794
|
+
class ActionDispatch::Flash::FlashHash
|
1795
|
+
def [](k); end
|
1796
|
+
def []=(k, v); end
|
1797
|
+
def alert; end
|
1798
|
+
def alert=(message); end
|
1799
|
+
def clear; end
|
1800
|
+
def delete(key); end
|
1801
|
+
def discard(k = nil); end
|
1802
|
+
def each(&block); end
|
1803
|
+
def empty?; end
|
1804
|
+
def initialize(flashes = nil, discard = nil); end
|
1805
|
+
def initialize_copy(other); end
|
1806
|
+
def keep(k = nil); end
|
1807
|
+
def key?(name); end
|
1808
|
+
def keys; end
|
1809
|
+
def merge!(h); end
|
1810
|
+
def notice; end
|
1811
|
+
def notice=(message); end
|
1812
|
+
def now; end
|
1813
|
+
def now_is_loaded?; end
|
1814
|
+
def replace(h); end
|
1815
|
+
def self.from_session_value(value); end
|
1816
|
+
def stringify_array(array); end
|
1817
|
+
def sweep; end
|
1818
|
+
def to_hash; end
|
1819
|
+
def to_session_value; end
|
1820
|
+
def update(h); end
|
1821
|
+
include Enumerable
|
1693
1822
|
end
|
1694
1823
|
class ActionDispatch::Routing::Redirect < ActionDispatch::Routing::Endpoint
|
1695
1824
|
def block; end
|
@@ -1922,6 +2051,52 @@ class ActionDispatch::Routing::Mapper::Scope
|
|
1922
2051
|
end
|
1923
2052
|
class ActionController::LogSubscriber < ActiveSupport::LogSubscriber
|
1924
2053
|
end
|
2054
|
+
module ActionController::ParamsWrapper
|
2055
|
+
def _extract_parameters(parameters); end
|
2056
|
+
def _wrap_parameters(parameters); end
|
2057
|
+
def _wrapper_enabled?; end
|
2058
|
+
def _wrapper_formats; end
|
2059
|
+
def _wrapper_key; end
|
2060
|
+
def process_action(*args); end
|
2061
|
+
extend ActiveSupport::Concern
|
2062
|
+
end
|
2063
|
+
class Anonymous_Struct_2 < Struct
|
2064
|
+
def exclude; end
|
2065
|
+
def exclude=(_); end
|
2066
|
+
def format; end
|
2067
|
+
def format=(_); end
|
2068
|
+
def include; end
|
2069
|
+
def include=(_); end
|
2070
|
+
def klass; end
|
2071
|
+
def klass=(_); end
|
2072
|
+
def model; end
|
2073
|
+
def model=(_); end
|
2074
|
+
def name; end
|
2075
|
+
def name=(_); end
|
2076
|
+
def self.[](*arg0); end
|
2077
|
+
def self.inspect; end
|
2078
|
+
def self.members; end
|
2079
|
+
def self.new(*arg0); end
|
2080
|
+
end
|
2081
|
+
class ActionController::ParamsWrapper::Options < Anonymous_Struct_2
|
2082
|
+
def _default_wrap_model; end
|
2083
|
+
def include; end
|
2084
|
+
def initialize(name, format, include, exclude, klass, model); end
|
2085
|
+
def lock; end
|
2086
|
+
def locked?; end
|
2087
|
+
def model; end
|
2088
|
+
def name; end
|
2089
|
+
def self.from_hash(hash); end
|
2090
|
+
def synchronize(&block); end
|
2091
|
+
def try_lock; end
|
2092
|
+
def unlock; end
|
2093
|
+
include Mutex_m
|
2094
|
+
end
|
2095
|
+
module ActionController::ParamsWrapper::ClassMethods
|
2096
|
+
def _set_wrapper_options(options); end
|
2097
|
+
def inherited(klass); end
|
2098
|
+
def wrap_parameters(name_or_model_or_options, options = nil); end
|
2099
|
+
end
|
1925
2100
|
class AbstractController::Error < StandardError
|
1926
2101
|
end
|
1927
2102
|
class AbstractController::ActionNotFound < StandardError
|
@@ -2007,7 +2182,6 @@ class ActionController::Metal < AbstractController::Base
|
|
2007
2182
|
def status=(arg); end
|
2008
2183
|
def to_a; end
|
2009
2184
|
def url_for(string); end
|
2010
|
-
include ActionController::Testing::Functional
|
2011
2185
|
end
|
2012
2186
|
class AbstractController::DoubleRenderError < AbstractController::Error
|
2013
2187
|
def initialize(message = nil); end
|
@@ -2030,6 +2204,15 @@ module AbstractController::Rendering
|
|
2030
2204
|
extend ActiveSupport::Concern
|
2031
2205
|
include ActionView::ViewPaths
|
2032
2206
|
end
|
2207
|
+
module AbstractController::Translation
|
2208
|
+
def l(*args); end
|
2209
|
+
def localize(*args); end
|
2210
|
+
def t(key, options = nil); end
|
2211
|
+
def translate(key, options = nil); end
|
2212
|
+
end
|
2213
|
+
module AbstractController::AssetPaths
|
2214
|
+
extend ActiveSupport::Concern
|
2215
|
+
end
|
2033
2216
|
module AbstractController::UrlFor
|
2034
2217
|
def _routes; end
|
2035
2218
|
extend ActiveSupport::Concern
|
@@ -2057,10 +2240,27 @@ module ActionController::Redirecting
|
|
2057
2240
|
include AbstractController::Logger
|
2058
2241
|
include ActionController::UrlFor
|
2059
2242
|
end
|
2060
|
-
module ActionController::
|
2243
|
+
module ActionController::Rendering
|
2244
|
+
def _normalize_args(action = nil, options = nil, &blk); end
|
2245
|
+
def _normalize_options(options); end
|
2246
|
+
def _normalize_text(options); end
|
2247
|
+
def _process_options(options); end
|
2248
|
+
def _process_variant(options); end
|
2249
|
+
def _render_in_priorities(options); end
|
2250
|
+
def _set_html_content_type; end
|
2251
|
+
def _set_rendered_content_type(format); end
|
2252
|
+
def process_action(*arg0); end
|
2253
|
+
def render(*args); end
|
2061
2254
|
def render_to_body(options = nil); end
|
2255
|
+
def render_to_string(*arg0); end
|
2062
2256
|
extend ActiveSupport::Concern
|
2063
2257
|
end
|
2258
|
+
module ActionController::Rendering::ClassMethods
|
2259
|
+
def inherited(klass); end
|
2260
|
+
def render(*args, &block); end
|
2261
|
+
def renderer; end
|
2262
|
+
def setup_renderer!; end
|
2263
|
+
end
|
2064
2264
|
class ActionController::MissingRenderer < LoadError
|
2065
2265
|
def initialize(format); end
|
2066
2266
|
end
|
@@ -2100,161 +2300,21 @@ end
|
|
2100
2300
|
module ActionController::ConditionalGet::ClassMethods
|
2101
2301
|
def etag(&etagger); end
|
2102
2302
|
end
|
2103
|
-
module ActionController::
|
2104
|
-
def
|
2105
|
-
def
|
2106
|
-
end
|
2107
|
-
module AbstractController::Callbacks
|
2108
|
-
def process_action(*args); end
|
2303
|
+
module ActionController::EtagWithTemplateDigest
|
2304
|
+
def determine_template_etag(options); end
|
2305
|
+
def lookup_and_digest_template(template); end
|
2306
|
+
def pick_template_for_etag(options); end
|
2109
2307
|
extend ActiveSupport::Concern
|
2110
|
-
include
|
2111
|
-
end
|
2112
|
-
module AbstractController::Callbacks::ClassMethods
|
2113
|
-
def _insert_callbacks(callbacks, block = nil); end
|
2114
|
-
def _normalize_callback_option(options, from, to); end
|
2115
|
-
def _normalize_callback_options(options); end
|
2116
|
-
def after_action(*names, &blk); end
|
2117
|
-
def append_after_action(*names, &blk); end
|
2118
|
-
def append_around_action(*names, &blk); end
|
2119
|
-
def append_before_action(*names, &blk); end
|
2120
|
-
def around_action(*names, &blk); end
|
2121
|
-
def before_action(*names, &blk); end
|
2122
|
-
def prepend_after_action(*names, &blk); end
|
2123
|
-
def prepend_around_action(*names, &blk); end
|
2124
|
-
def prepend_before_action(*names, &blk); end
|
2125
|
-
def skip_after_action(*names); end
|
2126
|
-
def skip_around_action(*names); end
|
2127
|
-
def skip_before_action(*names); end
|
2308
|
+
include ActionController::ConditionalGet
|
2128
2309
|
end
|
2129
|
-
module ActionController::
|
2130
|
-
def force_ssl_redirect(host_or_options = nil); end
|
2310
|
+
module ActionController::EtagWithFlash
|
2131
2311
|
extend ActiveSupport::Concern
|
2132
|
-
include
|
2133
|
-
end
|
2134
|
-
module ActionController::ForceSSL::ClassMethods
|
2135
|
-
def force_ssl(options = nil); end
|
2312
|
+
include ActionController::ConditionalGet
|
2136
2313
|
end
|
2137
|
-
module ActionController::
|
2138
|
-
def
|
2139
|
-
def
|
2140
|
-
|
2141
|
-
def _process_options(options); end
|
2142
|
-
def _process_variant(options); end
|
2143
|
-
def _render_in_priorities(options); end
|
2144
|
-
def _set_html_content_type; end
|
2145
|
-
def _set_rendered_content_type(format); end
|
2146
|
-
def process_action(*arg0); end
|
2147
|
-
def render(*args); end
|
2148
|
-
def render_to_body(options = nil); end
|
2149
|
-
def render_to_string(*arg0); end
|
2150
|
-
extend ActiveSupport::Concern
|
2151
|
-
end
|
2152
|
-
module ActionController::Rendering::ClassMethods
|
2153
|
-
def inherited(klass); end
|
2154
|
-
def render(*args, &block); end
|
2155
|
-
def renderer; end
|
2156
|
-
def setup_renderer!; end
|
2157
|
-
end
|
2158
|
-
module ActionController::DataStreaming
|
2159
|
-
def send_data(data, options = nil); end
|
2160
|
-
def send_file(path, options = nil); end
|
2161
|
-
def send_file_headers!(options); end
|
2162
|
-
extend ActiveSupport::Concern
|
2163
|
-
include ActionController::Rendering
|
2164
|
-
end
|
2165
|
-
module ActionController::Rescue
|
2166
|
-
def process_action(*args); end
|
2167
|
-
def show_detailed_exceptions?; end
|
2168
|
-
extend ActiveSupport::Concern
|
2169
|
-
include ActiveSupport::Rescuable
|
2170
|
-
end
|
2171
|
-
module ActionController::Instrumentation
|
2172
|
-
def append_info_to_payload(payload); end
|
2173
|
-
def cleanup_view_runtime; end
|
2174
|
-
def halted_callback_hook(filter); end
|
2175
|
-
def process_action(*args); end
|
2176
|
-
def redirect_to(*args); end
|
2177
|
-
def render(*args); end
|
2178
|
-
def send_data(data, options = nil); end
|
2179
|
-
def send_file(path, options = nil); end
|
2180
|
-
def view_runtime; end
|
2181
|
-
def view_runtime=(arg0); end
|
2182
|
-
extend ActiveSupport::Concern
|
2183
|
-
include AbstractController::Logger
|
2184
|
-
end
|
2185
|
-
module ActionController::Instrumentation::ClassMethods
|
2186
|
-
def log_process_action(payload); end
|
2187
|
-
end
|
2188
|
-
module ActionController::ParamsWrapper
|
2189
|
-
def _extract_parameters(parameters); end
|
2190
|
-
def _wrap_parameters(parameters); end
|
2191
|
-
def _wrapper_enabled?; end
|
2192
|
-
def _wrapper_formats; end
|
2193
|
-
def _wrapper_key; end
|
2194
|
-
def process_action(*args); end
|
2195
|
-
extend ActiveSupport::Concern
|
2196
|
-
end
|
2197
|
-
class Anonymous_Struct_2 < Struct
|
2198
|
-
def exclude; end
|
2199
|
-
def exclude=(_); end
|
2200
|
-
def format; end
|
2201
|
-
def format=(_); end
|
2202
|
-
def include; end
|
2203
|
-
def include=(_); end
|
2204
|
-
def klass; end
|
2205
|
-
def klass=(_); end
|
2206
|
-
def model; end
|
2207
|
-
def model=(_); end
|
2208
|
-
def name; end
|
2209
|
-
def name=(_); end
|
2210
|
-
def self.[](*arg0); end
|
2211
|
-
def self.inspect; end
|
2212
|
-
def self.members; end
|
2213
|
-
def self.new(*arg0); end
|
2214
|
-
end
|
2215
|
-
class ActionController::ParamsWrapper::Options < Anonymous_Struct_2
|
2216
|
-
def _default_wrap_model; end
|
2217
|
-
def include; end
|
2218
|
-
def initialize(name, format, include, exclude, klass, model); end
|
2219
|
-
def lock; end
|
2220
|
-
def locked?; end
|
2221
|
-
def model; end
|
2222
|
-
def name; end
|
2223
|
-
def self.from_hash(hash); end
|
2224
|
-
def synchronize(&block); end
|
2225
|
-
def try_lock; end
|
2226
|
-
def unlock; end
|
2227
|
-
include Mutex_m
|
2228
|
-
end
|
2229
|
-
module ActionController::ParamsWrapper::ClassMethods
|
2230
|
-
def _set_wrapper_options(options); end
|
2231
|
-
def inherited(klass); end
|
2232
|
-
def wrap_parameters(name_or_model_or_options, options = nil); end
|
2233
|
-
end
|
2234
|
-
module AbstractController::Translation
|
2235
|
-
def l(*args); end
|
2236
|
-
def localize(*args); end
|
2237
|
-
def t(key, options = nil); end
|
2238
|
-
def translate(key, options = nil); end
|
2239
|
-
end
|
2240
|
-
module AbstractController::AssetPaths
|
2241
|
-
extend ActiveSupport::Concern
|
2242
|
-
end
|
2243
|
-
module ActionController::EtagWithTemplateDigest
|
2244
|
-
def determine_template_etag(options); end
|
2245
|
-
def lookup_and_digest_template(template); end
|
2246
|
-
def pick_template_for_etag(options); end
|
2247
|
-
extend ActiveSupport::Concern
|
2248
|
-
include ActionController::ConditionalGet
|
2249
|
-
end
|
2250
|
-
module ActionController::EtagWithFlash
|
2251
|
-
extend ActiveSupport::Concern
|
2252
|
-
include ActionController::ConditionalGet
|
2253
|
-
end
|
2254
|
-
module ActionController::Caching
|
2255
|
-
def instrument_name; end
|
2256
|
-
def instrument_payload(key); end
|
2257
|
-
extend ActiveSupport::Autoload
|
2314
|
+
module ActionController::Caching
|
2315
|
+
def instrument_name; end
|
2316
|
+
def instrument_payload(key); end
|
2317
|
+
extend ActiveSupport::Autoload
|
2258
2318
|
extend ActiveSupport::Concern
|
2259
2319
|
end
|
2260
2320
|
module AbstractController::Collector
|
@@ -2281,6 +2341,7 @@ module AbstractController::Collector
|
|
2281
2341
|
def tiff(*args, &block); end
|
2282
2342
|
def url_encoded_form(*args, &block); end
|
2283
2343
|
def vcf(*args, &block); end
|
2344
|
+
def web_console_v2(*args, &block); end
|
2284
2345
|
def xml(*args, &block); end
|
2285
2346
|
def yaml(*args, &block); end
|
2286
2347
|
def zip(*args, &block); end
|
@@ -2307,6 +2368,10 @@ class ActionController::MimeResponds::Collector::VariantCollector
|
|
2307
2368
|
def variant; end
|
2308
2369
|
def variant_key; end
|
2309
2370
|
end
|
2371
|
+
module ActionController::BasicImplicitRender
|
2372
|
+
def default_render(*args); end
|
2373
|
+
def send_action(method, *args); end
|
2374
|
+
end
|
2310
2375
|
module ActionController::ImplicitRender
|
2311
2376
|
def default_render(*args); end
|
2312
2377
|
def interactive_browser_request?; end
|
@@ -2340,6 +2405,28 @@ end
|
|
2340
2405
|
module ActionController::FormBuilder::ClassMethods
|
2341
2406
|
def default_form_builder(builder); end
|
2342
2407
|
end
|
2408
|
+
module AbstractController::Callbacks
|
2409
|
+
def process_action(*args); end
|
2410
|
+
extend ActiveSupport::Concern
|
2411
|
+
include ActiveSupport::Callbacks
|
2412
|
+
end
|
2413
|
+
module AbstractController::Callbacks::ClassMethods
|
2414
|
+
def _insert_callbacks(callbacks, block = nil); end
|
2415
|
+
def _normalize_callback_option(options, from, to); end
|
2416
|
+
def _normalize_callback_options(options); end
|
2417
|
+
def after_action(*names, &blk); end
|
2418
|
+
def append_after_action(*names, &blk); end
|
2419
|
+
def append_around_action(*names, &blk); end
|
2420
|
+
def append_before_action(*names, &blk); end
|
2421
|
+
def around_action(*names, &blk); end
|
2422
|
+
def before_action(*names, &blk); end
|
2423
|
+
def prepend_after_action(*names, &blk); end
|
2424
|
+
def prepend_around_action(*names, &blk); end
|
2425
|
+
def prepend_before_action(*names, &blk); end
|
2426
|
+
def skip_after_action(*names); end
|
2427
|
+
def skip_around_action(*names); end
|
2428
|
+
def skip_before_action(*names); end
|
2429
|
+
end
|
2343
2430
|
class ActionController::InvalidAuthenticityToken < ActionController::ActionControllerError
|
2344
2431
|
end
|
2345
2432
|
class ActionController::InvalidCrossOriginRequest < ActionController::ActionControllerError
|
@@ -2397,11 +2484,26 @@ class ActionController::RequestForgeryProtection::ProtectionMethods::Exception
|
|
2397
2484
|
def handle_unverified_request; end
|
2398
2485
|
def initialize(controller); end
|
2399
2486
|
end
|
2487
|
+
module ActionController::ForceSSL
|
2488
|
+
def force_ssl_redirect(host_or_options = nil); end
|
2489
|
+
extend ActiveSupport::Concern
|
2490
|
+
include AbstractController::Callbacks
|
2491
|
+
end
|
2492
|
+
module ActionController::ForceSSL::ClassMethods
|
2493
|
+
def force_ssl(options = nil); end
|
2494
|
+
end
|
2400
2495
|
module ActionController::Streaming
|
2401
2496
|
def _process_options(options); end
|
2402
2497
|
def _render_template(options); end
|
2403
2498
|
extend ActiveSupport::Concern
|
2404
2499
|
end
|
2500
|
+
module ActionController::DataStreaming
|
2501
|
+
def send_data(data, options = nil); end
|
2502
|
+
def send_file(path, options = nil); end
|
2503
|
+
def send_file_headers!(options); end
|
2504
|
+
extend ActiveSupport::Concern
|
2505
|
+
include ActionController::Rendering
|
2506
|
+
end
|
2405
2507
|
module ActionController::HttpAuthentication
|
2406
2508
|
end
|
2407
2509
|
module ActionController::HttpAuthentication::Basic
|
@@ -2461,6 +2563,29 @@ module ActionController::HttpAuthentication::Token::ControllerMethods
|
|
2461
2563
|
def authenticate_with_http_token(&login_procedure); end
|
2462
2564
|
def request_http_token_authentication(realm = nil, message = nil); end
|
2463
2565
|
end
|
2566
|
+
module ActionController::Rescue
|
2567
|
+
def process_action(*args); end
|
2568
|
+
def show_detailed_exceptions?; end
|
2569
|
+
extend ActiveSupport::Concern
|
2570
|
+
include ActiveSupport::Rescuable
|
2571
|
+
end
|
2572
|
+
module ActionController::Instrumentation
|
2573
|
+
def append_info_to_payload(payload); end
|
2574
|
+
def cleanup_view_runtime; end
|
2575
|
+
def halted_callback_hook(filter); end
|
2576
|
+
def process_action(*args); end
|
2577
|
+
def redirect_to(*args); end
|
2578
|
+
def render(*args); end
|
2579
|
+
def send_data(data, options = nil); end
|
2580
|
+
def send_file(path, options = nil); end
|
2581
|
+
def view_runtime; end
|
2582
|
+
def view_runtime=(arg0); end
|
2583
|
+
extend ActiveSupport::Concern
|
2584
|
+
include AbstractController::Logger
|
2585
|
+
end
|
2586
|
+
module ActionController::Instrumentation::ClassMethods
|
2587
|
+
def log_process_action(payload); end
|
2588
|
+
end
|
2464
2589
|
module AbstractController::Caching
|
2465
2590
|
def cache(key, options = nil, &block); end
|
2466
2591
|
def view_cache_dependencies; end
|
@@ -2501,7 +2626,7 @@ class ActionController::Renderer
|
|
2501
2626
|
def self.for(controller, env = nil, defaults = nil); end
|
2502
2627
|
def with_defaults(defaults); end
|
2503
2628
|
end
|
2504
|
-
class ActionController::
|
2629
|
+
class ActionController::API < ActionController::Metal
|
2505
2630
|
def __callbacks; end
|
2506
2631
|
def __callbacks?; end
|
2507
2632
|
def _helper_methods; end
|
@@ -2510,189 +2635,84 @@ class ActionController::Base < ActionController::Metal
|
|
2510
2635
|
def _helpers; end
|
2511
2636
|
def _helpers=(arg0); end
|
2512
2637
|
def _helpers?; end
|
2513
|
-
def _layout(formats); end
|
2514
2638
|
def _process_action_callbacks; end
|
2515
|
-
def _protected_ivars; end
|
2516
2639
|
def _renderers; end
|
2517
2640
|
def _renderers=(arg0); end
|
2518
2641
|
def _renderers?; end
|
2519
2642
|
def _run_process_action_callbacks(&block); end
|
2520
|
-
def _view_cache_dependencies; end
|
2521
|
-
def _view_cache_dependencies=(arg0); end
|
2522
|
-
def _view_cache_dependencies?; end
|
2523
2643
|
def _view_paths; end
|
2524
2644
|
def _view_paths=(arg0); end
|
2525
2645
|
def _view_paths?; end
|
2526
2646
|
def _wrapper_options; end
|
2527
2647
|
def _wrapper_options=(arg0); end
|
2528
2648
|
def _wrapper_options?; end
|
2529
|
-
def alert; end
|
2530
|
-
def allow_forgery_protection; end
|
2531
|
-
def allow_forgery_protection=(value); end
|
2532
|
-
def asset_host; end
|
2533
|
-
def asset_host=(value); end
|
2534
|
-
def assets_dir; end
|
2535
|
-
def assets_dir=(value); end
|
2536
|
-
def default_asset_host_protocol; end
|
2537
|
-
def default_asset_host_protocol=(value); end
|
2538
|
-
def default_static_extension; end
|
2539
|
-
def default_static_extension=(value); end
|
2540
2649
|
def default_url_options; end
|
2541
2650
|
def default_url_options=(arg0); end
|
2542
2651
|
def default_url_options?; end
|
2543
|
-
def enable_fragment_cache_logging; end
|
2544
|
-
def enable_fragment_cache_logging=(value); end
|
2545
|
-
def etag_with_template_digest; end
|
2546
|
-
def etag_with_template_digest=(arg0); end
|
2547
|
-
def etag_with_template_digest?; end
|
2548
2652
|
def etaggers; end
|
2549
2653
|
def etaggers=(arg0); end
|
2550
2654
|
def etaggers?; end
|
2551
|
-
def flash(*args, &block); end
|
2552
|
-
def forgery_protection_origin_check; end
|
2553
|
-
def forgery_protection_origin_check=(value); end
|
2554
|
-
def forgery_protection_strategy; end
|
2555
|
-
def forgery_protection_strategy=(value); end
|
2556
|
-
def fragment_cache_keys; end
|
2557
|
-
def fragment_cache_keys=(arg0); end
|
2558
|
-
def fragment_cache_keys?; end
|
2559
2655
|
def helpers_path; end
|
2560
2656
|
def helpers_path=(arg0); end
|
2561
2657
|
def helpers_path?; end
|
2562
2658
|
def include_all_helpers; end
|
2563
2659
|
def include_all_helpers=(arg0); end
|
2564
2660
|
def include_all_helpers?; end
|
2565
|
-
def javascripts_dir; end
|
2566
|
-
def javascripts_dir=(value); end
|
2567
|
-
def log_warning_on_csrf_failure; end
|
2568
|
-
def log_warning_on_csrf_failure=(value); end
|
2569
2661
|
def logger; end
|
2570
2662
|
def logger=(value); end
|
2571
|
-
def notice; end
|
2572
|
-
def per_form_csrf_tokens; end
|
2573
|
-
def per_form_csrf_tokens=(value); end
|
2574
|
-
def perform_caching; end
|
2575
|
-
def perform_caching=(value); end
|
2576
|
-
def relative_url_root; end
|
2577
|
-
def relative_url_root=(value); end
|
2578
|
-
def request_forgery_protection_token; end
|
2579
|
-
def request_forgery_protection_token=(value); end
|
2580
2663
|
def rescue_handlers; end
|
2581
2664
|
def rescue_handlers=(arg0); end
|
2582
2665
|
def rescue_handlers?; end
|
2583
2666
|
def self.__callbacks; end
|
2584
2667
|
def self.__callbacks=(val); end
|
2585
2668
|
def self.__callbacks?; end
|
2586
|
-
def self._default_form_builder; end
|
2587
|
-
def self._default_form_builder=(val); end
|
2588
|
-
def self._default_form_builder?; end
|
2589
|
-
def self._flash_types; end
|
2590
|
-
def self._flash_types=(val); end
|
2591
|
-
def self._flash_types?; end
|
2592
2669
|
def self._helper_methods; end
|
2593
2670
|
def self._helper_methods=(val); end
|
2594
2671
|
def self._helper_methods?; end
|
2595
2672
|
def self._helpers; end
|
2596
2673
|
def self._helpers=(val); end
|
2597
2674
|
def self._helpers?; end
|
2598
|
-
def self._layout; end
|
2599
|
-
def self._layout=(val); end
|
2600
|
-
def self._layout?; end
|
2601
|
-
def self._layout_conditions; end
|
2602
|
-
def self._layout_conditions=(val); end
|
2603
|
-
def self._layout_conditions?; end
|
2604
2675
|
def self._process_action_callbacks; end
|
2605
2676
|
def self._process_action_callbacks=(value); end
|
2606
2677
|
def self._renderers; end
|
2607
2678
|
def self._renderers=(val); end
|
2608
2679
|
def self._renderers?; end
|
2609
|
-
def self._view_cache_dependencies; end
|
2610
|
-
def self._view_cache_dependencies=(val); end
|
2611
|
-
def self._view_cache_dependencies?; end
|
2612
2680
|
def self._view_paths; end
|
2613
2681
|
def self._view_paths=(val); end
|
2614
2682
|
def self._view_paths?; end
|
2615
2683
|
def self._wrapper_options; end
|
2616
2684
|
def self._wrapper_options=(val); end
|
2617
2685
|
def self._wrapper_options?; end
|
2618
|
-
def self.allow_forgery_protection; end
|
2619
|
-
def self.allow_forgery_protection=(value); end
|
2620
|
-
def self.asset_host; end
|
2621
|
-
def self.asset_host=(value); end
|
2622
|
-
def self.assets_dir; end
|
2623
|
-
def self.assets_dir=(value); end
|
2624
|
-
def self.default_asset_host_protocol; end
|
2625
|
-
def self.default_asset_host_protocol=(value); end
|
2626
|
-
def self.default_static_extension; end
|
2627
|
-
def self.default_static_extension=(value); end
|
2628
2686
|
def self.default_url_options; end
|
2629
2687
|
def self.default_url_options=(val); end
|
2630
2688
|
def self.default_url_options?; end
|
2631
|
-
def self.enable_fragment_cache_logging; end
|
2632
|
-
def self.enable_fragment_cache_logging=(value); end
|
2633
|
-
def self.etag_with_template_digest; end
|
2634
|
-
def self.etag_with_template_digest=(val); end
|
2635
|
-
def self.etag_with_template_digest?; end
|
2636
2689
|
def self.etaggers; end
|
2637
2690
|
def self.etaggers=(val); end
|
2638
2691
|
def self.etaggers?; end
|
2639
|
-
def self.forgery_protection_origin_check; end
|
2640
|
-
def self.forgery_protection_origin_check=(value); end
|
2641
|
-
def self.forgery_protection_strategy; end
|
2642
|
-
def self.forgery_protection_strategy=(value); end
|
2643
|
-
def self.fragment_cache_keys; end
|
2644
|
-
def self.fragment_cache_keys=(val); end
|
2645
|
-
def self.fragment_cache_keys?; end
|
2646
2692
|
def self.helpers_path; end
|
2647
2693
|
def self.helpers_path=(val); end
|
2648
2694
|
def self.helpers_path?; end
|
2649
2695
|
def self.include_all_helpers; end
|
2650
2696
|
def self.include_all_helpers=(val); end
|
2651
2697
|
def self.include_all_helpers?; end
|
2652
|
-
def self.javascripts_dir; end
|
2653
|
-
def self.javascripts_dir=(value); end
|
2654
|
-
def self.log_warning_on_csrf_failure; end
|
2655
|
-
def self.log_warning_on_csrf_failure=(value); end
|
2656
2698
|
def self.logger; end
|
2657
2699
|
def self.logger=(value); end
|
2658
|
-
def self.make_response!(request); end
|
2659
2700
|
def self.middleware_stack; end
|
2660
|
-
def self.per_form_csrf_tokens; end
|
2661
|
-
def self.per_form_csrf_tokens=(value); end
|
2662
|
-
def self.perform_caching; end
|
2663
|
-
def self.perform_caching=(value); end
|
2664
|
-
def self.relative_url_root; end
|
2665
|
-
def self.relative_url_root=(value); end
|
2666
|
-
def self.request_forgery_protection_token; end
|
2667
|
-
def self.request_forgery_protection_token=(value); end
|
2668
2701
|
def self.rescue_handlers; end
|
2669
2702
|
def self.rescue_handlers=(val); end
|
2670
2703
|
def self.rescue_handlers?; end
|
2671
|
-
def self.stylesheets_dir; end
|
2672
|
-
def self.stylesheets_dir=(value); end
|
2673
2704
|
def self.without_modules(*modules); end
|
2674
|
-
def stylesheets_dir; end
|
2675
|
-
def stylesheets_dir=(value); end
|
2676
|
-
extend AbstractController::Caching::ClassMethods
|
2677
|
-
extend AbstractController::Caching::ConfigMethods
|
2678
|
-
extend AbstractController::Caching::Fragments::ClassMethods
|
2679
2705
|
extend AbstractController::Callbacks::ClassMethods
|
2680
2706
|
extend AbstractController::Helpers::ClassMethods
|
2681
2707
|
extend AbstractController::UrlFor::ClassMethods
|
2682
2708
|
extend ActionController::ConditionalGet::ClassMethods
|
2683
|
-
extend ActionController::Flash::ClassMethods
|
2684
2709
|
extend ActionController::ForceSSL::ClassMethods
|
2685
|
-
extend ActionController::FormBuilder::ClassMethods
|
2686
2710
|
extend ActionController::Helpers::ClassMethods
|
2687
|
-
extend ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
|
2688
2711
|
extend ActionController::Instrumentation::ClassMethods
|
2689
|
-
extend ActionController::ParameterEncoding::ClassMethods
|
2690
2712
|
extend ActionController::ParamsWrapper::ClassMethods
|
2691
2713
|
extend ActionController::Railties::Helpers
|
2692
2714
|
extend ActionController::Renderers::ClassMethods
|
2693
2715
|
extend ActionController::Rendering::ClassMethods
|
2694
|
-
extend ActionController::RequestForgeryProtection::ClassMethods
|
2695
|
-
extend ActionView::Layouts::ClassMethods
|
2696
2716
|
extend ActionView::Rendering::ClassMethods
|
2697
2717
|
extend ActionView::ViewPaths::ClassMethods
|
2698
2718
|
extend ActiveRecord::Railties::ControllerRuntime::ClassMethods
|
@@ -2700,54 +2720,34 @@ class ActionController::Base < ActionController::Metal
|
|
2700
2720
|
extend ActiveSupport::DescendantsTracker
|
2701
2721
|
extend ActiveSupport::Rescuable::ClassMethods
|
2702
2722
|
extend Anonymous_Module_3
|
2703
|
-
include AbstractController::AssetPaths
|
2704
|
-
include AbstractController::Caching
|
2705
|
-
include AbstractController::Caching::Fragments
|
2706
|
-
include AbstractController::Callbacks
|
2707
2723
|
include AbstractController::Callbacks
|
2708
2724
|
include AbstractController::Callbacks
|
2709
2725
|
include AbstractController::Helpers
|
2710
|
-
include AbstractController::Helpers
|
2711
2726
|
include AbstractController::Logger
|
2712
2727
|
include AbstractController::Logger
|
2713
2728
|
include AbstractController::Rendering
|
2714
|
-
include AbstractController::Translation
|
2715
2729
|
include AbstractController::UrlFor
|
2716
|
-
include ActionController::
|
2717
|
-
include ActionController::
|
2718
|
-
include ActionController::ConditionalGet
|
2730
|
+
include ActionController::ApiRendering
|
2731
|
+
include ActionController::BasicImplicitRender
|
2719
2732
|
include ActionController::ConditionalGet
|
2720
|
-
include ActionController::Cookies
|
2721
2733
|
include ActionController::DataStreaming
|
2722
|
-
include ActionController::EtagWithFlash
|
2723
|
-
include ActionController::EtagWithTemplateDigest
|
2724
|
-
include ActionController::Flash
|
2725
2734
|
include ActionController::ForceSSL
|
2726
|
-
include ActionController::FormBuilder
|
2727
2735
|
include ActionController::Helpers
|
2728
|
-
include ActionController::HttpAuthentication::Basic::ControllerMethods
|
2729
|
-
include ActionController::HttpAuthentication::Digest::ControllerMethods
|
2730
|
-
include ActionController::HttpAuthentication::Token::ControllerMethods
|
2731
2736
|
include ActionController::ImplicitRender
|
2732
2737
|
include ActionController::Instrumentation
|
2733
|
-
include ActionController::MimeResponds
|
2734
|
-
include ActionController::ParameterEncoding
|
2735
2738
|
include ActionController::ParamsWrapper
|
2736
2739
|
include ActionController::Redirecting
|
2737
2740
|
include ActionController::Renderers
|
2738
2741
|
include ActionController::Renderers::All
|
2739
2742
|
include ActionController::Rendering
|
2740
2743
|
include ActionController::Rendering
|
2741
|
-
include ActionController::RequestForgeryProtection
|
2742
2744
|
include ActionController::Rescue
|
2743
|
-
include ActionController::Streaming
|
2744
2745
|
include ActionController::StrongParameters
|
2745
2746
|
include ActionController::UrlFor
|
2746
2747
|
include ActionController::UrlFor
|
2747
2748
|
include ActionDispatch::Routing::RouteSet::MountedHelpers
|
2748
2749
|
include ActionDispatch::Routing::UrlFor
|
2749
2750
|
include ActionDispatch::Routing::UrlFor
|
2750
|
-
include ActionView::Layouts
|
2751
2751
|
include ActionView::Rendering
|
2752
2752
|
include ActionView::ViewPaths
|
2753
2753
|
include ActionView::ViewPaths
|
@@ -2766,98 +2766,255 @@ module ActionView::RoutingUrlFor
|
|
2766
2766
|
include ActionDispatch::Routing::UrlFor
|
2767
2767
|
include ActionDispatch::Routing::UrlFor
|
2768
2768
|
end
|
2769
|
-
class ActionController::
|
2769
|
+
class ActionController::Base < ActionController::Metal
|
2770
2770
|
def __callbacks; end
|
2771
2771
|
def __callbacks?; end
|
2772
|
+
def _helper_methods; end
|
2773
|
+
def _helper_methods=(arg0); end
|
2774
|
+
def _helper_methods?; end
|
2775
|
+
def _helpers; end
|
2776
|
+
def _helpers=(arg0); end
|
2777
|
+
def _helpers?; end
|
2778
|
+
def _layout(formats); end
|
2772
2779
|
def _process_action_callbacks; end
|
2780
|
+
def _protected_ivars; end
|
2773
2781
|
def _renderers; end
|
2774
2782
|
def _renderers=(arg0); end
|
2775
2783
|
def _renderers?; end
|
2776
2784
|
def _run_process_action_callbacks(&block); end
|
2785
|
+
def _view_cache_dependencies; end
|
2786
|
+
def _view_cache_dependencies=(arg0); end
|
2787
|
+
def _view_cache_dependencies?; end
|
2777
2788
|
def _view_paths; end
|
2778
2789
|
def _view_paths=(arg0); end
|
2779
2790
|
def _view_paths?; end
|
2780
2791
|
def _wrapper_options; end
|
2781
2792
|
def _wrapper_options=(arg0); end
|
2782
2793
|
def _wrapper_options?; end
|
2794
|
+
def alert; end
|
2795
|
+
def allow_forgery_protection; end
|
2796
|
+
def allow_forgery_protection=(value); end
|
2797
|
+
def asset_host; end
|
2798
|
+
def asset_host=(value); end
|
2799
|
+
def assets_dir; end
|
2800
|
+
def assets_dir=(value); end
|
2801
|
+
def default_asset_host_protocol; end
|
2802
|
+
def default_asset_host_protocol=(value); end
|
2803
|
+
def default_static_extension; end
|
2804
|
+
def default_static_extension=(value); end
|
2783
2805
|
def default_url_options; end
|
2784
2806
|
def default_url_options=(arg0); end
|
2785
2807
|
def default_url_options?; end
|
2808
|
+
def enable_fragment_cache_logging; end
|
2809
|
+
def enable_fragment_cache_logging=(value); end
|
2810
|
+
def etag_with_template_digest; end
|
2811
|
+
def etag_with_template_digest=(arg0); end
|
2812
|
+
def etag_with_template_digest?; end
|
2786
2813
|
def etaggers; end
|
2787
2814
|
def etaggers=(arg0); end
|
2788
2815
|
def etaggers?; end
|
2816
|
+
def flash(*args, &block); end
|
2817
|
+
def forgery_protection_origin_check; end
|
2818
|
+
def forgery_protection_origin_check=(value); end
|
2819
|
+
def forgery_protection_strategy; end
|
2820
|
+
def forgery_protection_strategy=(value); end
|
2821
|
+
def fragment_cache_keys; end
|
2822
|
+
def fragment_cache_keys=(arg0); end
|
2823
|
+
def fragment_cache_keys?; end
|
2824
|
+
def helpers_path; end
|
2825
|
+
def helpers_path=(arg0); end
|
2826
|
+
def helpers_path?; end
|
2827
|
+
def include_all_helpers; end
|
2828
|
+
def include_all_helpers=(arg0); end
|
2829
|
+
def include_all_helpers?; end
|
2830
|
+
def javascripts_dir; end
|
2831
|
+
def javascripts_dir=(value); end
|
2832
|
+
def log_warning_on_csrf_failure; end
|
2833
|
+
def log_warning_on_csrf_failure=(value); end
|
2789
2834
|
def logger; end
|
2790
2835
|
def logger=(value); end
|
2836
|
+
def notice; end
|
2837
|
+
def per_form_csrf_tokens; end
|
2838
|
+
def per_form_csrf_tokens=(value); end
|
2839
|
+
def perform_caching; end
|
2840
|
+
def perform_caching=(value); end
|
2841
|
+
def relative_url_root; end
|
2842
|
+
def relative_url_root=(value); end
|
2843
|
+
def request_forgery_protection_token; end
|
2844
|
+
def request_forgery_protection_token=(value); end
|
2791
2845
|
def rescue_handlers; end
|
2792
2846
|
def rescue_handlers=(arg0); end
|
2793
2847
|
def rescue_handlers?; end
|
2794
2848
|
def self.__callbacks; end
|
2795
2849
|
def self.__callbacks=(val); end
|
2796
2850
|
def self.__callbacks?; end
|
2851
|
+
def self._default_form_builder; end
|
2852
|
+
def self._default_form_builder=(val); end
|
2853
|
+
def self._default_form_builder?; end
|
2854
|
+
def self._flash_types; end
|
2855
|
+
def self._flash_types=(val); end
|
2856
|
+
def self._flash_types?; end
|
2857
|
+
def self._helper_methods; end
|
2858
|
+
def self._helper_methods=(val); end
|
2859
|
+
def self._helper_methods?; end
|
2860
|
+
def self._helpers; end
|
2861
|
+
def self._helpers=(val); end
|
2862
|
+
def self._helpers?; end
|
2863
|
+
def self._layout; end
|
2864
|
+
def self._layout=(val); end
|
2865
|
+
def self._layout?; end
|
2866
|
+
def self._layout_conditions; end
|
2867
|
+
def self._layout_conditions=(val); end
|
2868
|
+
def self._layout_conditions?; end
|
2797
2869
|
def self._process_action_callbacks; end
|
2798
2870
|
def self._process_action_callbacks=(value); end
|
2799
2871
|
def self._renderers; end
|
2800
2872
|
def self._renderers=(val); end
|
2801
2873
|
def self._renderers?; end
|
2874
|
+
def self._view_cache_dependencies; end
|
2875
|
+
def self._view_cache_dependencies=(val); end
|
2876
|
+
def self._view_cache_dependencies?; end
|
2802
2877
|
def self._view_paths; end
|
2803
2878
|
def self._view_paths=(val); end
|
2804
2879
|
def self._view_paths?; end
|
2805
2880
|
def self._wrapper_options; end
|
2806
2881
|
def self._wrapper_options=(val); end
|
2807
2882
|
def self._wrapper_options?; end
|
2883
|
+
def self.allow_forgery_protection; end
|
2884
|
+
def self.allow_forgery_protection=(value); end
|
2885
|
+
def self.asset_host; end
|
2886
|
+
def self.asset_host=(value); end
|
2887
|
+
def self.assets_dir; end
|
2888
|
+
def self.assets_dir=(value); end
|
2889
|
+
def self.default_asset_host_protocol; end
|
2890
|
+
def self.default_asset_host_protocol=(value); end
|
2891
|
+
def self.default_static_extension; end
|
2892
|
+
def self.default_static_extension=(value); end
|
2808
2893
|
def self.default_url_options; end
|
2809
2894
|
def self.default_url_options=(val); end
|
2810
2895
|
def self.default_url_options?; end
|
2896
|
+
def self.enable_fragment_cache_logging; end
|
2897
|
+
def self.enable_fragment_cache_logging=(value); end
|
2898
|
+
def self.etag_with_template_digest; end
|
2899
|
+
def self.etag_with_template_digest=(val); end
|
2900
|
+
def self.etag_with_template_digest?; end
|
2811
2901
|
def self.etaggers; end
|
2812
2902
|
def self.etaggers=(val); end
|
2813
2903
|
def self.etaggers?; end
|
2904
|
+
def self.forgery_protection_origin_check; end
|
2905
|
+
def self.forgery_protection_origin_check=(value); end
|
2906
|
+
def self.forgery_protection_strategy; end
|
2907
|
+
def self.forgery_protection_strategy=(value); end
|
2908
|
+
def self.fragment_cache_keys; end
|
2909
|
+
def self.fragment_cache_keys=(val); end
|
2910
|
+
def self.fragment_cache_keys?; end
|
2911
|
+
def self.helpers_path; end
|
2912
|
+
def self.helpers_path=(val); end
|
2913
|
+
def self.helpers_path?; end
|
2914
|
+
def self.include_all_helpers; end
|
2915
|
+
def self.include_all_helpers=(val); end
|
2916
|
+
def self.include_all_helpers?; end
|
2917
|
+
def self.javascripts_dir; end
|
2918
|
+
def self.javascripts_dir=(value); end
|
2919
|
+
def self.log_warning_on_csrf_failure; end
|
2920
|
+
def self.log_warning_on_csrf_failure=(value); end
|
2814
2921
|
def self.logger; end
|
2815
2922
|
def self.logger=(value); end
|
2923
|
+
def self.make_response!(request); end
|
2816
2924
|
def self.middleware_stack; end
|
2925
|
+
def self.per_form_csrf_tokens; end
|
2926
|
+
def self.per_form_csrf_tokens=(value); end
|
2927
|
+
def self.perform_caching; end
|
2928
|
+
def self.perform_caching=(value); end
|
2929
|
+
def self.relative_url_root; end
|
2930
|
+
def self.relative_url_root=(value); end
|
2931
|
+
def self.request_forgery_protection_token; end
|
2932
|
+
def self.request_forgery_protection_token=(value); end
|
2817
2933
|
def self.rescue_handlers; end
|
2818
2934
|
def self.rescue_handlers=(val); end
|
2819
2935
|
def self.rescue_handlers?; end
|
2936
|
+
def self.stylesheets_dir; end
|
2937
|
+
def self.stylesheets_dir=(value); end
|
2820
2938
|
def self.without_modules(*modules); end
|
2939
|
+
def stylesheets_dir; end
|
2940
|
+
def stylesheets_dir=(value); end
|
2941
|
+
extend AbstractController::Caching::ClassMethods
|
2942
|
+
extend AbstractController::Caching::ConfigMethods
|
2943
|
+
extend AbstractController::Caching::Fragments::ClassMethods
|
2821
2944
|
extend AbstractController::Callbacks::ClassMethods
|
2945
|
+
extend AbstractController::Helpers::ClassMethods
|
2822
2946
|
extend AbstractController::UrlFor::ClassMethods
|
2823
2947
|
extend ActionController::ConditionalGet::ClassMethods
|
2948
|
+
extend ActionController::Flash::ClassMethods
|
2824
2949
|
extend ActionController::ForceSSL::ClassMethods
|
2950
|
+
extend ActionController::FormBuilder::ClassMethods
|
2951
|
+
extend ActionController::Helpers::ClassMethods
|
2952
|
+
extend ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods
|
2825
2953
|
extend ActionController::Instrumentation::ClassMethods
|
2954
|
+
extend ActionController::ParameterEncoding::ClassMethods
|
2826
2955
|
extend ActionController::ParamsWrapper::ClassMethods
|
2827
2956
|
extend ActionController::Railties::Helpers
|
2828
2957
|
extend ActionController::Renderers::ClassMethods
|
2829
2958
|
extend ActionController::Rendering::ClassMethods
|
2959
|
+
extend ActionController::RequestForgeryProtection::ClassMethods
|
2960
|
+
extend ActionView::Layouts::ClassMethods
|
2961
|
+
extend ActionView::Rendering::ClassMethods
|
2830
2962
|
extend ActionView::ViewPaths::ClassMethods
|
2831
2963
|
extend ActiveRecord::Railties::ControllerRuntime::ClassMethods
|
2832
2964
|
extend ActiveSupport::Callbacks::ClassMethods
|
2833
2965
|
extend ActiveSupport::DescendantsTracker
|
2834
2966
|
extend ActiveSupport::Rescuable::ClassMethods
|
2835
2967
|
extend Anonymous_Module_4
|
2968
|
+
include AbstractController::AssetPaths
|
2969
|
+
include AbstractController::Caching
|
2970
|
+
include AbstractController::Caching::Fragments
|
2971
|
+
include AbstractController::Callbacks
|
2836
2972
|
include AbstractController::Callbacks
|
2837
2973
|
include AbstractController::Callbacks
|
2974
|
+
include AbstractController::Helpers
|
2975
|
+
include AbstractController::Helpers
|
2838
2976
|
include AbstractController::Logger
|
2839
2977
|
include AbstractController::Logger
|
2840
2978
|
include AbstractController::Rendering
|
2979
|
+
include AbstractController::Translation
|
2841
2980
|
include AbstractController::UrlFor
|
2842
|
-
include ActionController::
|
2843
|
-
include ActionController::
|
2981
|
+
include ActionController::Caching
|
2982
|
+
include ActionController::ConditionalGet
|
2844
2983
|
include ActionController::ConditionalGet
|
2984
|
+
include ActionController::ConditionalGet
|
2985
|
+
include ActionController::Cookies
|
2845
2986
|
include ActionController::DataStreaming
|
2987
|
+
include ActionController::EtagWithFlash
|
2988
|
+
include ActionController::EtagWithTemplateDigest
|
2989
|
+
include ActionController::Flash
|
2846
2990
|
include ActionController::ForceSSL
|
2991
|
+
include ActionController::FormBuilder
|
2992
|
+
include ActionController::Helpers
|
2993
|
+
include ActionController::HttpAuthentication::Basic::ControllerMethods
|
2994
|
+
include ActionController::HttpAuthentication::Digest::ControllerMethods
|
2995
|
+
include ActionController::HttpAuthentication::Token::ControllerMethods
|
2996
|
+
include ActionController::ImplicitRender
|
2847
2997
|
include ActionController::Instrumentation
|
2998
|
+
include ActionController::MimeResponds
|
2999
|
+
include ActionController::ParameterEncoding
|
2848
3000
|
include ActionController::ParamsWrapper
|
2849
3001
|
include ActionController::Redirecting
|
2850
3002
|
include ActionController::Renderers
|
2851
3003
|
include ActionController::Renderers::All
|
2852
3004
|
include ActionController::Rendering
|
2853
3005
|
include ActionController::Rendering
|
3006
|
+
include ActionController::RequestForgeryProtection
|
2854
3007
|
include ActionController::Rescue
|
3008
|
+
include ActionController::Streaming
|
2855
3009
|
include ActionController::StrongParameters
|
2856
3010
|
include ActionController::UrlFor
|
2857
3011
|
include ActionController::UrlFor
|
2858
3012
|
include ActionDispatch::Routing::RouteSet::MountedHelpers
|
2859
3013
|
include ActionDispatch::Routing::UrlFor
|
2860
3014
|
include ActionDispatch::Routing::UrlFor
|
3015
|
+
include ActionView::Layouts
|
3016
|
+
include ActionView::Rendering
|
3017
|
+
include ActionView::ViewPaths
|
2861
3018
|
include ActionView::ViewPaths
|
2862
3019
|
include ActiveRecord::Railties::ControllerRuntime
|
2863
3020
|
include ActiveSupport::Benchmarkable
|
@@ -2868,304 +3025,3 @@ end
|
|
2868
3025
|
module Anonymous_Module_4
|
2869
3026
|
def inherited(klass); end
|
2870
3027
|
end
|
2871
|
-
module ActionController::TemplateAssertions
|
2872
|
-
def assert_template(options = nil, message = nil); end
|
2873
|
-
end
|
2874
|
-
module ActionController::Testing
|
2875
|
-
extend ActiveSupport::Concern
|
2876
|
-
end
|
2877
|
-
module ActionController::Testing::Functional
|
2878
|
-
def recycle!; end
|
2879
|
-
end
|
2880
|
-
module ActionController::Testing::ClassMethods
|
2881
|
-
def before_filters; end
|
2882
|
-
end
|
2883
|
-
class ActionDispatch::TestRequest < ActionDispatch::Request
|
2884
|
-
def accept=(mime_types); end
|
2885
|
-
def action=(action_name); end
|
2886
|
-
def host=(host); end
|
2887
|
-
def if_modified_since=(last_modified); end
|
2888
|
-
def if_none_match=(etag); end
|
2889
|
-
def path=(path); end
|
2890
|
-
def port=(number); end
|
2891
|
-
def remote_addr=(addr); end
|
2892
|
-
def request_method=(method); end
|
2893
|
-
def request_uri=(uri); end
|
2894
|
-
def self.create(env = nil); end
|
2895
|
-
def self.default_env; end
|
2896
|
-
def user_agent=(user_agent); end
|
2897
|
-
end
|
2898
|
-
class ActionDispatch::Flash
|
2899
|
-
def self.new(app); end
|
2900
|
-
end
|
2901
|
-
module ActionDispatch::Flash::RequestMethods
|
2902
|
-
def commit_flash; end
|
2903
|
-
def flash; end
|
2904
|
-
def flash=(flash); end
|
2905
|
-
def flash_hash; end
|
2906
|
-
def reset_session; end
|
2907
|
-
end
|
2908
|
-
class ActionDispatch::Flash::FlashNow
|
2909
|
-
def [](k); end
|
2910
|
-
def []=(k, v); end
|
2911
|
-
def alert=(message); end
|
2912
|
-
def flash; end
|
2913
|
-
def flash=(arg0); end
|
2914
|
-
def initialize(flash); end
|
2915
|
-
def notice=(message); end
|
2916
|
-
end
|
2917
|
-
class ActionDispatch::Flash::FlashHash
|
2918
|
-
def [](k); end
|
2919
|
-
def []=(k, v); end
|
2920
|
-
def alert; end
|
2921
|
-
def alert=(message); end
|
2922
|
-
def clear; end
|
2923
|
-
def delete(key); end
|
2924
|
-
def discard(k = nil); end
|
2925
|
-
def each(&block); end
|
2926
|
-
def empty?; end
|
2927
|
-
def initialize(flashes = nil, discard = nil); end
|
2928
|
-
def initialize_copy(other); end
|
2929
|
-
def keep(k = nil); end
|
2930
|
-
def key?(name); end
|
2931
|
-
def keys; end
|
2932
|
-
def merge!(h); end
|
2933
|
-
def notice; end
|
2934
|
-
def notice=(message); end
|
2935
|
-
def now; end
|
2936
|
-
def now_is_loaded?; end
|
2937
|
-
def replace(h); end
|
2938
|
-
def self.from_session_value(value); end
|
2939
|
-
def stringify_array(array); end
|
2940
|
-
def sweep; end
|
2941
|
-
def to_hash; end
|
2942
|
-
def to_session_value; end
|
2943
|
-
def update(h); end
|
2944
|
-
include Enumerable
|
2945
|
-
end
|
2946
|
-
module ActionDispatch::TestProcess
|
2947
|
-
def assigns(key = nil); end
|
2948
|
-
def cookies; end
|
2949
|
-
def flash; end
|
2950
|
-
def redirect_to_url; end
|
2951
|
-
def session; end
|
2952
|
-
include ActionDispatch::TestProcess::FixtureFile
|
2953
|
-
end
|
2954
|
-
module ActionDispatch::TestProcess::FixtureFile
|
2955
|
-
def fixture_file_upload(path, mime_type = nil, binary = nil); end
|
2956
|
-
end
|
2957
|
-
module ActionDispatch::Assertions
|
2958
|
-
def html_document; end
|
2959
|
-
extend ActiveSupport::Concern
|
2960
|
-
include ActionDispatch::Assertions::ResponseAssertions
|
2961
|
-
include ActionDispatch::Assertions::RoutingAssertions
|
2962
|
-
include Rails::Dom::Testing::Assertions
|
2963
|
-
end
|
2964
|
-
module ActionDispatch::Assertions::ResponseAssertions
|
2965
|
-
def assert_redirected_to(options = nil, message = nil); end
|
2966
|
-
def assert_response(type, message = nil); end
|
2967
|
-
def code_with_name(code_or_name); end
|
2968
|
-
def generate_response_message(expected, actual = nil); end
|
2969
|
-
def location_if_redirected; end
|
2970
|
-
def normalize_argument_to_redirection(fragment); end
|
2971
|
-
def parameterize(value); end
|
2972
|
-
def response_body_if_short; end
|
2973
|
-
end
|
2974
|
-
module ActionDispatch::Assertions::RoutingAssertions
|
2975
|
-
def assert_generates(expected_path, options, defaults = nil, extras = nil, message = nil); end
|
2976
|
-
def assert_recognizes(expected_options, path, extras = nil, msg = nil); end
|
2977
|
-
def assert_routing(path, options, defaults = nil, extras = nil, message = nil); end
|
2978
|
-
def fail_on(exception_class, message); end
|
2979
|
-
def method_missing(selector, *args, &block); end
|
2980
|
-
def recognized_request_for(path, extras = nil, msg); end
|
2981
|
-
def with_routing; end
|
2982
|
-
end
|
2983
|
-
class ActionController::TestRequest < ActionDispatch::TestRequest
|
2984
|
-
def assign_parameters(routes, controller_path, action, parameters, generated_path, query_string_keys); end
|
2985
|
-
def content_type=(type); end
|
2986
|
-
def controller_class; end
|
2987
|
-
def initialize(env, session, controller_class); end
|
2988
|
-
def params_parsers; end
|
2989
|
-
def query_string=(string); end
|
2990
|
-
def self.create(controller_class); end
|
2991
|
-
def self.default_env; end
|
2992
|
-
def self.new_session; end
|
2993
|
-
end
|
2994
|
-
class ActionController::LiveTestResponse < ActionController::Live::Response
|
2995
|
-
def error?; end
|
2996
|
-
def missing?; end
|
2997
|
-
def success?; end
|
2998
|
-
end
|
2999
|
-
class ActionController::TestSession < Rack::Session::Abstract::SessionHash
|
3000
|
-
def destroy; end
|
3001
|
-
def exists?; end
|
3002
|
-
def fetch(key, *args, &block); end
|
3003
|
-
def initialize(session = nil); end
|
3004
|
-
def keys; end
|
3005
|
-
def load!; end
|
3006
|
-
def values; end
|
3007
|
-
end
|
3008
|
-
class ActionController::TestCase < ActiveSupport::TestCase
|
3009
|
-
def _controller_class; end
|
3010
|
-
def _controller_class=(arg0); end
|
3011
|
-
def _controller_class?; end
|
3012
|
-
def self.__callbacks; end
|
3013
|
-
def self._controller_class; end
|
3014
|
-
def self._controller_class=(val); end
|
3015
|
-
def self._controller_class?; end
|
3016
|
-
extend ActionController::TestCase::Behavior::ClassMethods
|
3017
|
-
extend ActiveSupport::Testing::ConstantLookup::ClassMethods
|
3018
|
-
include ActionController::TemplateAssertions
|
3019
|
-
include ActionController::TestCase::Behavior
|
3020
|
-
include ActionDispatch::Assertions
|
3021
|
-
include ActiveSupport::Testing::ConstantLookup
|
3022
|
-
include Rails::Dom::Testing::Assertions
|
3023
|
-
include Rails::Dom::Testing::Assertions
|
3024
|
-
end
|
3025
|
-
module ActionController::TestCase::Behavior
|
3026
|
-
def build_response(klass); end
|
3027
|
-
def check_required_ivars; end
|
3028
|
-
def controller_class_name; end
|
3029
|
-
def delete(action, **args); end
|
3030
|
-
def document_root_element; end
|
3031
|
-
def generated_path(generated_extras); end
|
3032
|
-
def get(action, **args); end
|
3033
|
-
def head(action, **args); end
|
3034
|
-
def patch(action, **args); end
|
3035
|
-
def post(action, **args); end
|
3036
|
-
def process(action, method: nil, params: nil, session: nil, body: nil, flash: nil, format: nil, xhr: nil, as: nil); end
|
3037
|
-
def put(action, **args); end
|
3038
|
-
def query_parameter_names(generated_extras); end
|
3039
|
-
def request; end
|
3040
|
-
def response; end
|
3041
|
-
def scrub_env!(env); end
|
3042
|
-
def setup_controller_request_and_response; end
|
3043
|
-
extend ActiveSupport::Concern
|
3044
|
-
include ActionDispatch::TestProcess
|
3045
|
-
include ActiveSupport::Testing::ConstantLookup
|
3046
|
-
include Rails::Dom::Testing::Assertions
|
3047
|
-
end
|
3048
|
-
module ActionController::TestCase::Behavior::ClassMethods
|
3049
|
-
def controller_class; end
|
3050
|
-
def controller_class=(new_class); end
|
3051
|
-
def determine_default_controller_class(name); end
|
3052
|
-
def tests(controller_class); end
|
3053
|
-
end
|
3054
|
-
class ActionDispatch::RequestEncoder
|
3055
|
-
def accept_header; end
|
3056
|
-
def content_type; end
|
3057
|
-
def encode_params(params); end
|
3058
|
-
def initialize(mime_name, param_encoder, response_parser); end
|
3059
|
-
def response_parser; end
|
3060
|
-
def self.encoder(name); end
|
3061
|
-
def self.parser(content_type); end
|
3062
|
-
def self.register_encoder(mime_name, param_encoder: nil, response_parser: nil); end
|
3063
|
-
end
|
3064
|
-
class ActionDispatch::RequestEncoder::IdentityEncoder
|
3065
|
-
def accept_header; end
|
3066
|
-
def content_type; end
|
3067
|
-
def encode_params(params); end
|
3068
|
-
def response_parser; end
|
3069
|
-
end
|
3070
|
-
module ActionDispatch::Integration
|
3071
|
-
end
|
3072
|
-
module ActionDispatch::Integration::RequestHelpers
|
3073
|
-
def delete(path, **args); end
|
3074
|
-
def follow_redirect!; end
|
3075
|
-
def get(path, **args); end
|
3076
|
-
def head(path, *args); end
|
3077
|
-
def patch(path, **args); end
|
3078
|
-
def post(path, **args); end
|
3079
|
-
def put(path, **args); end
|
3080
|
-
end
|
3081
|
-
class ActionDispatch::Integration::Session
|
3082
|
-
def _mock_session; end
|
3083
|
-
def accept; end
|
3084
|
-
def accept=(arg0); end
|
3085
|
-
def body(*args, &block); end
|
3086
|
-
def build_expanded_path(path); end
|
3087
|
-
def build_full_uri(path, env); end
|
3088
|
-
def controller; end
|
3089
|
-
def cookies; end
|
3090
|
-
def default_url_options; end
|
3091
|
-
def default_url_options=(arg0); end
|
3092
|
-
def default_url_options?; end
|
3093
|
-
def headers(*args, &block); end
|
3094
|
-
def host!(arg0); end
|
3095
|
-
def host; end
|
3096
|
-
def host=(arg0); end
|
3097
|
-
def https!(flag = nil); end
|
3098
|
-
def https?; end
|
3099
|
-
def initialize(app); end
|
3100
|
-
def path(*args, &block); end
|
3101
|
-
def process(method, path, params: nil, headers: nil, env: nil, xhr: nil, as: nil); end
|
3102
|
-
def redirect?(*args, &block); end
|
3103
|
-
def remote_addr; end
|
3104
|
-
def remote_addr=(arg0); end
|
3105
|
-
def request; end
|
3106
|
-
def request_count; end
|
3107
|
-
def request_count=(arg0); end
|
3108
|
-
def reset!; end
|
3109
|
-
def response; end
|
3110
|
-
def self.default_url_options; end
|
3111
|
-
def self.default_url_options=(val); end
|
3112
|
-
def self.default_url_options?; end
|
3113
|
-
def status(*args, &block); end
|
3114
|
-
def status_message(*args, &block); end
|
3115
|
-
def url_options; end
|
3116
|
-
include ActionDispatch::Routing::UrlFor
|
3117
|
-
include ActionDispatch::TestProcess
|
3118
|
-
include Minitest::Assertions
|
3119
|
-
include Rails::Dom::Testing::Assertions
|
3120
|
-
end
|
3121
|
-
module ActionDispatch::Integration::Runner
|
3122
|
-
def app; end
|
3123
|
-
def assigns(*args); end
|
3124
|
-
def before_setup; end
|
3125
|
-
def cookies(*args); end
|
3126
|
-
def copy_session_variables!; end
|
3127
|
-
def create_session(app); end
|
3128
|
-
def default_url_options; end
|
3129
|
-
def default_url_options=(options); end
|
3130
|
-
def delete(*args); end
|
3131
|
-
def follow_redirect!(*args); end
|
3132
|
-
def get(*args); end
|
3133
|
-
def head(*args); end
|
3134
|
-
def initialize(*args, &blk); end
|
3135
|
-
def integration_session; end
|
3136
|
-
def method_missing(sym, *args, &block); end
|
3137
|
-
def open_session; end
|
3138
|
-
def patch(*args); end
|
3139
|
-
def post(*args); end
|
3140
|
-
def put(*args); end
|
3141
|
-
def remove!; end
|
3142
|
-
def reset!; end
|
3143
|
-
def respond_to_missing?(method, include_private = nil); end
|
3144
|
-
include ActionDispatch::Assertions
|
3145
|
-
include Rails::Dom::Testing::Assertions
|
3146
|
-
end
|
3147
|
-
class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
|
3148
|
-
def self.__callbacks; end
|
3149
|
-
extend ActionDispatch::IntegrationTest::Behavior::ClassMethods
|
3150
|
-
include ActionDispatch::IntegrationTest::Behavior
|
3151
|
-
include ActionDispatch::IntegrationTest::UrlOptions
|
3152
|
-
include ActionDispatch::Routing::UrlFor
|
3153
|
-
include ActionDispatch::TestProcess::FixtureFile
|
3154
|
-
include ActionMailer::TestCase::ClearTestDeliveries
|
3155
|
-
end
|
3156
|
-
module ActionDispatch::IntegrationTest::UrlOptions
|
3157
|
-
def url_options; end
|
3158
|
-
extend ActiveSupport::Concern
|
3159
|
-
end
|
3160
|
-
module ActionDispatch::IntegrationTest::Behavior
|
3161
|
-
def app; end
|
3162
|
-
def document_root_element; end
|
3163
|
-
extend ActiveSupport::Concern
|
3164
|
-
include ActionController::TemplateAssertions
|
3165
|
-
include ActionDispatch::Integration::Runner
|
3166
|
-
end
|
3167
|
-
module ActionDispatch::IntegrationTest::Behavior::ClassMethods
|
3168
|
-
def app; end
|
3169
|
-
def app=(app); end
|
3170
|
-
def register_encoder(*args); end
|
3171
|
-
end
|