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,345 @@
|
|
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/sqlite3/all/sqlite3.rbi
|
9
|
+
#
|
10
|
+
# sqlite3-1.3.13
|
11
|
+
class SQLite3::Database
|
12
|
+
def authorizer(&block); end
|
13
|
+
def authorizer=(arg0); end
|
14
|
+
def busy_handler(*arg0); end
|
15
|
+
def busy_timeout(arg0); end
|
16
|
+
def busy_timeout=(arg0); end
|
17
|
+
def changes; end
|
18
|
+
def close; end
|
19
|
+
def closed?; end
|
20
|
+
def collation(arg0, arg1); end
|
21
|
+
def collations; end
|
22
|
+
def commit; end
|
23
|
+
def complete?(arg0); end
|
24
|
+
def create_aggregate(name, arity, step = nil, finalize = nil, text_rep = nil, &block); end
|
25
|
+
def create_aggregate_handler(handler); end
|
26
|
+
def create_function(name, arity, text_rep = nil, &block); end
|
27
|
+
def db_filename(arg0); end
|
28
|
+
def define_aggregator(arg0, arg1); end
|
29
|
+
def define_function(arg0); end
|
30
|
+
def enable_load_extension(arg0); end
|
31
|
+
def encoding; end
|
32
|
+
def errcode; end
|
33
|
+
def errmsg; end
|
34
|
+
def execute(sql, bind_vars = nil, *args, &block); end
|
35
|
+
def execute2(sql, *bind_vars); end
|
36
|
+
def execute_batch(sql, bind_vars = nil, *args); end
|
37
|
+
def filename(db_name = nil); end
|
38
|
+
def get_first_row(sql, *bind_vars); end
|
39
|
+
def get_first_value(sql, *bind_vars); end
|
40
|
+
def initialize(*arg0); end
|
41
|
+
def interrupt; end
|
42
|
+
def last_insert_row_id; end
|
43
|
+
def load_extension(arg0); end
|
44
|
+
def ordered_map_for(columns, row); end
|
45
|
+
def prepare(sql); end
|
46
|
+
def query(sql, bind_vars = nil, *args); end
|
47
|
+
def readonly?; end
|
48
|
+
def results_as_hash; end
|
49
|
+
def results_as_hash=(arg0); end
|
50
|
+
def rollback; end
|
51
|
+
def self.open(*arg0); end
|
52
|
+
def self.quote(string); end
|
53
|
+
def total_changes; end
|
54
|
+
def trace(*arg0); end
|
55
|
+
def transaction(mode = nil); end
|
56
|
+
def transaction_active?; end
|
57
|
+
def translator; end
|
58
|
+
def type_translation; end
|
59
|
+
def type_translation=(value); end
|
60
|
+
include SQLite3::Pragmas
|
61
|
+
end
|
62
|
+
class SQLite3::Statement
|
63
|
+
def active?; end
|
64
|
+
def bind_param(arg0, arg1); end
|
65
|
+
def bind_parameter_count; end
|
66
|
+
def bind_params(*bind_vars); end
|
67
|
+
def clear_bindings!; end
|
68
|
+
def close; end
|
69
|
+
def closed?; end
|
70
|
+
def column_count; end
|
71
|
+
def column_decltype(arg0); end
|
72
|
+
def column_name(arg0); end
|
73
|
+
def columns; end
|
74
|
+
def database_name(arg0); end
|
75
|
+
def done?; end
|
76
|
+
def each; end
|
77
|
+
def execute!(*bind_vars, &block); end
|
78
|
+
def execute(*bind_vars); end
|
79
|
+
def get_metadata; end
|
80
|
+
def initialize(arg0, arg1); end
|
81
|
+
def must_be_open!; end
|
82
|
+
def remainder; end
|
83
|
+
def reset!; end
|
84
|
+
def step; end
|
85
|
+
def types; end
|
86
|
+
include Enumerable
|
87
|
+
end
|
88
|
+
class SQLite3::Backup
|
89
|
+
def finish; end
|
90
|
+
def initialize(arg0, arg1, arg2, arg3); end
|
91
|
+
def pagecount; end
|
92
|
+
def remaining; end
|
93
|
+
def step(arg0); end
|
94
|
+
end
|
95
|
+
module SQLite3
|
96
|
+
def self.const_missing(name); end
|
97
|
+
def self.libversion; end
|
98
|
+
def self.threadsafe; end
|
99
|
+
def self.threadsafe?; end
|
100
|
+
end
|
101
|
+
module SQLite3::Constants
|
102
|
+
end
|
103
|
+
module SQLite3::Constants::TextRep
|
104
|
+
end
|
105
|
+
module SQLite3::Constants::ColumnType
|
106
|
+
end
|
107
|
+
module SQLite3::Constants::ErrorCode
|
108
|
+
end
|
109
|
+
class SQLite3::Exception < StandardError
|
110
|
+
def code; end
|
111
|
+
def self.code; end
|
112
|
+
end
|
113
|
+
class SQLite3::SQLException < SQLite3::Exception
|
114
|
+
end
|
115
|
+
class SQLite3::InternalException < SQLite3::Exception
|
116
|
+
end
|
117
|
+
class SQLite3::PermissionException < SQLite3::Exception
|
118
|
+
end
|
119
|
+
class SQLite3::AbortException < SQLite3::Exception
|
120
|
+
end
|
121
|
+
class SQLite3::BusyException < SQLite3::Exception
|
122
|
+
end
|
123
|
+
class SQLite3::LockedException < SQLite3::Exception
|
124
|
+
end
|
125
|
+
class SQLite3::MemoryException < SQLite3::Exception
|
126
|
+
end
|
127
|
+
class SQLite3::ReadOnlyException < SQLite3::Exception
|
128
|
+
end
|
129
|
+
class SQLite3::InterruptException < SQLite3::Exception
|
130
|
+
end
|
131
|
+
class SQLite3::IOException < SQLite3::Exception
|
132
|
+
end
|
133
|
+
class SQLite3::CorruptException < SQLite3::Exception
|
134
|
+
end
|
135
|
+
class SQLite3::NotFoundException < SQLite3::Exception
|
136
|
+
end
|
137
|
+
class SQLite3::FullException < SQLite3::Exception
|
138
|
+
end
|
139
|
+
class SQLite3::CantOpenException < SQLite3::Exception
|
140
|
+
end
|
141
|
+
class SQLite3::ProtocolException < SQLite3::Exception
|
142
|
+
end
|
143
|
+
class SQLite3::EmptyException < SQLite3::Exception
|
144
|
+
end
|
145
|
+
class SQLite3::SchemaChangedException < SQLite3::Exception
|
146
|
+
end
|
147
|
+
class SQLite3::TooBigException < SQLite3::Exception
|
148
|
+
end
|
149
|
+
class SQLite3::ConstraintException < SQLite3::Exception
|
150
|
+
end
|
151
|
+
class SQLite3::MismatchException < SQLite3::Exception
|
152
|
+
end
|
153
|
+
class SQLite3::MisuseException < SQLite3::Exception
|
154
|
+
end
|
155
|
+
class SQLite3::UnsupportedException < SQLite3::Exception
|
156
|
+
end
|
157
|
+
class SQLite3::AuthorizationException < SQLite3::Exception
|
158
|
+
end
|
159
|
+
class SQLite3::FormatException < SQLite3::Exception
|
160
|
+
end
|
161
|
+
class SQLite3::RangeException < SQLite3::Exception
|
162
|
+
end
|
163
|
+
class SQLite3::NotADatabaseException < SQLite3::Exception
|
164
|
+
end
|
165
|
+
module SQLite3::Pragmas
|
166
|
+
def application_id; end
|
167
|
+
def application_id=(integer); end
|
168
|
+
def auto_vacuum; end
|
169
|
+
def auto_vacuum=(mode); end
|
170
|
+
def automatic_index; end
|
171
|
+
def automatic_index=(mode); end
|
172
|
+
def busy_timeout; end
|
173
|
+
def busy_timeout=(milliseconds); end
|
174
|
+
def cache_size; end
|
175
|
+
def cache_size=(size); end
|
176
|
+
def cache_spill; end
|
177
|
+
def cache_spill=(mode); end
|
178
|
+
def case_sensitive_like=(mode); end
|
179
|
+
def cell_size_check; end
|
180
|
+
def cell_size_check=(mode); end
|
181
|
+
def checkpoint_fullfsync; end
|
182
|
+
def checkpoint_fullfsync=(mode); end
|
183
|
+
def collation_list(&block); end
|
184
|
+
def compile_options(&block); end
|
185
|
+
def count_changes; end
|
186
|
+
def count_changes=(mode); end
|
187
|
+
def data_version; end
|
188
|
+
def database_list(&block); end
|
189
|
+
def default_cache_size; end
|
190
|
+
def default_cache_size=(size); end
|
191
|
+
def default_synchronous; end
|
192
|
+
def default_synchronous=(mode); end
|
193
|
+
def default_temp_store; end
|
194
|
+
def default_temp_store=(mode); end
|
195
|
+
def defer_foreign_keys; end
|
196
|
+
def defer_foreign_keys=(mode); end
|
197
|
+
def encoding; end
|
198
|
+
def encoding=(mode); end
|
199
|
+
def foreign_key_check(*table, &block); end
|
200
|
+
def foreign_key_list(table, &block); end
|
201
|
+
def foreign_keys; end
|
202
|
+
def foreign_keys=(mode); end
|
203
|
+
def freelist_count; end
|
204
|
+
def full_column_names; end
|
205
|
+
def full_column_names=(mode); end
|
206
|
+
def fullfsync; end
|
207
|
+
def fullfsync=(mode); end
|
208
|
+
def get_boolean_pragma(name); end
|
209
|
+
def get_enum_pragma(name); end
|
210
|
+
def get_int_pragma(name); end
|
211
|
+
def get_query_pragma(name, *parms, &block); end
|
212
|
+
def ignore_check_constraints=(mode); end
|
213
|
+
def incremental_vacuum(pages, &block); end
|
214
|
+
def index_info(index, &block); end
|
215
|
+
def index_list(table, &block); end
|
216
|
+
def index_xinfo(index, &block); end
|
217
|
+
def integrity_check(*num_errors, &block); end
|
218
|
+
def journal_mode; end
|
219
|
+
def journal_mode=(mode); end
|
220
|
+
def journal_size_limit; end
|
221
|
+
def journal_size_limit=(size); end
|
222
|
+
def legacy_file_format; end
|
223
|
+
def legacy_file_format=(mode); end
|
224
|
+
def locking_mode; end
|
225
|
+
def locking_mode=(mode); end
|
226
|
+
def max_page_count; end
|
227
|
+
def max_page_count=(size); end
|
228
|
+
def mmap_size; end
|
229
|
+
def mmap_size=(size); end
|
230
|
+
def page_count; end
|
231
|
+
def page_size; end
|
232
|
+
def page_size=(size); end
|
233
|
+
def parser_trace=(mode); end
|
234
|
+
def query_only; end
|
235
|
+
def query_only=(mode); end
|
236
|
+
def quick_check(*num_errors, &block); end
|
237
|
+
def read_uncommitted; end
|
238
|
+
def read_uncommitted=(mode); end
|
239
|
+
def recursive_triggers; end
|
240
|
+
def recursive_triggers=(mode); end
|
241
|
+
def reverse_unordered_selects; end
|
242
|
+
def reverse_unordered_selects=(mode); end
|
243
|
+
def schema_cookie; end
|
244
|
+
def schema_cookie=(cookie); end
|
245
|
+
def schema_version; end
|
246
|
+
def schema_version=(version); end
|
247
|
+
def secure_delete; end
|
248
|
+
def secure_delete=(mode); end
|
249
|
+
def set_boolean_pragma(name, mode); end
|
250
|
+
def set_enum_pragma(name, mode, enums); end
|
251
|
+
def set_int_pragma(name, value); end
|
252
|
+
def short_column_names; end
|
253
|
+
def short_column_names=(mode); end
|
254
|
+
def shrink_memory; end
|
255
|
+
def soft_heap_limit; end
|
256
|
+
def soft_heap_limit=(mode); end
|
257
|
+
def stats(&block); end
|
258
|
+
def synchronous; end
|
259
|
+
def synchronous=(mode); end
|
260
|
+
def table_info(table); end
|
261
|
+
def temp_store; end
|
262
|
+
def temp_store=(mode); end
|
263
|
+
def threads; end
|
264
|
+
def threads=(count); end
|
265
|
+
def tweak_default(hash); end
|
266
|
+
def user_cookie; end
|
267
|
+
def user_cookie=(cookie); end
|
268
|
+
def user_version; end
|
269
|
+
def user_version=(version); end
|
270
|
+
def vdbe_addoptrace=(mode); end
|
271
|
+
def vdbe_debug=(mode); end
|
272
|
+
def vdbe_listing=(mode); end
|
273
|
+
def vdbe_trace; end
|
274
|
+
def vdbe_trace=(mode); end
|
275
|
+
def version_compare(v1, v2); end
|
276
|
+
def wal_autocheckpoint; end
|
277
|
+
def wal_autocheckpoint=(mode); end
|
278
|
+
def wal_checkpoint; end
|
279
|
+
def wal_checkpoint=(mode); end
|
280
|
+
def writable_schema=(mode); end
|
281
|
+
end
|
282
|
+
class SQLite3::ResultSet
|
283
|
+
def close; end
|
284
|
+
def closed?; end
|
285
|
+
def columns; end
|
286
|
+
def each; end
|
287
|
+
def each_hash; end
|
288
|
+
def eof?; end
|
289
|
+
def initialize(db, stmt); end
|
290
|
+
def next; end
|
291
|
+
def next_hash; end
|
292
|
+
def reset(*bind_params); end
|
293
|
+
def types; end
|
294
|
+
include Enumerable
|
295
|
+
end
|
296
|
+
class SQLite3::ResultSet::ArrayWithTypes < Array
|
297
|
+
def types; end
|
298
|
+
def types=(arg0); end
|
299
|
+
end
|
300
|
+
class SQLite3::ResultSet::ArrayWithTypesAndFields < Array
|
301
|
+
def fields; end
|
302
|
+
def fields=(arg0); end
|
303
|
+
def types; end
|
304
|
+
def types=(arg0); end
|
305
|
+
end
|
306
|
+
class SQLite3::ResultSet::HashWithTypesAndFields < Hash
|
307
|
+
def [](key); end
|
308
|
+
def fields; end
|
309
|
+
def fields=(arg0); end
|
310
|
+
def types; end
|
311
|
+
def types=(arg0); end
|
312
|
+
end
|
313
|
+
class String
|
314
|
+
def to_blob; end
|
315
|
+
end
|
316
|
+
class SQLite3::Translator
|
317
|
+
def add_translator(type, &block); end
|
318
|
+
def initialize; end
|
319
|
+
def register_default_translators; end
|
320
|
+
def translate(type, value); end
|
321
|
+
def type_name(type); end
|
322
|
+
end
|
323
|
+
class SQLite3::Value
|
324
|
+
def handle; end
|
325
|
+
def initialize(db, handle); end
|
326
|
+
def length(utf16 = nil); end
|
327
|
+
def null?; end
|
328
|
+
def to_blob; end
|
329
|
+
def to_f; end
|
330
|
+
def to_i; end
|
331
|
+
def to_int64; end
|
332
|
+
def to_s(utf16 = nil); end
|
333
|
+
def type; end
|
334
|
+
end
|
335
|
+
class SQLite3::Database::FunctionProxy
|
336
|
+
def [](key); end
|
337
|
+
def []=(key, value); end
|
338
|
+
def count; end
|
339
|
+
def initialize; end
|
340
|
+
def result; end
|
341
|
+
def result=(arg0); end
|
342
|
+
def set_error(error); end
|
343
|
+
end
|
344
|
+
module SQLite3::VersionProxy
|
345
|
+
end
|