sorbet-rails 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -2
- data/.travis.yml +7 -1
- data/CONTRIBUTING.md +3 -1
- data/Gemfile +11 -0
- data/README.md +0 -2
- data/{rbi → lib/sorbet-rails/rbi}/activerecord.rbi +118 -86
- data/lib/sorbet-rails/tasks/rails_rbi.rake +15 -6
- data/lib/sorbet-rails/utils.rb +11 -0
- data/sorbet-rails.gemspec +1 -1
- data/spec/bin/run_all_specs.sh +3 -2
- data/spec/bin/run_spec.sh +33 -26
- data/spec/model_rbi_formatter_spec.rb +0 -15
- data/spec/rails_helper.rb +12 -7
- data/spec/rake_rails_rbi_models_spec.rb +22 -5
- data/spec/rake_rails_rbi_routes_spec.rb +0 -1
- data/spec/sorbet_spec.rb +80 -0
- data/spec/support/rails_shared/config/routes.rb +1 -0
- data/spec/support/rails_shared/sorbet_test_cases.rb +120 -0
- data/spec/support/rails_symlinks/sorbet_test_cases.rb +1 -0
- data/spec/support/v4.2/Gemfile +13 -0
- data/spec/support/v4.2/Gemfile.lock +138 -0
- data/spec/support/v4.2/app/controllers/application_controller.rb +1 -0
- data/spec/support/v4.2/app/helpers/application_helper.rb +1 -0
- data/spec/support/v4.2/config/application.rb +1 -0
- data/spec/support/v4.2/config/boot.rb +1 -0
- data/spec/support/v4.2/config/environment.rb +1 -0
- data/spec/support/v4.2/config/environments/development.rb +1 -0
- data/spec/support/v4.2/config/environments/production.rb +1 -0
- data/spec/support/v4.2/config/environments/test.rb +1 -0
- data/spec/support/v4.2/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v4.2/config/initializers/cookies_serializer.rb +1 -0
- data/spec/support/v4.2/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v4.2/config/initializers/inflections.rb +1 -0
- data/spec/support/v4.2/config/initializers/mime_types.rb +1 -0
- data/spec/support/v4.2/config/initializers/session_store.rb +1 -0
- data/spec/support/v4.2/config/initializers/to_time_preserves_timezone.rb +1 -0
- data/spec/support/v4.2/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v4.2/config/routes.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190620001234_create_wizards.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190620003037_create_wands.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190620003739_create_spell_books.rb +1 -0
- data/spec/support/v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb +1 -0
- data/spec/support/v4.2/db/schema.rb +1 -0
- data/spec/support/v4.2/db/seeds.rb +1 -0
- data/spec/support/v4.2/sorbet/config +2 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionmailer.rbi +267 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +2885 -0
- data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +978 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activejob.rbi +19 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +335 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +3382 -0
- data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +1892 -0
- data/spec/support/v4.2/sorbet/rbi/gems/arel.rbi +1109 -0
- data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +22 -0
- data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v4.2/sorbet/rbi/gems/concurrent-ruby.rbi +218 -0
- data/spec/support/v4.2/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +18 -0
- data/spec/support/v4.2/sorbet/rbi/gems/erubis.rbi +265 -0
- data/spec/support/v4.2/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v4.2/sorbet/rbi/gems/i18n.rbi +186 -0
- data/spec/support/v4.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
- data/spec/support/v4.2/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +1091 -0
- data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v4.2/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v4.2/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rack-test.rbi +145 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rack.rbi +490 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-deprecated_sanitizer.rbi +13 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-dom-testing.rbi +76 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +623 -0
- data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +1053 -0
- data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +73 -0
- data/spec/support/v4.2/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v4.2/sorbet/rbi/gems/sqlite3.rbi +345 -0
- data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +401 -0
- data/spec/support/v4.2/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v4.2/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v4.2/sorbet/rbi/gems/web-console.rbi +136 -0
- data/spec/support/v4.2/sorbet/rbi/hidden-definitions/errors.txt +11998 -0
- data/spec/support/v4.2/sorbet/rbi/hidden-definitions/hidden.rbi +27774 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v4.2/sorbet/rbi/todo.rbi +8 -0
- data/spec/support/v4.2/sorbet_test_cases.rb +1 -0
- data/spec/support/v4.2/test/test_helper.rb +1 -0
- data/spec/support/v5.0/Gemfile +13 -0
- data/spec/support/v5.0/Gemfile.lock +130 -0
- data/spec/support/v5.0/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v5.0/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v5.0/app/jobs/application_job.rb +1 -0
- data/spec/support/v5.0/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v5.0/config/application.rb +1 -0
- data/spec/support/v5.0/config/boot.rb +1 -0
- data/spec/support/v5.0/config/environment.rb +1 -0
- data/spec/support/v5.0/config/environments/development.rb +1 -0
- data/spec/support/v5.0/config/environments/production.rb +1 -0
- data/spec/support/v5.0/config/environments/test.rb +1 -0
- data/spec/support/v5.0/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v5.0/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v5.0/config/initializers/cors.rb +1 -0
- data/spec/support/v5.0/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v5.0/config/initializers/inflections.rb +1 -0
- data/spec/support/v5.0/config/initializers/mime_types.rb +1 -0
- data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +1 -0
- data/spec/support/v5.0/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v5.0/config/puma.rb +1 -0
- data/spec/support/v5.0/config/routes.rb +1 -0
- data/spec/support/v5.0/db/schema.rb +1 -0
- data/spec/support/v5.0/db/seeds.rb +1 -0
- data/spec/support/v5.0/rails_symlinks/config/routes.rb +1 -0
- data/spec/support/v5.0/sorbet/config +2 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +309 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +379 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +3150 -0
- data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +1093 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +252 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +562 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +4060 -0
- data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +2078 -0
- data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +1222 -0
- data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v5.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
- data/spec/support/v5.0/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v5.0/sorbet/rbi/gems/erubis.rbi +265 -0
- data/spec/support/v5.0/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v5.0/sorbet/rbi/gems/i18n.rbi +191 -0
- data/spec/support/v5.0/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +1091 -0
- data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +63 -0
- data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v5.0/sorbet/rbi/gems/puma.rbi +570 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rack-test.rbi +145 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +534 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +682 -0
- data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +255 -0
- data/spec/support/v5.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v5.0/sorbet/rbi/gems/sqlite3.rbi +345 -0
- data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +401 -0
- data/spec/support/v5.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v5.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v5.0/sorbet/rbi/hidden-definitions/errors.txt +10523 -0
- data/spec/support/v5.0/sorbet/rbi/hidden-definitions/hidden.rbi +24969 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v5.0/sorbet/rbi/todo.rbi +10 -0
- data/spec/support/v5.0/sorbet_test_cases.rb +1 -0
- data/spec/support/v5.0/test/test_helper.rb +1 -0
- data/spec/support/v5.1/Gemfile +13 -0
- data/spec/support/v5.1/Gemfile.lock +15 -20
- data/spec/support/v5.1/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v5.1/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v5.1/app/jobs/application_job.rb +1 -0
- data/spec/support/v5.1/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v5.1/bin/rails +0 -5
- data/spec/support/v5.1/bin/rake +0 -5
- data/spec/support/v5.1/config/application.rb +1 -0
- data/spec/support/v5.1/config/boot.rb +1 -0
- data/spec/support/v5.1/config/environment.rb +1 -0
- data/spec/support/v5.1/config/environments/development.rb +2 -1
- data/spec/support/v5.1/config/environments/production.rb +1 -0
- data/spec/support/v5.1/config/environments/test.rb +1 -0
- data/spec/support/v5.1/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v5.1/config/initializers/cors.rb +1 -0
- data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v5.1/config/initializers/inflections.rb +1 -0
- data/spec/support/v5.1/config/initializers/mime_types.rb +1 -0
- data/spec/support/v5.1/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v5.1/config/puma.rb +1 -0
- data/spec/support/v5.1/config/spring.rb +1 -0
- data/spec/support/v5.1/db/schema.rb +1 -0
- data/spec/support/v5.1/db/seeds.rb +1 -0
- data/spec/support/v5.1/sorbet/config +2 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +309 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +429 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +3171 -0
- data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +1115 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +273 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +547 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +4093 -0
- data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +2180 -0
- data/spec/support/v5.1/sorbet/rbi/gems/arel.rbi +1220 -0
- data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v5.1/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
- data/spec/support/v5.1/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v5.1/sorbet/rbi/gems/erubi.rbi +26 -0
- data/spec/support/v5.1/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v5.1/sorbet/rbi/gems/i18n.rbi +191 -0
- data/spec/support/v5.1/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +1091 -0
- data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +63 -0
- data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v5.1/sorbet/rbi/gems/puma.rbi +570 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rack-test.rbi +161 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +534 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +707 -0
- data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +255 -0
- data/spec/support/v5.1/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +345 -0
- data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +450 -0
- data/spec/support/v5.1/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v5.1/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v5.1/sorbet/rbi/hidden-definitions/errors.txt +10226 -0
- data/spec/support/v5.1/sorbet/rbi/hidden-definitions/hidden.rbi +24635 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v5.1/sorbet/rbi/todo.rbi +11 -0
- data/spec/support/v5.1/sorbet_test_cases.rb +1 -0
- data/spec/support/v5.1/test/test_helper.rb +1 -0
- data/spec/support/v5.2/Gemfile +12 -0
- data/spec/support/v5.2/Gemfile.lock +12 -0
- data/spec/support/v5.2/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v5.2/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v5.2/app/jobs/application_job.rb +1 -0
- data/spec/support/v5.2/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v5.2/bin/rails +0 -5
- data/spec/support/v5.2/bin/rake +0 -5
- data/spec/support/v5.2/config/application.rb +1 -0
- data/spec/support/v5.2/config/boot.rb +1 -0
- data/spec/support/v5.2/config/environment.rb +1 -0
- data/spec/support/v5.2/config/environments/development.rb +1 -0
- data/spec/support/v5.2/config/environments/production.rb +1 -0
- data/spec/support/v5.2/config/environments/test.rb +1 -0
- data/spec/support/v5.2/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v5.2/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v5.2/config/initializers/cors.rb +1 -0
- data/spec/support/v5.2/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v5.2/config/initializers/inflections.rb +1 -0
- data/spec/support/v5.2/config/initializers/mime_types.rb +1 -0
- data/spec/support/v5.2/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v5.2/config/puma.rb +1 -0
- data/spec/support/v5.2/config/spring.rb +1 -0
- data/spec/support/v5.2/db/schema.rb +1 -0
- data/spec/support/v5.2/db/seeds.rb +1 -0
- data/spec/support/v5.2/sorbet/rbi/gems/sorbet-runtime.rbi +644 -0
- data/spec/support/v5.2/sorbet/rbi/hidden-definitions/errors.txt +12 -6
- data/spec/support/v5.2/sorbet/rbi/hidden-definitions/hidden.rbi +57 -19
- data/spec/support/v5.2/sorbet_test_cases.rb +1 -0
- data/spec/support/v5.2/test/test_helper.rb +1 -0
- data/spec/support/v5.2-no-sorbet/Gemfile +57 -0
- data/spec/support/v5.2-no-sorbet/Gemfile.lock +140 -0
- data/spec/support/v5.2-no-sorbet/README.md +24 -0
- data/spec/support/v5.2-no-sorbet/Rakefile +6 -0
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +5 -0
- data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +5 -0
- data/spec/support/v5.2-no-sorbet/app/controllers +1 -0
- data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +3 -0
- data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +5 -0
- data/spec/support/v5.2-no-sorbet/app/models +1 -0
- data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.html.erb +13 -0
- data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.text.erb +1 -0
- data/spec/support/v5.2-no-sorbet/bin/bundle +3 -0
- data/spec/support/v5.2-no-sorbet/bin/rails +4 -0
- data/spec/support/v5.2-no-sorbet/bin/rake +4 -0
- data/spec/support/v5.2-no-sorbet/bin/setup +33 -0
- data/spec/support/v5.2-no-sorbet/bin/spring +17 -0
- data/spec/support/v5.2-no-sorbet/bin/update +28 -0
- data/spec/support/v5.2-no-sorbet/config/application.rb +36 -0
- data/spec/support/v5.2-no-sorbet/config/boot.rb +4 -0
- data/spec/support/v5.2-no-sorbet/config/cable.yml +10 -0
- data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +1 -0
- data/spec/support/v5.2-no-sorbet/config/database.yml +25 -0
- data/spec/support/v5.2-no-sorbet/config/environment.rb +6 -0
- data/spec/support/v5.2-no-sorbet/config/environments/development.rb +55 -0
- data/spec/support/v5.2-no-sorbet/config/environments/production.rb +86 -0
- data/spec/support/v5.2-no-sorbet/config/environments/test.rb +47 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +9 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +17 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +5 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +17 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +5 -0
- data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +15 -0
- data/spec/support/v5.2-no-sorbet/config/locales/en.yml +33 -0
- data/spec/support/v5.2-no-sorbet/config/puma.rb +35 -0
- data/spec/support/v5.2-no-sorbet/config/routes.rb +1 -0
- data/spec/support/v5.2-no-sorbet/config/spring.rb +7 -0
- data/spec/support/v5.2-no-sorbet/config/storage.yml +34 -0
- data/spec/support/v5.2-no-sorbet/config.ru +5 -0
- data/spec/support/v5.2-no-sorbet/db/migrate +1 -0
- data/spec/support/v5.2-no-sorbet/db/schema.rb +48 -0
- data/spec/support/v5.2-no-sorbet/db/seeds.rb +8 -0
- data/spec/support/v5.2-no-sorbet/lib/tasks/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/log/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/public/robots.txt +1 -0
- data/spec/support/v5.2-no-sorbet/storage/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/controllers/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/fixtures/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/fixtures/files/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/integration/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/mailers/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/models/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/test/test_helper.rb +11 -0
- data/spec/support/v5.2-no-sorbet/tmp/.keep +0 -0
- data/spec/support/v5.2-no-sorbet/vendor/.keep +0 -0
- data/spec/support/v6.0/Gemfile +12 -0
- data/spec/support/v6.0/Gemfile.lock +157 -0
- data/spec/support/v6.0/app/channels/application_cable/channel.rb +1 -0
- data/spec/support/v6.0/app/channels/application_cable/connection.rb +1 -0
- data/spec/support/v6.0/app/jobs/application_job.rb +1 -0
- data/spec/support/v6.0/app/mailers/application_mailer.rb +1 -0
- data/spec/support/v6.0/config/application.rb +1 -0
- data/spec/support/v6.0/config/boot.rb +1 -0
- data/spec/support/v6.0/config/environment.rb +1 -0
- data/spec/support/v6.0/config/environments/development.rb +1 -0
- data/spec/support/v6.0/config/environments/production.rb +1 -0
- data/spec/support/v6.0/config/environments/test.rb +1 -0
- data/spec/support/v6.0/config/initializers/application_controller_renderer.rb +1 -0
- data/spec/support/v6.0/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/support/v6.0/config/initializers/cors.rb +1 -0
- data/spec/support/v6.0/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/support/v6.0/config/initializers/inflections.rb +1 -0
- data/spec/support/v6.0/config/initializers/mime_types.rb +1 -0
- data/spec/support/v6.0/config/initializers/wrap_parameters.rb +1 -0
- data/spec/support/v6.0/config/puma.rb +1 -0
- data/spec/support/v6.0/config/routes.rb +1 -0
- data/spec/support/v6.0/db/schema.rb +1 -0
- data/spec/support/v6.0/db/seeds.rb +1 -0
- data/spec/support/v6.0/sorbet/config +2 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +245 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +56 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +69 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +2401 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +32 -0
- data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +1033 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +362 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +750 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +5552 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +217 -0
- data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +2430 -0
- data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +1039 -0
- data/spec/support/v6.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
- data/spec/support/v6.0/sorbet/rbi/gems/crass.rbi +92 -0
- data/spec/support/v6.0/sorbet/rbi/gems/erubi.rbi +26 -0
- data/spec/support/v6.0/sorbet/rbi/gems/globalid.rbi +98 -0
- data/spec/support/v6.0/sorbet/rbi/gems/i18n.rbi +191 -0
- data/spec/support/v6.0/sorbet/rbi/gems/loofah.rbi +129 -0
- data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1542 -0
- data/spec/support/v6.0/sorbet/rbi/gems/marcel.rbi +12 -0
- data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +63 -0
- data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
- data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +276 -0
- data/spec/support/v6.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
- data/spec/support/v6.0/sorbet/rbi/gems/puma.rbi +570 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rack-test.rbi +161 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +522 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
- data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +760 -0
- data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +254 -0
- data/spec/support/v6.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
- data/spec/support/v6.0/sorbet/rbi/gems/sqlite3.rbi +353 -0
- data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +450 -0
- data/spec/support/v6.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
- data/spec/support/v6.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
- data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +119 -0
- data/spec/support/v6.0/sorbet/rbi/hidden-definitions/errors.txt +12074 -0
- data/spec/support/v6.0/sorbet/rbi/hidden-definitions/hidden.rbi +28231 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/spec/support/v6.0/sorbet/rbi/todo.rbi +11 -0
- data/spec/support/v6.0/sorbet_test_cases.rb +1 -0
- data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +1 -0
- data/spec/support/v6.0/test/test_helper.rb +1 -0
- data/spec/test_data/v4.2/expected_srb_tc_output.txt +178 -0
- data/spec/test_data/v5.0/expected_internal_metadata.rbi +155 -0
- data/spec/test_data/v5.0/expected_schema_migration.rbi +128 -0
- data/spec/test_data/v5.0/expected_srb_tc_output.txt +178 -0
- data/spec/test_data/v5.1/expected_internal_metadata.rbi +161 -0
- data/spec/test_data/v5.1/expected_schema_migration.rbi +134 -0
- data/spec/test_data/v5.1/expected_srb_tc_output.txt +160 -0
- data/spec/test_data/v5.2/expected_attachment.rbi +137 -0
- data/spec/test_data/v5.2/expected_blob.rbi +149 -0
- data/spec/test_data/v5.2/expected_internal_metadata.rbi +161 -0
- data/spec/test_data/v5.2/expected_schema_migration.rbi +134 -0
- data/spec/test_data/v5.2/expected_srb_tc_output.txt +160 -0
- data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +137 -0
- data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +149 -0
- data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +161 -0
- data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +11 -0
- data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +128 -0
- data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +43 -0
- data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +134 -0
- data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +161 -0
- data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +160 -0
- data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +311 -0
- data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +254 -0
- data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +254 -0
- data/spec/test_data/v6.0/expected_attachment.rbi +149 -0
- data/spec/test_data/v6.0/expected_blob.rbi +161 -0
- data/spec/test_data/v6.0/expected_internal_metadata.rbi +173 -0
- data/spec/test_data/v6.0/expected_schema_migration.rbi +146 -0
- data/spec/test_data/v6.0/expected_srb_tc_output.txt +160 -0
- data/spec/utils_spec.rb +24 -0
- metadata +573 -2
@@ -0,0 +1,978 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/actionview/all/actionview.rbi
|
9
|
+
#
|
10
|
+
# actionview-4.2.11
|
11
|
+
module ActionView
|
12
|
+
def self.eager_load!; end
|
13
|
+
def self.gem_version; end
|
14
|
+
def self.version; end
|
15
|
+
extend ActiveSupport::Autoload
|
16
|
+
end
|
17
|
+
module ActionView::VERSION
|
18
|
+
end
|
19
|
+
class ActionView::Railtie < Rails::Railtie
|
20
|
+
end
|
21
|
+
class ActionView::LogSubscriber < ActiveSupport::LogSubscriber
|
22
|
+
end
|
23
|
+
module ActionView::Helpers
|
24
|
+
def self.eager_load!; end
|
25
|
+
extend ActiveSupport::Autoload
|
26
|
+
extend ActiveSupport::Concern
|
27
|
+
include ActionView::Helpers::ActiveModelHelper
|
28
|
+
include ActionView::Helpers::AssetTagHelper
|
29
|
+
include ActionView::Helpers::AssetUrlHelper
|
30
|
+
include ActionView::Helpers::AtomFeedHelper
|
31
|
+
include ActionView::Helpers::CacheHelper
|
32
|
+
include ActionView::Helpers::CaptureHelper
|
33
|
+
include ActionView::Helpers::ControllerHelper
|
34
|
+
include ActionView::Helpers::CsrfHelper
|
35
|
+
include ActionView::Helpers::DateHelper
|
36
|
+
include ActionView::Helpers::DebugHelper
|
37
|
+
include ActionView::Helpers::FormHelper
|
38
|
+
include ActionView::Helpers::FormOptionsHelper
|
39
|
+
include ActionView::Helpers::FormTagHelper
|
40
|
+
include ActionView::Helpers::JavaScriptHelper
|
41
|
+
include ActionView::Helpers::NumberHelper
|
42
|
+
include ActionView::Helpers::OutputSafetyHelper
|
43
|
+
include ActionView::Helpers::RecordTagHelper
|
44
|
+
include ActionView::Helpers::RenderingHelper
|
45
|
+
include ActionView::Helpers::SanitizeHelper
|
46
|
+
include ActionView::Helpers::TagHelper
|
47
|
+
include ActionView::Helpers::TextHelper
|
48
|
+
include ActionView::Helpers::TranslationHelper
|
49
|
+
include ActionView::Helpers::UrlHelper
|
50
|
+
include ActiveSupport::Benchmarkable
|
51
|
+
end
|
52
|
+
module ActionView::Helpers::ActiveModelHelper
|
53
|
+
end
|
54
|
+
module ActionView::Helpers::ActiveModelInstanceTag
|
55
|
+
def content_tag(*arg0); end
|
56
|
+
def error_message; end
|
57
|
+
def error_wrapping(html_tag); end
|
58
|
+
def object; end
|
59
|
+
def object_has_errors?; end
|
60
|
+
def tag(type, options, *arg2); end
|
61
|
+
def tag_generate_errors?(options); end
|
62
|
+
end
|
63
|
+
module ActionView::Helpers::AssetUrlHelper
|
64
|
+
def asset_path(source, options = nil); end
|
65
|
+
def asset_url(source, options = nil); end
|
66
|
+
def audio_path(source, options = nil); end
|
67
|
+
def audio_url(source, options = nil); end
|
68
|
+
def compute_asset_extname(source, options = nil); end
|
69
|
+
def compute_asset_host(source = nil, options = nil); end
|
70
|
+
def compute_asset_path(source, options = nil); end
|
71
|
+
def font_path(source, options = nil); end
|
72
|
+
def font_url(source, options = nil); end
|
73
|
+
def image_path(source, options = nil); end
|
74
|
+
def image_url(source, options = nil); end
|
75
|
+
def javascript_path(source, options = nil); end
|
76
|
+
def javascript_url(source, options = nil); end
|
77
|
+
def path_to_asset(source, options = nil); end
|
78
|
+
def path_to_audio(source, options = nil); end
|
79
|
+
def path_to_font(source, options = nil); end
|
80
|
+
def path_to_image(source, options = nil); end
|
81
|
+
def path_to_javascript(source, options = nil); end
|
82
|
+
def path_to_stylesheet(source, options = nil); end
|
83
|
+
def path_to_video(source, options = nil); end
|
84
|
+
def stylesheet_path(source, options = nil); end
|
85
|
+
def stylesheet_url(source, options = nil); end
|
86
|
+
def url_to_asset(source, options = nil); end
|
87
|
+
def url_to_audio(source, options = nil); end
|
88
|
+
def url_to_font(source, options = nil); end
|
89
|
+
def url_to_image(source, options = nil); end
|
90
|
+
def url_to_javascript(source, options = nil); end
|
91
|
+
def url_to_stylesheet(source, options = nil); end
|
92
|
+
def url_to_video(source, options = nil); end
|
93
|
+
def video_path(source, options = nil); end
|
94
|
+
def video_url(source, options = nil); end
|
95
|
+
end
|
96
|
+
module ActionView::Helpers::CaptureHelper
|
97
|
+
def capture(*args); end
|
98
|
+
def content_for(name, content = nil, options = nil, &block); end
|
99
|
+
def content_for?(name); end
|
100
|
+
def provide(name, content = nil, &block); end
|
101
|
+
def with_output_buffer(buf = nil); end
|
102
|
+
end
|
103
|
+
module ActionView::Helpers::OutputSafetyHelper
|
104
|
+
def raw(stringish); end
|
105
|
+
def safe_join(array, sep = nil); end
|
106
|
+
end
|
107
|
+
module ActionView::Helpers::TagHelper
|
108
|
+
def boolean_tag_option(key); end
|
109
|
+
def cdata_section(content); end
|
110
|
+
def content_tag(name, content_or_options_with_block = nil, options = nil, escape = nil, &block); end
|
111
|
+
def content_tag_string(name, content, options, escape = nil); end
|
112
|
+
def escape_once(html); end
|
113
|
+
def prefix_tag_option(prefix, key, value, escape); end
|
114
|
+
def tag(name, options = nil, open = nil, escape = nil); end
|
115
|
+
def tag_option(key, value, escape); end
|
116
|
+
def tag_options(options, escape = nil); end
|
117
|
+
extend ActiveSupport::Concern
|
118
|
+
include ActionView::Helpers::CaptureHelper
|
119
|
+
include ActionView::Helpers::OutputSafetyHelper
|
120
|
+
end
|
121
|
+
module ActionView::Helpers::AssetTagHelper
|
122
|
+
def audio_tag(*sources); end
|
123
|
+
def auto_discovery_link_tag(type = nil, url_options = nil, tag_options = nil); end
|
124
|
+
def extract_dimensions(size); end
|
125
|
+
def favicon_link_tag(source = nil, options = nil); end
|
126
|
+
def image_alt(src); end
|
127
|
+
def image_tag(source, options = nil); end
|
128
|
+
def javascript_include_tag(*sources); end
|
129
|
+
def multiple_sources_tag(type, sources); end
|
130
|
+
def stylesheet_link_tag(*sources); end
|
131
|
+
def video_tag(*sources); end
|
132
|
+
extend ActiveSupport::Concern
|
133
|
+
include ActionView::Helpers::AssetUrlHelper
|
134
|
+
include ActionView::Helpers::TagHelper
|
135
|
+
end
|
136
|
+
module ActionView::Helpers::AtomFeedHelper
|
137
|
+
def atom_feed(options = nil, &block); end
|
138
|
+
end
|
139
|
+
class ActionView::Helpers::AtomFeedHelper::AtomBuilder
|
140
|
+
def initialize(xml); end
|
141
|
+
def method_missing(method, *arguments, &block); end
|
142
|
+
def xhtml_block?(method, arguments); end
|
143
|
+
end
|
144
|
+
class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ActionView::Helpers::AtomFeedHelper::AtomBuilder
|
145
|
+
def entry(record, options = nil); end
|
146
|
+
def initialize(xml, view, feed_options = nil); end
|
147
|
+
def updated(date_or_time = nil); end
|
148
|
+
end
|
149
|
+
module ActionView::Helpers::CacheHelper
|
150
|
+
def cache(name = nil, options = nil, &block); end
|
151
|
+
def cache_fragment_name(name = nil, options = nil); end
|
152
|
+
def cache_if(condition, name = nil, options = nil, &block); end
|
153
|
+
def cache_unless(condition, name = nil, options = nil, &block); end
|
154
|
+
def fragment_for(name = nil, options = nil, &block); end
|
155
|
+
def fragment_name_with_digest(name); end
|
156
|
+
def read_fragment_for(name, options); end
|
157
|
+
def write_fragment_for(name, options); end
|
158
|
+
end
|
159
|
+
module ActionView::Helpers::ControllerHelper
|
160
|
+
def action_name(*args, &block); end
|
161
|
+
def assign_controller(controller); end
|
162
|
+
def controller; end
|
163
|
+
def controller=(arg0); end
|
164
|
+
def controller_name(*args, &block); end
|
165
|
+
def controller_path(*args, &block); end
|
166
|
+
def cookies(*args, &block); end
|
167
|
+
def flash(*args, &block); end
|
168
|
+
def headers(*args, &block); end
|
169
|
+
def logger; end
|
170
|
+
def params(*args, &block); end
|
171
|
+
def request; end
|
172
|
+
def request=(arg0); end
|
173
|
+
def request_forgery_protection_token(*args, &block); end
|
174
|
+
def response(*args, &block); end
|
175
|
+
def session(*args, &block); end
|
176
|
+
end
|
177
|
+
module ActionView::Helpers::CsrfHelper
|
178
|
+
def csrf_meta_tag; end
|
179
|
+
def csrf_meta_tags; end
|
180
|
+
end
|
181
|
+
module ActionView::Helpers::DateHelper
|
182
|
+
def date_select(object_name, method, options = nil, html_options = nil); end
|
183
|
+
def datetime_select(object_name, method, options = nil, html_options = nil); end
|
184
|
+
def distance_of_time_in_words(from_time, to_time = nil, options = nil); end
|
185
|
+
def distance_of_time_in_words_to_now(from_time, options = nil); end
|
186
|
+
def select_date(date = nil, options = nil, html_options = nil); end
|
187
|
+
def select_datetime(datetime = nil, options = nil, html_options = nil); end
|
188
|
+
def select_day(date, options = nil, html_options = nil); end
|
189
|
+
def select_hour(datetime, options = nil, html_options = nil); end
|
190
|
+
def select_minute(datetime, options = nil, html_options = nil); end
|
191
|
+
def select_month(date, options = nil, html_options = nil); end
|
192
|
+
def select_second(datetime, options = nil, html_options = nil); end
|
193
|
+
def select_time(datetime = nil, options = nil, html_options = nil); end
|
194
|
+
def select_year(date, options = nil, html_options = nil); end
|
195
|
+
def time_ago_in_words(from_time, options = nil); end
|
196
|
+
def time_select(object_name, method, options = nil, html_options = nil); end
|
197
|
+
def time_tag(date_or_time, *args, &block); end
|
198
|
+
end
|
199
|
+
class ActionView::Helpers::DateTimeSelector
|
200
|
+
def build_hidden(type, value); end
|
201
|
+
def build_options(selected, options = nil); end
|
202
|
+
def build_options_and_select(type, selected, options = nil); end
|
203
|
+
def build_select(type, select_options_as_html); end
|
204
|
+
def build_selects_from_types(order); end
|
205
|
+
def date_order; end
|
206
|
+
def day; end
|
207
|
+
def hour; end
|
208
|
+
def initialize(datetime, options = nil, html_options = nil); end
|
209
|
+
def input_id_from_type(type); end
|
210
|
+
def input_name_from_type(type); end
|
211
|
+
def min; end
|
212
|
+
def month; end
|
213
|
+
def month_name(number); end
|
214
|
+
def month_names; end
|
215
|
+
def prompt_option_tag(type, options); end
|
216
|
+
def sec; end
|
217
|
+
def select_date; end
|
218
|
+
def select_datetime; end
|
219
|
+
def select_day; end
|
220
|
+
def select_hour; end
|
221
|
+
def select_minute; end
|
222
|
+
def select_month; end
|
223
|
+
def select_second; end
|
224
|
+
def select_time; end
|
225
|
+
def select_year; end
|
226
|
+
def separator(type); end
|
227
|
+
def set_day_if_discarded; end
|
228
|
+
def translated_date_order; end
|
229
|
+
def translated_month_names; end
|
230
|
+
def year; end
|
231
|
+
include ActionView::Helpers::TagHelper
|
232
|
+
end
|
233
|
+
class ActionView::Helpers::FormBuilder
|
234
|
+
def button(value = nil, options = nil, &block); end
|
235
|
+
def check_box(method, options = nil, checked_value = nil, unchecked_value = nil); end
|
236
|
+
def collection_check_boxes(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
237
|
+
def collection_radio_buttons(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
238
|
+
def collection_select(method, collection, value_method, text_method, options = nil, html_options = nil); end
|
239
|
+
def color_field(method, options = nil); end
|
240
|
+
def date_field(method, options = nil); end
|
241
|
+
def date_select(method, options = nil, html_options = nil); end
|
242
|
+
def datetime_field(method, options = nil); end
|
243
|
+
def datetime_local_field(method, options = nil); end
|
244
|
+
def datetime_select(method, options = nil, html_options = nil); end
|
245
|
+
def email_field(method, options = nil); end
|
246
|
+
def emitted_hidden_id?; end
|
247
|
+
def field_helpers; end
|
248
|
+
def field_helpers=(arg0); end
|
249
|
+
def field_helpers?; end
|
250
|
+
def fields_for(record_name, record_object = nil, fields_options = nil, &block); end
|
251
|
+
def fields_for_nested_model(name, object, fields_options, block); end
|
252
|
+
def fields_for_with_nested_attributes(association_name, association, options, block); end
|
253
|
+
def file_field(method, options = nil); end
|
254
|
+
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
|
255
|
+
def hidden_field(method, options = nil); end
|
256
|
+
def index; end
|
257
|
+
def initialize(object_name, object, template, options); end
|
258
|
+
def label(method, text = nil, options = nil, &block); end
|
259
|
+
def month_field(method, options = nil); end
|
260
|
+
def multipart; end
|
261
|
+
def multipart=(multipart); end
|
262
|
+
def multipart?; end
|
263
|
+
def nested_attributes_association?(association_name); end
|
264
|
+
def nested_child_index(name); end
|
265
|
+
def number_field(method, options = nil); end
|
266
|
+
def object; end
|
267
|
+
def object=(arg0); end
|
268
|
+
def object_name; end
|
269
|
+
def object_name=(arg0); end
|
270
|
+
def objectify_options(options); end
|
271
|
+
def options; end
|
272
|
+
def options=(arg0); end
|
273
|
+
def password_field(method, options = nil); end
|
274
|
+
def phone_field(method, options = nil); end
|
275
|
+
def radio_button(method, tag_value, options = nil); end
|
276
|
+
def range_field(method, options = nil); end
|
277
|
+
def search_field(method, options = nil); end
|
278
|
+
def select(method, choices = nil, options = nil, html_options = nil, &block); end
|
279
|
+
def self._to_partial_path; end
|
280
|
+
def self.field_helpers; end
|
281
|
+
def self.field_helpers=(val); end
|
282
|
+
def self.field_helpers?; end
|
283
|
+
def submit(value = nil, options = nil); end
|
284
|
+
def submit_default_value; end
|
285
|
+
def telephone_field(method, options = nil); end
|
286
|
+
def text_area(method, options = nil); end
|
287
|
+
def text_field(method, options = nil); end
|
288
|
+
def time_field(method, options = nil); end
|
289
|
+
def time_select(method, options = nil, html_options = nil); end
|
290
|
+
def time_zone_select(method, priority_zones = nil, options = nil, html_options = nil); end
|
291
|
+
def to_model; end
|
292
|
+
def to_partial_path; end
|
293
|
+
def url_field(method, options = nil); end
|
294
|
+
def week_field(method, options = nil); end
|
295
|
+
include ActionView::ModelNaming
|
296
|
+
end
|
297
|
+
module ActionView::Helpers::DebugHelper
|
298
|
+
def debug(object); end
|
299
|
+
include ActionView::Helpers::TagHelper
|
300
|
+
end
|
301
|
+
module ActionView::Helpers::JavaScriptHelper
|
302
|
+
def escape_javascript(javascript); end
|
303
|
+
def j(javascript); end
|
304
|
+
def javascript_cdata_section(content); end
|
305
|
+
def javascript_tag(content_or_options_with_block = nil, html_options = nil, &block); end
|
306
|
+
end
|
307
|
+
module ActionView::Helpers::UrlHelper
|
308
|
+
def _back_url; end
|
309
|
+
def add_method_to_attributes!(html_options, method); end
|
310
|
+
def button_to(name = nil, options = nil, html_options = nil, &block); end
|
311
|
+
def convert_boolean_attributes!(html_options, bool_attrs); end
|
312
|
+
def convert_options_to_data_attributes(options, html_options); end
|
313
|
+
def current_page?(options); end
|
314
|
+
def link_to(name = nil, options = nil, html_options = nil, &block); end
|
315
|
+
def link_to_if(condition, name, options = nil, html_options = nil, &block); end
|
316
|
+
def link_to_remote_options?(options); end
|
317
|
+
def link_to_unless(condition, name, options = nil, html_options = nil, &block); end
|
318
|
+
def link_to_unless_current(name, options = nil, html_options = nil, &block); end
|
319
|
+
def mail_to(email_address, name = nil, html_options = nil, &block); end
|
320
|
+
def method_tag(method); end
|
321
|
+
def token_tag(token = nil); end
|
322
|
+
def url_for(options = nil); end
|
323
|
+
extend ActiveSupport::Concern
|
324
|
+
include ActionView::Helpers::TagHelper
|
325
|
+
end
|
326
|
+
module ActionView::Helpers::UrlHelper::ClassMethods
|
327
|
+
def _url_for_modules; end
|
328
|
+
end
|
329
|
+
module ActionView::Helpers::SanitizeHelper
|
330
|
+
def sanitize(html, options = nil); end
|
331
|
+
def sanitize_css(style); end
|
332
|
+
def strip_links(html); end
|
333
|
+
def strip_tags(html); end
|
334
|
+
extend ActiveSupport::Concern
|
335
|
+
end
|
336
|
+
module ActionView::Helpers::SanitizeHelper::ClassMethods
|
337
|
+
def full_sanitizer; end
|
338
|
+
def full_sanitizer=(arg0); end
|
339
|
+
def link_sanitizer; end
|
340
|
+
def link_sanitizer=(arg0); end
|
341
|
+
def sanitized_allowed_attributes; end
|
342
|
+
def sanitized_allowed_tags; end
|
343
|
+
def sanitizer_vendor; end
|
344
|
+
def white_list_sanitizer; end
|
345
|
+
def white_list_sanitizer=(arg0); end
|
346
|
+
end
|
347
|
+
module ActionView::Helpers::TextHelper
|
348
|
+
def concat(string); end
|
349
|
+
def current_cycle(name = nil); end
|
350
|
+
def cut_excerpt_part(part_position, part, separator, options); end
|
351
|
+
def cycle(first_value, *values); end
|
352
|
+
def excerpt(text, phrase, options = nil); end
|
353
|
+
def get_cycle(name); end
|
354
|
+
def highlight(text, phrases, options = nil); end
|
355
|
+
def pluralize(count, singular, plural = nil); end
|
356
|
+
def reset_cycle(name = nil); end
|
357
|
+
def safe_concat(string); end
|
358
|
+
def set_cycle(name, cycle_object); end
|
359
|
+
def simple_format(text, html_options = nil, options = nil); end
|
360
|
+
def split_paragraphs(text); end
|
361
|
+
def truncate(text, options = nil, &block); end
|
362
|
+
def word_wrap(text, options = nil); end
|
363
|
+
extend ActiveSupport::Concern
|
364
|
+
include ActionView::Helpers::OutputSafetyHelper
|
365
|
+
include ActionView::Helpers::SanitizeHelper
|
366
|
+
include ActionView::Helpers::TagHelper
|
367
|
+
end
|
368
|
+
class ActionView::Helpers::TextHelper::Cycle
|
369
|
+
def current_value; end
|
370
|
+
def initialize(first_value, *values); end
|
371
|
+
def next_index; end
|
372
|
+
def previous_index; end
|
373
|
+
def reset; end
|
374
|
+
def step_index(n); end
|
375
|
+
def to_s; end
|
376
|
+
def values; end
|
377
|
+
end
|
378
|
+
module ActionView::Helpers::FormTagHelper
|
379
|
+
def button_tag(content_or_options = nil, options = nil, &block); end
|
380
|
+
def check_box_tag(name, value = nil, checked = nil, options = nil); end
|
381
|
+
def color_field_tag(name, value = nil, options = nil); end
|
382
|
+
def date_field_tag(name, value = nil, options = nil); end
|
383
|
+
def datetime_field_tag(name, value = nil, options = nil); end
|
384
|
+
def datetime_local_field_tag(name, value = nil, options = nil); end
|
385
|
+
def email_field_tag(name, value = nil, options = nil); end
|
386
|
+
def embed_authenticity_token_in_remote_forms; end
|
387
|
+
def embed_authenticity_token_in_remote_forms=(obj); end
|
388
|
+
def extra_tags_for_form(html_options); end
|
389
|
+
def field_set_tag(legend = nil, options = nil, &block); end
|
390
|
+
def file_field_tag(name, options = nil); end
|
391
|
+
def form_tag(url_for_options = nil, options = nil, &block); end
|
392
|
+
def form_tag_html(html_options); end
|
393
|
+
def form_tag_with_body(html_options, content); end
|
394
|
+
def hidden_field_tag(name, value = nil, options = nil); end
|
395
|
+
def html_options_for_form(url_for_options, options); end
|
396
|
+
def image_submit_tag(source, options = nil); end
|
397
|
+
def label_tag(name = nil, content_or_options = nil, options = nil, &block); end
|
398
|
+
def month_field_tag(name, value = nil, options = nil); end
|
399
|
+
def number_field_tag(name, value = nil, options = nil); end
|
400
|
+
def password_field_tag(name = nil, value = nil, options = nil); end
|
401
|
+
def phone_field_tag(name, value = nil, options = nil); end
|
402
|
+
def radio_button_tag(name, value, checked = nil, options = nil); end
|
403
|
+
def range_field_tag(name, value = nil, options = nil); end
|
404
|
+
def sanitize_to_id(name); end
|
405
|
+
def search_field_tag(name, value = nil, options = nil); end
|
406
|
+
def select_tag(name, option_tags = nil, options = nil); end
|
407
|
+
def self.embed_authenticity_token_in_remote_forms; end
|
408
|
+
def self.embed_authenticity_token_in_remote_forms=(obj); end
|
409
|
+
def submit_tag(value = nil, options = nil); end
|
410
|
+
def telephone_field_tag(name, value = nil, options = nil); end
|
411
|
+
def text_area_tag(name, content = nil, options = nil); end
|
412
|
+
def text_field_tag(name, value = nil, options = nil); end
|
413
|
+
def time_field_tag(name, value = nil, options = nil); end
|
414
|
+
def url_field_tag(name, value = nil, options = nil); end
|
415
|
+
def utf8_enforcer_tag; end
|
416
|
+
def week_field_tag(name, value = nil, options = nil); end
|
417
|
+
extend ActiveSupport::Concern
|
418
|
+
include ActionView::Helpers::TextHelper
|
419
|
+
include ActionView::Helpers::UrlHelper
|
420
|
+
end
|
421
|
+
module ActionView::ModelNaming
|
422
|
+
def convert_to_model(object); end
|
423
|
+
def model_name_from_record_or_class(record_or_class); end
|
424
|
+
end
|
425
|
+
module ActionView::Helpers::FormHelper
|
426
|
+
def apply_form_for_options!(record, object, options); end
|
427
|
+
def check_box(object_name, method, options = nil, checked_value = nil, unchecked_value = nil); end
|
428
|
+
def color_field(object_name, method, options = nil); end
|
429
|
+
def date_field(object_name, method, options = nil); end
|
430
|
+
def datetime_field(object_name, method, options = nil); end
|
431
|
+
def datetime_local_field(object_name, method, options = nil); end
|
432
|
+
def default_form_builder_class; end
|
433
|
+
def email_field(object_name, method, options = nil); end
|
434
|
+
def fields_for(record_name, record_object = nil, options = nil, &block); end
|
435
|
+
def file_field(object_name, method, options = nil); end
|
436
|
+
def form_for(record, options = nil, &block); end
|
437
|
+
def hidden_field(object_name, method, options = nil); end
|
438
|
+
def instantiate_builder(record_name, record_object, options); end
|
439
|
+
def label(object_name, method, content_or_options = nil, options = nil, &block); end
|
440
|
+
def month_field(object_name, method, options = nil); end
|
441
|
+
def number_field(object_name, method, options = nil); end
|
442
|
+
def password_field(object_name, method, options = nil); end
|
443
|
+
def phone_field(object_name, method, options = nil); end
|
444
|
+
def radio_button(object_name, method, tag_value, options = nil); end
|
445
|
+
def range_field(object_name, method, options = nil); end
|
446
|
+
def search_field(object_name, method, options = nil); end
|
447
|
+
def telephone_field(object_name, method, options = nil); end
|
448
|
+
def text_area(object_name, method, options = nil); end
|
449
|
+
def text_field(object_name, method, options = nil); end
|
450
|
+
def time_field(object_name, method, options = nil); end
|
451
|
+
def url_field(object_name, method, options = nil); end
|
452
|
+
def week_field(object_name, method, options = nil); end
|
453
|
+
extend ActiveSupport::Concern
|
454
|
+
include ActionView::Helpers::FormTagHelper
|
455
|
+
include ActionView::Helpers::UrlHelper
|
456
|
+
include ActionView::ModelNaming
|
457
|
+
end
|
458
|
+
module ActionView::Helpers::FormOptionsHelper
|
459
|
+
def collection_check_boxes(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
460
|
+
def collection_radio_buttons(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
|
461
|
+
def collection_select(object, method, collection, value_method, text_method, options = nil, html_options = nil); end
|
462
|
+
def extract_selected_and_disabled(selected); end
|
463
|
+
def extract_values_from_collection(collection, value_method, selected); end
|
464
|
+
def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
|
465
|
+
def grouped_options_for_select(grouped_options, selected_key = nil, options = nil); end
|
466
|
+
def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil); end
|
467
|
+
def option_html_attributes(element); end
|
468
|
+
def option_text_and_value(option); end
|
469
|
+
def option_value_selected?(value, selected); end
|
470
|
+
def options_for_select(container, selected = nil); end
|
471
|
+
def options_from_collection_for_select(collection, value_method, text_method, selected = nil); end
|
472
|
+
def prompt_text(prompt); end
|
473
|
+
def select(object, method, choices = nil, options = nil, html_options = nil, &block); end
|
474
|
+
def time_zone_options_for_select(selected = nil, priority_zones = nil, model = nil); end
|
475
|
+
def time_zone_select(object, method, priority_zones = nil, options = nil, html_options = nil); end
|
476
|
+
def value_for_collection(item, value); end
|
477
|
+
extend ActionView::Helpers::SanitizeHelper::ClassMethods
|
478
|
+
include ActionView::Helpers::SanitizeHelper
|
479
|
+
include ActionView::Helpers::TagHelper
|
480
|
+
include ActionView::Helpers::TextHelper
|
481
|
+
end
|
482
|
+
module ActionView::Helpers::NumberHelper
|
483
|
+
def delegate_number_helper_method(method, number, options); end
|
484
|
+
def escape_units(units); end
|
485
|
+
def escape_unsafe_options(options); end
|
486
|
+
def number_to_currency(number, options = nil); end
|
487
|
+
def number_to_human(number, options = nil); end
|
488
|
+
def number_to_human_size(number, options = nil); end
|
489
|
+
def number_to_percentage(number, options = nil); end
|
490
|
+
def number_to_phone(number, options = nil); end
|
491
|
+
def number_with_delimiter(number, options = nil); end
|
492
|
+
def number_with_precision(number, options = nil); end
|
493
|
+
def parse_float(number, raise_error); end
|
494
|
+
def valid_float?(number); end
|
495
|
+
def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
|
496
|
+
end
|
497
|
+
class ActionView::Helpers::NumberHelper::InvalidNumberError < StandardError
|
498
|
+
def initialize(number); end
|
499
|
+
def number; end
|
500
|
+
def number=(arg0); end
|
501
|
+
end
|
502
|
+
module ActionView::RecordIdentifier
|
503
|
+
def dom_class(record_or_class, prefix = nil); end
|
504
|
+
def dom_id(record, prefix = nil); end
|
505
|
+
def record_key_for_dom_id(record); end
|
506
|
+
extend ActionView::ModelNaming
|
507
|
+
extend ActionView::RecordIdentifier
|
508
|
+
include ActionView::ModelNaming
|
509
|
+
end
|
510
|
+
module ActionView::Helpers::RecordTagHelper
|
511
|
+
def content_tag_for(tag_name, single_or_multiple_records, prefix = nil, options = nil, &block); end
|
512
|
+
def content_tag_for_single_record(tag_name, record, prefix, options, &block); end
|
513
|
+
def div_for(record, *args, &block); end
|
514
|
+
include ActionView::RecordIdentifier
|
515
|
+
end
|
516
|
+
module ActionView::Helpers::RenderingHelper
|
517
|
+
def _layout_for(*args, &block); end
|
518
|
+
def render(options = nil, locals = nil, &block); end
|
519
|
+
end
|
520
|
+
module ActionView::Helpers::TranslationHelper
|
521
|
+
def html_safe_translation_key?(key); end
|
522
|
+
def l(*args); end
|
523
|
+
def localize(*args); end
|
524
|
+
def scope_key_by_partial(key); end
|
525
|
+
def t(key, options = nil); end
|
526
|
+
def translate(key, options = nil); end
|
527
|
+
include ActionView::Helpers::TagHelper
|
528
|
+
end
|
529
|
+
module ActionView::CompiledTemplates
|
530
|
+
end
|
531
|
+
module ActionView::Context
|
532
|
+
def _layout_for(name = nil); end
|
533
|
+
def _prepare_context; end
|
534
|
+
def output_buffer; end
|
535
|
+
def output_buffer=(arg0); end
|
536
|
+
def view_flow; end
|
537
|
+
def view_flow=(arg0); end
|
538
|
+
include ActionView::CompiledTemplates
|
539
|
+
end
|
540
|
+
class ActionView::Template
|
541
|
+
def compile!(view); end
|
542
|
+
def compile(mod); end
|
543
|
+
def encode!; end
|
544
|
+
def formats; end
|
545
|
+
def formats=(arg0); end
|
546
|
+
def handle_render_error(view, e); end
|
547
|
+
def handler; end
|
548
|
+
def identifier; end
|
549
|
+
def identifier_method_name; end
|
550
|
+
def initialize(source, identifier, handler, details); end
|
551
|
+
def inspect; end
|
552
|
+
def instrument(action, &block); end
|
553
|
+
def locals; end
|
554
|
+
def locals=(arg0); end
|
555
|
+
def locals_code; end
|
556
|
+
def method_name; end
|
557
|
+
def original_encoding; end
|
558
|
+
def refresh(view); end
|
559
|
+
def render(view, locals, buffer = nil, &block); end
|
560
|
+
def source; end
|
561
|
+
def supports_streaming?; end
|
562
|
+
def type; end
|
563
|
+
def updated_at; end
|
564
|
+
def variants; end
|
565
|
+
def variants=(arg0); end
|
566
|
+
def virtual_path; end
|
567
|
+
def virtual_path=(arg0); end
|
568
|
+
extend ActionView::Template::Handlers
|
569
|
+
extend ActiveSupport::Autoload
|
570
|
+
end
|
571
|
+
module ActionView::Template::Handlers
|
572
|
+
def handler_for_extension(extension); end
|
573
|
+
def register_default_template_handler(extension, klass); end
|
574
|
+
def register_template_handler(*extensions, handler); end
|
575
|
+
def registered_template_handler(extension); end
|
576
|
+
def self.extended(base); end
|
577
|
+
def self.extensions; end
|
578
|
+
def template_handler_extensions; end
|
579
|
+
def unregister_template_handler(*extensions); end
|
580
|
+
end
|
581
|
+
class ActionView::Template::Handlers::Erubis < Erubis::Eruby
|
582
|
+
def add_expr(src, code, indicator); end
|
583
|
+
def add_expr_escaped(src, code); end
|
584
|
+
def add_expr_literal(src, code); end
|
585
|
+
def add_postamble(src); end
|
586
|
+
def add_preamble(src); end
|
587
|
+
def add_stmt(src, code); end
|
588
|
+
def add_text(src, text); end
|
589
|
+
def flush_newline_if_pending(src); end
|
590
|
+
end
|
591
|
+
class ActionView::Template::Handlers::ERB
|
592
|
+
def call(template); end
|
593
|
+
def erb_implementation; end
|
594
|
+
def erb_implementation=(arg0); end
|
595
|
+
def erb_implementation?; end
|
596
|
+
def erb_trim_mode; end
|
597
|
+
def erb_trim_mode=(arg0); end
|
598
|
+
def erb_trim_mode?; end
|
599
|
+
def escape_whitelist; end
|
600
|
+
def escape_whitelist=(arg0); end
|
601
|
+
def escape_whitelist?; end
|
602
|
+
def handles_encoding?; end
|
603
|
+
def self.call(template); end
|
604
|
+
def self.erb_implementation; end
|
605
|
+
def self.erb_implementation=(val); end
|
606
|
+
def self.erb_implementation?; end
|
607
|
+
def self.erb_trim_mode; end
|
608
|
+
def self.erb_trim_mode=(val); end
|
609
|
+
def self.erb_trim_mode?; end
|
610
|
+
def self.escape_whitelist; end
|
611
|
+
def self.escape_whitelist=(val); end
|
612
|
+
def self.escape_whitelist?; end
|
613
|
+
def supports_streaming?; end
|
614
|
+
def valid_encoding(string, encoding); end
|
615
|
+
end
|
616
|
+
class ActionView::Template::Handlers::Builder
|
617
|
+
def call(template); end
|
618
|
+
def default_format; end
|
619
|
+
def default_format=(arg0); end
|
620
|
+
def default_format?; end
|
621
|
+
def require_engine; end
|
622
|
+
def self.default_format; end
|
623
|
+
def self.default_format=(val); end
|
624
|
+
def self.default_format?; end
|
625
|
+
end
|
626
|
+
class ActionView::Template::Handlers::Raw
|
627
|
+
def call(template); end
|
628
|
+
end
|
629
|
+
class ActionView::Resolver
|
630
|
+
def build_path(name, prefix, partial); end
|
631
|
+
def cached(key, path_info, details, locals); end
|
632
|
+
def caching; end
|
633
|
+
def caching=(obj); end
|
634
|
+
def caching?(*args, &block); end
|
635
|
+
def clear_cache; end
|
636
|
+
def decorate(templates, path_info, details, locals); end
|
637
|
+
def find_all(name, prefix = nil, partial = nil, details = nil, key = nil, locals = nil); end
|
638
|
+
def find_all_anywhere(name, prefix, partial = nil, details = nil, key = nil, locals = nil); end
|
639
|
+
def find_templates(name, prefix, partial, details, outside_app_allowed); end
|
640
|
+
def initialize; end
|
641
|
+
def self.caching; end
|
642
|
+
def self.caching=(obj); end
|
643
|
+
def self.caching?; end
|
644
|
+
end
|
645
|
+
class ActionView::Resolver::Path
|
646
|
+
def initialize(name, prefix, partial, virtual); end
|
647
|
+
def name; end
|
648
|
+
def partial; end
|
649
|
+
def partial?; end
|
650
|
+
def prefix; end
|
651
|
+
def self.build(name, prefix, partial); end
|
652
|
+
def to_s; end
|
653
|
+
def to_str; end
|
654
|
+
def virtual; end
|
655
|
+
end
|
656
|
+
class ActionView::Resolver::Cache
|
657
|
+
def cache(key, name, prefix, partial, locals); end
|
658
|
+
def canonical_no_templates(templates); end
|
659
|
+
def clear; end
|
660
|
+
def initialize; end
|
661
|
+
def templates_have_changed?(cached_templates, fresh_templates); end
|
662
|
+
end
|
663
|
+
class ActionView::Resolver::Cache::SmallCache < ThreadSafe::Cache
|
664
|
+
def initialize(options = nil); end
|
665
|
+
end
|
666
|
+
class ActionView::PathResolver < ActionView::Resolver
|
667
|
+
def build_query(path, details); end
|
668
|
+
def escape_entry(entry); end
|
669
|
+
def extract_handler_and_format_and_variant(path, default_formats); end
|
670
|
+
def find_template_paths(query); end
|
671
|
+
def find_templates(name, prefix, partial, details, outside_app_allowed = nil); end
|
672
|
+
def initialize(pattern = nil); end
|
673
|
+
def inside_path?(path, filename); end
|
674
|
+
def mtime(p); end
|
675
|
+
def query(path, details, formats, outside_app_allowed); end
|
676
|
+
def reject_files_external_to_app(files); end
|
677
|
+
end
|
678
|
+
class ActionView::FileSystemResolver < ActionView::PathResolver
|
679
|
+
def ==(resolver); end
|
680
|
+
def eql?(resolver); end
|
681
|
+
def initialize(path, pattern = nil); end
|
682
|
+
def to_path; end
|
683
|
+
def to_s; end
|
684
|
+
end
|
685
|
+
class ActionView::OptimizedFileSystemResolver < ActionView::FileSystemResolver
|
686
|
+
def build_query(path, details); end
|
687
|
+
end
|
688
|
+
class ActionView::FallbackFileSystemResolver < ActionView::FileSystemResolver
|
689
|
+
def decorate(*arg0); end
|
690
|
+
def self.instances; end
|
691
|
+
end
|
692
|
+
class ActionView::LookupContext
|
693
|
+
def fallbacks; end
|
694
|
+
def fallbacks=(obj); end
|
695
|
+
def formats=(values); end
|
696
|
+
def initialize(view_paths, details = nil, prefixes = nil); end
|
697
|
+
def locale; end
|
698
|
+
def locale=(value); end
|
699
|
+
def prefixes; end
|
700
|
+
def prefixes=(arg0); end
|
701
|
+
def registered_details; end
|
702
|
+
def registered_details=(obj); end
|
703
|
+
def rendered_format; end
|
704
|
+
def rendered_format=(arg0); end
|
705
|
+
def self.fallbacks; end
|
706
|
+
def self.fallbacks=(obj); end
|
707
|
+
def self.register_detail(name, options = nil, &block); end
|
708
|
+
def self.registered_details; end
|
709
|
+
def self.registered_details=(obj); end
|
710
|
+
def skip_default_locale!; end
|
711
|
+
def with_layout_format; end
|
712
|
+
include ActionView::LookupContext::Accessors
|
713
|
+
include ActionView::LookupContext::DetailsCache
|
714
|
+
include ActionView::LookupContext::ViewPaths
|
715
|
+
end
|
716
|
+
module ActionView::LookupContext::Accessors
|
717
|
+
def default_formats; end
|
718
|
+
def default_handlers; end
|
719
|
+
def default_locale; end
|
720
|
+
def default_variants; end
|
721
|
+
def formats; end
|
722
|
+
def formats=(value); end
|
723
|
+
def handlers; end
|
724
|
+
def handlers=(value); end
|
725
|
+
def initialize_details(details); end
|
726
|
+
def locale; end
|
727
|
+
def locale=(value); end
|
728
|
+
def variants; end
|
729
|
+
def variants=(value); end
|
730
|
+
end
|
731
|
+
class ActionView::LookupContext::DetailsKey
|
732
|
+
def eql?(arg0); end
|
733
|
+
def hash; end
|
734
|
+
def initialize; end
|
735
|
+
def object_hash; end
|
736
|
+
def self.clear; end
|
737
|
+
def self.get(details); end
|
738
|
+
end
|
739
|
+
module ActionView::LookupContext::DetailsCache
|
740
|
+
def _set_detail(key, value); end
|
741
|
+
def cache; end
|
742
|
+
def cache=(arg0); end
|
743
|
+
def details_key; end
|
744
|
+
def disable_cache; end
|
745
|
+
end
|
746
|
+
module ActionView::LookupContext::ViewPaths
|
747
|
+
def args_for_lookup(name, prefixes, partial, keys, details_options); end
|
748
|
+
def detail_args_for(options); end
|
749
|
+
def exists?(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
750
|
+
def find(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
751
|
+
def find_all(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
752
|
+
def find_file(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
753
|
+
def find_template(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
754
|
+
def html_fallback_for_js; end
|
755
|
+
def normalize_name(name, prefixes); end
|
756
|
+
def template_exists?(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
|
757
|
+
def view_paths; end
|
758
|
+
def view_paths=(paths); end
|
759
|
+
def with_fallbacks; end
|
760
|
+
end
|
761
|
+
class ActionView::Template::Types
|
762
|
+
def self.[](type); end
|
763
|
+
def self.delegate_to(klass); end
|
764
|
+
def self.type_klass; end
|
765
|
+
def self.type_klass=(obj); end
|
766
|
+
def type_klass; end
|
767
|
+
def type_klass=(obj); end
|
768
|
+
end
|
769
|
+
class ActionView::Template::Types::Type
|
770
|
+
def ==(type); end
|
771
|
+
def initialize(symbol); end
|
772
|
+
def ref; end
|
773
|
+
def self.[](type); end
|
774
|
+
def self.register(*t); end
|
775
|
+
def self.types; end
|
776
|
+
def self.types=(obj); end
|
777
|
+
def symbol; end
|
778
|
+
def to_s(*args, &block); end
|
779
|
+
def to_str(*args, &block); end
|
780
|
+
def to_sym(*args, &block); end
|
781
|
+
def types; end
|
782
|
+
def types=(obj); end
|
783
|
+
end
|
784
|
+
class ActionView::Base
|
785
|
+
def _routes; end
|
786
|
+
def _routes=(arg0); end
|
787
|
+
def _routes?; end
|
788
|
+
def assign(new_assigns); end
|
789
|
+
def assigns; end
|
790
|
+
def assigns=(arg0); end
|
791
|
+
def config; end
|
792
|
+
def config=(arg0); end
|
793
|
+
def default_formats; end
|
794
|
+
def default_formats=(obj); end
|
795
|
+
def field_error_proc; end
|
796
|
+
def field_error_proc=(obj); end
|
797
|
+
def formats(*args, &block); end
|
798
|
+
def formats=(arg); end
|
799
|
+
def initialize(context = nil, assigns = nil, controller = nil, formats = nil); end
|
800
|
+
def locale(*args, &block); end
|
801
|
+
def locale=(arg); end
|
802
|
+
def logger; end
|
803
|
+
def logger=(arg0); end
|
804
|
+
def logger?; end
|
805
|
+
def lookup_context(*args, &block); end
|
806
|
+
def prefix_partial_path_with_controller_namespace; end
|
807
|
+
def prefix_partial_path_with_controller_namespace=(obj); end
|
808
|
+
def raise_on_missing_translations; end
|
809
|
+
def raise_on_missing_translations=(obj); end
|
810
|
+
def self._routes; end
|
811
|
+
def self._routes=(val); end
|
812
|
+
def self._routes?; end
|
813
|
+
def self.cache_template_loading; end
|
814
|
+
def self.cache_template_loading=(value); end
|
815
|
+
def self.default_form_builder; end
|
816
|
+
def self.default_form_builder=(obj); end
|
817
|
+
def self.default_formats; end
|
818
|
+
def self.default_formats=(obj); end
|
819
|
+
def self.erb_trim_mode=(arg); end
|
820
|
+
def self.field_error_proc; end
|
821
|
+
def self.field_error_proc=(obj); end
|
822
|
+
def self.logger; end
|
823
|
+
def self.logger=(val); end
|
824
|
+
def self.logger?; end
|
825
|
+
def self.prefix_partial_path_with_controller_namespace; end
|
826
|
+
def self.prefix_partial_path_with_controller_namespace=(obj); end
|
827
|
+
def self.raise_on_missing_translations; end
|
828
|
+
def self.raise_on_missing_translations=(obj); end
|
829
|
+
def self.streaming_completion_on_exception; end
|
830
|
+
def self.streaming_completion_on_exception=(obj); end
|
831
|
+
def self.xss_safe?; end
|
832
|
+
def streaming_completion_on_exception; end
|
833
|
+
def streaming_completion_on_exception=(obj); end
|
834
|
+
def view_paths(*args, &block); end
|
835
|
+
def view_paths=(arg); end
|
836
|
+
def view_renderer; end
|
837
|
+
def view_renderer=(arg0); end
|
838
|
+
extend ActionView::Helpers::SanitizeHelper::ClassMethods
|
839
|
+
extend ActionView::Helpers::SanitizeHelper::ClassMethods
|
840
|
+
extend ActionView::Helpers::UrlHelper::ClassMethods
|
841
|
+
include ActionView::Helpers
|
842
|
+
include ActionView::Helpers::AssetTagHelper
|
843
|
+
include ActionView::Helpers::FormHelper
|
844
|
+
include ActionView::Helpers::FormTagHelper
|
845
|
+
include ActionView::Helpers::FormTagHelper
|
846
|
+
include ActionView::Helpers::SanitizeHelper
|
847
|
+
include ActionView::Helpers::SanitizeHelper
|
848
|
+
include ActionView::Helpers::TagHelper
|
849
|
+
include ActionView::Helpers::TagHelper
|
850
|
+
include ActionView::Helpers::TagHelper
|
851
|
+
include ActionView::Helpers::TagHelper
|
852
|
+
include ActionView::Helpers::TextHelper
|
853
|
+
include ActionView::Helpers::TextHelper
|
854
|
+
include ActionView::Helpers::UrlHelper
|
855
|
+
include ActionView::Helpers::UrlHelper
|
856
|
+
include ActionView::Helpers::UrlHelper
|
857
|
+
end
|
858
|
+
class ActionView::DependencyTracker
|
859
|
+
def self.find_dependencies(name, template); end
|
860
|
+
def self.register_tracker(extension, tracker); end
|
861
|
+
def self.remove_tracker(handler); end
|
862
|
+
end
|
863
|
+
class ActionView::DependencyTracker::ERBTracker
|
864
|
+
def add_dynamic_dependency(dependencies, dependency); end
|
865
|
+
def add_static_dependency(dependencies, dependency); end
|
866
|
+
def dependencies; end
|
867
|
+
def directory; end
|
868
|
+
def explicit_dependencies; end
|
869
|
+
def initialize(name, template); end
|
870
|
+
def name; end
|
871
|
+
def render_dependencies; end
|
872
|
+
def self.call(name, template); end
|
873
|
+
def source; end
|
874
|
+
def template; end
|
875
|
+
end
|
876
|
+
module ActionView::ViewPaths
|
877
|
+
def _prefixes; end
|
878
|
+
def append_view_path(path); end
|
879
|
+
def details_for_lookup; end
|
880
|
+
def formats(*args, &block); end
|
881
|
+
def formats=(arg); end
|
882
|
+
def locale(*args, &block); end
|
883
|
+
def locale=(arg); end
|
884
|
+
def lookup_context; end
|
885
|
+
def prepend_view_path(path); end
|
886
|
+
def template_exists?(*args, &block); end
|
887
|
+
def view_paths(*args, &block); end
|
888
|
+
extend ActiveSupport::Concern
|
889
|
+
end
|
890
|
+
module ActionView::ViewPaths::ClassMethods
|
891
|
+
def _prefixes; end
|
892
|
+
def append_view_path(path); end
|
893
|
+
def handle_deprecated_parent_prefixes; end
|
894
|
+
def local_prefixes; end
|
895
|
+
def prepend_view_path(path); end
|
896
|
+
def view_paths; end
|
897
|
+
def view_paths=(paths); end
|
898
|
+
end
|
899
|
+
class ActionView::PathSet
|
900
|
+
def +(array); end
|
901
|
+
def <<(*args); end
|
902
|
+
def [](*args, &block); end
|
903
|
+
def _find_all(path, prefixes, args, outside_app); end
|
904
|
+
def compact; end
|
905
|
+
def concat(*args); end
|
906
|
+
def each(*args, &block); end
|
907
|
+
def exists?(path, prefixes, *args); end
|
908
|
+
def find(*args); end
|
909
|
+
def find_all(path, prefixes = nil, *args); end
|
910
|
+
def find_file(path, prefixes = nil, *args); end
|
911
|
+
def include?(*args, &block); end
|
912
|
+
def initialize(paths = nil); end
|
913
|
+
def initialize_copy(other); end
|
914
|
+
def insert(*args); end
|
915
|
+
def paths; end
|
916
|
+
def pop(*args, &block); end
|
917
|
+
def push(*args); end
|
918
|
+
def size(*args, &block); end
|
919
|
+
def to_ary; end
|
920
|
+
def typecast(paths); end
|
921
|
+
def unshift(*args); end
|
922
|
+
include Enumerable
|
923
|
+
end
|
924
|
+
class ActionView::I18nProxy < I18n::Config
|
925
|
+
def initialize(original_config, lookup_context); end
|
926
|
+
def locale; end
|
927
|
+
def locale=(value); end
|
928
|
+
def lookup_context; end
|
929
|
+
def original_config; end
|
930
|
+
end
|
931
|
+
module ActionView::Rendering
|
932
|
+
def _normalize_args(action = nil, options = nil); end
|
933
|
+
def _normalize_options(options); end
|
934
|
+
def _process_format(format, options = nil); end
|
935
|
+
def _render_template(options); end
|
936
|
+
def process(*arg0); end
|
937
|
+
def render_to_body(options = nil); end
|
938
|
+
def rendered_format; end
|
939
|
+
def view_context; end
|
940
|
+
def view_context_class; end
|
941
|
+
def view_context_class=(arg0); end
|
942
|
+
def view_renderer; end
|
943
|
+
extend ActiveSupport::Concern
|
944
|
+
include ActionView::ViewPaths
|
945
|
+
end
|
946
|
+
module ActionView::Rendering::ClassMethods
|
947
|
+
def view_context_class; end
|
948
|
+
end
|
949
|
+
module ActionView::Layouts
|
950
|
+
def _conditional_layout?; end
|
951
|
+
def _default_layout(require_layout = nil); end
|
952
|
+
def _include_layout?(options); end
|
953
|
+
def _layout; end
|
954
|
+
def _layout_conditions(*args, &block); end
|
955
|
+
def _layout_for_option(name); end
|
956
|
+
def _normalize_layout(value); end
|
957
|
+
def _normalize_options(options); end
|
958
|
+
def action_has_layout=(arg0); end
|
959
|
+
def action_has_layout?; end
|
960
|
+
def initialize(*arg0); end
|
961
|
+
extend ActiveSupport::Concern
|
962
|
+
include ActionView::Rendering
|
963
|
+
end
|
964
|
+
module ActionView::Layouts::ClassMethods
|
965
|
+
def _implied_layout_name; end
|
966
|
+
def _write_layout_method; end
|
967
|
+
def inherited(klass); end
|
968
|
+
def layout(layout, conditions = nil); end
|
969
|
+
end
|
970
|
+
module ActionView::Layouts::ClassMethods::LayoutConditions
|
971
|
+
def _conditional_layout?; end
|
972
|
+
end
|
973
|
+
module ActionView::RoutingUrlFor
|
974
|
+
def _routes_context; end
|
975
|
+
def optimize_routes_generation?; end
|
976
|
+
def url_for(options = nil); end
|
977
|
+
def url_options; end
|
978
|
+
end
|