From 8bda871eb922e242c89703c0bf35937112cf4dea Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 13 May 2023 18:29:02 +0200 Subject: [PATCH 01/32] Remove Rails 5 & Rails 6 specs --- .gitignore | 4 - DEVELOPMENT.md | 26 +- README.md | 4 +- spec/definitions/rails5/actioncontroller.yml | 1741 --------- spec/definitions/rails5/activejob.yml | 693 ---- spec/definitions/rails5/activerecord.yml | 2761 -------------- spec/definitions/rails5/core/Array.yml | 400 -- spec/definitions/rails5/core/Class.yml | 453 --- spec/definitions/rails5/core/Date.yml | 668 ---- spec/definitions/rails5/core/DateTime.yml | 776 ---- spec/definitions/rails5/core/File.yml | 337 -- spec/definitions/rails5/core/Hash.yml | 444 --- spec/definitions/rails5/core/Integer.yml | 444 --- spec/definitions/rails5/core/Kernel.yml | 227 -- spec/definitions/rails5/core/String.yml | 473 --- spec/definitions/rails5/core/Time.yml | 772 ---- spec/definitions/rails5/routes.yml | 573 --- spec/definitions/rails6/actioncontroller.yml | 1745 --------- spec/definitions/rails6/activejob.yml | 753 ---- spec/definitions/rails6/activerecord.yml | 3207 ----------------- spec/definitions/rails6/core/Array.yml | 416 --- spec/definitions/rails6/core/Class.yml | 437 --- spec/definitions/rails6/core/Date.yml | 680 ---- spec/definitions/rails6/core/DateTime.yml | 788 ---- spec/definitions/rails6/core/File.yml | 345 -- spec/definitions/rails6/core/Hash.yml | 464 --- spec/definitions/rails6/core/Integer.yml | 432 --- spec/definitions/rails6/core/Kernel.yml | 223 -- spec/definitions/rails6/core/String.yml | 465 --- spec/definitions/rails6/core/Time.yml | 796 ---- spec/definitions/rails6/routes.yml | 561 --- spec/rails5/Gemfile | 10 - spec/rails5/Rakefile | 6 - .../app/controllers/application_controller.rb | 2 - spec/rails5/app/mailers/.gitkeep | 0 spec/rails5/app/models/.gitkeep | 0 spec/rails5/config.ru | 5 - spec/rails5/config/application.rb | 10 - spec/rails5/config/boot.rb | 3 - spec/rails5/config/database.yml | 4 - spec/rails5/config/environment.rb | 9 - spec/rails5/db/dev.sqlite3 | Bin 8192 -> 0 bytes spec/rails5/db/migrate/.gitkeep | 0 spec/rails5/log/.keep | 0 spec/rails5/tmp/.keep | 0 spec/rails6/Gemfile | 10 - spec/rails6/Rakefile | 6 - spec/rails6/app/assets/config/manifest.js | 0 .../app/controllers/application_controller.rb | 2 - spec/rails6/app/mailers/.gitkeep | 0 spec/rails6/app/models/.gitkeep | 0 spec/rails6/config.ru | 5 - spec/rails6/config/application.rb | 10 - spec/rails6/config/boot.rb | 3 - spec/rails6/config/database.yml | 4 - spec/rails6/config/environment.rb | 10 - spec/rails6/config/storage.yml | 3 - spec/rails6/db/dev.sqlite3 | Bin 8192 -> 0 bytes spec/rails6/db/migrate/.gitkeep | 0 spec/solargraph-rails/devise_spec.rb | 44 - spec/solargraph-rails/rails5_spec.rb | 147 - spec/solargraph-rails/rails6_spec.rb | 142 - spec/solargraph-rails/rails7_spec.rb | 2 +- spec/solargraph-rails/storage_spec.rb | 2 +- 64 files changed, 8 insertions(+), 22539 deletions(-) delete mode 100644 spec/definitions/rails5/actioncontroller.yml delete mode 100644 spec/definitions/rails5/activejob.yml delete mode 100644 spec/definitions/rails5/activerecord.yml delete mode 100644 spec/definitions/rails5/core/Array.yml delete mode 100644 spec/definitions/rails5/core/Class.yml delete mode 100644 spec/definitions/rails5/core/Date.yml delete mode 100644 spec/definitions/rails5/core/DateTime.yml delete mode 100644 spec/definitions/rails5/core/File.yml delete mode 100644 spec/definitions/rails5/core/Hash.yml delete mode 100644 spec/definitions/rails5/core/Integer.yml delete mode 100644 spec/definitions/rails5/core/Kernel.yml delete mode 100644 spec/definitions/rails5/core/String.yml delete mode 100644 spec/definitions/rails5/core/Time.yml delete mode 100644 spec/definitions/rails5/routes.yml delete mode 100644 spec/definitions/rails6/actioncontroller.yml delete mode 100644 spec/definitions/rails6/activejob.yml delete mode 100644 spec/definitions/rails6/activerecord.yml delete mode 100644 spec/definitions/rails6/core/Array.yml delete mode 100644 spec/definitions/rails6/core/Class.yml delete mode 100644 spec/definitions/rails6/core/Date.yml delete mode 100644 spec/definitions/rails6/core/DateTime.yml delete mode 100644 spec/definitions/rails6/core/File.yml delete mode 100644 spec/definitions/rails6/core/Hash.yml delete mode 100644 spec/definitions/rails6/core/Integer.yml delete mode 100644 spec/definitions/rails6/core/Kernel.yml delete mode 100644 spec/definitions/rails6/core/String.yml delete mode 100644 spec/definitions/rails6/core/Time.yml delete mode 100644 spec/definitions/rails6/routes.yml delete mode 100644 spec/rails5/Gemfile delete mode 100644 spec/rails5/Rakefile delete mode 100644 spec/rails5/app/controllers/application_controller.rb delete mode 100644 spec/rails5/app/mailers/.gitkeep delete mode 100644 spec/rails5/app/models/.gitkeep delete mode 100644 spec/rails5/config.ru delete mode 100644 spec/rails5/config/application.rb delete mode 100644 spec/rails5/config/boot.rb delete mode 100644 spec/rails5/config/database.yml delete mode 100644 spec/rails5/config/environment.rb delete mode 100644 spec/rails5/db/dev.sqlite3 delete mode 100644 spec/rails5/db/migrate/.gitkeep delete mode 100644 spec/rails5/log/.keep delete mode 100644 spec/rails5/tmp/.keep delete mode 100644 spec/rails6/Gemfile delete mode 100644 spec/rails6/Rakefile delete mode 100644 spec/rails6/app/assets/config/manifest.js delete mode 100644 spec/rails6/app/controllers/application_controller.rb delete mode 100644 spec/rails6/app/mailers/.gitkeep delete mode 100644 spec/rails6/app/models/.gitkeep delete mode 100644 spec/rails6/config.ru delete mode 100644 spec/rails6/config/application.rb delete mode 100644 spec/rails6/config/boot.rb delete mode 100644 spec/rails6/config/database.yml delete mode 100644 spec/rails6/config/environment.rb delete mode 100644 spec/rails6/config/storage.yml delete mode 100644 spec/rails6/db/dev.sqlite3 delete mode 100644 spec/rails6/db/migrate/.gitkeep delete mode 100644 spec/solargraph-rails/rails5_spec.rb delete mode 100644 spec/solargraph-rails/rails6_spec.rb diff --git a/.gitignore b/.gitignore index 1a08480..da9d323 100644 --- a/.gitignore +++ b/.gitignore @@ -7,10 +7,6 @@ /spec/reports/ /tmp/ .DS_Store -spec/rails5/log/ -spec/rails5/tmp/ -spec/rails6/log/ -spec/rails6/tmp/ spec/rails7/log/ spec/rails7/tmp/ .projections.json diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 59b3a7d..79edda5 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -4,36 +4,20 @@ 1. create fork and clone the repo 2. install gem deps `bundle install` -3. install dummy rails5 app deps and build its yard cache - - ``` - $ cd spec/rails5 - $ bundle install && yard gems - $ cd ../../ - ``` - -3. install dummy rails6 app deps and build its yard cache - - ``` - $ cd spec/rails6 - $ bundle install && yard gems - $ cd ../../ - ``` - -4. install dummy rails7 app deps and build its yard cache +3. install dummy Rails app deps and build its yard cache ``` $ cd spec/rails7 $ bundle install && yard gems $ cd ../../ ``` -5. now tests should pass locally and you can try different changes -6. sumbit PR +4. now tests should pass locally and you can try different changes +5. sumbit PR ## Completion coverage tracking Solargraph-Rails uses a [set of yaml files](https://github.com/iftheshoefritz/solargraph-rails/tree/master/spec/definitions) to track coverage of found completions. -Those yaml files are generated at runtime from a dummy [rails5](https://github.com/iftheshoefritz/solargraph-rails/tree/master/spec/rails5) or [rails6](https://github.com/iftheshoefritz/solargraph-rails/tree/master/spec/rails6) app. +Those yaml files are generated at runtime from a dummy [Rails 7 app](https://github.com/iftheshoefritz/solargraph-rails/tree/master/spec/rails7). The main goal is to catch any regressions in case of any change. In case a method completion is marked completed and it is not found in solargraph completions, the tests will fail. @@ -85,7 +69,7 @@ In case a new set of assertion files has to be created (for a new Rails version All you have to do is execute the script and pass it a path to rails app: ``` -ruby script/generate_definitions.rb spec/rails6 +ruby script/generate_definitions.rb spec/rails7 ``` Make sure to review the script and uncomment relevant parts diff --git a/README.md b/README.md index 90ec16b..6af803a 100644 --- a/README.md +++ b/README.md @@ -74,13 +74,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/ifthes 3. install dummy rails app deps and build the yard cache: ``` -$ cd spec/rails5 +$ cd spec/rails7 $ bundle install && yard gems $ cd ../../ ``` -(and the same for rails 6 and rails 7) - 4. now tests should pass locally and you can try different changes 5. sumbit PR diff --git a/spec/definitions/rails5/actioncontroller.yml b/spec/definitions/rails5/actioncontroller.yml deleted file mode 100644 index 02c7925..0000000 --- a/spec/definitions/rails5/actioncontroller.yml +++ /dev/null @@ -1,1741 +0,0 @@ ---- -ActionController::Base.`: - types: - - undefined - skip: false -ActionController::Base.abstract: - types: - - undefined - skip: false -ActionController::Base.abstract!: - types: - - undefined - skip: false -ActionController::Base.abstract?: - types: - - undefined - skip: false -ActionController::Base.action: - types: - - undefined - skip: false -ActionController::Base.action_methods: - types: - - undefined - skip: false -ActionController::Base.acts_like?: - types: - - undefined - skip: false -ActionController::Base.add_flash_types: - types: - - undefined - skip: true -ActionController::Base.after_action: - types: - - undefined - skip: true -ActionController::Base.alias_attribute: - types: - - undefined - skip: false -ActionController::Base.all_helpers_from_path: - types: - - undefined - skip: true -ActionController::Base.allow_forgery_protection: - types: - - undefined - skip: true -ActionController::Base.allow_forgery_protection=: - types: - - undefined - skip: true -ActionController::Base.anonymous?: - types: - - undefined - skip: false -ActionController::Base.append_after_action: - types: - - undefined - skip: true -ActionController::Base.append_around_action: - types: - - undefined - skip: true -ActionController::Base.append_before_action: - types: - - undefined - skip: true -ActionController::Base.append_view_path: - types: - - undefined - skip: true -ActionController::Base.around_action: - types: - - undefined - skip: true -ActionController::Base.as_json: - types: - - undefined - skip: false -ActionController::Base.asset_host: - types: - - undefined - skip: true -ActionController::Base.asset_host=: - types: - - undefined - skip: true -ActionController::Base.assets_dir: - types: - - undefined - skip: true -ActionController::Base.assets_dir=: - types: - - undefined - skip: true -ActionController::Base.attr_internal: - types: - - undefined - skip: false -ActionController::Base.attr_internal_accessor: - types: - - undefined - skip: false -ActionController::Base.attr_internal_reader: - types: - - undefined - skip: false -ActionController::Base.attr_internal_writer: - types: - - undefined - skip: false -ActionController::Base.before_action: - types: - - undefined - skip: true -ActionController::Base.binary_params_for?: - types: - - undefined - skip: true -ActionController::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base.cache_store: - types: - - undefined - skip: true -ActionController::Base.cache_store=: - types: - - undefined - skip: true -ActionController::Base.cattr_accessor: - types: - - undefined - skip: false -ActionController::Base.cattr_reader: - types: - - undefined - skip: false -ActionController::Base.cattr_writer: - types: - - undefined - skip: false -ActionController::Base.class_attribute: - types: - - undefined - skip: false -ActionController::Base.clear_action_methods!: - types: - - undefined - skip: false -ActionController::Base.clear_helpers: - types: - - undefined - skip: true -ActionController::Base.clear_respond_to: - types: - - undefined - skip: true -ActionController::Base.concern: - types: - - undefined - skip: false -ActionController::Base.concerning: - types: - - undefined - skip: false -ActionController::Base.config: - types: - - undefined - skip: true -ActionController::Base.configure: - types: - - undefined - skip: true -ActionController::Base.const_missing: - types: - - undefined - skip: false -ActionController::Base.content_security_policy: - types: - - undefined - skip: true -ActionController::Base.content_security_policy_report_only: - types: - - undefined - skip: true -ActionController::Base.controller_name: - types: - - undefined - skip: false -ActionController::Base.controller_path: - types: - - undefined - skip: false -ActionController::Base.deep_dup: - types: - - undefined - skip: false -ActionController::Base.default_asset_host_protocol: - types: - - undefined - skip: true -ActionController::Base.default_asset_host_protocol=: - types: - - undefined - skip: true -ActionController::Base.default_form_builder: - types: - - undefined - skip: true -ActionController::Base.default_protect_from_forgery: - types: - - undefined - skip: true -ActionController::Base.default_protect_from_forgery=: - types: - - undefined - skip: true -ActionController::Base.default_static_extension: - types: - - undefined - skip: true -ActionController::Base.default_static_extension=: - types: - - undefined - skip: true -ActionController::Base.default_url_options: - types: - - undefined - skip: true -ActionController::Base.default_url_options=: - types: - - undefined - skip: true -ActionController::Base.default_url_options?: - types: - - undefined - skip: true -ActionController::Base.define_callbacks: - types: - - undefined - skip: false -ActionController::Base.delegate: - types: - - undefined - skip: false -ActionController::Base.delegate_missing_to: - types: - - undefined - skip: false -ActionController::Base.deprecate: - types: - - undefined - skip: false -ActionController::Base.descendants: - types: - - undefined - skip: false -ActionController::Base.devise_group: - types: - - undefined - skip: true -ActionController::Base.direct_descendants: - types: - - undefined - skip: false -ActionController::Base.dispatch: - types: - - undefined - skip: false -ActionController::Base.duplicable?: - types: - - undefined - skip: false -ActionController::Base.enable_fragment_cache_logging: - types: - - undefined - skip: true -ActionController::Base.enable_fragment_cache_logging=: - types: - - undefined - skip: true -ActionController::Base.etag: - types: - - undefined - skip: true -ActionController::Base.etag_with_template_digest: - types: - - undefined - skip: true -ActionController::Base.etag_with_template_digest=: - types: - - undefined - skip: true -ActionController::Base.etag_with_template_digest?: - types: - - undefined - skip: true -ActionController::Base.etaggers: - types: - - undefined - skip: true -ActionController::Base.etaggers=: - types: - - undefined - skip: true -ActionController::Base.etaggers?: - types: - - undefined - skip: true -ActionController::Base.force_ssl: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_origin_check: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_origin_check=: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_strategy: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_strategy=: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_key: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_keys: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_keys=: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_keys?: - types: - - undefined - skip: true -ActionController::Base.gem: - types: - - undefined - skip: true -ActionController::Base.guess_for_anonymous: - types: - - undefined - skip: true -ActionController::Base.handler_for_rescue: - types: - - undefined - skip: false -ActionController::Base.helper: - types: - - undefined - skip: true -ActionController::Base.helper_attr: - types: - - undefined - skip: true -ActionController::Base.helper_method: - types: - - undefined - skip: true -ActionController::Base.helpers: - types: - - undefined - skip: true -ActionController::Base.helpers_path: - types: - - undefined - skip: true -ActionController::Base.helpers_path=: - types: - - undefined - skip: true -ActionController::Base.helpers_path?: - types: - - undefined - skip: true -ActionController::Base.html_safe?: - types: - - undefined - skip: false -ActionController::Base.http_basic_authenticate_with: - types: - - undefined - skip: true -ActionController::Base.in?: - types: - - undefined - skip: false -ActionController::Base.include_all_helpers: - types: - - undefined - skip: true -ActionController::Base.include_all_helpers=: - types: - - undefined - skip: true -ActionController::Base.include_all_helpers?: - types: - - undefined - skip: true -ActionController::Base.inherited: - types: - - undefined - skip: false -ActionController::Base.instance_values: - types: - - undefined - skip: false -ActionController::Base.instance_variable_names: - types: - - undefined - skip: false -ActionController::Base.internal_methods: - types: - - undefined - skip: false -ActionController::Base.javascripts_dir: - types: - - undefined - skip: true -ActionController::Base.javascripts_dir=: - types: - - undefined - skip: true -ActionController::Base.layout: - types: - - undefined - skip: true -ActionController::Base.load_dependency: - types: - - undefined - skip: true -ActionController::Base.log_process_action: - types: - - undefined - skip: true -ActionController::Base.log_warning_on_csrf_failure: - types: - - undefined - skip: true -ActionController::Base.log_warning_on_csrf_failure=: - types: - - undefined - skip: true -ActionController::Base.logger: - types: - - undefined - skip: true -ActionController::Base.logger=: - types: - - undefined - skip: true -ActionController::Base.make_response!: - types: - - undefined - skip: false -ActionController::Base.mattr_accessor: - types: - - undefined - skip: false -ActionController::Base.mattr_reader: - types: - - undefined - skip: false -ActionController::Base.mattr_writer: - types: - - undefined - skip: false -ActionController::Base.method_added: - types: - - undefined - skip: false -ActionController::Base.method_visibility: - types: - - undefined - skip: false -ActionController::Base.middleware: - types: - - undefined - skip: false -ActionController::Base.middleware_stack: - types: - - undefined - skip: true -ActionController::Base.middleware_stack=: - types: - - undefined - skip: true -ActionController::Base.middleware_stack?: - types: - - undefined - skip: true -ActionController::Base.mimes_for_respond_to: - types: - - undefined - skip: true -ActionController::Base.mimes_for_respond_to=: - types: - - undefined - skip: true -ActionController::Base.mimes_for_respond_to?: - types: - - undefined - skip: true -ActionController::Base.modules_for_helpers: - types: - - undefined - skip: true -ActionController::Base.normalize_callback_params: - types: - - undefined - skip: false -ActionController::Base.parent: - types: - - undefined - skip: true -ActionController::Base.parent_name: - types: - - undefined - skip: true -ActionController::Base.parents: - types: - - undefined - skip: true -ActionController::Base.per_form_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base.per_form_csrf_tokens=: - types: - - undefined - skip: true -ActionController::Base.perform_caching: - types: - - undefined - skip: true -ActionController::Base.perform_caching=: - types: - - undefined - skip: true -ActionController::Base.prepend_after_action: - types: - - undefined - skip: true -ActionController::Base.prepend_around_action: - types: - - undefined - skip: true -ActionController::Base.prepend_before_action: - types: - - undefined - skip: true -ActionController::Base.prepend_view_path: - types: - - undefined - skip: true -ActionController::Base.presence: - types: - - Object - skip: false -ActionController::Base.presence_in: - types: - - Object - skip: false -ActionController::Base.present?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base.protect_from_forgery: - types: - - undefined - skip: false -ActionController::Base.pry: - types: - - undefined - skip: false -ActionController::Base.rake_extension: - types: - - undefined - skip: false -ActionController::Base.reachable?: - types: - - undefined - skip: true -ActionController::Base.reachable_with_deprecation?: - types: - - undefined - skip: true -ActionController::Base.reachable_without_deprecation?: - types: - - undefined - skip: true -ActionController::Base.redefine_method: - types: - - undefined - skip: false -ActionController::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActionController::Base.relative_url_root: - types: - - undefined - skip: true -ActionController::Base.relative_url_root=: - types: - - undefined - skip: true -ActionController::Base.remove_possible_method: - types: - - undefined - skip: false -ActionController::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActionController::Base.render: - types: - - undefined - skip: true -ActionController::Base.renderer: - types: - - undefined - skip: true -ActionController::Base.request_forgery_protection_token: - types: - - undefined - skip: true -ActionController::Base.request_forgery_protection_token=: - types: - - undefined - skip: true -ActionController::Base.require_dependency: - types: - - undefined - skip: true -ActionController::Base.require_or_load: - types: - - undefined - skip: true -ActionController::Base.rescue_from: - types: - - undefined - skip: false -ActionController::Base.rescue_handlers: - types: - - undefined - skip: true -ActionController::Base.rescue_handlers=: - types: - - undefined - skip: true -ActionController::Base.rescue_handlers?: - types: - - undefined - skip: true -ActionController::Base.rescue_with_handler: - types: - - undefined - skip: false -ActionController::Base.reset_callbacks: - types: - - undefined - skip: false -ActionController::Base.respond_to: - types: - - undefined - skip: true -ActionController::Base.responder: - types: - - undefined - skip: true -ActionController::Base.responder=: - types: - - undefined - skip: true -ActionController::Base.responder?: - types: - - undefined - skip: true -ActionController::Base.responders: - types: - - undefined - skip: true -ActionController::Base.set_callback: - types: - - undefined - skip: false -ActionController::Base.setup_param_encode: - types: - - undefined - skip: true -ActionController::Base.setup_renderer!: - types: - - undefined - skip: true -ActionController::Base.silence_redefinition_of_method: - types: - - undefined - skip: false -ActionController::Base.skip_after_action: - types: - - undefined - skip: true -ActionController::Base.skip_around_action: - types: - - undefined - skip: true -ActionController::Base.skip_before_action: - types: - - undefined - skip: true -ActionController::Base.skip_callback: - types: - - undefined - skip: false -ActionController::Base.skip_forgery_protection: - types: - - undefined - skip: false -ActionController::Base.skip_parameter_encoding: - types: - - undefined - skip: true -ActionController::Base.stylesheets_dir: - types: - - undefined - skip: true -ActionController::Base.stylesheets_dir=: - types: - - undefined - skip: true -ActionController::Base.subclasses: - types: - - undefined - skip: false -ActionController::Base.supports_path?: - types: - - undefined - skip: false -ActionController::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActionController::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActionController::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActionController::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActionController::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActionController::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActionController::Base.to_json: - types: - - undefined - skip: true -ActionController::Base.to_param: - types: - - undefined - skip: false -ActionController::Base.to_query: - types: - - undefined - skip: false -ActionController::Base.try: - types: - - undefined - skip: false -ActionController::Base.try!: - types: - - undefined - skip: false -ActionController::Base.unloadable: - types: - - undefined - skip: true -ActionController::Base.urlsafe_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base.urlsafe_csrf_tokens=: - types: - - undefined - skip: true -ActionController::Base.use: - types: - - undefined - skip: true -ActionController::Base.use_renderer: - types: - - undefined - skip: true -ActionController::Base.use_renderers: - types: - - undefined - skip: true -ActionController::Base.view_cache_dependency: - types: - - undefined - skip: true -ActionController::Base.view_context_class: - types: - - undefined - skip: true -ActionController::Base.view_paths: - types: - - undefined - skip: true -ActionController::Base.view_paths=: - types: - - undefined - skip: true -ActionController::Base.with_options: - types: - - undefined - skip: false -ActionController::Base.without_modules: - types: - - undefined - skip: false -ActionController::Base.wrap_parameters: - types: - - undefined - skip: true -ActionController::Base#`: - types: - - undefined - skip: false -ActionController::Base#action_has_layout?: - types: - - undefined - skip: true -ActionController::Base#action_methods: - types: - - undefined - skip: false -ActionController::Base#action_name: - types: - - undefined - skip: false -ActionController::Base#action_name=: - types: - - undefined - skip: true -ActionController::Base#acts_like?: - types: - - undefined - skip: false -ActionController::Base#after_sign_in_path_for: - types: - - undefined - skip: true -ActionController::Base#after_sign_out_path_for: - types: - - undefined - skip: true -ActionController::Base#alert: - types: - - undefined - skip: true -ActionController::Base#allow_forgery_protection: - types: - - undefined - skip: true -ActionController::Base#allow_forgery_protection=: - types: - - undefined - skip: true -ActionController::Base#allow_params_authentication!: - types: - - undefined - skip: true -ActionController::Base#any_templates?: - types: - - undefined - skip: true -ActionController::Base#append_view_path: - types: - - undefined - skip: false -ActionController::Base#as_json: - types: - - undefined - skip: false -ActionController::Base#asset_host: - types: - - undefined - skip: true -ActionController::Base#asset_host=: - types: - - undefined - skip: true -ActionController::Base#assets_dir: - types: - - undefined - skip: true -ActionController::Base#assets_dir=: - types: - - undefined - skip: true -ActionController::Base#authenticate_or_request_with_http_basic: - types: - - undefined - skip: true -ActionController::Base#authenticate_or_request_with_http_digest: - types: - - undefined - skip: true -ActionController::Base#authenticate_or_request_with_http_token: - types: - - undefined - skip: true -ActionController::Base#authenticate_with_http_basic: - types: - - undefined - skip: true -ActionController::Base#authenticate_with_http_digest: - types: - - undefined - skip: true -ActionController::Base#authenticate_with_http_token: - types: - - undefined - skip: true -ActionController::Base#available_action?: - types: - - undefined - skip: false -ActionController::Base#benchmark: - types: - - undefined - skip: true -ActionController::Base#blank?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base#bypass_sign_in: - types: - - undefined - skip: true -ActionController::Base#cache_store: - types: - - undefined - skip: true -ActionController::Base#cache_store=: - types: - - undefined - skip: true -ActionController::Base#class_eval: - types: - - undefined - skip: false -ActionController::Base#combined_fragment_cache_key: - types: - - undefined - skip: true -ActionController::Base#config: - types: - - undefined - skip: false -ActionController::Base#content_type: - types: - - undefined - skip: true -ActionController::Base#content_type=: - types: - - undefined - skip: true -ActionController::Base#controller_name: - types: - - undefined - skip: false -ActionController::Base#controller_path: - types: - - undefined - skip: false -ActionController::Base#deep_dup: - types: - - undefined - skip: false -ActionController::Base#default_asset_host_protocol: - types: - - undefined - skip: true -ActionController::Base#default_asset_host_protocol=: - types: - - undefined - skip: true -ActionController::Base#default_form_builder: - types: - - undefined - skip: true -ActionController::Base#default_protect_from_forgery: - types: - - undefined - skip: true -ActionController::Base#default_protect_from_forgery=: - types: - - undefined - skip: true -ActionController::Base#default_render: - types: - - undefined - skip: true -ActionController::Base#default_static_extension: - types: - - undefined - skip: true -ActionController::Base#default_static_extension=: - types: - - undefined - skip: true -ActionController::Base#default_url_options: - types: - - undefined - skip: true -ActionController::Base#default_url_options=: - types: - - undefined - skip: true -ActionController::Base#default_url_options?: - types: - - undefined - skip: true -ActionController::Base#details_for_lookup: - types: - - undefined - skip: false -ActionController::Base#devise_controller?: - types: - - undefined - skip: true -ActionController::Base#devise_parameter_sanitizer: - types: - - undefined - skip: true -ActionController::Base#dispatch: - types: - - undefined - skip: false -ActionController::Base#duplicable?: - types: - - undefined - skip: false -ActionController::Base#edit_polymorphic_path: - types: - - undefined - skip: true -ActionController::Base#edit_polymorphic_url: - types: - - undefined - skip: true -ActionController::Base#enable_fragment_cache_logging: - types: - - undefined - skip: true -ActionController::Base#enable_fragment_cache_logging=: - types: - - undefined - skip: true -ActionController::Base#etag_with_template_digest: - types: - - undefined - skip: true -ActionController::Base#etag_with_template_digest=: - types: - - undefined - skip: true -ActionController::Base#etag_with_template_digest?: - types: - - undefined - skip: true -ActionController::Base#etaggers: - types: - - undefined - skip: true -ActionController::Base#etaggers=: - types: - - undefined - skip: true -ActionController::Base#etaggers?: - types: - - undefined - skip: true -ActionController::Base#expire_fragment: - types: - - undefined - skip: true -ActionController::Base#expires_in: - types: - - undefined - skip: true -ActionController::Base#expires_now: - types: - - undefined - skip: true -ActionController::Base#flash: - types: - - ActionDispatch::Flash::FlashHash - skip: false -ActionController::Base#force_ssl_redirect: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_origin_check: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_origin_check=: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_strategy: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_strategy=: - types: - - undefined - skip: true -ActionController::Base#formats: - types: - - undefined - skip: false -ActionController::Base#formats=: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_key: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_keys: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_keys=: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_keys?: - types: - - undefined - skip: true -ActionController::Base#fragment_exist?: - types: - - undefined - skip: true -ActionController::Base#fresh_when: - types: - - undefined - skip: true -ActionController::Base#full_url_for: - types: - - undefined - skip: false -ActionController::Base#gem: - types: - - undefined - skip: true -ActionController::Base#handle_unverified_request: - types: - - undefined - skip: true -ActionController::Base#handler_for_rescue: - types: - - undefined - skip: true -ActionController::Base#head: - types: - - undefined - skip: true -ActionController::Base#headers: - types: - - undefined - skip: true -ActionController::Base#helpers: - types: - - undefined - skip: true -ActionController::Base#helpers_path: - types: - - undefined - skip: true -ActionController::Base#helpers_path=: - types: - - undefined - skip: true -ActionController::Base#helpers_path?: - types: - - undefined - skip: true -ActionController::Base#html_safe?: - types: - - undefined - skip: false -ActionController::Base#http_cache_forever: - types: - - undefined - skip: true -ActionController::Base#in?: - types: - - undefined - skip: false -ActionController::Base#include_all_helpers: - types: - - undefined - skip: true -ActionController::Base#include_all_helpers=: - types: - - undefined - skip: true -ActionController::Base#include_all_helpers?: - types: - - undefined - skip: true -ActionController::Base#instance_values: - types: - - undefined - skip: false -ActionController::Base#instance_variable_names: - types: - - undefined - skip: false -ActionController::Base#instrument_fragment_cache: - types: - - undefined - skip: true -ActionController::Base#is_flashing_format?: - types: - - undefined - skip: true -ActionController::Base#is_navigational_format?: - types: - - undefined - skip: true -ActionController::Base#javascripts_dir: - types: - - undefined - skip: true -ActionController::Base#javascripts_dir=: - types: - - undefined - skip: true -ActionController::Base#l: - types: - - undefined - skip: true -ActionController::Base#load_dependency: - types: - - undefined - skip: true -ActionController::Base#locale: - types: - - undefined - skip: true -ActionController::Base#locale=: - types: - - undefined - skip: true -ActionController::Base#localize: - types: - - undefined - skip: true -ActionController::Base#location: - types: - - undefined - skip: true -ActionController::Base#location=: - types: - - undefined - skip: true -ActionController::Base#log_warning_on_csrf_failure: - types: - - undefined - skip: true -ActionController::Base#log_warning_on_csrf_failure=: - types: - - undefined - skip: true -ActionController::Base#logger: - types: - - undefined - skip: true -ActionController::Base#logger=: - types: - - undefined - skip: true -ActionController::Base#lookup_context: - types: - - undefined - skip: false -ActionController::Base#main_app: - types: - - undefined - skip: true -ActionController::Base#method_for_action: - types: - - undefined - skip: false -ActionController::Base#middleware_stack: - types: - - undefined - skip: true -ActionController::Base#middleware_stack=: - types: - - undefined - skip: true -ActionController::Base#middleware_stack?: - types: - - undefined - skip: true -ActionController::Base#mimes_for_respond_to: - types: - - undefined - skip: true -ActionController::Base#mimes_for_respond_to=: - types: - - undefined - skip: true -ActionController::Base#mimes_for_respond_to?: - types: - - undefined - skip: true -ActionController::Base#new_polymorphic_path: - types: - - undefined - skip: true -ActionController::Base#new_polymorphic_url: - types: - - undefined - skip: true -ActionController::Base#notice: - types: - - undefined - skip: true -ActionController::Base#params: - types: - - ActionController::Parameters - skip: false -ActionController::Base#params=: - types: - - undefined - skip: false -ActionController::Base#per_form_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base#per_form_csrf_tokens=: - types: - - undefined - skip: true -ActionController::Base#perform_caching: - types: - - undefined - skip: true -ActionController::Base#perform_caching=: - types: - - undefined - skip: true -ActionController::Base#performed?: - types: - - undefined - skip: false -ActionController::Base#polymorphic_path: - types: - - undefined - skip: false -ActionController::Base#polymorphic_url: - types: - - undefined - skip: false -ActionController::Base#prepend_view_path: - types: - - undefined - skip: false -ActionController::Base#presence: - types: - - Object - skip: false -ActionController::Base#presence_in: - types: - - Object - skip: false -ActionController::Base#present?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base#process: - types: - - undefined - skip: false -ActionController::Base#pry: - types: - - undefined - skip: false -ActionController::Base#read_fragment: - types: - - undefined - skip: true -ActionController::Base#redirect_back: - types: - - undefined - skip: false -ActionController::Base#redirect_to: - types: - - undefined - skip: false -ActionController::Base#relative_url_root: - types: - - undefined - skip: true -ActionController::Base#relative_url_root=: - types: - - undefined - skip: true -ActionController::Base#render: - types: - - undefined - skip: false -ActionController::Base#render_to_body: - types: - - undefined - skip: false -ActionController::Base#render_to_string: - types: - - undefined - skip: false -ActionController::Base#rendered_format: - types: - - undefined - skip: false -ActionController::Base#request: - types: - - ActionDispatch::Request - skip: false -ActionController::Base#request=: - types: - - undefined - skip: true -ActionController::Base#request_forgery_protection_token: - types: - - undefined - skip: true -ActionController::Base#request_forgery_protection_token=: - types: - - undefined - skip: true -ActionController::Base#request_format: - types: - - undefined - skip: true -ActionController::Base#request_http_basic_authentication: - types: - - undefined - skip: true -ActionController::Base#request_http_digest_authentication: - types: - - undefined - skip: true -ActionController::Base#request_http_token_authentication: - types: - - undefined - skip: true -ActionController::Base#require_dependency: - types: - - undefined - skip: true -ActionController::Base#require_or_load: - types: - - undefined - skip: true -ActionController::Base#rescue_handlers: - types: - - undefined - skip: true -ActionController::Base#rescue_handlers=: - types: - - undefined - skip: true -ActionController::Base#rescue_handlers?: - types: - - undefined - skip: true -ActionController::Base#rescue_with_handler: - types: - - undefined - skip: true -ActionController::Base#reset_session: - types: - - undefined - skip: false -ActionController::Base#respond_to: - types: - - undefined - skip: false -ActionController::Base#respond_with: - types: - - undefined - skip: true -ActionController::Base#responder: - types: - - undefined - skip: true -ActionController::Base#responder=: - types: - - undefined - skip: true -ActionController::Base#responder?: - types: - - undefined - skip: true -ActionController::Base#response: - types: - - ActionDispatch::Response - skip: false -ActionController::Base#response=: - types: - - undefined - skip: true -ActionController::Base#response_body: - types: - - undefined - skip: false -ActionController::Base#response_body=: - types: - - undefined - skip: false -ActionController::Base#response_code: - types: - - undefined - skip: false -ActionController::Base#route_for: - types: - - undefined - skip: false -ActionController::Base#run_callbacks: - types: - - undefined - skip: true -ActionController::Base#send_action: - types: - - undefined - skip: false -ActionController::Base#send_data: - types: - - undefined - skip: true -ActionController::Base#send_file: - types: - - undefined - skip: true -ActionController::Base#session: - types: - - ActionDispatch::Request::Session - skip: false -ActionController::Base#set_request!: - types: - - undefined - skip: false -ActionController::Base#set_response!: - types: - - undefined - skip: false -ActionController::Base#show_detailed_exceptions?: - types: - - undefined - skip: true -ActionController::Base#sign_in: - types: - - undefined - skip: true -ActionController::Base#sign_in_and_redirect: - types: - - undefined - skip: true -ActionController::Base#sign_out: - types: - - undefined - skip: true -ActionController::Base#sign_out_all_scopes: - types: - - undefined - skip: true -ActionController::Base#sign_out_and_redirect: - types: - - undefined - skip: true -ActionController::Base#signed_in?: - types: - - undefined - skip: true -ActionController::Base#signed_in_root_path: - types: - - undefined - skip: true -ActionController::Base#stale?: - types: - - undefined - skip: true -ActionController::Base#status: - types: - - undefined - skip: true -ActionController::Base#status=: - types: - - undefined - skip: true -ActionController::Base#store_location_for: - types: - - undefined - skip: true -ActionController::Base#stored_location_for: - types: - - undefined - skip: true -ActionController::Base#stylesheets_dir: - types: - - undefined - skip: true -ActionController::Base#stylesheets_dir=: - types: - - undefined - skip: true -ActionController::Base#t: - types: - - undefined - skip: true -ActionController::Base#template_exists?: - types: - - undefined - skip: true -ActionController::Base#to_a: - types: - - undefined - skip: false -ActionController::Base#to_json: - types: - - undefined - skip: true -ActionController::Base#to_param: - types: - - undefined - skip: false -ActionController::Base#to_query: - types: - - undefined - skip: false -ActionController::Base#translate: - types: - - undefined - skip: true -ActionController::Base#try: - types: - - undefined - skip: false -ActionController::Base#try!: - types: - - undefined - skip: false -ActionController::Base#unloadable: - types: - - undefined - skip: true -ActionController::Base#url_for: - types: - - undefined - skip: false -ActionController::Base#url_options: - types: - - undefined - skip: false -ActionController::Base#urlsafe_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base#view_assigns: - types: - - undefined - skip: false -ActionController::Base#view_cache_dependencies: - types: - - undefined - skip: true -ActionController::Base#view_context: - types: - - undefined - skip: true -ActionController::Base#view_context_class: - types: - - undefined - skip: true -ActionController::Base#view_paths: - types: - - undefined - skip: true -ActionController::Base#view_renderer: - types: - - undefined - skip: true -ActionController::Base#warden: - types: - - undefined - skip: true -ActionController::Base#with_options: - types: - - undefined - skip: false -ActionController::Base#write_fragment: - types: - - undefined - skip: true diff --git a/spec/definitions/rails5/activejob.yml b/spec/definitions/rails5/activejob.yml deleted file mode 100644 index 0306ad9..0000000 --- a/spec/definitions/rails5/activejob.yml +++ /dev/null @@ -1,693 +0,0 @@ ---- -ActiveJob::Base.`: - types: - - undefined - skip: false -ActiveJob::Base.acts_like?: - types: - - undefined - skip: false -ActiveJob::Base.after_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.after_perform: - types: - - undefined - skip: true -ActiveJob::Base.alias_attribute: - types: - - undefined - skip: false -ActiveJob::Base.anonymous?: - types: - - undefined - skip: false -ActiveJob::Base.around_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.around_perform: - types: - - undefined - skip: true -ActiveJob::Base.as_json: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal_accessor: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal_reader: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal_writer: - types: - - undefined - skip: false -ActiveJob::Base.before_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.before_perform: - types: - - undefined - skip: true -ActiveJob::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base.cattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.cattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.cattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.class_attribute: - types: - - undefined - skip: false -ActiveJob::Base.concern: - types: - - undefined - skip: false -ActiveJob::Base.concerning: - types: - - undefined - skip: false -ActiveJob::Base.const_missing: - types: - - undefined - skip: false -ActiveJob::Base.deep_dup: - types: - - undefined - skip: false -ActiveJob::Base.default_priority: - types: - - undefined - skip: true -ActiveJob::Base.default_priority=: - types: - - undefined - skip: true -ActiveJob::Base.default_queue_name: - types: - - undefined - skip: true -ActiveJob::Base.default_queue_name=: - types: - - undefined - skip: true -ActiveJob::Base.define_callbacks: - types: - - undefined - skip: true -ActiveJob::Base.delegate: - types: - - undefined - skip: false -ActiveJob::Base.delegate_missing_to: - types: - - undefined - skip: false -ActiveJob::Base.deprecate: - types: - - undefined - skip: false -ActiveJob::Base.descendants: - types: - - undefined - skip: true -ActiveJob::Base.deserialize: - types: - - undefined - skip: true -ActiveJob::Base.direct_descendants: - types: - - undefined - skip: true -ActiveJob::Base.discard_on: - types: - - undefined - skip: true -ActiveJob::Base.duplicable?: - types: - - undefined - skip: false -ActiveJob::Base.execute: - types: - - undefined - skip: true -ActiveJob::Base.gem: - types: - - undefined - skip: true -ActiveJob::Base.guess_for_anonymous: - types: - - undefined - skip: true -ActiveJob::Base.handler_for_rescue: - types: - - undefined - skip: true -ActiveJob::Base.html_safe?: - types: - - undefined - skip: false -ActiveJob::Base.in?: - types: - - undefined - skip: false -ActiveJob::Base.inherited: - types: - - undefined - skip: false -ActiveJob::Base.instance_values: - types: - - undefined - skip: false -ActiveJob::Base.instance_variable_names: - types: - - undefined - skip: false -ActiveJob::Base.load_dependency: - types: - - undefined - skip: true -ActiveJob::Base.logger: - types: - - undefined - skip: true -ActiveJob::Base.logger=: - types: - - undefined - skip: true -ActiveJob::Base.mattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.mattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.mattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.method_visibility: - types: - - undefined - skip: false -ActiveJob::Base.normalize_callback_params: - types: - - undefined - skip: true -ActiveJob::Base.parent: - types: - - undefined - skip: true -ActiveJob::Base.parent_name: - types: - - undefined - skip: true -ActiveJob::Base.parents: - types: - - undefined - skip: true -ActiveJob::Base.perform_later: - types: - - undefined - skip: true -ActiveJob::Base.perform_now: - types: - - undefined - skip: true -ActiveJob::Base.presence: - types: - - Object - skip: false -ActiveJob::Base.presence_in: - types: - - Object - skip: false -ActiveJob::Base.present?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base.priority: - types: - - undefined - skip: true -ActiveJob::Base.priority=: - types: - - undefined - skip: true -ActiveJob::Base.priority?: - types: - - undefined - skip: true -ActiveJob::Base.pry: - types: - - undefined - skip: false -ActiveJob::Base.queue_adapter: - types: - - undefined - skip: true -ActiveJob::Base.queue_adapter=: - types: - - undefined - skip: true -ActiveJob::Base.queue_adapter_name: - types: - - undefined - skip: true -ActiveJob::Base.queue_as: - types: - - undefined - skip: true -ActiveJob::Base.queue_name: - types: - - undefined - skip: true -ActiveJob::Base.queue_name=: - types: - - undefined - skip: true -ActiveJob::Base.queue_name?: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_delimiter: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_delimiter=: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_delimiter?: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_from_part: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_prefix: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_prefix=: - types: - - undefined - skip: true -ActiveJob::Base.queue_with_priority: - types: - - undefined - skip: true -ActiveJob::Base.rake_extension: - types: - - undefined - skip: false -ActiveJob::Base.reachable?: - types: - - undefined - skip: true -ActiveJob::Base.reachable_with_deprecation?: - types: - - undefined - skip: true -ActiveJob::Base.reachable_without_deprecation?: - types: - - undefined - skip: true -ActiveJob::Base.redefine_method: - types: - - undefined - skip: false -ActiveJob::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActiveJob::Base.remove_possible_method: - types: - - undefined - skip: false -ActiveJob::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActiveJob::Base.require_dependency: - types: - - undefined - skip: true -ActiveJob::Base.require_or_load: - types: - - undefined - skip: true -ActiveJob::Base.rescue_from: - types: - - undefined - skip: true -ActiveJob::Base.rescue_handlers: - types: - - undefined - skip: true -ActiveJob::Base.rescue_handlers=: - types: - - undefined - skip: true -ActiveJob::Base.rescue_handlers?: - types: - - undefined - skip: true -ActiveJob::Base.rescue_with_handler: - types: - - undefined - skip: true -ActiveJob::Base.reset_callbacks: - types: - - undefined - skip: true -ActiveJob::Base.retry_on: - types: - - undefined - skip: true -ActiveJob::Base.set: - types: - - undefined - skip: true -ActiveJob::Base.set_callback: - types: - - undefined - skip: true -ActiveJob::Base.silence_redefinition_of_method: - types: - - undefined - skip: false -ActiveJob::Base.skip_callback: - types: - - undefined - skip: true -ActiveJob::Base.subclasses: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.to_json: - types: - - undefined - skip: true -ActiveJob::Base.to_param: - types: - - undefined - skip: false -ActiveJob::Base.to_query: - types: - - undefined - skip: false -ActiveJob::Base.try: - types: - - undefined - skip: false -ActiveJob::Base.try!: - types: - - undefined - skip: false -ActiveJob::Base.unloadable: - types: - - undefined - skip: true -ActiveJob::Base.with_options: - types: - - undefined - skip: false -ActiveJob::Base#`: - types: - - undefined - skip: false -ActiveJob::Base#acts_like?: - types: - - undefined - skip: false -ActiveJob::Base#arguments: - types: - - undefined - skip: true -ActiveJob::Base#arguments=: - types: - - undefined - skip: true -ActiveJob::Base#as_json: - types: - - undefined - skip: false -ActiveJob::Base#blank?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base#class_eval: - types: - - undefined - skip: false -ActiveJob::Base#deep_dup: - types: - - undefined - skip: false -ActiveJob::Base#deserialize: - types: - - undefined - skip: false -ActiveJob::Base#duplicable?: - types: - - undefined - skip: false -ActiveJob::Base#enqueue: - types: - - undefined - skip: false -ActiveJob::Base#executions: - types: - - undefined - skip: true -ActiveJob::Base#executions=: - types: - - undefined - skip: true -ActiveJob::Base#gem: - types: - - undefined - skip: true -ActiveJob::Base#handler_for_rescue: - types: - - undefined - skip: false -ActiveJob::Base#html_safe?: - types: - - undefined - skip: false -ActiveJob::Base#in?: - types: - - undefined - skip: false -ActiveJob::Base#instance_values: - types: - - undefined - skip: false -ActiveJob::Base#instance_variable_names: - types: - - undefined - skip: false -ActiveJob::Base#job_id: - types: - - undefined - skip: true -ActiveJob::Base#job_id=: - types: - - undefined - skip: true -ActiveJob::Base#load_dependency: - types: - - undefined - skip: true -ActiveJob::Base#locale: - types: - - undefined - skip: true -ActiveJob::Base#locale=: - types: - - undefined - skip: true -ActiveJob::Base#logger: - types: - - undefined - skip: true -ActiveJob::Base#logger=: - types: - - undefined - skip: true -ActiveJob::Base#perform: - types: - - undefined - skip: false -ActiveJob::Base#perform_now: - types: - - undefined - skip: false -ActiveJob::Base#presence: - types: - - Object - skip: false -ActiveJob::Base#presence_in: - types: - - Object - skip: false -ActiveJob::Base#present?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base#priority: - types: - - undefined - skip: false -ActiveJob::Base#priority=: - types: - - undefined - skip: true -ActiveJob::Base#provider_job_id: - types: - - undefined - skip: true -ActiveJob::Base#provider_job_id=: - types: - - undefined - skip: true -ActiveJob::Base#pry: - types: - - undefined - skip: false -ActiveJob::Base#queue_name: - types: - - undefined - skip: false -ActiveJob::Base#queue_name=: - types: - - undefined - skip: true -ActiveJob::Base#require_dependency: - types: - - undefined - skip: true -ActiveJob::Base#require_or_load: - types: - - undefined - skip: true -ActiveJob::Base#rescue_handlers: - types: - - undefined - skip: true -ActiveJob::Base#rescue_handlers=: - types: - - undefined - skip: true -ActiveJob::Base#rescue_handlers?: - types: - - undefined - skip: true -ActiveJob::Base#rescue_with_handler: - types: - - undefined - skip: false -ActiveJob::Base#retry_job: - types: - - undefined - skip: false -ActiveJob::Base#run_callbacks: - types: - - undefined - skip: false -ActiveJob::Base#scheduled_at: - types: - - undefined - skip: true -ActiveJob::Base#scheduled_at=: - types: - - undefined - skip: true -ActiveJob::Base#serialize: - types: - - undefined - skip: false -ActiveJob::Base#serialized_arguments=: - types: - - undefined - skip: true -ActiveJob::Base#to_json: - types: - - undefined - skip: true -ActiveJob::Base#to_param: - types: - - undefined - skip: false -ActiveJob::Base#to_query: - types: - - undefined - skip: false -ActiveJob::Base#try: - types: - - undefined - skip: false -ActiveJob::Base#try!: - types: - - undefined - skip: false -ActiveJob::Base#unloadable: - types: - - undefined - skip: true -ActiveJob::Base#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/activerecord.yml b/spec/definitions/rails5/activerecord.yml deleted file mode 100644 index 1e3940a..0000000 --- a/spec/definitions/rails5/activerecord.yml +++ /dev/null @@ -1,2761 +0,0 @@ ---- -ActiveRecord::Base.===: - types: - - undefined - skip: false -ActiveRecord::Base.`: - types: - - undefined - skip: false -ActiveRecord::Base.abstract_class: - types: - - undefined - skip: false -ActiveRecord::Base.abstract_class=: - types: - - undefined - skip: false -ActiveRecord::Base.abstract_class?: - types: - - undefined - skip: false -ActiveRecord::Base.accepts_nested_attributes_for: - types: - - undefined - skip: true -ActiveRecord::Base.acts_like?: - types: - - undefined - skip: false -ActiveRecord::Base.after_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_commit_without_transaction_enrollment: - types: - - undefined - skip: false -ActiveRecord::Base.after_create: - types: - - undefined - skip: true -ActiveRecord::Base.after_create_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_destroy: - types: - - undefined - skip: true -ActiveRecord::Base.after_destroy_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_find: - types: - - undefined - skip: true -ActiveRecord::Base.after_initialize: - types: - - undefined - skip: true -ActiveRecord::Base.after_rollback: - types: - - undefined - skip: false -ActiveRecord::Base.after_rollback_without_transaction_enrollment: - types: - - undefined - skip: false -ActiveRecord::Base.after_save: - types: - - undefined - skip: true -ActiveRecord::Base.after_touch: - types: - - undefined - skip: true -ActiveRecord::Base.after_update: - types: - - undefined - skip: true -ActiveRecord::Base.after_update_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_validation: - types: - - undefined - skip: true -ActiveRecord::Base.aggregate_reflections: - types: - - undefined - skip: true -ActiveRecord::Base.aggregate_reflections=: - types: - - undefined - skip: true -ActiveRecord::Base.aggregate_reflections?: - types: - - undefined - skip: true -ActiveRecord::Base.alias_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.all: - types: - - undefined - skip: false -ActiveRecord::Base.allocate: - types: - - self - skip: false -ActiveRecord::Base.allow_unsafe_raw_sql: - types: - - undefined - skip: true -ActiveRecord::Base.allow_unsafe_raw_sql=: - types: - - undefined - skip: true -ActiveRecord::Base.anonymous?: - types: - - undefined - skip: false -ActiveRecord::Base.any?: - types: - - undefined - skip: true -ActiveRecord::Base.arel_attribute: - types: - - undefined - skip: true -ActiveRecord::Base.arel_table: - types: - - undefined - skip: true -ActiveRecord::Base.around_create: - types: - - undefined - skip: true -ActiveRecord::Base.around_destroy: - types: - - undefined - skip: true -ActiveRecord::Base.around_save: - types: - - undefined - skip: true -ActiveRecord::Base.around_update: - types: - - undefined - skip: true -ActiveRecord::Base.as_json: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal_reader: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal_writer: - types: - - undefined - skip: false -ActiveRecord::Base.attr_readonly: - types: - - undefined - skip: true -ActiveRecord::Base.attribute: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_alias: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_alias?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_aliases: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_aliases=: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_aliases?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_affix: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_matchers: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_matchers=: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_matchers?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_prefix: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_suffix: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_names: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_type_decorations: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_type_decorations=: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_type_decorations?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_types: - types: - - undefined - skip: false -ActiveRecord::Base.attributes_builder: - types: - - undefined - skip: false -ActiveRecord::Base.attributes_to_define_after_schema_loads: - types: - - undefined - skip: true -ActiveRecord::Base.attributes_to_define_after_schema_loads=: - types: - - undefined - skip: true -ActiveRecord::Base.attributes_to_define_after_schema_loads?: - types: - - undefined - skip: true -ActiveRecord::Base.average: - types: - - undefined - skip: true -ActiveRecord::Base.base_class: - types: - - undefined - skip: false -ActiveRecord::Base.before_commit: - types: - - undefined - skip: false -ActiveRecord::Base.before_commit_without_transaction_enrollment: - types: - - undefined - skip: false -ActiveRecord::Base.before_create: - types: - - undefined - skip: true -ActiveRecord::Base.before_destroy: - types: - - undefined - skip: true -ActiveRecord::Base.before_remove_const: - types: - - undefined - skip: true -ActiveRecord::Base.before_save: - types: - - undefined - skip: true -ActiveRecord::Base.before_update: - types: - - undefined - skip: true -ActiveRecord::Base.before_validation: - types: - - undefined - skip: true -ActiveRecord::Base.belongs_to: - types: - - undefined - skip: false -ActiveRecord::Base.belongs_to_required_by_default: - types: - - undefined - skip: true -ActiveRecord::Base.belongs_to_required_by_default=: - types: - - undefined - skip: true -ActiveRecord::Base.benchmark: - types: - - undefined - skip: false -ActiveRecord::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActiveRecord::Base.cache: - types: - - undefined - skip: false -ActiveRecord::Base.cache_timestamp_format: - types: - - undefined - skip: true -ActiveRecord::Base.cache_timestamp_format=: - types: - - undefined - skip: true -ActiveRecord::Base.cache_timestamp_format?: - types: - - undefined - skip: true -ActiveRecord::Base.cache_versioning: - types: - - undefined - skip: true -ActiveRecord::Base.cache_versioning=: - types: - - undefined - skip: true -ActiveRecord::Base.cache_versioning?: - types: - - undefined - skip: true -ActiveRecord::Base.calculate: - types: - - undefined - skip: true -ActiveRecord::Base.cattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.cattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.cattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.class_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.class_method_defined_within?: - types: - - undefined - skip: true -ActiveRecord::Base.clear_active_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.clear_all_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.clear_cache!: - types: - - undefined - skip: false -ActiveRecord::Base.clear_reflections_cache: - types: - - undefined - skip: true -ActiveRecord::Base.clear_reloadable_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.clear_validators!: - types: - - undefined - skip: true -ActiveRecord::Base.collecting_queries_for_explain: - types: - - undefined - skip: false -ActiveRecord::Base.collection_cache_key: - types: - - undefined - skip: false -ActiveRecord::Base.column_defaults: - types: - - undefined - skip: false -ActiveRecord::Base.column_for_attribute: - types: - - undefined - skip: true -ActiveRecord::Base.column_names: - types: - - undefined - skip: false -ActiveRecord::Base.columns: - types: - - undefined - skip: false -ActiveRecord::Base.columns_hash: - types: - - undefined - skip: false -ActiveRecord::Base.composed_of: - types: - - undefined - skip: true -ActiveRecord::Base.concern: - types: - - undefined - skip: false -ActiveRecord::Base.concerning: - types: - - undefined - skip: false -ActiveRecord::Base.configurations: - types: - - undefined - skip: true -ActiveRecord::Base.configurations=: - types: - - undefined - skip: true -ActiveRecord::Base.connected?: - types: - - undefined - skip: false -ActiveRecord::Base.connection: - types: - - undefined - skip: false -ActiveRecord::Base.connection_config: - types: - - undefined - skip: false -ActiveRecord::Base.connection_handler: - types: - - undefined - skip: true -ActiveRecord::Base.connection_handler=: - types: - - undefined - skip: true -ActiveRecord::Base.connection_pool: - types: - - undefined - skip: false -ActiveRecord::Base.connection_specification_name: - types: - - undefined - skip: false -ActiveRecord::Base.connection_specification_name=: - types: - - undefined - skip: false -ActiveRecord::Base.const_missing: - types: - - undefined - skip: false -ActiveRecord::Base.content_columns: - types: - - undefined - skip: false -ActiveRecord::Base.count: - types: - - undefined - skip: true -ActiveRecord::Base.count_by_sql: - types: - - undefined - skip: false -ActiveRecord::Base.create: - types: - - undefined - skip: true -ActiveRecord::Base.create!: - types: - - undefined - skip: true -ActiveRecord::Base.create_with: - types: - - undefined - skip: false -ActiveRecord::Base.current_scope: - types: - - undefined - skip: true -ActiveRecord::Base.current_scope=: - types: - - undefined - skip: true -ActiveRecord::Base.dangerous_attribute_method?: - types: - - undefined - skip: true -ActiveRecord::Base.dangerous_class_method?: - types: - - undefined - skip: true -ActiveRecord::Base.decorate_attribute_type: - types: - - undefined - skip: true -ActiveRecord::Base.decorate_matching_attribute_types: - types: - - undefined - skip: true -ActiveRecord::Base.decrement_counter: - types: - - undefined - skip: true -ActiveRecord::Base.deep_dup: - types: - - undefined - skip: false -ActiveRecord::Base.default_connection_handler: - types: - - undefined - skip: true -ActiveRecord::Base.default_connection_handler=: - types: - - undefined - skip: true -ActiveRecord::Base.default_connection_handler?: - types: - - undefined - skip: true -ActiveRecord::Base.default_extensions: - types: - - undefined - skip: false -ActiveRecord::Base.default_scope_override: - types: - - undefined - skip: true -ActiveRecord::Base.default_scope_override=: - types: - - undefined - skip: true -ActiveRecord::Base.default_scoped: - types: - - undefined - skip: false -ActiveRecord::Base.default_scopes: - types: - - undefined - skip: true -ActiveRecord::Base.default_scopes=: - types: - - undefined - skip: true -ActiveRecord::Base.default_timezone: - types: - - undefined - skip: true -ActiveRecord::Base.default_timezone=: - types: - - undefined - skip: true -ActiveRecord::Base.define_attribute: - types: - - undefined - skip: true -ActiveRecord::Base.define_attribute_method: - types: - - undefined - skip: true -ActiveRecord::Base.define_attribute_methods: - types: - - undefined - skip: true -ActiveRecord::Base.define_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base.define_model_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base.defined_enums: - types: - - undefined - skip: true -ActiveRecord::Base.defined_enums=: - types: - - undefined - skip: true -ActiveRecord::Base.defined_enums?: - types: - - undefined - skip: true -ActiveRecord::Base.delegate: - types: - - undefined - skip: false -ActiveRecord::Base.delegate_missing_to: - types: - - undefined - skip: false -ActiveRecord::Base.delete: - types: - - undefined - skip: true -ActiveRecord::Base.delete_all: - types: - - undefined - skip: true -ActiveRecord::Base.deprecate: - types: - - undefined - skip: false -ActiveRecord::Base.descendants: - types: - - undefined - skip: false -ActiveRecord::Base.descends_from_active_record?: - types: - - undefined - skip: false -ActiveRecord::Base.destroy: - types: - - undefined - skip: true -ActiveRecord::Base.destroy_all: - types: - - undefined - skip: true -ActiveRecord::Base.direct_descendants: - types: - - undefined - skip: false -ActiveRecord::Base.distinct: - types: - - undefined - skip: false -ActiveRecord::Base.dump_schema_after_migration: - types: - - undefined - skip: true -ActiveRecord::Base.dump_schema_after_migration=: - types: - - undefined - skip: true -ActiveRecord::Base.dump_schemas: - types: - - undefined - skip: true -ActiveRecord::Base.dump_schemas=: - types: - - undefined - skip: true -ActiveRecord::Base.duplicable?: - types: - - undefined - skip: false -ActiveRecord::Base.eager_load: - types: - - undefined - skip: false -ActiveRecord::Base.enforce_raw_sql_whitelist: - types: - - undefined - skip: true -ActiveRecord::Base.enum: - types: - - undefined - skip: false -ActiveRecord::Base.error_on_ignored_order: - types: - - undefined - skip: true -ActiveRecord::Base.error_on_ignored_order=: - types: - - undefined - skip: true -ActiveRecord::Base.establish_connection: - types: - - undefined - skip: false -ActiveRecord::Base.except: - types: - - undefined - skip: true -ActiveRecord::Base.exec_explain: - types: - - undefined - skip: false -ActiveRecord::Base.exists?: - types: - - undefined - skip: false -ActiveRecord::Base.expand_hash_conditions_for_aggregates_with_deprecation: - types: - - undefined - skip: true -ActiveRecord::Base.extending: - types: - - undefined - skip: false -ActiveRecord::Base.fifth: - types: - - undefined - skip: false -ActiveRecord::Base.fifth!: - types: - - undefined - skip: false -ActiveRecord::Base.find: - types: - - self - - Array - skip: false -ActiveRecord::Base.find_by: - types: - - self - - nil - skip: false -ActiveRecord::Base.find_by!: - types: - - undefined - skip: false -ActiveRecord::Base.find_by_sql: - types: - - undefined - skip: false -ActiveRecord::Base.find_each: - types: - - undefined - skip: true -ActiveRecord::Base.find_in_batches: - types: - - undefined - skip: true -ActiveRecord::Base.find_or_create_by: - types: - - undefined - skip: true -ActiveRecord::Base.find_or_create_by!: - types: - - undefined - skip: true -ActiveRecord::Base.find_or_initialize_by: - types: - - undefined - skip: true -ActiveRecord::Base.finder_needs_type_condition?: - types: - - undefined - skip: false -ActiveRecord::Base.first: - types: - - undefined - skip: false -ActiveRecord::Base.first!: - types: - - undefined - skip: false -ActiveRecord::Base.first_or_create: - types: - - undefined - skip: true -ActiveRecord::Base.first_or_create!: - types: - - undefined - skip: true -ActiveRecord::Base.first_or_initialize: - types: - - undefined - skip: true -ActiveRecord::Base.flush_idle_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.forty_two: - types: - - undefined - skip: false -ActiveRecord::Base.forty_two!: - types: - - undefined - skip: false -ActiveRecord::Base.fourth: - types: - - undefined - skip: false -ActiveRecord::Base.fourth!: - types: - - undefined - skip: false -ActiveRecord::Base.from: - types: - - undefined - skip: false -ActiveRecord::Base.full_table_name_prefix: - types: - - undefined - skip: false -ActiveRecord::Base.full_table_name_suffix: - types: - - undefined - skip: false -ActiveRecord::Base.gem: - types: - - undefined - skip: true -ActiveRecord::Base.generate_unique_secure_token: - types: - - undefined - skip: true -ActiveRecord::Base.generated_association_methods: - types: - - undefined - skip: true -ActiveRecord::Base.get_primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.group: - types: - - undefined - skip: false -ActiveRecord::Base.guess_for_anonymous: - types: - - undefined - skip: true -ActiveRecord::Base.has_and_belongs_to_many: - types: - - undefined - skip: false -ActiveRecord::Base.has_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base.has_many: - types: - - undefined - skip: false -ActiveRecord::Base.has_many_attached: - types: - - undefined - skip: true -ActiveRecord::Base.has_one: - types: - - undefined - skip: false -ActiveRecord::Base.has_one_attached: - types: - - undefined - skip: true -ActiveRecord::Base.has_secure_password: - types: - - undefined - skip: true -ActiveRecord::Base.has_secure_token: - types: - - undefined - skip: true -ActiveRecord::Base.having: - types: - - undefined - skip: false -ActiveRecord::Base.html_safe?: - types: - - undefined - skip: false -ActiveRecord::Base.human_attribute_name: - types: - - undefined - skip: false -ActiveRecord::Base.i18n_scope: - types: - - undefined - skip: false -ActiveRecord::Base.ids: - types: - - undefined - skip: true -ActiveRecord::Base.ignored_columns: - types: - - undefined - skip: false -ActiveRecord::Base.ignored_columns=: - types: - - undefined - skip: false -ActiveRecord::Base.in?: - types: - - undefined - skip: false -ActiveRecord::Base.in_batches: - types: - - undefined - skip: true -ActiveRecord::Base.include_root_in_json: - types: - - undefined - skip: true -ActiveRecord::Base.include_root_in_json=: - types: - - undefined - skip: true -ActiveRecord::Base.include_root_in_json?: - types: - - undefined - skip: true -ActiveRecord::Base.includes: - types: - - undefined - skip: false -ActiveRecord::Base.increment_counter: - types: - - undefined - skip: true -ActiveRecord::Base.index_nested_attribute_errors: - types: - - undefined - skip: true -ActiveRecord::Base.index_nested_attribute_errors=: - types: - - undefined - skip: true -ActiveRecord::Base.inheritance_column: - types: - - undefined - skip: false -ActiveRecord::Base.inheritance_column=: - types: - - undefined - skip: false -ActiveRecord::Base.initialize_find_by_cache: - types: - - undefined - skip: true -ActiveRecord::Base.initialize_generated_modules: - types: - - undefined - skip: true -ActiveRecord::Base.initialize_relation_delegate_cache: - types: - - undefined - skip: false -ActiveRecord::Base.inspect: - types: - - undefined - skip: false -ActiveRecord::Base.instance_method_already_implemented?: - types: - - undefined - skip: true -ActiveRecord::Base.instance_values: - types: - - undefined - skip: false -ActiveRecord::Base.instance_variable_names: - types: - - undefined - skip: false -ActiveRecord::Base.instantiate: - types: - - undefined - skip: true -ActiveRecord::Base.internal_metadata_table_name: - types: - - undefined - skip: true -ActiveRecord::Base.internal_metadata_table_name=: - types: - - undefined - skip: true -ActiveRecord::Base.internal_metadata_table_name?: - types: - - undefined - skip: true -ActiveRecord::Base.joins: - types: - - undefined - skip: false -ActiveRecord::Base.last: - types: - - undefined - skip: false -ActiveRecord::Base.last!: - types: - - undefined - skip: false -ActiveRecord::Base.left_joins: - types: - - undefined - skip: false -ActiveRecord::Base.left_outer_joins: - types: - - undefined - skip: false -ActiveRecord::Base.limit: - types: - - undefined - skip: false -ActiveRecord::Base.load_dependency: - types: - - undefined - skip: true -ActiveRecord::Base.local_stored_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.local_stored_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.lock: - types: - - undefined - skip: false -ActiveRecord::Base.lock_optimistically: - types: - - undefined - skip: true -ActiveRecord::Base.lock_optimistically=: - types: - - undefined - skip: true -ActiveRecord::Base.lock_optimistically?: - types: - - undefined - skip: true -ActiveRecord::Base.locking_column: - types: - - undefined - skip: true -ActiveRecord::Base.locking_column=: - types: - - undefined - skip: true -ActiveRecord::Base.locking_enabled?: - types: - - undefined - skip: true -ActiveRecord::Base.logger: - types: - - undefined - skip: true -ActiveRecord::Base.logger=: - types: - - undefined - skip: true -ActiveRecord::Base.lookup_ancestors: - types: - - undefined - skip: false -ActiveRecord::Base.maintain_test_schema: - types: - - undefined - skip: true -ActiveRecord::Base.maintain_test_schema=: - types: - - undefined - skip: true -ActiveRecord::Base.many?: - types: - - undefined - skip: true -ActiveRecord::Base.mattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.mattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.mattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.maximum: - types: - - undefined - skip: true -ActiveRecord::Base.merge: - types: - - undefined - skip: true -ActiveRecord::Base.method_defined_within?: - types: - - undefined - skip: true -ActiveRecord::Base.method_visibility: - types: - - undefined - skip: false -ActiveRecord::Base.minimum: - types: - - undefined - skip: true -ActiveRecord::Base.model_name: - types: - - undefined - skip: false -ActiveRecord::Base.nested_attributes_options: - types: - - undefined - skip: true -ActiveRecord::Base.nested_attributes_options=: - types: - - undefined - skip: true -ActiveRecord::Base.nested_attributes_options?: - types: - - undefined - skip: true -ActiveRecord::Base.new: - types: - - undefined - skip: false -ActiveRecord::Base.next_sequence_value: - types: - - undefined - skip: false -ActiveRecord::Base.no_touching: - types: - - undefined - skip: true -ActiveRecord::Base.none: - types: - - undefined - skip: false -ActiveRecord::Base.none?: - types: - - undefined - skip: true -ActiveRecord::Base.normalize_callback_params: - types: - - undefined - skip: true -ActiveRecord::Base.offset: - types: - - undefined - skip: false -ActiveRecord::Base.one?: - types: - - undefined - skip: true -ActiveRecord::Base.or: - types: - - undefined - skip: false -ActiveRecord::Base.order: - types: - - undefined - skip: false -ActiveRecord::Base.parent: - types: - - undefined - skip: true -ActiveRecord::Base.parent_name: - types: - - undefined - skip: true -ActiveRecord::Base.parents: - types: - - undefined - skip: true -ActiveRecord::Base.partial_writes: - types: - - undefined - skip: true -ActiveRecord::Base.partial_writes=: - types: - - undefined - skip: true -ActiveRecord::Base.partial_writes?: - types: - - undefined - skip: true -ActiveRecord::Base.pluck: - types: - - undefined - skip: true -ActiveRecord::Base.pluralize_table_names: - types: - - undefined - skip: true -ActiveRecord::Base.pluralize_table_names=: - types: - - undefined - skip: true -ActiveRecord::Base.pluralize_table_names?: - types: - - undefined - skip: true -ActiveRecord::Base.polymorphic_name: - types: - - undefined - skip: false -ActiveRecord::Base.predicate_builder: - types: - - undefined - skip: true -ActiveRecord::Base.prefetch_primary_key?: - types: - - undefined - skip: false -ActiveRecord::Base.preload: - types: - - undefined - skip: false -ActiveRecord::Base.presence: - types: - - Object - skip: false -ActiveRecord::Base.presence_in: - types: - - Object - skip: false -ActiveRecord::Base.present?: - types: - - 'true' - - 'false' - skip: false -ActiveRecord::Base.primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.primary_key=: - types: - - undefined - skip: true -ActiveRecord::Base.primary_key_prefix_type: - types: - - undefined - skip: true -ActiveRecord::Base.primary_key_prefix_type=: - types: - - undefined - skip: true -ActiveRecord::Base.protected_environments: - types: - - undefined - skip: false -ActiveRecord::Base.protected_environments=: - types: - - undefined - skip: false -ActiveRecord::Base.pry: - types: - - undefined - skip: false -ActiveRecord::Base.quoted_primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.quoted_table_name: - types: - - undefined - skip: false -ActiveRecord::Base.rake_extension: - types: - - undefined - skip: false -ActiveRecord::Base.reachable?: - types: - - undefined - skip: true -ActiveRecord::Base.reachable_with_deprecation?: - types: - - undefined - skip: true -ActiveRecord::Base.reachable_without_deprecation?: - types: - - undefined - skip: true -ActiveRecord::Base.readonly: - types: - - undefined - skip: false -ActiveRecord::Base.readonly_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.record_timestamps: - types: - - undefined - skip: true -ActiveRecord::Base.record_timestamps=: - types: - - undefined - skip: true -ActiveRecord::Base.record_timestamps?: - types: - - undefined - skip: true -ActiveRecord::Base.redefine_method: - types: - - undefined - skip: false -ActiveRecord::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActiveRecord::Base.references: - types: - - undefined - skip: false -ActiveRecord::Base.reflect_on_aggregation: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_aggregations: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_associations: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_autosave_associations: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_association: - types: - - undefined - skip: true -ActiveRecord::Base.reflections: - types: - - undefined - skip: true -ActiveRecord::Base.relation_delegate_class: - types: - - undefined - skip: false -ActiveRecord::Base.remove_connection: - types: - - undefined - skip: false -ActiveRecord::Base.remove_possible_method: - types: - - undefined - skip: false -ActiveRecord::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActiveRecord::Base.reorder: - types: - - undefined - skip: false -ActiveRecord::Base.require_dependency: - types: - - undefined - skip: true -ActiveRecord::Base.require_or_load: - types: - - undefined - skip: true -ActiveRecord::Base.reset_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base.reset_column_information: - types: - - undefined - skip: false -ActiveRecord::Base.reset_counters: - types: - - undefined - skip: true -ActiveRecord::Base.reset_locking_column: - types: - - undefined - skip: true -ActiveRecord::Base.reset_primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.reset_sequence_name: - types: - - undefined - skip: false -ActiveRecord::Base.reset_table_name: - types: - - undefined - skip: false -ActiveRecord::Base.retrieve_connection: - types: - - undefined - skip: false -ActiveRecord::Base.rewhere: - types: - - undefined - skip: false -ActiveRecord::Base.sanitize_sql: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_array: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_for_assignment: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_for_conditions: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_for_order: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_hash_for_assignment: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_like: - types: - - undefined - skip: true -ActiveRecord::Base.schema_format: - types: - - undefined - skip: true -ActiveRecord::Base.schema_format=: - types: - - undefined - skip: true -ActiveRecord::Base.schema_migrations_table_name: - types: - - undefined - skip: true -ActiveRecord::Base.schema_migrations_table_name=: - types: - - undefined - skip: true -ActiveRecord::Base.schema_migrations_table_name?: - types: - - undefined - skip: true -ActiveRecord::Base.scope: - types: - - undefined - skip: false -ActiveRecord::Base.scope_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.scope_attributes?: - types: - - undefined - skip: true -ActiveRecord::Base.scope_for_association: - types: - - undefined - skip: false -ActiveRecord::Base.second: - types: - - undefined - skip: false -ActiveRecord::Base.second!: - types: - - undefined - skip: false -ActiveRecord::Base.second_to_last: - types: - - undefined - skip: false -ActiveRecord::Base.second_to_last!: - types: - - undefined - skip: false -ActiveRecord::Base.select: - types: - - undefined - skip: false -ActiveRecord::Base.sequence_name: - types: - - undefined - skip: false -ActiveRecord::Base.sequence_name=: - types: - - undefined - skip: false -ActiveRecord::Base.serialize: - types: - - undefined - skip: true -ActiveRecord::Base.set_callback: - types: - - undefined - skip: true -ActiveRecord::Base.silence_redefinition_of_method: - types: - - undefined - skip: false -ActiveRecord::Base.skip_callback: - types: - - undefined - skip: true -ActiveRecord::Base.skip_time_zone_conversion_for_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.skip_time_zone_conversion_for_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.skip_time_zone_conversion_for_attributes?: - types: - - undefined - skip: true -ActiveRecord::Base.sqlite3_connection: - types: - - undefined - skip: false -ActiveRecord::Base.sti_name: - types: - - undefined - skip: false -ActiveRecord::Base.store: - types: - - undefined - skip: true -ActiveRecord::Base.store_accessor: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_sti_class: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_sti_class=: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_sti_class?: - types: - - undefined - skip: true -ActiveRecord::Base.stored_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.subclasses: - types: - - undefined - skip: false -ActiveRecord::Base.sum: - types: - - undefined - skip: true -ActiveRecord::Base.suppress: - types: - - undefined - skip: true -ActiveRecord::Base.table_exists?: - types: - - undefined - skip: false -ActiveRecord::Base.table_name: - types: - - undefined - skip: false -ActiveRecord::Base.table_name=: - types: - - undefined - skip: false -ActiveRecord::Base.table_name_prefix: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_prefix=: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_prefix?: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_suffix: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_suffix=: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_suffix?: - types: - - undefined - skip: true -ActiveRecord::Base.take: - types: - - undefined - skip: false -ActiveRecord::Base.take!: - types: - - undefined - skip: false -ActiveRecord::Base.third: - types: - - undefined - skip: false -ActiveRecord::Base.third!: - types: - - undefined - skip: false -ActiveRecord::Base.third_to_last: - types: - - undefined - skip: false -ActiveRecord::Base.third_to_last!: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.time_zone_aware_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_types: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_types=: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_types?: - types: - - undefined - skip: true -ActiveRecord::Base.timestamped_migrations: - types: - - undefined - skip: true -ActiveRecord::Base.timestamped_migrations=: - types: - - undefined - skip: true -ActiveRecord::Base.to_adapter: - types: - - undefined - skip: true -ActiveRecord::Base.to_json: - types: - - undefined - skip: true -ActiveRecord::Base.to_param: - types: - - undefined - skip: false -ActiveRecord::Base.to_query: - types: - - undefined - skip: false -ActiveRecord::Base.touch_attributes_with_time: - types: - - undefined - skip: true -ActiveRecord::Base.transaction: - types: - - undefined - skip: false -ActiveRecord::Base.try: - types: - - undefined - skip: false -ActiveRecord::Base.try!: - types: - - undefined - skip: false -ActiveRecord::Base.type_caster: - types: - - undefined - skip: true -ActiveRecord::Base.type_for_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.uncached: - types: - - undefined - skip: false -ActiveRecord::Base.undefine_attribute_methods: - types: - - undefined - skip: true -ActiveRecord::Base.unloadable: - types: - - undefined - skip: true -ActiveRecord::Base.unscope: - types: - - undefined - skip: false -ActiveRecord::Base.unscoped: - types: - - undefined - skip: true -ActiveRecord::Base.update: - types: - - undefined - skip: true -ActiveRecord::Base.update_all: - types: - - undefined - skip: true -ActiveRecord::Base.update_counters: - types: - - undefined - skip: true -ActiveRecord::Base.validate: - types: - - undefined - skip: true -ActiveRecord::Base.validates: - types: - - undefined - skip: true -ActiveRecord::Base.validates!: - types: - - undefined - skip: true -ActiveRecord::Base.validates_absence_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_acceptance_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_associated: - types: - - undefined - skip: true -ActiveRecord::Base.validates_confirmation_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_each: - types: - - undefined - skip: true -ActiveRecord::Base.validates_exclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_format_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_inclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_length_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_numericality_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_presence_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_size_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_uniqueness_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_with: - types: - - undefined - skip: true -ActiveRecord::Base.validators: - types: - - undefined - skip: true -ActiveRecord::Base.validators_on: - types: - - undefined - skip: true -ActiveRecord::Base.verbose_query_logs: - types: - - undefined - skip: true -ActiveRecord::Base.verbose_query_logs=: - types: - - undefined - skip: true -ActiveRecord::Base.warn_on_records_fetched_greater_than: - types: - - undefined - skip: true -ActiveRecord::Base.warn_on_records_fetched_greater_than=: - types: - - undefined - skip: true -ActiveRecord::Base.where: - types: - - self - - ActiveRecord::Relation - - ActiveRecord::QueryMethods::WhereChain - skip: false -ActiveRecord::Base.with_options: - types: - - undefined - skip: false -ActiveRecord::Base.yaml_encoder: - types: - - undefined - skip: false -ActiveRecord::Base#<=>: - types: - - undefined - skip: false -ActiveRecord::Base#==: - types: - - undefined - skip: false -ActiveRecord::Base#[]: - types: - - undefined - skip: false -ActiveRecord::Base#[]=: - types: - - undefined - skip: false -ActiveRecord::Base#`: - types: - - undefined - skip: false -ActiveRecord::Base#accessed_fields: - types: - - undefined - skip: false -ActiveRecord::Base#acts_like?: - types: - - undefined - skip: false -ActiveRecord::Base#add_to_transaction: - types: - - undefined - skip: false -ActiveRecord::Base#aggregate_reflections: - types: - - undefined - skip: true -ActiveRecord::Base#aggregate_reflections?: - types: - - undefined - skip: true -ActiveRecord::Base#allow_unsafe_raw_sql: - types: - - undefined - skip: true -ActiveRecord::Base#as_json: - types: - - undefined - skip: false -ActiveRecord::Base#assign_attributes: - types: - - undefined - skip: false -ActiveRecord::Base#association: - types: - - undefined - skip: false -ActiveRecord::Base#association_cached?: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_aliases: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_aliases?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_before_last_save: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_change_to_be_saved: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_changed?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_changed_in_place?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_for_inspect: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_in_database: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_method_matchers: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_method_matchers?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_missing: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_names: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_present?: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_previously_changed?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_was: - types: - - undefined - skip: true -ActiveRecord::Base#attributes: - types: - - undefined - skip: false -ActiveRecord::Base#attributes=: - types: - - undefined - skip: false -ActiveRecord::Base#attributes_before_type_cast: - types: - - undefined - skip: true -ActiveRecord::Base#attributes_in_database: - types: - - undefined - skip: true -ActiveRecord::Base#becomes: - types: - - undefined - skip: false -ActiveRecord::Base#becomes!: - types: - - undefined - skip: false -ActiveRecord::Base#before_committed!: - types: - - undefined - skip: false -ActiveRecord::Base#blank?: - types: - - 'true' - - 'false' - skip: false -ActiveRecord::Base#cache_key: - types: - - undefined - skip: false -ActiveRecord::Base#cache_key_with_version: - types: - - undefined - skip: false -ActiveRecord::Base#cache_timestamp_format: - types: - - undefined - skip: true -ActiveRecord::Base#cache_timestamp_format?: - types: - - undefined - skip: true -ActiveRecord::Base#cache_version: - types: - - undefined - skip: false -ActiveRecord::Base#cache_versioning: - types: - - undefined - skip: true -ActiveRecord::Base#cache_versioning?: - types: - - undefined - skip: true -ActiveRecord::Base#changed: - types: - - undefined - skip: true -ActiveRecord::Base#changed?: - types: - - undefined - skip: true -ActiveRecord::Base#changed_attribute_names_to_save: - types: - - undefined - skip: true -ActiveRecord::Base#changed_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#changed_for_autosave?: - types: - - undefined - skip: false -ActiveRecord::Base#changes: - types: - - undefined - skip: true -ActiveRecord::Base#changes_applied: - types: - - undefined - skip: true -ActiveRecord::Base#changes_to_save: - types: - - undefined - skip: true -ActiveRecord::Base#class_eval: - types: - - undefined - skip: false -ActiveRecord::Base#clear_attribute_changes: - types: - - undefined - skip: true -ActiveRecord::Base#clear_changes_information: - types: - - undefined - skip: true -ActiveRecord::Base#column_for_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#committed!: - types: - - undefined - skip: false -ActiveRecord::Base#connection_handler: - types: - - undefined - skip: false -ActiveRecord::Base#decrement: - types: - - undefined - skip: false -ActiveRecord::Base#decrement!: - types: - - undefined - skip: false -ActiveRecord::Base#deep_dup: - types: - - undefined - skip: false -ActiveRecord::Base#default_connection_handler: - types: - - undefined - skip: true -ActiveRecord::Base#default_connection_handler?: - types: - - undefined - skip: true -ActiveRecord::Base#default_scope_override: - types: - - undefined - skip: true -ActiveRecord::Base#default_scopes: - types: - - undefined - skip: true -ActiveRecord::Base#default_timezone: - types: - - undefined - skip: true -ActiveRecord::Base#defined_enums: - types: - - undefined - skip: true -ActiveRecord::Base#defined_enums?: - types: - - undefined - skip: true -ActiveRecord::Base#delete: - types: - - undefined - skip: false -ActiveRecord::Base#destroy: - types: - - undefined - skip: false -ActiveRecord::Base#destroy!: - types: - - undefined - skip: false -ActiveRecord::Base#destroyed?: - types: - - undefined - skip: false -ActiveRecord::Base#destroyed_by_association: - types: - - undefined - skip: false -ActiveRecord::Base#destroyed_by_association=: - types: - - undefined - skip: false -ActiveRecord::Base#dump_schema_after_migration: - types: - - undefined - skip: true -ActiveRecord::Base#dump_schemas: - types: - - undefined - skip: true -ActiveRecord::Base#duplicable?: - types: - - undefined - skip: false -ActiveRecord::Base#encode_with: - types: - - undefined - skip: false -ActiveRecord::Base#eql?: - types: - - undefined - skip: false -ActiveRecord::Base#error_on_ignored_order: - types: - - undefined - skip: true -ActiveRecord::Base#errors: - types: - - undefined - skip: false -ActiveRecord::Base#freeze: - types: - - undefined - skip: false -ActiveRecord::Base#from_json: - types: - - undefined - skip: false -ActiveRecord::Base#frozen?: - types: - - undefined - skip: false -ActiveRecord::Base#gem: - types: - - undefined - skip: true -ActiveRecord::Base#has_attribute?: - types: - - undefined - skip: false -ActiveRecord::Base#has_changes_to_save?: - types: - - undefined - skip: true -ActiveRecord::Base#hash: - types: - - undefined - skip: false -ActiveRecord::Base#html_safe?: - types: - - undefined - skip: false -ActiveRecord::Base#id: - types: - - undefined - skip: true -ActiveRecord::Base#id=: - types: - - undefined - skip: true -ActiveRecord::Base#id?: - types: - - undefined - skip: true -ActiveRecord::Base#id_before_type_cast: - types: - - undefined - skip: true -ActiveRecord::Base#id_in_database: - types: - - undefined - skip: true -ActiveRecord::Base#id_was: - types: - - undefined - skip: true -ActiveRecord::Base#in?: - types: - - undefined - skip: false -ActiveRecord::Base#include_root_in_json: - types: - - undefined - skip: true -ActiveRecord::Base#include_root_in_json?: - types: - - undefined - skip: true -ActiveRecord::Base#increment: - types: - - undefined - skip: false -ActiveRecord::Base#increment!: - types: - - undefined - skip: false -ActiveRecord::Base#index_nested_attribute_errors: - types: - - undefined - skip: true -ActiveRecord::Base#init_with: - types: - - undefined - skip: false -ActiveRecord::Base#initialize_internals_callback: - types: - - undefined - skip: false -ActiveRecord::Base#inspect: - types: - - undefined - skip: false -ActiveRecord::Base#instance_values: - types: - - undefined - skip: false -ActiveRecord::Base#instance_variable_names: - types: - - undefined - skip: false -ActiveRecord::Base#invalid?: - types: - - undefined - skip: false -ActiveRecord::Base#load_dependency: - types: - - undefined - skip: true -ActiveRecord::Base#lock!: - types: - - undefined - skip: false -ActiveRecord::Base#lock_optimistically: - types: - - undefined - skip: true -ActiveRecord::Base#lock_optimistically?: - types: - - undefined - skip: true -ActiveRecord::Base#locking_enabled?: - types: - - undefined - skip: false -ActiveRecord::Base#logger: - types: - - undefined - skip: true -ActiveRecord::Base#mark_for_destruction: - types: - - undefined - skip: false -ActiveRecord::Base#marked_for_destruction?: - types: - - undefined - skip: false -ActiveRecord::Base#method_missing: - types: - - undefined - skip: false -ActiveRecord::Base#model_name: - types: - - undefined - skip: true -ActiveRecord::Base#nested_attributes_options: - types: - - undefined - skip: true -ActiveRecord::Base#nested_attributes_options?: - types: - - undefined - skip: true -ActiveRecord::Base#new_record?: - types: - - undefined - skip: false -ActiveRecord::Base#no_touching?: - types: - - undefined - skip: false -ActiveRecord::Base#partial_writes: - types: - - undefined - skip: true -ActiveRecord::Base#partial_writes?: - types: - - undefined - skip: true -ActiveRecord::Base#persisted?: - types: - - undefined - skip: false -ActiveRecord::Base#pluralize_table_names: - types: - - undefined - skip: true -ActiveRecord::Base#pluralize_table_names?: - types: - - undefined - skip: true -ActiveRecord::Base#populate_with_current_scope_attributes: - types: - - undefined - skip: false -ActiveRecord::Base#presence: - types: - - Object - skip: false -ActiveRecord::Base#presence_in: - types: - - Object - skip: false -ActiveRecord::Base#present?: - types: - - 'true' - - 'false' - skip: false -ActiveRecord::Base#pretty_print: - types: - - undefined - skip: false -ActiveRecord::Base#previous_changes: - types: - - undefined - skip: true -ActiveRecord::Base#primary_key_prefix_type: - types: - - undefined - skip: true -ActiveRecord::Base#pry: - types: - - undefined - skip: false -ActiveRecord::Base#query_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#read_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#read_attribute_before_type_cast: - types: - - undefined - skip: true -ActiveRecord::Base#readonly!: - types: - - undefined - skip: false -ActiveRecord::Base#readonly?: - types: - - undefined - skip: false -ActiveRecord::Base#record_timestamps: - types: - - undefined - skip: true -ActiveRecord::Base#record_timestamps=: - types: - - undefined - skip: true -ActiveRecord::Base#record_timestamps?: - types: - - undefined - skip: true -ActiveRecord::Base#reload: - types: - - undefined - skip: false -ActiveRecord::Base#require_dependency: - types: - - undefined - skip: true -ActiveRecord::Base#require_or_load: - types: - - undefined - skip: true -ActiveRecord::Base#respond_to?: - types: - - undefined - skip: false -ActiveRecord::Base#restore_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#rollback_active_record_state!: - types: - - undefined - skip: false -ActiveRecord::Base#rolledback!: - types: - - undefined - skip: false -ActiveRecord::Base#run_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base#save: - types: - - undefined - skip: false -ActiveRecord::Base#save!: - types: - - undefined - skip: false -ActiveRecord::Base#saved_change_to_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#saved_change_to_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base#saved_changes: - types: - - undefined - skip: true -ActiveRecord::Base#saved_changes?: - types: - - undefined - skip: true -ActiveRecord::Base#schema_format: - types: - - undefined - skip: true -ActiveRecord::Base#serializable_hash: - types: - - undefined - skip: false -ActiveRecord::Base#skip_time_zone_conversion_for_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#skip_time_zone_conversion_for_attributes?: - types: - - undefined - skip: true -ActiveRecord::Base#slice: - types: - - undefined - skip: false -ActiveRecord::Base#store_full_sti_class: - types: - - undefined - skip: true -ActiveRecord::Base#store_full_sti_class?: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_prefix: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_prefix?: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_suffix: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_suffix?: - types: - - undefined - skip: true -ActiveRecord::Base#time_zone_aware_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#time_zone_aware_types: - types: - - undefined - skip: true -ActiveRecord::Base#time_zone_aware_types?: - types: - - undefined - skip: true -ActiveRecord::Base#timestamped_migrations: - types: - - undefined - skip: true -ActiveRecord::Base#to_gid: - types: - - undefined - skip: true -ActiveRecord::Base#to_gid_param: - types: - - undefined - skip: true -ActiveRecord::Base#to_global_id: - types: - - undefined - skip: true -ActiveRecord::Base#to_json: - types: - - undefined - skip: true -ActiveRecord::Base#to_key: - types: - - undefined - skip: false -ActiveRecord::Base#to_model: - types: - - undefined - skip: false -ActiveRecord::Base#to_param: - types: - - undefined - skip: false -ActiveRecord::Base#to_partial_path: - types: - - undefined - skip: false -ActiveRecord::Base#to_query: - types: - - undefined - skip: false -ActiveRecord::Base#to_sgid: - types: - - undefined - skip: true -ActiveRecord::Base#to_sgid_param: - types: - - undefined - skip: true -ActiveRecord::Base#to_signed_global_id: - types: - - undefined - skip: true -ActiveRecord::Base#toggle: - types: - - undefined - skip: false -ActiveRecord::Base#toggle!: - types: - - undefined - skip: false -ActiveRecord::Base#touch: - types: - - undefined - skip: false -ActiveRecord::Base#touch_later: - types: - - undefined - skip: false -ActiveRecord::Base#transaction: - types: - - undefined - skip: false -ActiveRecord::Base#try: - types: - - undefined - skip: false -ActiveRecord::Base#try!: - types: - - undefined - skip: false -ActiveRecord::Base#type_for_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#unloadable: - types: - - undefined - skip: true -ActiveRecord::Base#update: - types: - - undefined - skip: false -ActiveRecord::Base#update!: - types: - - undefined - skip: false -ActiveRecord::Base#update_attribute: - types: - - undefined - skip: false -ActiveRecord::Base#update_attributes: - types: - - undefined - skip: false -ActiveRecord::Base#update_attributes!: - types: - - undefined - skip: false -ActiveRecord::Base#update_column: - types: - - undefined - skip: false -ActiveRecord::Base#update_columns: - types: - - undefined - skip: false -ActiveRecord::Base#valid?: - types: - - undefined - skip: false -ActiveRecord::Base#validate: - types: - - Boolean - skip: false -ActiveRecord::Base#validate!: - types: - - undefined - skip: false -ActiveRecord::Base#validates_absence_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_acceptance_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_confirmation_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_exclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_format_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_inclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_length_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_numericality_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_presence_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_size_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_with: - types: - - undefined - skip: false -ActiveRecord::Base#validation_context: - types: - - undefined - skip: true -ActiveRecord::Base#verbose_query_logs: - types: - - undefined - skip: true -ActiveRecord::Base#warn_on_records_fetched_greater_than: - types: - - undefined - skip: true -ActiveRecord::Base#will_save_change_to_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base#with_lock: - types: - - undefined - skip: false -ActiveRecord::Base#with_options: - types: - - undefined - skip: false -ActiveRecord::Base#with_transaction_returning_status: - types: - - undefined - skip: false -ActiveRecord::Base#write_attribute: - types: - - undefined - skip: true diff --git a/spec/definitions/rails5/core/Array.yml b/spec/definitions/rails5/core/Array.yml deleted file mode 100644 index 0b8804b..0000000 --- a/spec/definitions/rails5/core/Array.yml +++ /dev/null @@ -1,400 +0,0 @@ ---- -Array.`: - types: - - undefined - skip: false -Array.acts_like?: - types: - - undefined - skip: false -Array.alias_attribute: - types: - - undefined - skip: false -Array.anonymous?: - types: - - undefined - skip: false -Array.as_json: - types: - - undefined - skip: false -Array.attr_internal: - types: - - undefined - skip: false -Array.attr_internal_accessor: - types: - - undefined - skip: false -Array.attr_internal_reader: - types: - - undefined - skip: false -Array.attr_internal_writer: - types: - - undefined - skip: false -Array.blank?: - types: - - 'true' - - 'false' - skip: false -Array.cattr_accessor: - types: - - undefined - skip: false -Array.cattr_reader: - types: - - undefined - skip: false -Array.cattr_writer: - types: - - undefined - skip: false -Array.class_attribute: - types: - - undefined - skip: false -Array.concern: - types: - - undefined - skip: false -Array.concerning: - types: - - undefined - skip: false -Array.deep_dup: - types: - - undefined - skip: false -Array.delegate: - types: - - undefined - skip: false -Array.delegate_missing_to: - types: - - undefined - skip: false -Array.deprecate: - types: - - undefined - skip: false -Array.descendants: - types: - - undefined - skip: true -Array.duplicable?: - types: - - undefined - skip: false -Array.html_safe?: - types: - - undefined - skip: false -Array.in?: - types: - - undefined - skip: false -Array.instance_values: - types: - - undefined - skip: false -Array.instance_variable_names: - types: - - undefined - skip: false -Array.mattr_accessor: - types: - - undefined - skip: false -Array.mattr_reader: - types: - - undefined - skip: false -Array.mattr_writer: - types: - - undefined - skip: false -Array.method_visibility: - types: - - undefined - skip: false -Array.parent: - types: - - undefined - skip: true -Array.parent_name: - types: - - undefined - skip: true -Array.parents: - types: - - undefined - skip: true -Array.presence: - types: - - Object - skip: false -Array.presence_in: - types: - - Object - skip: false -Array.present?: - types: - - 'true' - - 'false' - skip: false -Array.reachable_without_deprecation?: - types: - - undefined - skip: true -Array.redefine_method: - types: - - undefined - skip: false -Array.redefine_singleton_method: - types: - - undefined - skip: false -Array.remove_possible_method: - types: - - undefined - skip: false -Array.remove_possible_singleton_method: - types: - - undefined - skip: false -Array.silence_redefinition_of_method: - types: - - undefined - skip: false -Array.subclasses: - types: - - undefined - skip: false -Array.thread_cattr_accessor: - types: - - undefined - skip: false -Array.thread_cattr_reader: - types: - - undefined - skip: false -Array.thread_cattr_writer: - types: - - undefined - skip: false -Array.thread_mattr_accessor: - types: - - undefined - skip: false -Array.thread_mattr_reader: - types: - - undefined - skip: false -Array.thread_mattr_writer: - types: - - undefined - skip: false -Array.to_json: - types: - - undefined - skip: true -Array.to_param: - types: - - undefined - skip: false -Array.to_query: - types: - - undefined - skip: false -Array.try: - types: - - undefined - skip: false -Array.try!: - types: - - undefined - skip: false -Array.with_options: - types: - - undefined - skip: false -Array.wrap: - types: - - undefined - skip: false -Array#`: - types: - - undefined - skip: false -Array#acts_like?: - types: - - undefined - skip: false -Array#as_json: - types: - - undefined - skip: false -Array#class_eval: - types: - - undefined - skip: false -Array#deep_dup: - types: - - undefined - skip: false -Array#duplicable?: - types: - - undefined - skip: false -Array#exclude?: - types: - - undefined - skip: false -Array#extract_options!: - types: - - undefined - skip: false -Array#fifth: - types: - - undefined - skip: false -Array#forty_two: - types: - - undefined - skip: false -Array#fourth: - types: - - undefined - skip: false -Array#from: - types: - - undefined - skip: false -Array#html_safe?: - types: - - undefined - skip: false -Array#in?: - types: - - undefined - skip: false -Array#in_groups: - types: - - undefined - skip: false -Array#in_groups_of: - types: - - undefined - skip: false -Array#index_by: - types: - - undefined - skip: false -Array#inquiry: - types: - - undefined - skip: false -Array#instance_values: - types: - - undefined - skip: false -Array#instance_variable_names: - types: - - undefined - skip: false -Array#many?: - types: - - undefined - skip: false -Array#pluck: - types: - - undefined - skip: false -Array#presence: - types: - - Object - skip: false -Array#presence_in: - types: - - Object - skip: false -Array#present?: - types: - - 'true' - - 'false' - skip: false -Array#second: - types: - - undefined - skip: false -Array#second_to_last: - types: - - undefined - skip: false -Array#split: - types: - - undefined - skip: false -Array#sum: - types: - - undefined - skip: false -Array#third: - types: - - undefined - skip: false -Array#third_to_last: - types: - - undefined - skip: false -Array#to: - types: - - undefined - skip: false -Array#to_formatted_s: - types: - - undefined - skip: false -Array#to_json: - types: - - undefined - skip: true -Array#to_param: - types: - - undefined - skip: false -Array#to_query: - types: - - undefined - skip: false -Array#to_s: - types: - - undefined - skip: false -Array#to_sentence: - types: - - undefined - skip: false -Array#to_xml: - types: - - undefined - skip: false -Array#try: - types: - - undefined - skip: false -Array#try!: - types: - - undefined - skip: false -Array#with_options: - types: - - undefined - skip: false -Array#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/Class.yml b/spec/definitions/rails5/core/Class.yml deleted file mode 100644 index 1b4b22b..0000000 --- a/spec/definitions/rails5/core/Class.yml +++ /dev/null @@ -1,453 +0,0 @@ ---- -Class.`: - types: - - undefined - skip: false -Class.acts_like?: - types: - - undefined - skip: false -Class.alias_attribute: - types: - - undefined - skip: false -Class.anonymous?: - types: - - undefined - skip: false -Class.as_json: - types: - - undefined - skip: false -Class.attr_internal: - types: - - undefined - skip: false -Class.attr_internal_accessor: - types: - - undefined - skip: false -Class.attr_internal_naming_format: - types: - - undefined - skip: true -Class.attr_internal_naming_format=: - types: - - undefined - skip: true -Class.attr_internal_reader: - types: - - undefined - skip: false -Class.attr_internal_writer: - types: - - undefined - skip: false -Class.blank?: - types: - - 'true' - - 'false' - skip: false -Class.cattr_accessor: - types: - - undefined - skip: false -Class.cattr_reader: - types: - - undefined - skip: false -Class.cattr_writer: - types: - - undefined - skip: false -Class.class_attribute: - types: - - undefined - skip: false -Class.concern: - types: - - undefined - skip: false -Class.concerning: - types: - - undefined - skip: false -Class.deep_dup: - types: - - undefined - skip: false -Class.delegate: - types: - - undefined - skip: false -Class.delegate_missing_to: - types: - - undefined - skip: false -Class.deprecate: - types: - - undefined - skip: false -Class.descendants: - types: - - undefined - skip: true -Class.duplicable?: - types: - - undefined - skip: false -Class.html_safe?: - types: - - undefined - skip: false -Class.in?: - types: - - undefined - skip: false -Class.instance_values: - types: - - undefined - skip: false -Class.instance_variable_names: - types: - - undefined - skip: false -Class.mattr_accessor: - types: - - undefined - skip: false -Class.mattr_reader: - types: - - undefined - skip: false -Class.mattr_writer: - types: - - undefined - skip: false -Class.method_visibility: - types: - - undefined - skip: false -Class.parent: - types: - - undefined - skip: true -Class.parent_name: - types: - - undefined - skip: true -Class.parents: - types: - - undefined - skip: true -Class.presence: - types: - - Object - skip: false -Class.presence_in: - types: - - Object - skip: false -Class.present?: - types: - - 'true' - - 'false' - skip: false -Class.reachable_without_deprecation?: - types: - - undefined - skip: true -Class.redefine_method: - types: - - undefined - skip: false -Class.redefine_singleton_method: - types: - - undefined - skip: false -Class.remove_possible_method: - types: - - undefined - skip: false -Class.remove_possible_singleton_method: - types: - - undefined - skip: false -Class.silence_redefinition_of_method: - types: - - undefined - skip: false -Class.subclasses: - types: - - undefined - skip: false -Class.thread_cattr_accessor: - types: - - undefined - skip: false -Class.thread_cattr_reader: - types: - - undefined - skip: false -Class.thread_cattr_writer: - types: - - undefined - skip: false -Class.thread_mattr_accessor: - types: - - undefined - skip: false -Class.thread_mattr_reader: - types: - - undefined - skip: false -Class.thread_mattr_writer: - types: - - undefined - skip: false -Class.to_json: - types: - - undefined - skip: true -Class.to_param: - types: - - undefined - skip: false -Class.to_query: - types: - - undefined - skip: false -Class.try: - types: - - undefined - skip: false -Class.try!: - types: - - undefined - skip: false -Class.with_options: - types: - - undefined - skip: false -Class#`: - types: - - undefined - skip: false -Class#acts_like?: - types: - - undefined - skip: false -Class#alias_attribute: - types: - - undefined - skip: false -Class#anonymous?: - types: - - undefined - skip: false -Class#as_json: - types: - - undefined - skip: false -Class#attr_internal: - types: - - undefined - skip: false -Class#attr_internal_accessor: - types: - - undefined - skip: false -Class#attr_internal_reader: - types: - - undefined - skip: false -Class#attr_internal_writer: - types: - - undefined - skip: false -Class#blank?: - types: - - 'true' - - 'false' - skip: false -Class#cattr_accessor: - types: - - undefined - skip: false -Class#cattr_reader: - types: - - undefined - skip: false -Class#cattr_writer: - types: - - undefined - skip: false -Class#class_attribute: - types: - - undefined - skip: false -Class#concern: - types: - - undefined - skip: false -Class#concerning: - types: - - undefined - skip: false -Class#deep_dup: - types: - - undefined - skip: false -Class#delegate: - types: - - undefined - skip: false -Class#delegate_missing_to: - types: - - undefined - skip: false -Class#deprecate: - types: - - undefined - skip: false -Class#descendants: - types: - - undefined - skip: true -Class#duplicable?: - types: - - undefined - skip: false -Class#html_safe?: - types: - - undefined - skip: false -Class#in?: - types: - - undefined - skip: false -Class#instance_values: - types: - - undefined - skip: false -Class#instance_variable_names: - types: - - undefined - skip: false -Class#mattr_accessor: - types: - - undefined - skip: false -Class#mattr_reader: - types: - - undefined - skip: false -Class#mattr_writer: - types: - - undefined - skip: false -Class#method_visibility: - types: - - undefined - skip: false -Class#parent: - types: - - undefined - skip: true -Class#parent_name: - types: - - undefined - skip: true -Class#parents: - types: - - undefined - skip: true -Class#presence: - types: - - Object - skip: false -Class#presence_in: - types: - - Object - skip: false -Class#present?: - types: - - 'true' - - 'false' - skip: false -Class#reachable_without_deprecation?: - types: - - undefined - skip: true -Class#redefine_method: - types: - - undefined - skip: false -Class#redefine_singleton_method: - types: - - undefined - skip: false -Class#remove_possible_method: - types: - - undefined - skip: false -Class#remove_possible_singleton_method: - types: - - undefined - skip: false -Class#silence_redefinition_of_method: - types: - - undefined - skip: false -Class#subclasses: - types: - - undefined - skip: false -Class#thread_cattr_accessor: - types: - - undefined - skip: false -Class#thread_cattr_reader: - types: - - undefined - skip: false -Class#thread_cattr_writer: - types: - - undefined - skip: false -Class#thread_mattr_accessor: - types: - - undefined - skip: false -Class#thread_mattr_reader: - types: - - undefined - skip: false -Class#thread_mattr_writer: - types: - - undefined - skip: false -Class#to_json: - types: - - undefined - skip: true -Class#to_param: - types: - - undefined - skip: false -Class#to_query: - types: - - undefined - skip: false -Class#try: - types: - - undefined - skip: false -Class#try!: - types: - - undefined - skip: false -Class#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/Date.yml b/spec/definitions/rails5/core/Date.yml deleted file mode 100644 index a1b2cc2..0000000 --- a/spec/definitions/rails5/core/Date.yml +++ /dev/null @@ -1,668 +0,0 @@ ---- -Date.`: - types: - - undefined - skip: false -Date.acts_like?: - types: - - undefined - skip: false -Date.alias_attribute: - types: - - undefined - skip: false -Date.anonymous?: - types: - - undefined - skip: false -Date.as_json: - types: - - undefined - skip: false -Date.attr_internal: - types: - - undefined - skip: false -Date.attr_internal_accessor: - types: - - undefined - skip: false -Date.attr_internal_reader: - types: - - undefined - skip: false -Date.attr_internal_writer: - types: - - undefined - skip: false -Date.beginning_of_week: - types: - - undefined - skip: false -Date.beginning_of_week=: - types: - - undefined - skip: false -Date.beginning_of_week_default: - types: - - undefined - skip: false -Date.beginning_of_week_default=: - types: - - undefined - skip: false -Date.blank?: - types: - - 'true' - - 'false' - skip: false -Date.cattr_accessor: - types: - - undefined - skip: false -Date.cattr_reader: - types: - - undefined - skip: false -Date.cattr_writer: - types: - - undefined - skip: false -Date.class_attribute: - types: - - undefined - skip: false -Date.concern: - types: - - undefined - skip: false -Date.concerning: - types: - - undefined - skip: false -Date.current: - types: - - undefined - skip: false -Date.deep_dup: - types: - - undefined - skip: false -Date.delegate: - types: - - undefined - skip: false -Date.delegate_missing_to: - types: - - undefined - skip: false -Date.deprecate: - types: - - undefined - skip: false -Date.descendants: - types: - - undefined - skip: true -Date.duplicable?: - types: - - undefined - skip: false -Date.find_beginning_of_week!: - types: - - undefined - skip: false -Date.html_safe?: - types: - - undefined - skip: false -Date.in?: - types: - - undefined - skip: false -Date.instance_values: - types: - - undefined - skip: false -Date.instance_variable_names: - types: - - undefined - skip: false -Date.mattr_accessor: - types: - - undefined - skip: false -Date.mattr_reader: - types: - - undefined - skip: false -Date.mattr_writer: - types: - - undefined - skip: false -Date.method_visibility: - types: - - undefined - skip: false -Date.parent: - types: - - undefined - skip: true -Date.parent_name: - types: - - undefined - skip: true -Date.parents: - types: - - undefined - skip: true -Date.presence: - types: - - Object - skip: false -Date.presence_in: - types: - - Object - skip: false -Date.present?: - types: - - 'true' - - 'false' - skip: false -Date.reachable_without_deprecation?: - types: - - undefined - skip: true -Date.redefine_method: - types: - - undefined - skip: false -Date.redefine_singleton_method: - types: - - undefined - skip: false -Date.remove_possible_method: - types: - - undefined - skip: false -Date.remove_possible_singleton_method: - types: - - undefined - skip: false -Date.silence_redefinition_of_method: - types: - - undefined - skip: false -Date.subclasses: - types: - - undefined - skip: false -Date.thread_cattr_accessor: - types: - - undefined - skip: false -Date.thread_cattr_reader: - types: - - undefined - skip: false -Date.thread_cattr_writer: - types: - - undefined - skip: false -Date.thread_mattr_accessor: - types: - - undefined - skip: false -Date.thread_mattr_reader: - types: - - undefined - skip: false -Date.thread_mattr_writer: - types: - - undefined - skip: false -Date.to_json: - types: - - undefined - skip: true -Date.to_param: - types: - - undefined - skip: false -Date.to_query: - types: - - undefined - skip: false -Date.tomorrow: - types: - - undefined - skip: false -Date.try: - types: - - undefined - skip: false -Date.try!: - types: - - undefined - skip: false -Date.with_options: - types: - - undefined - skip: false -Date.yesterday: - types: - - undefined - skip: false -Date#+: - types: - - undefined - skip: false -Date#-: - types: - - undefined - skip: false -Date#<=>: - types: - - undefined - skip: false -Date#`: - types: - - undefined - skip: false -Date#acts_like?: - types: - - undefined - skip: false -Date#acts_like_date?: - types: - - undefined - skip: false -Date#advance: - types: - - undefined - skip: false -Date#ago: - types: - - undefined - skip: false -Date#all_day: - types: - - undefined - skip: false -Date#all_month: - types: - - undefined - skip: false -Date#all_quarter: - types: - - undefined - skip: false -Date#all_week: - types: - - undefined - skip: false -Date#all_year: - types: - - undefined - skip: false -Date#as_json: - types: - - undefined - skip: false -Date#at_beginning_of_day: - types: - - undefined - skip: false -Date#at_beginning_of_month: - types: - - undefined - skip: false -Date#at_beginning_of_quarter: - types: - - undefined - skip: false -Date#at_beginning_of_week: - types: - - undefined - skip: false -Date#at_beginning_of_year: - types: - - undefined - skip: false -Date#at_end_of_day: - types: - - undefined - skip: false -Date#at_end_of_month: - types: - - undefined - skip: false -Date#at_end_of_quarter: - types: - - undefined - skip: false -Date#at_end_of_week: - types: - - undefined - skip: false -Date#at_end_of_year: - types: - - undefined - skip: false -Date#at_midday: - types: - - undefined - skip: false -Date#at_middle_of_day: - types: - - undefined - skip: false -Date#at_midnight: - types: - - undefined - skip: false -Date#at_noon: - types: - - undefined - skip: false -Date#beginning_of_day: - types: - - undefined - skip: false -Date#beginning_of_month: - types: - - undefined - skip: false -Date#beginning_of_quarter: - types: - - undefined - skip: false -Date#beginning_of_week: - types: - - undefined - skip: false -Date#beginning_of_year: - types: - - undefined - skip: false -Date#blank?: - types: - - 'false' - skip: false -Date#change: - types: - - undefined - skip: false -Date#class_eval: - types: - - undefined - skip: false -Date#compare_with_coercion: - types: - - undefined - skip: false -Date#days_ago: - types: - - undefined - skip: false -Date#days_since: - types: - - undefined - skip: false -Date#days_to_week_start: - types: - - undefined - skip: false -Date#deep_dup: - types: - - undefined - skip: false -Date#duplicable?: - types: - - undefined - skip: false -Date#end_of_day: - types: - - undefined - skip: false -Date#end_of_month: - types: - - undefined - skip: false -Date#end_of_quarter: - types: - - undefined - skip: false -Date#end_of_week: - types: - - undefined - skip: false -Date#end_of_year: - types: - - undefined - skip: false -Date#future?: - types: - - undefined - skip: false -Date#html_safe?: - types: - - undefined - skip: false -Date#in: - types: - - undefined - skip: false -Date#in?: - types: - - undefined - skip: false -Date#in_time_zone: - types: - - undefined - skip: false -Date#inspect: - types: - - undefined - skip: false -Date#instance_values: - types: - - undefined - skip: false -Date#instance_variable_names: - types: - - undefined - skip: false -Date#last_month: - types: - - undefined - skip: false -Date#last_quarter: - types: - - undefined - skip: false -Date#last_week: - types: - - undefined - skip: false -Date#last_weekday: - types: - - undefined - skip: false -Date#last_year: - types: - - undefined - skip: false -Date#midday: - types: - - undefined - skip: false -Date#middle_of_day: - types: - - undefined - skip: false -Date#midnight: - types: - - undefined - skip: false -Date#minus_with_duration: - types: - - undefined - skip: false -Date#monday: - types: - - undefined - skip: false -Date#months_ago: - types: - - undefined - skip: false -Date#months_since: - types: - - undefined - skip: false -Date#next_occurring: - types: - - undefined - skip: false -Date#next_quarter: - types: - - undefined - skip: false -Date#next_week: - types: - - undefined - skip: false -Date#next_weekday: - types: - - undefined - skip: false -Date#noon: - types: - - undefined - skip: false -Date#on_weekday?: - types: - - undefined - skip: false -Date#on_weekend?: - types: - - undefined - skip: false -Date#past?: - types: - - undefined - skip: false -Date#plus_with_duration: - types: - - undefined - skip: false -Date#presence: - types: - - Object - skip: false -Date#presence_in: - types: - - Object - skip: false -Date#present?: - types: - - 'true' - - 'false' - skip: false -Date#prev_occurring: - types: - - undefined - skip: false -Date#prev_quarter: - types: - - undefined - skip: false -Date#prev_week: - types: - - undefined - skip: false -Date#prev_weekday: - types: - - undefined - skip: false -Date#readable_inspect: - types: - - undefined - skip: false -Date#since: - types: - - undefined - skip: false -Date#sunday: - types: - - undefined - skip: false -Date#to_formatted_s: - types: - - undefined - skip: false -Date#to_json: - types: - - undefined - skip: true -Date#to_param: - types: - - undefined - skip: false -Date#to_query: - types: - - undefined - skip: false -Date#to_s: - types: - - undefined - skip: false -Date#to_time: - types: - - undefined - skip: false -Date#today?: - types: - - undefined - skip: false -Date#tomorrow: - types: - - undefined - skip: false -Date#try: - types: - - undefined - skip: false -Date#try!: - types: - - undefined - skip: false -Date#weeks_ago: - types: - - undefined - skip: false -Date#weeks_since: - types: - - undefined - skip: false -Date#with_options: - types: - - undefined - skip: false -Date#xmlschema: - types: - - undefined - skip: false -Date#years_ago: - types: - - undefined - skip: false -Date#years_since: - types: - - undefined - skip: false -Date#yesterday: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/DateTime.yml b/spec/definitions/rails5/core/DateTime.yml deleted file mode 100644 index f2ff43c..0000000 --- a/spec/definitions/rails5/core/DateTime.yml +++ /dev/null @@ -1,776 +0,0 @@ ---- -DateTime.`: - types: - - undefined - skip: false -DateTime.acts_like?: - types: - - undefined - skip: false -DateTime.alias_attribute: - types: - - undefined - skip: false -DateTime.anonymous?: - types: - - undefined - skip: false -DateTime.as_json: - types: - - undefined - skip: false -DateTime.attr_internal: - types: - - undefined - skip: false -DateTime.attr_internal_accessor: - types: - - undefined - skip: false -DateTime.attr_internal_reader: - types: - - undefined - skip: false -DateTime.attr_internal_writer: - types: - - undefined - skip: false -DateTime.beginning_of_week: - types: - - undefined - skip: true -DateTime.beginning_of_week=: - types: - - undefined - skip: true -DateTime.beginning_of_week_default: - types: - - undefined - skip: true -DateTime.beginning_of_week_default=: - types: - - undefined - skip: true -DateTime.blank?: - types: - - 'true' - - 'false' - skip: false -DateTime.cattr_accessor: - types: - - undefined - skip: false -DateTime.cattr_reader: - types: - - undefined - skip: false -DateTime.cattr_writer: - types: - - undefined - skip: false -DateTime.civil_from_format: - types: - - undefined - skip: false -DateTime.class_attribute: - types: - - undefined - skip: false -DateTime.concern: - types: - - undefined - skip: false -DateTime.concerning: - types: - - undefined - skip: false -DateTime.current: - types: - - undefined - skip: false -DateTime.deep_dup: - types: - - undefined - skip: false -DateTime.delegate: - types: - - undefined - skip: false -DateTime.delegate_missing_to: - types: - - undefined - skip: false -DateTime.deprecate: - types: - - undefined - skip: false -DateTime.descendants: - types: - - undefined - skip: true -DateTime.duplicable?: - types: - - undefined - skip: false -DateTime.find_beginning_of_week!: - types: - - undefined - skip: true -DateTime.html_safe?: - types: - - undefined - skip: false -DateTime.in?: - types: - - undefined - skip: false -DateTime.instance_values: - types: - - undefined - skip: false -DateTime.instance_variable_names: - types: - - undefined - skip: false -DateTime.mattr_accessor: - types: - - undefined - skip: false -DateTime.mattr_reader: - types: - - undefined - skip: false -DateTime.mattr_writer: - types: - - undefined - skip: false -DateTime.method_visibility: - types: - - undefined - skip: false -DateTime.parent: - types: - - undefined - skip: true -DateTime.parent_name: - types: - - undefined - skip: true -DateTime.parents: - types: - - undefined - skip: true -DateTime.presence: - types: - - Object - skip: false -DateTime.presence_in: - types: - - Object - skip: false -DateTime.present?: - types: - - 'true' - - 'false' - skip: false -DateTime.reachable_without_deprecation?: - types: - - undefined - skip: true -DateTime.redefine_method: - types: - - undefined - skip: false -DateTime.redefine_singleton_method: - types: - - undefined - skip: false -DateTime.remove_possible_method: - types: - - undefined - skip: false -DateTime.remove_possible_singleton_method: - types: - - undefined - skip: false -DateTime.silence_redefinition_of_method: - types: - - undefined - skip: false -DateTime.subclasses: - types: - - undefined - skip: false -DateTime.thread_cattr_accessor: - types: - - undefined - skip: false -DateTime.thread_cattr_reader: - types: - - undefined - skip: false -DateTime.thread_cattr_writer: - types: - - undefined - skip: false -DateTime.thread_mattr_accessor: - types: - - undefined - skip: false -DateTime.thread_mattr_reader: - types: - - undefined - skip: false -DateTime.thread_mattr_writer: - types: - - undefined - skip: false -DateTime.to_json: - types: - - undefined - skip: true -DateTime.to_param: - types: - - undefined - skip: false -DateTime.to_query: - types: - - undefined - skip: false -DateTime.tomorrow: - types: - - undefined - skip: true -DateTime.try: - types: - - undefined - skip: false -DateTime.try!: - types: - - undefined - skip: false -DateTime.with_options: - types: - - undefined - skip: false -DateTime.yesterday: - types: - - undefined - skip: true -DateTime#+: - types: - - undefined - skip: true -DateTime#-: - types: - - undefined - skip: true -DateTime#<=>: - types: - - undefined - skip: false -DateTime#`: - types: - - undefined - skip: false -DateTime#acts_like?: - types: - - undefined - skip: false -DateTime#acts_like_date?: - types: - - undefined - skip: false -DateTime#acts_like_time?: - types: - - undefined - skip: false -DateTime#advance: - types: - - undefined - skip: false -DateTime#ago: - types: - - undefined - skip: false -DateTime#all_day: - types: - - undefined - skip: true -DateTime#all_month: - types: - - undefined - skip: true -DateTime#all_quarter: - types: - - undefined - skip: true -DateTime#all_week: - types: - - undefined - skip: true -DateTime#all_year: - types: - - undefined - skip: true -DateTime#as_json: - types: - - undefined - skip: false -DateTime#at_beginning_of_day: - types: - - undefined - skip: false -DateTime#at_beginning_of_hour: - types: - - undefined - skip: false -DateTime#at_beginning_of_minute: - types: - - undefined - skip: false -DateTime#at_beginning_of_month: - types: - - undefined - skip: true -DateTime#at_beginning_of_quarter: - types: - - undefined - skip: true -DateTime#at_beginning_of_week: - types: - - undefined - skip: true -DateTime#at_beginning_of_year: - types: - - undefined - skip: true -DateTime#at_end_of_day: - types: - - undefined - skip: false -DateTime#at_end_of_hour: - types: - - undefined - skip: false -DateTime#at_end_of_minute: - types: - - undefined - skip: false -DateTime#at_end_of_month: - types: - - undefined - skip: true -DateTime#at_end_of_quarter: - types: - - undefined - skip: true -DateTime#at_end_of_week: - types: - - undefined - skip: true -DateTime#at_end_of_year: - types: - - undefined - skip: true -DateTime#at_midday: - types: - - undefined - skip: false -DateTime#at_middle_of_day: - types: - - undefined - skip: false -DateTime#at_midnight: - types: - - undefined - skip: false -DateTime#at_noon: - types: - - undefined - skip: false -DateTime#beginning_of_day: - types: - - undefined - skip: false -DateTime#beginning_of_hour: - types: - - undefined - skip: false -DateTime#beginning_of_minute: - types: - - undefined - skip: false -DateTime#beginning_of_month: - types: - - undefined - skip: true -DateTime#beginning_of_quarter: - types: - - undefined - skip: true -DateTime#beginning_of_week: - types: - - undefined - skip: true -DateTime#beginning_of_year: - types: - - undefined - skip: true -DateTime#blank?: - types: - - 'false' - skip: false -DateTime#change: - types: - - undefined - skip: false -DateTime#class_eval: - types: - - undefined - skip: false -DateTime#compare_with_coercion: - types: - - undefined - skip: true -DateTime#days_ago: - types: - - undefined - skip: true -DateTime#days_since: - types: - - undefined - skip: true -DateTime#days_to_week_start: - types: - - undefined - skip: true -DateTime#deep_dup: - types: - - undefined - skip: false -DateTime#default_inspect: - types: - - undefined - skip: false -DateTime#duplicable?: - types: - - undefined - skip: false -DateTime#end_of_day: - types: - - undefined - skip: false -DateTime#end_of_hour: - types: - - undefined - skip: false -DateTime#end_of_minute: - types: - - undefined - skip: false -DateTime#end_of_month: - types: - - undefined - skip: true -DateTime#end_of_quarter: - types: - - undefined - skip: true -DateTime#end_of_week: - types: - - undefined - skip: true -DateTime#end_of_year: - types: - - undefined - skip: true -DateTime#formatted_offset: - types: - - undefined - skip: false -DateTime#future?: - types: - - undefined - skip: true -DateTime#getgm: - types: - - undefined - skip: false -DateTime#getlocal: - types: - - undefined - skip: false -DateTime#getutc: - types: - - undefined - skip: false -DateTime#gmtime: - types: - - undefined - skip: false -DateTime#html_safe?: - types: - - undefined - skip: false -DateTime#in: - types: - - undefined - skip: false -DateTime#in?: - types: - - undefined - skip: false -DateTime#in_time_zone: - types: - - undefined - skip: true -DateTime#inspect: - types: - - undefined - skip: false -DateTime#instance_values: - types: - - undefined - skip: false -DateTime#instance_variable_names: - types: - - undefined - skip: false -DateTime#last_month: - types: - - undefined - skip: true -DateTime#last_quarter: - types: - - undefined - skip: true -DateTime#last_week: - types: - - undefined - skip: true -DateTime#last_weekday: - types: - - undefined - skip: true -DateTime#last_year: - types: - - undefined - skip: true -DateTime#localtime: - types: - - undefined - skip: false -DateTime#midday: - types: - - undefined - skip: false -DateTime#middle_of_day: - types: - - undefined - skip: false -DateTime#midnight: - types: - - undefined - skip: false -DateTime#minus_with_duration: - types: - - undefined - skip: true -DateTime#monday: - types: - - undefined - skip: true -DateTime#months_ago: - types: - - undefined - skip: true -DateTime#months_since: - types: - - undefined - skip: true -DateTime#next_occurring: - types: - - undefined - skip: true -DateTime#next_quarter: - types: - - undefined - skip: true -DateTime#next_week: - types: - - undefined - skip: true -DateTime#next_weekday: - types: - - undefined - skip: true -DateTime#noon: - types: - - undefined - skip: false -DateTime#nsec: - types: - - undefined - skip: false -DateTime#on_weekday?: - types: - - undefined - skip: true -DateTime#on_weekend?: - types: - - undefined - skip: true -DateTime#past?: - types: - - undefined - skip: true -DateTime#plus_with_duration: - types: - - undefined - skip: true -DateTime#presence: - types: - - Object - skip: false -DateTime#presence_in: - types: - - Object - skip: false -DateTime#present?: - types: - - 'true' - - 'false' - skip: false -DateTime#preserve_timezone: - types: - - undefined - skip: true -DateTime#prev_occurring: - types: - - undefined - skip: true -DateTime#prev_quarter: - types: - - undefined - skip: true -DateTime#prev_week: - types: - - undefined - skip: true -DateTime#prev_weekday: - types: - - undefined - skip: true -DateTime#readable_inspect: - types: - - undefined - skip: false -DateTime#seconds_since_midnight: - types: - - undefined - skip: false -DateTime#seconds_until_end_of_day: - types: - - undefined - skip: false -DateTime#since: - types: - - undefined - skip: false -DateTime#subsec: - types: - - undefined - skip: false -DateTime#sunday: - types: - - undefined - skip: true -DateTime#to_f: - types: - - undefined - skip: false -DateTime#to_formatted_s: - types: - - undefined - skip: false -DateTime#to_i: - types: - - undefined - skip: false -DateTime#to_json: - types: - - undefined - skip: true -DateTime#to_param: - types: - - undefined - skip: false -DateTime#to_query: - types: - - undefined - skip: false -DateTime#to_s: - types: - - undefined - skip: false -DateTime#to_time: - types: - - undefined - skip: false -DateTime#today?: - types: - - undefined - skip: true -DateTime#tomorrow: - types: - - undefined - skip: true -DateTime#try: - types: - - undefined - skip: false -DateTime#try!: - types: - - undefined - skip: false -DateTime#usec: - types: - - undefined - skip: false -DateTime#utc: - types: - - undefined - skip: false -DateTime#utc?: - types: - - undefined - skip: false -DateTime#utc_offset: - types: - - undefined - skip: false -DateTime#weeks_ago: - types: - - undefined - skip: true -DateTime#weeks_since: - types: - - undefined - skip: true -DateTime#with_options: - types: - - undefined - skip: false -DateTime#years_ago: - types: - - undefined - skip: true -DateTime#years_since: - types: - - undefined - skip: true -DateTime#yesterday: - types: - - undefined - skip: true diff --git a/spec/definitions/rails5/core/File.yml b/spec/definitions/rails5/core/File.yml deleted file mode 100644 index e6ffba2..0000000 --- a/spec/definitions/rails5/core/File.yml +++ /dev/null @@ -1,337 +0,0 @@ ---- -File.`: - types: - - undefined - skip: false -File.acts_like?: - types: - - undefined - skip: false -File.alias_attribute: - types: - - undefined - skip: false -File.anonymous?: - types: - - undefined - skip: false -File.as_json: - types: - - undefined - skip: false -File.atomic_write: - types: - - undefined - skip: false -File.attr_internal: - types: - - undefined - skip: false -File.attr_internal_accessor: - types: - - undefined - skip: false -File.attr_internal_reader: - types: - - undefined - skip: false -File.attr_internal_writer: - types: - - undefined - skip: false -File.blank?: - types: - - 'true' - - 'false' - skip: false -File.cattr_accessor: - types: - - undefined - skip: false -File.cattr_reader: - types: - - undefined - skip: false -File.cattr_writer: - types: - - undefined - skip: false -File.class_attribute: - types: - - undefined - skip: false -File.concern: - types: - - undefined - skip: false -File.concerning: - types: - - undefined - skip: false -File.deep_dup: - types: - - undefined - skip: false -File.delegate: - types: - - undefined - skip: false -File.delegate_missing_to: - types: - - undefined - skip: false -File.deprecate: - types: - - undefined - skip: false -File.descendants: - types: - - undefined - skip: true -File.duplicable?: - types: - - undefined - skip: false -File.html_safe?: - types: - - undefined - skip: false -File.in?: - types: - - undefined - skip: false -File.instance_values: - types: - - undefined - skip: false -File.instance_variable_names: - types: - - undefined - skip: false -File.mattr_accessor: - types: - - undefined - skip: false -File.mattr_reader: - types: - - undefined - skip: false -File.mattr_writer: - types: - - undefined - skip: false -File.method_visibility: - types: - - undefined - skip: false -File.parent: - types: - - undefined - skip: true -File.parent_name: - types: - - undefined - skip: true -File.parents: - types: - - undefined - skip: true -File.presence: - types: - - Object - skip: false -File.presence_in: - types: - - Object - skip: false -File.present?: - types: - - 'true' - - 'false' - skip: false -File.probe_stat_in: - types: - - undefined - skip: false -File.reachable_without_deprecation?: - types: - - undefined - skip: true -File.redefine_method: - types: - - undefined - skip: false -File.redefine_singleton_method: - types: - - undefined - skip: false -File.remove_possible_method: - types: - - undefined - skip: false -File.remove_possible_singleton_method: - types: - - undefined - skip: false -File.silence_redefinition_of_method: - types: - - undefined - skip: false -File.subclasses: - types: - - undefined - skip: false -File.thread_cattr_accessor: - types: - - undefined - skip: false -File.thread_cattr_reader: - types: - - undefined - skip: false -File.thread_cattr_writer: - types: - - undefined - skip: false -File.thread_mattr_accessor: - types: - - undefined - skip: false -File.thread_mattr_reader: - types: - - undefined - skip: false -File.thread_mattr_writer: - types: - - undefined - skip: false -File.to_json: - types: - - undefined - skip: true -File.to_param: - types: - - undefined - skip: false -File.to_query: - types: - - undefined - skip: false -File.try: - types: - - undefined - skip: false -File.try!: - types: - - undefined - skip: false -File.with_options: - types: - - undefined - skip: false -File#`: - types: - - undefined - skip: false -File#acts_like?: - types: - - undefined - skip: false -File#as_json: - types: - - undefined - skip: false -File#blank?: - types: - - 'true' - - 'false' - skip: false -File#class_eval: - types: - - undefined - skip: false -File#deep_dup: - types: - - undefined - skip: false -File#duplicable?: - types: - - undefined - skip: false -File#exclude?: - types: - - undefined - skip: false -File#html_safe?: - types: - - undefined - skip: false -File#in?: - types: - - undefined - skip: false -File#index_by: - types: - - undefined - skip: false -File#instance_values: - types: - - undefined - skip: false -File#instance_variable_names: - types: - - undefined - skip: false -File#many?: - types: - - undefined - skip: false -File#pluck: - types: - - undefined - skip: false -File#presence: - types: - - Object - skip: false -File#presence_in: - types: - - Object - skip: false -File#present?: - types: - - 'true' - - 'false' - skip: false -File#sum: - types: - - undefined - skip: false -File#to_json: - types: - - undefined - skip: true -File#to_param: - types: - - undefined - skip: false -File#to_query: - types: - - undefined - skip: false -File#try: - types: - - undefined - skip: false -File#try!: - types: - - undefined - skip: false -File#with_options: - types: - - undefined - skip: false -File#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/Hash.yml b/spec/definitions/rails5/core/Hash.yml deleted file mode 100644 index 9128e5f..0000000 --- a/spec/definitions/rails5/core/Hash.yml +++ /dev/null @@ -1,444 +0,0 @@ ---- -Hash.`: - types: - - undefined - skip: false -Hash.acts_like?: - types: - - undefined - skip: false -Hash.alias_attribute: - types: - - undefined - skip: false -Hash.anonymous?: - types: - - undefined - skip: false -Hash.as_json: - types: - - undefined - skip: false -Hash.attr_internal: - types: - - undefined - skip: false -Hash.attr_internal_accessor: - types: - - undefined - skip: false -Hash.attr_internal_reader: - types: - - undefined - skip: false -Hash.attr_internal_writer: - types: - - undefined - skip: false -Hash.blank?: - types: - - 'true' - - 'false' - skip: false -Hash.cattr_accessor: - types: - - undefined - skip: false -Hash.cattr_reader: - types: - - undefined - skip: false -Hash.cattr_writer: - types: - - undefined - skip: false -Hash.class_attribute: - types: - - undefined - skip: false -Hash.concern: - types: - - undefined - skip: false -Hash.concerning: - types: - - undefined - skip: false -Hash.deep_dup: - types: - - undefined - skip: false -Hash.delegate: - types: - - undefined - skip: false -Hash.delegate_missing_to: - types: - - undefined - skip: false -Hash.deprecate: - types: - - undefined - skip: false -Hash.descendants: - types: - - undefined - skip: true -Hash.duplicable?: - types: - - undefined - skip: false -Hash.from_trusted_xml: - types: - - undefined - skip: false -Hash.from_xml: - types: - - undefined - skip: false -Hash.html_safe?: - types: - - undefined - skip: false -Hash.in?: - types: - - undefined - skip: false -Hash.instance_values: - types: - - undefined - skip: false -Hash.instance_variable_names: - types: - - undefined - skip: false -Hash.mattr_accessor: - types: - - undefined - skip: false -Hash.mattr_reader: - types: - - undefined - skip: false -Hash.mattr_writer: - types: - - undefined - skip: false -Hash.method_visibility: - types: - - undefined - skip: false -Hash.parent: - types: - - undefined - skip: true -Hash.parent_name: - types: - - undefined - skip: true -Hash.parents: - types: - - undefined - skip: true -Hash.presence: - types: - - Object - skip: false -Hash.presence_in: - types: - - Object - skip: false -Hash.present?: - types: - - 'true' - - 'false' - skip: false -Hash.reachable_without_deprecation?: - types: - - undefined - skip: true -Hash.redefine_method: - types: - - undefined - skip: false -Hash.redefine_singleton_method: - types: - - undefined - skip: false -Hash.remove_possible_method: - types: - - undefined - skip: false -Hash.remove_possible_singleton_method: - types: - - undefined - skip: false -Hash.silence_redefinition_of_method: - types: - - undefined - skip: false -Hash.subclasses: - types: - - undefined - skip: false -Hash.thread_cattr_accessor: - types: - - undefined - skip: false -Hash.thread_cattr_reader: - types: - - undefined - skip: false -Hash.thread_cattr_writer: - types: - - undefined - skip: false -Hash.thread_mattr_accessor: - types: - - undefined - skip: false -Hash.thread_mattr_reader: - types: - - undefined - skip: false -Hash.thread_mattr_writer: - types: - - undefined - skip: false -Hash.to_json: - types: - - undefined - skip: true -Hash.to_param: - types: - - undefined - skip: false -Hash.to_query: - types: - - undefined - skip: false -Hash.try: - types: - - undefined - skip: false -Hash.try!: - types: - - undefined - skip: false -Hash.with_options: - types: - - undefined - skip: false -Hash#`: - types: - - undefined - skip: false -Hash#acts_like?: - types: - - undefined - skip: false -Hash#as_json: - types: - - undefined - skip: false -Hash#assert_valid_keys: - types: - - undefined - skip: false -Hash#class_eval: - types: - - undefined - skip: false -Hash#deep_dup: - types: - - undefined - skip: false -Hash#deep_merge: - types: - - undefined - skip: false -Hash#deep_merge!: - types: - - undefined - skip: false -Hash#deep_stringify_keys: - types: - - undefined - skip: false -Hash#deep_stringify_keys!: - types: - - undefined - skip: false -Hash#deep_symbolize_keys: - types: - - undefined - skip: false -Hash#deep_symbolize_keys!: - types: - - undefined - skip: false -Hash#deep_transform_keys: - types: - - undefined - skip: false -Hash#deep_transform_keys!: - types: - - undefined - skip: false -Hash#duplicable?: - types: - - undefined - skip: false -Hash#except: - types: - - undefined - skip: false -Hash#except!: - types: - - undefined - skip: false -Hash#exclude?: - types: - - undefined - skip: false -Hash#extract!: - types: - - undefined - skip: false -Hash#extractable_options?: - types: - - undefined - skip: false -Hash#html_safe?: - types: - - undefined - skip: false -Hash#in?: - types: - - undefined - skip: false -Hash#index_by: - types: - - undefined - skip: false -Hash#instance_values: - types: - - undefined - skip: false -Hash#instance_variable_names: - types: - - undefined - skip: false -Hash#many?: - types: - - undefined - skip: false -Hash#nested_under_indifferent_access: - types: - - undefined - skip: false -Hash#pluck: - types: - - undefined - skip: false -Hash#presence: - types: - - Object - skip: false -Hash#presence_in: - types: - - Object - skip: false -Hash#present?: - types: - - 'true' - - 'false' - skip: false -Hash#reverse_merge: - types: - - undefined - skip: false -Hash#reverse_merge!: - types: - - undefined - skip: false -Hash#reverse_update: - types: - - undefined - skip: false -Hash#slice!: - types: - - undefined - skip: false -Hash#stringify_keys: - types: - - undefined - skip: false -Hash#stringify_keys!: - types: - - undefined - skip: false -Hash#sum: - types: - - undefined - skip: false -Hash#symbolize_keys: - types: - - undefined - skip: false -Hash#symbolize_keys!: - types: - - undefined - skip: false -Hash#to_json: - types: - - undefined - skip: true -Hash#to_options: - types: - - undefined - skip: false -Hash#to_options!: - types: - - undefined - skip: false -Hash#to_param: - types: - - undefined - skip: false -Hash#to_query: - types: - - undefined - skip: false -Hash#to_xml: - types: - - undefined - skip: false -Hash#try: - types: - - undefined - skip: false -Hash#try!: - types: - - undefined - skip: false -Hash#with_defaults: - types: - - undefined - skip: false -Hash#with_defaults!: - types: - - undefined - skip: false -Hash#with_indifferent_access: - types: - - undefined - skip: false -Hash#with_options: - types: - - undefined - skip: false -Hash#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/Integer.yml b/spec/definitions/rails5/core/Integer.yml deleted file mode 100644 index eec78f8..0000000 --- a/spec/definitions/rails5/core/Integer.yml +++ /dev/null @@ -1,444 +0,0 @@ ---- -Integer.`: - types: - - undefined - skip: false -Integer.acts_like?: - types: - - undefined - skip: false -Integer.alias_attribute: - types: - - undefined - skip: false -Integer.anonymous?: - types: - - undefined - skip: false -Integer.as_json: - types: - - undefined - skip: false -Integer.attr_internal: - types: - - undefined - skip: false -Integer.attr_internal_accessor: - types: - - undefined - skip: false -Integer.attr_internal_reader: - types: - - undefined - skip: false -Integer.attr_internal_writer: - types: - - undefined - skip: false -Integer.blank?: - types: - - 'true' - - 'false' - skip: false -Integer.cattr_accessor: - types: - - undefined - skip: false -Integer.cattr_reader: - types: - - undefined - skip: false -Integer.cattr_writer: - types: - - undefined - skip: false -Integer.class_attribute: - types: - - undefined - skip: false -Integer.concern: - types: - - undefined - skip: false -Integer.concerning: - types: - - undefined - skip: false -Integer.deep_dup: - types: - - undefined - skip: false -Integer.delegate: - types: - - undefined - skip: false -Integer.delegate_missing_to: - types: - - undefined - skip: false -Integer.deprecate: - types: - - undefined - skip: false -Integer.descendants: - types: - - undefined - skip: true -Integer.duplicable?: - types: - - undefined - skip: false -Integer.html_safe?: - types: - - undefined - skip: false -Integer.in?: - types: - - undefined - skip: false -Integer.instance_values: - types: - - undefined - skip: false -Integer.instance_variable_names: - types: - - undefined - skip: false -Integer.mattr_accessor: - types: - - undefined - skip: false -Integer.mattr_reader: - types: - - undefined - skip: false -Integer.mattr_writer: - types: - - undefined - skip: false -Integer.method_visibility: - types: - - undefined - skip: false -Integer.parent: - types: - - undefined - skip: true -Integer.parent_name: - types: - - undefined - skip: true -Integer.parents: - types: - - undefined - skip: true -Integer.presence: - types: - - Object - skip: false -Integer.presence_in: - types: - - Object - skip: false -Integer.present?: - types: - - 'true' - - 'false' - skip: false -Integer.reachable_without_deprecation?: - types: - - undefined - skip: true -Integer.redefine_method: - types: - - undefined - skip: false -Integer.redefine_singleton_method: - types: - - undefined - skip: false -Integer.remove_possible_method: - types: - - undefined - skip: false -Integer.remove_possible_singleton_method: - types: - - undefined - skip: false -Integer.silence_redefinition_of_method: - types: - - undefined - skip: false -Integer.subclasses: - types: - - undefined - skip: false -Integer.thread_cattr_accessor: - types: - - undefined - skip: false -Integer.thread_cattr_reader: - types: - - undefined - skip: false -Integer.thread_cattr_writer: - types: - - undefined - skip: false -Integer.thread_mattr_accessor: - types: - - undefined - skip: false -Integer.thread_mattr_reader: - types: - - undefined - skip: false -Integer.thread_mattr_writer: - types: - - undefined - skip: false -Integer.to_json: - types: - - undefined - skip: true -Integer.to_param: - types: - - undefined - skip: false -Integer.to_query: - types: - - undefined - skip: false -Integer.try: - types: - - undefined - skip: false -Integer.try!: - types: - - undefined - skip: false -Integer.with_options: - types: - - undefined - skip: false -Integer#`: - types: - - undefined - skip: false -Integer#acts_like?: - types: - - undefined - skip: false -Integer#as_json: - types: - - undefined - skip: false -Integer#blank?: - types: - - 'false' - skip: false -Integer#byte: - types: - - undefined - skip: false -Integer#bytes: - types: - - undefined - skip: false -Integer#class_eval: - types: - - undefined - skip: false -Integer#day: - types: - - undefined - skip: false -Integer#days: - types: - - undefined - skip: false -Integer#deep_dup: - types: - - undefined - skip: false -Integer#duplicable?: - types: - - undefined - skip: false -Integer#exabyte: - types: - - undefined - skip: false -Integer#exabytes: - types: - - undefined - skip: false -Integer#fortnight: - types: - - undefined - skip: false -Integer#fortnights: - types: - - undefined - skip: false -Integer#gigabyte: - types: - - undefined - skip: false -Integer#gigabytes: - types: - - undefined - skip: false -Integer#hour: - types: - - undefined - skip: false -Integer#hours: - types: - - undefined - skip: false -Integer#html_safe?: - types: - - undefined - skip: false -Integer#in?: - types: - - undefined - skip: false -Integer#in_milliseconds: - types: - - undefined - skip: false -Integer#instance_values: - types: - - undefined - skip: false -Integer#instance_variable_names: - types: - - undefined - skip: false -Integer#kilobyte: - types: - - undefined - skip: false -Integer#kilobytes: - types: - - undefined - skip: false -Integer#megabyte: - types: - - undefined - skip: false -Integer#megabytes: - types: - - undefined - skip: false -Integer#minute: - types: - - undefined - skip: false -Integer#minutes: - types: - - undefined - skip: false -Integer#month: - types: - - undefined - skip: false -Integer#months: - types: - - undefined - skip: false -Integer#multiple_of?: - types: - - undefined - skip: false -Integer#ordinal: - types: - - undefined - skip: false -Integer#ordinalize: - types: - - undefined - skip: false -Integer#petabyte: - types: - - undefined - skip: false -Integer#petabytes: - types: - - undefined - skip: false -Integer#presence: - types: - - Object - skip: false -Integer#presence_in: - types: - - Object - skip: false -Integer#present?: - types: - - 'true' - - 'false' - skip: false -Integer#second: - types: - - undefined - skip: false -Integer#seconds: - types: - - undefined - skip: false -Integer#terabyte: - types: - - undefined - skip: false -Integer#terabytes: - types: - - undefined - skip: false -Integer#to_json: - types: - - undefined - skip: true -Integer#to_param: - types: - - undefined - skip: false -Integer#to_query: - types: - - undefined - skip: false -Integer#to_s: - types: - - undefined - skip: false -Integer#try: - types: - - undefined - skip: false -Integer#try!: - types: - - undefined - skip: false -Integer#week: - types: - - undefined - skip: false -Integer#weeks: - types: - - undefined - skip: false -Integer#with_options: - types: - - undefined - skip: false -Integer#year: - types: - - undefined - skip: false -Integer#years: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/Kernel.yml b/spec/definitions/rails5/core/Kernel.yml deleted file mode 100644 index 6d998ea..0000000 --- a/spec/definitions/rails5/core/Kernel.yml +++ /dev/null @@ -1,227 +0,0 @@ ---- -Kernel.acts_like?: - types: - - undefined - skip: false -Kernel.alias_attribute: - types: - - undefined - skip: false -Kernel.anonymous?: - types: - - undefined - skip: false -Kernel.as_json: - types: - - undefined - skip: false -Kernel.attr_internal: - types: - - undefined - skip: false -Kernel.attr_internal_accessor: - types: - - undefined - skip: false -Kernel.attr_internal_reader: - types: - - undefined - skip: false -Kernel.attr_internal_writer: - types: - - undefined - skip: false -Kernel.blank?: - types: - - 'true' - - 'false' - skip: false -Kernel.cattr_accessor: - types: - - undefined - skip: false -Kernel.cattr_reader: - types: - - undefined - skip: false -Kernel.cattr_writer: - types: - - undefined - skip: false -Kernel.concern: - types: - - undefined - skip: false -Kernel.concerning: - types: - - undefined - skip: false -Kernel.deep_dup: - types: - - undefined - skip: false -Kernel.delegate: - types: - - undefined - skip: false -Kernel.delegate_missing_to: - types: - - undefined - skip: false -Kernel.deprecate: - types: - - undefined - skip: false -Kernel.duplicable?: - types: - - undefined - skip: false -Kernel.enable_warnings: - types: - - undefined - skip: false -Kernel.html_safe?: - types: - - undefined - skip: false -Kernel.in?: - types: - - undefined - skip: false -Kernel.instance_values: - types: - - undefined - skip: false -Kernel.instance_variable_names: - types: - - undefined - skip: false -Kernel.mattr_accessor: - types: - - undefined - skip: false -Kernel.mattr_reader: - types: - - undefined - skip: false -Kernel.mattr_writer: - types: - - undefined - skip: false -Kernel.method_visibility: - types: - - undefined - skip: false -Kernel.parent: - types: - - undefined - skip: true -Kernel.parent_name: - types: - - undefined - skip: true -Kernel.parents: - types: - - undefined - skip: true -Kernel.presence: - types: - - Object - skip: false -Kernel.presence_in: - types: - - Object - skip: false -Kernel.present?: - types: - - 'true' - - 'false' - skip: false -Kernel.reachable_without_deprecation?: - types: - - undefined - skip: true -Kernel.redefine_method: - types: - - undefined - skip: false -Kernel.redefine_singleton_method: - types: - - undefined - skip: false -Kernel.remove_possible_method: - types: - - undefined - skip: false -Kernel.remove_possible_singleton_method: - types: - - undefined - skip: false -Kernel.silence_redefinition_of_method: - types: - - undefined - skip: false -Kernel.silence_warnings: - types: - - undefined - skip: false -Kernel.suppress: - types: - - undefined - skip: false -Kernel.thread_cattr_accessor: - types: - - undefined - skip: false -Kernel.thread_cattr_reader: - types: - - undefined - skip: false -Kernel.thread_cattr_writer: - types: - - undefined - skip: false -Kernel.thread_mattr_accessor: - types: - - undefined - skip: false -Kernel.thread_mattr_reader: - types: - - undefined - skip: false -Kernel.thread_mattr_writer: - types: - - undefined - skip: false -Kernel.to_json: - types: - - undefined - skip: true -Kernel.to_param: - types: - - undefined - skip: false -Kernel.to_query: - types: - - undefined - skip: false -Kernel.try: - types: - - undefined - skip: false -Kernel.try!: - types: - - undefined - skip: false -Kernel.with_options: - types: - - undefined - skip: false -Kernel.with_warnings: - types: - - undefined - skip: false -Kernel#class_eval: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/String.yml b/spec/definitions/rails5/core/String.yml deleted file mode 100644 index 0956b38..0000000 --- a/spec/definitions/rails5/core/String.yml +++ /dev/null @@ -1,473 +0,0 @@ ---- -String.`: - types: - - undefined - skip: false -String.acts_like?: - types: - - undefined - skip: false -String.alias_attribute: - types: - - undefined - skip: false -String.anonymous?: - types: - - undefined - skip: false -String.as_json: - types: - - undefined - skip: false -String.attr_internal: - types: - - undefined - skip: false -String.attr_internal_accessor: - types: - - undefined - skip: false -String.attr_internal_reader: - types: - - undefined - skip: false -String.attr_internal_writer: - types: - - undefined - skip: false -String.blank?: - types: - - 'true' - - 'false' - skip: false -String.cattr_accessor: - types: - - undefined - skip: false -String.cattr_reader: - types: - - undefined - skip: false -String.cattr_writer: - types: - - undefined - skip: false -String.class_attribute: - types: - - undefined - skip: false -String.concern: - types: - - undefined - skip: false -String.concerning: - types: - - undefined - skip: false -String.deep_dup: - types: - - undefined - skip: false -String.delegate: - types: - - undefined - skip: false -String.delegate_missing_to: - types: - - undefined - skip: false -String.deprecate: - types: - - undefined - skip: false -String.descendants: - types: - - undefined - skip: true -String.duplicable?: - types: - - undefined - skip: false -String.html_safe?: - types: - - undefined - skip: false -String.in?: - types: - - undefined - skip: false -String.instance_values: - types: - - undefined - skip: false -String.instance_variable_names: - types: - - undefined - skip: false -String.mattr_accessor: - types: - - undefined - skip: false -String.mattr_reader: - types: - - undefined - skip: false -String.mattr_writer: - types: - - undefined - skip: false -String.method_visibility: - types: - - undefined - skip: false -String.parent: - types: - - undefined - skip: true -String.parent_name: - types: - - undefined - skip: true -String.parents: - types: - - undefined - skip: true -String.presence: - types: - - Object - skip: false -String.presence_in: - types: - - Object - skip: false -String.present?: - types: - - 'true' - - 'false' - skip: false -String.reachable_without_deprecation?: - types: - - undefined - skip: true -String.redefine_method: - types: - - undefined - skip: false -String.redefine_singleton_method: - types: - - undefined - skip: false -String.remove_possible_method: - types: - - undefined - skip: false -String.remove_possible_singleton_method: - types: - - undefined - skip: false -String.silence_redefinition_of_method: - types: - - undefined - skip: false -String.subclasses: - types: - - undefined - skip: false -String.thread_cattr_accessor: - types: - - undefined - skip: false -String.thread_cattr_reader: - types: - - undefined - skip: false -String.thread_cattr_writer: - types: - - undefined - skip: false -String.thread_mattr_accessor: - types: - - undefined - skip: false -String.thread_mattr_reader: - types: - - undefined - skip: false -String.thread_mattr_writer: - types: - - undefined - skip: false -String.to_json: - types: - - undefined - skip: true -String.to_param: - types: - - undefined - skip: false -String.to_query: - types: - - undefined - skip: false -String.try: - types: - - undefined - skip: false -String.try!: - types: - - undefined - skip: false -String.with_options: - types: - - undefined - skip: false -String#`: - types: - - undefined - skip: false -String#acts_like?: - types: - - undefined - skip: false -String#acts_like_string?: - types: - - undefined - skip: false -String#as_json: - types: - - undefined - skip: false -String#at: - types: - - undefined - skip: false -String#blank?: - types: - - 'true' - - 'false' - skip: false -String#camelcase: - types: - - undefined - skip: false -String#camelize: - types: - - undefined - skip: false -String#class_eval: - types: - - undefined - skip: false -String#classify: - types: - - undefined - skip: false -String#constantize: - types: - - undefined - skip: false -String#dasherize: - types: - - undefined - skip: false -String#deconstantize: - types: - - undefined - skip: false -String#deep_dup: - types: - - undefined - skip: false -String#demodulize: - types: - - undefined - skip: false -String#duplicable?: - types: - - undefined - skip: false -String#exclude?: - types: - - undefined - skip: false -String#first: - types: - - undefined - skip: false -String#foreign_key: - types: - - undefined - skip: false -String#from: - types: - - undefined - skip: false -String#html_safe: - types: - - undefined - skip: false -String#html_safe?: - types: - - undefined - skip: false -String#humanize: - types: - - undefined - skip: false -String#in?: - types: - - undefined - skip: false -String#in_time_zone: - types: - - undefined - skip: false -String#indent: - types: - - undefined - skip: false -String#indent!: - types: - - undefined - skip: false -String#inquiry: - types: - - undefined - skip: false -String#instance_values: - types: - - undefined - skip: false -String#instance_variable_names: - types: - - undefined - skip: false -String#is_utf8?: - types: - - undefined - skip: false -String#last: - types: - - undefined - skip: false -String#mb_chars: - types: - - undefined - skip: false -String#parameterize: - types: - - undefined - skip: false -String#pluralize: - types: - - undefined - skip: false -String#presence: - types: - - Object - skip: false -String#presence_in: - types: - - Object - skip: false -String#present?: - types: - - 'true' - - 'false' - skip: false -String#remove: - types: - - undefined - skip: false -String#remove!: - types: - - undefined - skip: false -String#safe_constantize: - types: - - undefined - skip: false -String#singularize: - types: - - undefined - skip: false -String#squish: - types: - - undefined - skip: false -String#squish!: - types: - - undefined - skip: false -String#strip_heredoc: - types: - - undefined - skip: false -String#tableize: - types: - - undefined - skip: false -String#titlecase: - types: - - undefined - skip: false -String#titleize: - types: - - undefined - skip: false -String#to: - types: - - undefined - skip: false -String#to_date: - types: - - undefined - skip: false -String#to_datetime: - types: - - undefined - skip: false -String#to_json: - types: - - undefined - skip: true -String#to_param: - types: - - undefined - skip: false -String#to_query: - types: - - undefined - skip: false -String#to_time: - types: - - undefined - skip: false -String#truncate: - types: - - undefined - skip: false -String#truncate_words: - types: - - undefined - skip: false -String#try: - types: - - undefined - skip: false -String#try!: - types: - - undefined - skip: false -String#underscore: - types: - - undefined - skip: false -String#upcase_first: - types: - - undefined - skip: false -String#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/core/Time.yml b/spec/definitions/rails5/core/Time.yml deleted file mode 100644 index f637555..0000000 --- a/spec/definitions/rails5/core/Time.yml +++ /dev/null @@ -1,772 +0,0 @@ ---- -Time.===: - types: - - undefined - skip: false -Time.`: - types: - - undefined - skip: false -Time.acts_like?: - types: - - undefined - skip: false -Time.alias_attribute: - types: - - undefined - skip: false -Time.anonymous?: - types: - - undefined - skip: false -Time.as_json: - types: - - undefined - skip: false -Time.at: - types: - - undefined - skip: false -Time.at_with_coercion: - types: - - undefined - skip: false -Time.attr_internal: - types: - - undefined - skip: false -Time.attr_internal_accessor: - types: - - undefined - skip: false -Time.attr_internal_reader: - types: - - undefined - skip: false -Time.attr_internal_writer: - types: - - undefined - skip: false -Time.blank?: - types: - - 'true' - - 'false' - skip: false -Time.cattr_accessor: - types: - - undefined - skip: false -Time.cattr_reader: - types: - - undefined - skip: false -Time.cattr_writer: - types: - - undefined - skip: false -Time.class_attribute: - types: - - undefined - skip: false -Time.concern: - types: - - undefined - skip: false -Time.concerning: - types: - - undefined - skip: false -Time.current: - types: - - undefined - skip: false -Time.days_in_month: - types: - - undefined - skip: false -Time.days_in_year: - types: - - undefined - skip: false -Time.deep_dup: - types: - - undefined - skip: false -Time.delegate: - types: - - undefined - skip: false -Time.delegate_missing_to: - types: - - undefined - skip: false -Time.deprecate: - types: - - undefined - skip: false -Time.descendants: - types: - - undefined - skip: true -Time.duplicable?: - types: - - undefined - skip: false -Time.find_zone: - types: - - undefined - skip: false -Time.find_zone!: - types: - - undefined - skip: false -Time.html_safe?: - types: - - undefined - skip: false -Time.in?: - types: - - undefined - skip: false -Time.instance_values: - types: - - undefined - skip: false -Time.instance_variable_names: - types: - - undefined - skip: false -Time.mattr_accessor: - types: - - undefined - skip: false -Time.mattr_reader: - types: - - undefined - skip: false -Time.mattr_writer: - types: - - undefined - skip: false -Time.method_visibility: - types: - - undefined - skip: false -Time.parent: - types: - - undefined - skip: true -Time.parent_name: - types: - - undefined - skip: true -Time.parents: - types: - - undefined - skip: true -Time.presence: - types: - - Object - skip: false -Time.presence_in: - types: - - Object - skip: false -Time.present?: - types: - - 'true' - - 'false' - skip: false -Time.reachable_without_deprecation?: - types: - - undefined - skip: true -Time.redefine_method: - types: - - undefined - skip: false -Time.redefine_singleton_method: - types: - - undefined - skip: false -Time.remove_possible_method: - types: - - undefined - skip: false -Time.remove_possible_singleton_method: - types: - - undefined - skip: false -Time.rfc3339: - types: - - undefined - skip: false -Time.silence_redefinition_of_method: - types: - - undefined - skip: false -Time.subclasses: - types: - - undefined - skip: false -Time.thread_cattr_accessor: - types: - - undefined - skip: false -Time.thread_cattr_reader: - types: - - undefined - skip: false -Time.thread_cattr_writer: - types: - - undefined - skip: false -Time.thread_mattr_accessor: - types: - - undefined - skip: false -Time.thread_mattr_reader: - types: - - undefined - skip: false -Time.thread_mattr_writer: - types: - - undefined - skip: false -Time.to_json: - types: - - undefined - skip: true -Time.to_param: - types: - - undefined - skip: false -Time.to_query: - types: - - undefined - skip: false -Time.try: - types: - - undefined - skip: false -Time.try!: - types: - - undefined - skip: false -Time.use_zone: - types: - - undefined - skip: false -Time.with_options: - types: - - undefined - skip: false -Time.zone: - types: - - undefined - skip: false -Time.zone=: - types: - - undefined - skip: false -Time.zone_default: - types: - - undefined - skip: false -Time.zone_default=: - types: - - undefined - skip: false -Time#+: - types: - - undefined - skip: false -Time#-: - types: - - undefined - skip: false -Time#<=>: - types: - - undefined - skip: false -Time#`: - types: - - undefined - skip: false -Time#acts_like?: - types: - - undefined - skip: false -Time#acts_like_time?: - types: - - undefined - skip: false -Time#advance: - types: - - undefined - skip: false -Time#ago: - types: - - undefined - skip: false -Time#all_day: - types: - - undefined - skip: false -Time#all_month: - types: - - undefined - skip: false -Time#all_quarter: - types: - - undefined - skip: false -Time#all_week: - types: - - undefined - skip: false -Time#all_year: - types: - - undefined - skip: false -Time#as_json: - types: - - undefined - skip: false -Time#at_beginning_of_day: - types: - - undefined - skip: false -Time#at_beginning_of_hour: - types: - - undefined - skip: false -Time#at_beginning_of_minute: - types: - - undefined - skip: false -Time#at_beginning_of_month: - types: - - undefined - skip: false -Time#at_beginning_of_quarter: - types: - - undefined - skip: false -Time#at_beginning_of_week: - types: - - undefined - skip: false -Time#at_beginning_of_year: - types: - - undefined - skip: false -Time#at_end_of_day: - types: - - undefined - skip: false -Time#at_end_of_hour: - types: - - undefined - skip: false -Time#at_end_of_minute: - types: - - undefined - skip: false -Time#at_end_of_month: - types: - - undefined - skip: false -Time#at_end_of_quarter: - types: - - undefined - skip: false -Time#at_end_of_week: - types: - - undefined - skip: false -Time#at_end_of_year: - types: - - undefined - skip: false -Time#at_midday: - types: - - undefined - skip: false -Time#at_middle_of_day: - types: - - undefined - skip: false -Time#at_midnight: - types: - - undefined - skip: false -Time#at_noon: - types: - - undefined - skip: false -Time#beginning_of_day: - types: - - undefined - skip: false -Time#beginning_of_hour: - types: - - undefined - skip: false -Time#beginning_of_minute: - types: - - undefined - skip: false -Time#beginning_of_month: - types: - - undefined - skip: false -Time#beginning_of_quarter: - types: - - undefined - skip: false -Time#beginning_of_week: - types: - - undefined - skip: false -Time#beginning_of_year: - types: - - undefined - skip: false -Time#blank?: - types: - - 'false' - skip: false -Time#change: - types: - - undefined - skip: false -Time#class_eval: - types: - - undefined - skip: false -Time#compare_with_coercion: - types: - - undefined - skip: false -Time#days_ago: - types: - - undefined - skip: false -Time#days_since: - types: - - undefined - skip: false -Time#days_to_week_start: - types: - - undefined - skip: false -Time#deep_dup: - types: - - undefined - skip: false -Time#duplicable?: - types: - - undefined - skip: false -Time#end_of_day: - types: - - undefined - skip: false -Time#end_of_hour: - types: - - undefined - skip: false -Time#end_of_minute: - types: - - undefined - skip: false -Time#end_of_month: - types: - - undefined - skip: false -Time#end_of_quarter: - types: - - undefined - skip: false -Time#end_of_week: - types: - - undefined - skip: false -Time#end_of_year: - types: - - undefined - skip: false -Time#eql?: - types: - - undefined - skip: false -Time#eql_with_coercion: - types: - - undefined - skip: false -Time#formatted_offset: - types: - - undefined - skip: false -Time#future?: - types: - - undefined - skip: false -Time#html_safe?: - types: - - undefined - skip: false -Time#in: - types: - - undefined - skip: false -Time#in?: - types: - - undefined - skip: false -Time#in_time_zone: - types: - - undefined - skip: false -Time#instance_values: - types: - - undefined - skip: false -Time#instance_variable_names: - types: - - undefined - skip: false -Time#last_month: - types: - - undefined - skip: false -Time#last_quarter: - types: - - undefined - skip: false -Time#last_week: - types: - - undefined - skip: false -Time#last_weekday: - types: - - undefined - skip: false -Time#last_year: - types: - - undefined - skip: false -Time#midday: - types: - - undefined - skip: false -Time#middle_of_day: - types: - - undefined - skip: false -Time#midnight: - types: - - undefined - skip: false -Time#minus_with_coercion: - types: - - undefined - skip: false -Time#minus_with_duration: - types: - - undefined - skip: false -Time#minus_without_coercion: - types: - - undefined - skip: false -Time#monday: - types: - - undefined - skip: false -Time#months_ago: - types: - - undefined - skip: false -Time#months_since: - types: - - undefined - skip: false -Time#next_day: - types: - - undefined - skip: false -Time#next_month: - types: - - undefined - skip: false -Time#next_occurring: - types: - - undefined - skip: false -Time#next_quarter: - types: - - undefined - skip: false -Time#next_week: - types: - - undefined - skip: false -Time#next_weekday: - types: - - undefined - skip: false -Time#next_year: - types: - - undefined - skip: false -Time#noon: - types: - - undefined - skip: false -Time#on_weekday?: - types: - - undefined - skip: false -Time#on_weekend?: - types: - - undefined - skip: false -Time#past?: - types: - - undefined - skip: false -Time#plus_with_duration: - types: - - undefined - skip: false -Time#presence: - types: - - Object - skip: false -Time#presence_in: - types: - - Object - skip: false -Time#present?: - types: - - 'true' - - 'false' - skip: false -Time#preserve_timezone: - types: - - undefined - skip: true -Time#prev_day: - types: - - undefined - skip: false -Time#prev_month: - types: - - undefined - skip: false -Time#prev_occurring: - types: - - undefined - skip: false -Time#prev_quarter: - types: - - undefined - skip: false -Time#prev_week: - types: - - undefined - skip: false -Time#prev_weekday: - types: - - undefined - skip: false -Time#prev_year: - types: - - undefined - skip: false -Time#sec_fraction: - types: - - undefined - skip: false -Time#seconds_since_midnight: - types: - - undefined - skip: false -Time#seconds_until_end_of_day: - types: - - undefined - skip: false -Time#since: - types: - - undefined - skip: false -Time#sunday: - types: - - undefined - skip: false -Time#to_formatted_s: - types: - - undefined - skip: false -Time#to_json: - types: - - undefined - skip: true -Time#to_param: - types: - - undefined - skip: false -Time#to_query: - types: - - undefined - skip: false -Time#to_s: - types: - - undefined - skip: false -Time#to_time: - types: - - undefined - skip: false -Time#today?: - types: - - undefined - skip: false -Time#tomorrow: - types: - - undefined - skip: false -Time#try: - types: - - undefined - skip: false -Time#try!: - types: - - undefined - skip: false -Time#weeks_ago: - types: - - undefined - skip: false -Time#weeks_since: - types: - - undefined - skip: false -Time#with_options: - types: - - undefined - skip: false -Time#years_ago: - types: - - undefined - skip: false -Time#years_since: - types: - - undefined - skip: false -Time#yesterday: - types: - - undefined - skip: false diff --git a/spec/definitions/rails5/routes.yml b/spec/definitions/rails5/routes.yml deleted file mode 100644 index 491bee6..0000000 --- a/spec/definitions/rails5/routes.yml +++ /dev/null @@ -1,573 +0,0 @@ ---- -ActionDispatch::Routing::Mapper.`: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.acts_like?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.alias_attribute: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.anonymous?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.as_json: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.blank?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper.cattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.cattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.cattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.class_attribute: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.concern: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.concerning: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.const_missing: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.deep_dup: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.delegate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.delegate_missing_to: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.deprecate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.descendants: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.duplicable?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.gem: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.guess_for_anonymous: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.html_safe?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.in?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.instance_values: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.instance_variable_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.load_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.mattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.method_visibility: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.normalize_name: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.normalize_path: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.parent: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.parent_name: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.parents: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.presence: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper.presence_in: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper.present?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper.pry: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.rake_extension: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.reachable?: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.reachable_with_deprecation?: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.reachable_without_deprecation?: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.redefine_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.redefine_singleton_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.remove_possible_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.remove_possible_singleton_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.require_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.require_or_load: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.silence_redefinition_of_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.subclasses: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.to_json: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.to_param: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.to_query: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.try: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.try!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.unloadable: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.with_options: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#`: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#acts_like?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#as: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#as_json: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#authenticate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#authenticated: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#blank?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper#class_eval: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#collection: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#concern: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#concerns: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#constraints: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#constraints_for: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#controller: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#deep_dup: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#default_url_options: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#default_url_options=: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#defaults: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#delete: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_confirmation: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_for: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_omniauth_callback: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_password: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_registration: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_session: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_unlock: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#direct: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#duplicable?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#gem: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#get: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#has_named_route?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#html_safe?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#in?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#instance_values: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#instance_variable_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#load_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#match: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#member: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#mount: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#namespace: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#nested: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#new: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#patch: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#post: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#presence: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper#presence_in: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper#present?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper#pry: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#put: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#raise_no_devise_method_error!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#raise_no_secret_key: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#redirect: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#require_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#require_or_load: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#resolve: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#resource: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#resources: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#resources_path_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#root: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#set_omniauth_path_prefix!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#shallow: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#shallow?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#to_json: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#to_param: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#to_query: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#try: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#try!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#unauthenticated: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#unloadable: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#with_default_scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#with_devise_exclusive_scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/actioncontroller.yml b/spec/definitions/rails6/actioncontroller.yml deleted file mode 100644 index 32accec..0000000 --- a/spec/definitions/rails6/actioncontroller.yml +++ /dev/null @@ -1,1745 +0,0 @@ ---- -ActionController::Base.abstract: - types: - - undefined - skip: false -ActionController::Base.abstract!: - types: - - undefined - skip: false -ActionController::Base.abstract?: - types: - - undefined - skip: false -ActionController::Base.action: - types: - - undefined - skip: false -ActionController::Base.action_encoding_template: - types: - - undefined - skip: false -ActionController::Base.action_methods: - types: - - undefined - skip: false -ActionController::Base.acts_like?: - types: - - undefined - skip: false -ActionController::Base.add_flash_types: - types: - - undefined - skip: true -ActionController::Base.after_action: - types: - - undefined - skip: true -ActionController::Base.alias_attribute: - types: - - undefined - skip: false -ActionController::Base.all_helpers_from_path: - types: - - undefined - skip: true -ActionController::Base.allow_forgery_protection: - types: - - undefined - skip: true -ActionController::Base.allow_forgery_protection=: - types: - - undefined - skip: true -ActionController::Base.anonymous?: - types: - - undefined - skip: false -ActionController::Base.append_after_action: - types: - - undefined - skip: true -ActionController::Base.append_around_action: - types: - - undefined - skip: true -ActionController::Base.append_before_action: - types: - - undefined - skip: true -ActionController::Base.append_view_path: - types: - - undefined - skip: true -ActionController::Base.around_action: - types: - - undefined - skip: true -ActionController::Base.as_json: - types: - - undefined - skip: false -ActionController::Base.asset_host: - types: - - undefined - skip: true -ActionController::Base.asset_host=: - types: - - undefined - skip: true -ActionController::Base.assets_dir: - types: - - undefined - skip: true -ActionController::Base.assets_dir=: - types: - - undefined - skip: true -ActionController::Base.attr_internal: - types: - - undefined - skip: false -ActionController::Base.attr_internal_accessor: - types: - - undefined - skip: false -ActionController::Base.attr_internal_reader: - types: - - undefined - skip: false -ActionController::Base.attr_internal_writer: - types: - - undefined - skip: false -ActionController::Base.before_action: - types: - - undefined - skip: true -ActionController::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base.build_view_context_class: - types: - - undefined - skip: true -ActionController::Base.cache_store: - types: - - undefined - skip: true -ActionController::Base.cache_store=: - types: - - undefined - skip: true -ActionController::Base.cattr_accessor: - types: - - undefined - skip: false -ActionController::Base.cattr_reader: - types: - - undefined - skip: false -ActionController::Base.cattr_writer: - types: - - undefined - skip: false -ActionController::Base.class_attribute: - types: - - undefined - skip: false -ActionController::Base.clear_action_methods!: - types: - - undefined - skip: false -ActionController::Base.clear_helpers: - types: - - undefined - skip: true -ActionController::Base.clear_respond_to: - types: - - undefined - skip: true -ActionController::Base.concern: - types: - - undefined - skip: false -ActionController::Base.concerning: - types: - - undefined - skip: false -ActionController::Base.config: - types: - - undefined - skip: true -ActionController::Base.configure: - types: - - undefined - skip: true -ActionController::Base.const_missing: - types: - - undefined - skip: false -ActionController::Base.content_security_policy: - types: - - undefined - skip: true -ActionController::Base.content_security_policy_report_only: - types: - - undefined - skip: true -ActionController::Base.controller_name: - types: - - undefined - skip: false -ActionController::Base.controller_path: - types: - - undefined - skip: false -ActionController::Base.deep_dup: - types: - - undefined - skip: false -ActionController::Base.default_asset_host_protocol: - types: - - undefined - skip: true -ActionController::Base.default_asset_host_protocol=: - types: - - undefined - skip: true -ActionController::Base.default_form_builder: - types: - - undefined - skip: true -ActionController::Base.default_protect_from_forgery: - types: - - undefined - skip: true -ActionController::Base.default_protect_from_forgery=: - types: - - undefined - skip: true -ActionController::Base.default_static_extension: - types: - - undefined - skip: true -ActionController::Base.default_static_extension=: - types: - - undefined - skip: true -ActionController::Base.default_url_options: - types: - - undefined - skip: true -ActionController::Base.default_url_options=: - types: - - undefined - skip: true -ActionController::Base.default_url_options?: - types: - - undefined - skip: true -ActionController::Base.define_callbacks: - types: - - undefined - skip: false -ActionController::Base.delegate: - types: - - undefined - skip: false -ActionController::Base.delegate_missing_to: - types: - - undefined - skip: false -ActionController::Base.deprecate: - types: - - undefined - skip: false -ActionController::Base.descendants: - types: - - undefined - skip: false -ActionController::Base.devise_group: - types: - - undefined - skip: true -ActionController::Base.direct_descendants: - types: - - undefined - skip: false -ActionController::Base.dispatch: - types: - - undefined - skip: false -ActionController::Base.duplicable?: - types: - - undefined - skip: false -ActionController::Base.enable_fragment_cache_logging: - types: - - undefined - skip: true -ActionController::Base.enable_fragment_cache_logging=: - types: - - undefined - skip: true -ActionController::Base.etag: - types: - - undefined - skip: true -ActionController::Base.etag_with_template_digest: - types: - - undefined - skip: true -ActionController::Base.etag_with_template_digest=: - types: - - undefined - skip: true -ActionController::Base.etag_with_template_digest?: - types: - - undefined - skip: true -ActionController::Base.etaggers: - types: - - undefined - skip: true -ActionController::Base.etaggers=: - types: - - undefined - skip: true -ActionController::Base.etaggers?: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_origin_check: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_origin_check=: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_strategy: - types: - - undefined - skip: true -ActionController::Base.forgery_protection_strategy=: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_key: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_keys: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_keys=: - types: - - undefined - skip: true -ActionController::Base.fragment_cache_keys?: - types: - - undefined - skip: true -ActionController::Base.gem: - types: - - undefined - skip: true -ActionController::Base.guess_for_anonymous: - types: - - undefined - skip: true -ActionController::Base.handler_for_rescue: - types: - - undefined - skip: false -ActionController::Base.helper: - types: - - undefined - skip: true -ActionController::Base.helper_attr: - types: - - undefined - skip: true -ActionController::Base.helper_method: - types: - - undefined - skip: true -ActionController::Base.helpers: - types: - - undefined - skip: true -ActionController::Base.helpers_path: - types: - - undefined - skip: true -ActionController::Base.helpers_path=: - types: - - undefined - skip: true -ActionController::Base.helpers_path?: - types: - - undefined - skip: true -ActionController::Base.html_safe?: - types: - - undefined - skip: false -ActionController::Base.http_basic_authenticate_with: - types: - - undefined - skip: true -ActionController::Base.in?: - types: - - undefined - skip: false -ActionController::Base.include_all_helpers: - types: - - undefined - skip: true -ActionController::Base.include_all_helpers=: - types: - - undefined - skip: true -ActionController::Base.include_all_helpers?: - types: - - undefined - skip: true -ActionController::Base.inherited: - types: - - undefined - skip: false -ActionController::Base.instance_values: - types: - - undefined - skip: false -ActionController::Base.instance_variable_names: - types: - - undefined - skip: false -ActionController::Base.internal_methods: - types: - - undefined - skip: false -ActionController::Base.javascripts_dir: - types: - - undefined - skip: true -ActionController::Base.javascripts_dir=: - types: - - undefined - skip: true -ActionController::Base.layout: - types: - - undefined - skip: true -ActionController::Base.load_dependency: - types: - - undefined - skip: true -ActionController::Base.log_at: - types: - - undefined - skip: true -ActionController::Base.log_process_action: - types: - - undefined - skip: true -ActionController::Base.log_warning_on_csrf_failure: - types: - - undefined - skip: true -ActionController::Base.log_warning_on_csrf_failure=: - types: - - undefined - skip: true -ActionController::Base.logger: - types: - - undefined - skip: true -ActionController::Base.logger=: - types: - - undefined - skip: true -ActionController::Base.make_response!: - types: - - undefined - skip: false -ActionController::Base.mattr_accessor: - types: - - undefined - skip: false -ActionController::Base.mattr_reader: - types: - - undefined - skip: false -ActionController::Base.mattr_writer: - types: - - undefined - skip: false -ActionController::Base.method_added: - types: - - undefined - skip: false -ActionController::Base.method_visibility: - types: - - undefined - skip: false -ActionController::Base.middleware: - types: - - undefined - skip: false -ActionController::Base.middleware_stack: - types: - - undefined - skip: true -ActionController::Base.middleware_stack=: - types: - - undefined - skip: true -ActionController::Base.middleware_stack?: - types: - - undefined - skip: true -ActionController::Base.mimes_for_respond_to: - types: - - undefined - skip: true -ActionController::Base.mimes_for_respond_to=: - types: - - undefined - skip: true -ActionController::Base.mimes_for_respond_to?: - types: - - undefined - skip: true -ActionController::Base.module_parent: - types: - - undefined - skip: false -ActionController::Base.module_parent_name: - types: - - undefined - skip: false -ActionController::Base.module_parents: - types: - - undefined - skip: false -ActionController::Base.modules_for_helpers: - types: - - undefined - skip: true -ActionController::Base.normalize_callback_params: - types: - - undefined - skip: false -ActionController::Base.param_encoding: - types: - - undefined - skip: true -ActionController::Base.per_form_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base.per_form_csrf_tokens=: - types: - - undefined - skip: true -ActionController::Base.perform_caching: - types: - - undefined - skip: true -ActionController::Base.perform_caching=: - types: - - undefined - skip: true -ActionController::Base.permissions_policy: - types: - - undefined - skip: true -ActionController::Base.prepend_after_action: - types: - - undefined - skip: true -ActionController::Base.prepend_around_action: - types: - - undefined - skip: true -ActionController::Base.prepend_before_action: - types: - - undefined - skip: true -ActionController::Base.prepend_view_path: - types: - - undefined - skip: true -ActionController::Base.presence: - types: - - Object - skip: false -ActionController::Base.presence_in: - types: - - Object - skip: false -ActionController::Base.present?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base.protect_from_forgery: - types: - - undefined - skip: false -ActionController::Base.pry: - types: - - undefined - skip: false -ActionController::Base.rake_extension: - types: - - undefined - skip: false -ActionController::Base.redefine_method: - types: - - undefined - skip: false -ActionController::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActionController::Base.relative_url_root: - types: - - undefined - skip: true -ActionController::Base.relative_url_root=: - types: - - undefined - skip: true -ActionController::Base.remove_possible_method: - types: - - undefined - skip: false -ActionController::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActionController::Base.render: - types: - - undefined - skip: true -ActionController::Base.renderer: - types: - - undefined - skip: true -ActionController::Base.request_forgery_protection_token: - types: - - undefined - skip: true -ActionController::Base.request_forgery_protection_token=: - types: - - undefined - skip: true -ActionController::Base.require_dependency: - types: - - undefined - skip: true -ActionController::Base.require_or_load: - types: - - undefined - skip: true -ActionController::Base.rescue_from: - types: - - undefined - skip: false -ActionController::Base.rescue_handlers: - types: - - undefined - skip: true -ActionController::Base.rescue_handlers=: - types: - - undefined - skip: true -ActionController::Base.rescue_handlers?: - types: - - undefined - skip: true -ActionController::Base.rescue_with_handler: - types: - - undefined - skip: false -ActionController::Base.reset_callbacks: - types: - - undefined - skip: false -ActionController::Base.respond_to: - types: - - undefined - skip: true -ActionController::Base.responder: - types: - - undefined - skip: true -ActionController::Base.responder=: - types: - - undefined - skip: true -ActionController::Base.responder?: - types: - - undefined - skip: true -ActionController::Base.responders: - types: - - undefined - skip: true -ActionController::Base.set_callback: - types: - - undefined - skip: false -ActionController::Base.setup_param_encode: - types: - - undefined - skip: true -ActionController::Base.setup_renderer!: - types: - - undefined - skip: true -ActionController::Base.silence_redefinition_of_method: - types: - - undefined - skip: false -ActionController::Base.skip_after_action: - types: - - undefined - skip: true -ActionController::Base.skip_around_action: - types: - - undefined - skip: true -ActionController::Base.skip_before_action: - types: - - undefined - skip: true -ActionController::Base.skip_callback: - types: - - undefined - skip: false -ActionController::Base.skip_forgery_protection: - types: - - undefined - skip: false -ActionController::Base.skip_parameter_encoding: - types: - - undefined - skip: true -ActionController::Base.stylesheets_dir: - types: - - undefined - skip: true -ActionController::Base.stylesheets_dir=: - types: - - undefined - skip: true -ActionController::Base.subclasses: - types: - - undefined - skip: false -ActionController::Base.supports_path?: - types: - - undefined - skip: false -ActionController::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActionController::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActionController::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActionController::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActionController::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActionController::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActionController::Base.to_json: - types: - - undefined - skip: true -ActionController::Base.to_param: - types: - - undefined - skip: false -ActionController::Base.to_query: - types: - - undefined - skip: false -ActionController::Base.try: - types: - - undefined - skip: false -ActionController::Base.try!: - types: - - undefined - skip: false -ActionController::Base.unloadable: - types: - - undefined - skip: true -ActionController::Base.urlsafe_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base.urlsafe_csrf_tokens=: - types: - - undefined - skip: true -ActionController::Base.use: - types: - - undefined - skip: true -ActionController::Base.use_renderer: - types: - - undefined - skip: true -ActionController::Base.use_renderers: - types: - - undefined - skip: true -ActionController::Base.view_cache_dependency: - types: - - undefined - skip: true -ActionController::Base.view_context_class: - types: - - undefined - skip: true -ActionController::Base.view_paths: - types: - - undefined - skip: true -ActionController::Base.view_paths=: - types: - - undefined - skip: true -ActionController::Base.with_options: - types: - - undefined - skip: false -ActionController::Base.without_modules: - types: - - undefined - skip: false -ActionController::Base.wrap_parameters: - types: - - undefined - skip: true -ActionController::Base#action_has_layout?: - types: - - undefined - skip: true -ActionController::Base#action_methods: - types: - - undefined - skip: false -ActionController::Base#action_name: - types: - - undefined - skip: false -ActionController::Base#action_name=: - types: - - undefined - skip: true -ActionController::Base#acts_like?: - types: - - undefined - skip: false -ActionController::Base#after_sign_in_path_for: - types: - - undefined - skip: true -ActionController::Base#after_sign_out_path_for: - types: - - undefined - skip: true -ActionController::Base#alert: - types: - - undefined - skip: true -ActionController::Base#allow_forgery_protection: - types: - - undefined - skip: true -ActionController::Base#allow_forgery_protection=: - types: - - undefined - skip: true -ActionController::Base#allow_params_authentication!: - types: - - undefined - skip: true -ActionController::Base#any_templates?: - types: - - undefined - skip: true -ActionController::Base#append_view_path: - types: - - undefined - skip: false -ActionController::Base#as_json: - types: - - undefined - skip: false -ActionController::Base#asset_host: - types: - - undefined - skip: true -ActionController::Base#asset_host=: - types: - - undefined - skip: true -ActionController::Base#assets_dir: - types: - - undefined - skip: true -ActionController::Base#assets_dir=: - types: - - undefined - skip: true -ActionController::Base#authenticate_or_request_with_http_basic: - types: - - undefined - skip: true -ActionController::Base#authenticate_or_request_with_http_digest: - types: - - undefined - skip: true -ActionController::Base#authenticate_or_request_with_http_token: - types: - - undefined - skip: true -ActionController::Base#authenticate_with_http_basic: - types: - - undefined - skip: true -ActionController::Base#authenticate_with_http_digest: - types: - - undefined - skip: true -ActionController::Base#authenticate_with_http_token: - types: - - undefined - skip: true -ActionController::Base#available_action?: - types: - - undefined - skip: false -ActionController::Base#benchmark: - types: - - undefined - skip: true -ActionController::Base#blank?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base#bypass_sign_in: - types: - - undefined - skip: true -ActionController::Base#cache_store: - types: - - undefined - skip: true -ActionController::Base#cache_store=: - types: - - undefined - skip: true -ActionController::Base#class_eval: - types: - - undefined - skip: false -ActionController::Base#combined_fragment_cache_key: - types: - - undefined - skip: true -ActionController::Base#config: - types: - - undefined - skip: false -ActionController::Base#content_type: - types: - - undefined - skip: true -ActionController::Base#content_type=: - types: - - undefined - skip: true -ActionController::Base#controller_name: - types: - - undefined - skip: false -ActionController::Base#controller_path: - types: - - undefined - skip: false -ActionController::Base#deep_dup: - types: - - undefined - skip: false -ActionController::Base#default_asset_host_protocol: - types: - - undefined - skip: true -ActionController::Base#default_asset_host_protocol=: - types: - - undefined - skip: true -ActionController::Base#default_form_builder: - types: - - undefined - skip: true -ActionController::Base#default_protect_from_forgery: - types: - - undefined - skip: true -ActionController::Base#default_protect_from_forgery=: - types: - - undefined - skip: true -ActionController::Base#default_render: - types: - - undefined - skip: true -ActionController::Base#default_static_extension: - types: - - undefined - skip: true -ActionController::Base#default_static_extension=: - types: - - undefined - skip: true -ActionController::Base#default_url_options: - types: - - undefined - skip: true -ActionController::Base#default_url_options=: - types: - - undefined - skip: true -ActionController::Base#default_url_options?: - types: - - undefined - skip: true -ActionController::Base#details_for_lookup: - types: - - undefined - skip: false -ActionController::Base#devise_controller?: - types: - - undefined - skip: true -ActionController::Base#devise_parameter_sanitizer: - types: - - undefined - skip: true -ActionController::Base#dispatch: - types: - - undefined - skip: false -ActionController::Base#duplicable?: - types: - - undefined - skip: false -ActionController::Base#edit_polymorphic_path: - types: - - undefined - skip: true -ActionController::Base#edit_polymorphic_url: - types: - - undefined - skip: true -ActionController::Base#enable_fragment_cache_logging: - types: - - undefined - skip: true -ActionController::Base#enable_fragment_cache_logging=: - types: - - undefined - skip: true -ActionController::Base#etag_with_template_digest: - types: - - undefined - skip: true -ActionController::Base#etag_with_template_digest=: - types: - - undefined - skip: true -ActionController::Base#etag_with_template_digest?: - types: - - undefined - skip: true -ActionController::Base#etaggers: - types: - - undefined - skip: true -ActionController::Base#etaggers=: - types: - - undefined - skip: true -ActionController::Base#etaggers?: - types: - - undefined - skip: true -ActionController::Base#expire_fragment: - types: - - undefined - skip: true -ActionController::Base#expires_in: - types: - - undefined - skip: true -ActionController::Base#expires_now: - types: - - undefined - skip: true -ActionController::Base#flash: - types: - - ActionDispatch::Flash::FlashHash - skip: false -ActionController::Base#forgery_protection_origin_check: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_origin_check=: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_strategy: - types: - - undefined - skip: true -ActionController::Base#forgery_protection_strategy=: - types: - - undefined - skip: true -ActionController::Base#formats: - types: - - undefined - skip: false -ActionController::Base#formats=: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_keys: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_keys=: - types: - - undefined - skip: true -ActionController::Base#fragment_cache_keys?: - types: - - undefined - skip: true -ActionController::Base#fragment_exist?: - types: - - undefined - skip: true -ActionController::Base#fresh_when: - types: - - undefined - skip: true -ActionController::Base#full_url_for: - types: - - undefined - skip: false -ActionController::Base#gem: - types: - - undefined - skip: true -ActionController::Base#handle_unverified_request: - types: - - undefined - skip: true -ActionController::Base#handler_for_rescue: - types: - - undefined - skip: true -ActionController::Base#head: - types: - - undefined - skip: true -ActionController::Base#headers: - types: - - undefined - skip: true -ActionController::Base#helpers: - types: - - undefined - skip: true -ActionController::Base#helpers_path: - types: - - undefined - skip: true -ActionController::Base#helpers_path=: - types: - - undefined - skip: true -ActionController::Base#helpers_path?: - types: - - undefined - skip: true -ActionController::Base#html_safe?: - types: - - undefined - skip: false -ActionController::Base#http_basic_authenticate_or_request_with: - types: - - undefined - skip: true -ActionController::Base#http_cache_forever: - types: - - undefined - skip: true -ActionController::Base#in?: - types: - - undefined - skip: false -ActionController::Base#include_all_helpers: - types: - - undefined - skip: true -ActionController::Base#include_all_helpers=: - types: - - undefined - skip: true -ActionController::Base#include_all_helpers?: - types: - - undefined - skip: true -ActionController::Base#inspect: - types: - - undefined - skip: false -ActionController::Base#instance_values: - types: - - undefined - skip: false -ActionController::Base#instance_variable_names: - types: - - undefined - skip: false -ActionController::Base#instrument_fragment_cache: - types: - - undefined - skip: true -ActionController::Base#is_flashing_format?: - types: - - undefined - skip: true -ActionController::Base#is_navigational_format?: - types: - - undefined - skip: true -ActionController::Base#javascripts_dir: - types: - - undefined - skip: true -ActionController::Base#javascripts_dir=: - types: - - undefined - skip: true -ActionController::Base#l: - types: - - undefined - skip: true -ActionController::Base#load_dependency: - types: - - undefined - skip: true -ActionController::Base#locale: - types: - - undefined - skip: true -ActionController::Base#locale=: - types: - - undefined - skip: true -ActionController::Base#localize: - types: - - undefined - skip: true -ActionController::Base#location: - types: - - undefined - skip: true -ActionController::Base#location=: - types: - - undefined - skip: true -ActionController::Base#log_warning_on_csrf_failure: - types: - - undefined - skip: true -ActionController::Base#log_warning_on_csrf_failure=: - types: - - undefined - skip: true -ActionController::Base#logger: - types: - - undefined - skip: true -ActionController::Base#logger=: - types: - - undefined - skip: true -ActionController::Base#lookup_context: - types: - - undefined - skip: false -ActionController::Base#main_app: - types: - - undefined - skip: true -ActionController::Base#media_type: - types: - - undefined - skip: true -ActionController::Base#method_for_action: - types: - - undefined - skip: false -ActionController::Base#middleware_stack: - types: - - undefined - skip: true -ActionController::Base#middleware_stack=: - types: - - undefined - skip: true -ActionController::Base#middleware_stack?: - types: - - undefined - skip: true -ActionController::Base#mimes_for_respond_to: - types: - - undefined - skip: true -ActionController::Base#mimes_for_respond_to=: - types: - - undefined - skip: true -ActionController::Base#mimes_for_respond_to?: - types: - - undefined - skip: true -ActionController::Base#new_polymorphic_path: - types: - - undefined - skip: true -ActionController::Base#new_polymorphic_url: - types: - - undefined - skip: true -ActionController::Base#notice: - types: - - undefined - skip: true -ActionController::Base#params: - types: - - ActionController::Parameters - skip: false -ActionController::Base#params=: - types: - - undefined - skip: false -ActionController::Base#per_form_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base#per_form_csrf_tokens=: - types: - - undefined - skip: true -ActionController::Base#perform_caching: - types: - - undefined - skip: true -ActionController::Base#perform_caching=: - types: - - undefined - skip: true -ActionController::Base#performed?: - types: - - undefined - skip: false -ActionController::Base#polymorphic_path: - types: - - undefined - skip: false -ActionController::Base#polymorphic_url: - types: - - undefined - skip: false -ActionController::Base#prepend_view_path: - types: - - undefined - skip: false -ActionController::Base#presence: - types: - - Object - skip: false -ActionController::Base#presence_in: - types: - - Object - skip: false -ActionController::Base#present?: - types: - - 'true' - - 'false' - skip: false -ActionController::Base#process: - types: - - undefined - skip: false -ActionController::Base#pry: - types: - - undefined - skip: false -ActionController::Base#raise_on_missing_translations: - types: - - undefined - skip: true -ActionController::Base#raise_on_missing_translations=: - types: - - undefined - skip: true -ActionController::Base#read_fragment: - types: - - undefined - skip: true -ActionController::Base#redirect_back: - types: - - undefined - skip: false -ActionController::Base#redirect_to: - types: - - undefined - skip: false -ActionController::Base#relative_url_root: - types: - - undefined - skip: true -ActionController::Base#relative_url_root=: - types: - - undefined - skip: true -ActionController::Base#render: - types: - - undefined - skip: false -ActionController::Base#render_to_body: - types: - - undefined - skip: false -ActionController::Base#render_to_string: - types: - - undefined - skip: false -ActionController::Base#rendered_format: - types: - - undefined - skip: false -ActionController::Base#request: - types: - - ActionDispatch::Request - skip: false -ActionController::Base#request=: - types: - - undefined - skip: true -ActionController::Base#request_forgery_protection_token: - types: - - undefined - skip: true -ActionController::Base#request_forgery_protection_token=: - types: - - undefined - skip: true -ActionController::Base#request_format: - types: - - undefined - skip: true -ActionController::Base#request_http_basic_authentication: - types: - - undefined - skip: true -ActionController::Base#request_http_digest_authentication: - types: - - undefined - skip: true -ActionController::Base#request_http_token_authentication: - types: - - undefined - skip: true -ActionController::Base#require_dependency: - types: - - undefined - skip: true -ActionController::Base#require_or_load: - types: - - undefined - skip: true -ActionController::Base#rescue_handlers: - types: - - undefined - skip: true -ActionController::Base#rescue_handlers=: - types: - - undefined - skip: true -ActionController::Base#rescue_handlers?: - types: - - undefined - skip: true -ActionController::Base#rescue_with_handler: - types: - - undefined - skip: true -ActionController::Base#reset_session: - types: - - undefined - skip: false -ActionController::Base#respond_to: - types: - - undefined - skip: false -ActionController::Base#respond_with: - types: - - undefined - skip: true -ActionController::Base#responder: - types: - - undefined - skip: true -ActionController::Base#responder=: - types: - - undefined - skip: true -ActionController::Base#responder?: - types: - - undefined - skip: true -ActionController::Base#response: - types: - - ActionDispatch::Response - skip: false -ActionController::Base#response=: - types: - - undefined - skip: true -ActionController::Base#response_body: - types: - - undefined - skip: false -ActionController::Base#response_body=: - types: - - undefined - skip: false -ActionController::Base#response_code: - types: - - undefined - skip: false -ActionController::Base#route_for: - types: - - undefined - skip: false -ActionController::Base#run_callbacks: - types: - - undefined - skip: true -ActionController::Base#send_action: - types: - - undefined - skip: false -ActionController::Base#send_data: - types: - - undefined - skip: true -ActionController::Base#send_file: - types: - - undefined - skip: true -ActionController::Base#session: - types: - - ActionDispatch::Request::Session - skip: false -ActionController::Base#set_request!: - types: - - undefined - skip: false -ActionController::Base#set_response!: - types: - - undefined - skip: false -ActionController::Base#show_detailed_exceptions?: - types: - - undefined - skip: true -ActionController::Base#sign_in: - types: - - undefined - skip: true -ActionController::Base#sign_in_and_redirect: - types: - - undefined - skip: true -ActionController::Base#sign_out: - types: - - undefined - skip: true -ActionController::Base#sign_out_all_scopes: - types: - - undefined - skip: true -ActionController::Base#sign_out_and_redirect: - types: - - undefined - skip: true -ActionController::Base#signed_in?: - types: - - undefined - skip: true -ActionController::Base#signed_in_root_path: - types: - - undefined - skip: true -ActionController::Base#stale?: - types: - - undefined - skip: true -ActionController::Base#status: - types: - - undefined - skip: true -ActionController::Base#status=: - types: - - undefined - skip: true -ActionController::Base#store_location_for: - types: - - undefined - skip: true -ActionController::Base#stored_location_for: - types: - - undefined - skip: true -ActionController::Base#stylesheets_dir: - types: - - undefined - skip: true -ActionController::Base#stylesheets_dir=: - types: - - undefined - skip: true -ActionController::Base#t: - types: - - undefined - skip: true -ActionController::Base#template_exists?: - types: - - undefined - skip: true -ActionController::Base#to_a: - types: - - undefined - skip: false -ActionController::Base#to_json: - types: - - undefined - skip: true -ActionController::Base#to_param: - types: - - undefined - skip: false -ActionController::Base#to_query: - types: - - undefined - skip: false -ActionController::Base#translate: - types: - - undefined - skip: true -ActionController::Base#try: - types: - - undefined - skip: false -ActionController::Base#try!: - types: - - undefined - skip: false -ActionController::Base#unloadable: - types: - - undefined - skip: true -ActionController::Base#url_for: - types: - - undefined - skip: false -ActionController::Base#url_options: - types: - - undefined - skip: false -ActionController::Base#urlsafe_csrf_tokens: - types: - - undefined - skip: true -ActionController::Base#view_assigns: - types: - - undefined - skip: false -ActionController::Base#view_cache_dependencies: - types: - - undefined - skip: true -ActionController::Base#view_context: - types: - - undefined - skip: true -ActionController::Base#view_context_class: - types: - - undefined - skip: true -ActionController::Base#view_paths: - types: - - undefined - skip: true -ActionController::Base#view_renderer: - types: - - undefined - skip: true -ActionController::Base#warden: - types: - - undefined - skip: true -ActionController::Base#with_options: - types: - - undefined - skip: false -ActionController::Base#write_fragment: - types: - - undefined - skip: true diff --git a/spec/definitions/rails6/activejob.yml b/spec/definitions/rails6/activejob.yml deleted file mode 100644 index 8792c98..0000000 --- a/spec/definitions/rails6/activejob.yml +++ /dev/null @@ -1,753 +0,0 @@ ---- -ActiveJob::Base.acts_like?: - types: - - undefined - skip: false -ActiveJob::Base.after_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.after_perform: - types: - - undefined - skip: true -ActiveJob::Base.alias_attribute: - types: - - undefined - skip: false -ActiveJob::Base.anonymous?: - types: - - undefined - skip: false -ActiveJob::Base.around_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.around_perform: - types: - - undefined - skip: true -ActiveJob::Base.as_json: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal_accessor: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal_reader: - types: - - undefined - skip: false -ActiveJob::Base.attr_internal_writer: - types: - - undefined - skip: false -ActiveJob::Base.before_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.before_perform: - types: - - undefined - skip: true -ActiveJob::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base.cattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.cattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.cattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.class_attribute: - types: - - undefined - skip: false -ActiveJob::Base.concern: - types: - - undefined - skip: false -ActiveJob::Base.concerning: - types: - - undefined - skip: false -ActiveJob::Base.const_missing: - types: - - undefined - skip: false -ActiveJob::Base.deep_dup: - types: - - undefined - skip: false -ActiveJob::Base.default_priority: - types: - - undefined - skip: true -ActiveJob::Base.default_priority=: - types: - - undefined - skip: true -ActiveJob::Base.default_queue_name: - types: - - undefined - skip: true -ActiveJob::Base.default_queue_name=: - types: - - undefined - skip: true -ActiveJob::Base.define_callbacks: - types: - - undefined - skip: true -ActiveJob::Base.delegate: - types: - - undefined - skip: false -ActiveJob::Base.delegate_missing_to: - types: - - undefined - skip: false -ActiveJob::Base.deprecate: - types: - - undefined - skip: false -ActiveJob::Base.descendants: - types: - - undefined - skip: false -ActiveJob::Base.deserialize: - types: - - undefined - skip: true -ActiveJob::Base.direct_descendants: - types: - - undefined - skip: true -ActiveJob::Base.discard_on: - types: - - undefined - skip: true -ActiveJob::Base.duplicable?: - types: - - undefined - skip: false -ActiveJob::Base.execute: - types: - - undefined - skip: true -ActiveJob::Base.gem: - types: - - undefined - skip: true -ActiveJob::Base.guess_for_anonymous: - types: - - undefined - skip: true -ActiveJob::Base.handler_for_rescue: - types: - - undefined - skip: true -ActiveJob::Base.html_safe?: - types: - - undefined - skip: false -ActiveJob::Base.in?: - types: - - undefined - skip: false -ActiveJob::Base.inherited: - types: - - undefined - skip: false -ActiveJob::Base.instance_values: - types: - - undefined - skip: false -ActiveJob::Base.instance_variable_names: - types: - - undefined - skip: false -ActiveJob::Base.load_dependency: - types: - - undefined - skip: true -ActiveJob::Base.log_arguments: - types: - - undefined - skip: true -ActiveJob::Base.log_arguments=: - types: - - undefined - skip: true -ActiveJob::Base.log_arguments?: - types: - - undefined - skip: true -ActiveJob::Base.logger: - types: - - undefined - skip: true -ActiveJob::Base.logger=: - types: - - undefined - skip: true -ActiveJob::Base.mattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.mattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.mattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.method_visibility: - types: - - undefined - skip: false -ActiveJob::Base.module_parent: - types: - - undefined - skip: false -ActiveJob::Base.module_parent_name: - types: - - undefined - skip: false -ActiveJob::Base.module_parents: - types: - - undefined - skip: false -ActiveJob::Base.normalize_callback_params: - types: - - undefined - skip: true -ActiveJob::Base.perform_later: - types: - - undefined - skip: true -ActiveJob::Base.perform_now: - types: - - undefined - skip: true -ActiveJob::Base.presence: - types: - - Object - skip: false -ActiveJob::Base.presence_in: - types: - - Object - skip: false -ActiveJob::Base.present?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base.priority: - types: - - undefined - skip: true -ActiveJob::Base.priority=: - types: - - undefined - skip: true -ActiveJob::Base.priority?: - types: - - undefined - skip: true -ActiveJob::Base.pry: - types: - - undefined - skip: false -ActiveJob::Base.queue_adapter: - types: - - undefined - skip: true -ActiveJob::Base.queue_adapter=: - types: - - undefined - skip: true -ActiveJob::Base.queue_adapter_name: - types: - - undefined - skip: true -ActiveJob::Base.queue_as: - types: - - undefined - skip: true -ActiveJob::Base.queue_name: - types: - - undefined - skip: true -ActiveJob::Base.queue_name=: - types: - - undefined - skip: true -ActiveJob::Base.queue_name?: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_delimiter: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_delimiter=: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_delimiter?: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_from_part: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_prefix: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_prefix=: - types: - - undefined - skip: true -ActiveJob::Base.queue_name_prefix?: - types: - - undefined - skip: true -ActiveJob::Base.queue_with_priority: - types: - - undefined - skip: true -ActiveJob::Base.rake_extension: - types: - - undefined - skip: false -ActiveJob::Base.redefine_method: - types: - - undefined - skip: false -ActiveJob::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActiveJob::Base.remove_possible_method: - types: - - undefined - skip: false -ActiveJob::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActiveJob::Base.require_dependency: - types: - - undefined - skip: true -ActiveJob::Base.require_or_load: - types: - - undefined - skip: true -ActiveJob::Base.rescue_from: - types: - - undefined - skip: true -ActiveJob::Base.rescue_handlers: - types: - - undefined - skip: true -ActiveJob::Base.rescue_handlers=: - types: - - undefined - skip: true -ActiveJob::Base.rescue_handlers?: - types: - - undefined - skip: true -ActiveJob::Base.rescue_with_handler: - types: - - undefined - skip: true -ActiveJob::Base.reset_callbacks: - types: - - undefined - skip: true -ActiveJob::Base.retry_jitter: - types: - - undefined - skip: true -ActiveJob::Base.retry_jitter=: - types: - - undefined - skip: true -ActiveJob::Base.retry_on: - types: - - undefined - skip: true -ActiveJob::Base.return_false_on_aborted_enqueue: - types: - - undefined - skip: true -ActiveJob::Base.return_false_on_aborted_enqueue=: - types: - - undefined - skip: true -ActiveJob::Base.set: - types: - - undefined - skip: true -ActiveJob::Base.set_callback: - types: - - undefined - skip: true -ActiveJob::Base.silence_redefinition_of_method: - types: - - undefined - skip: false -ActiveJob::Base.skip_after_callbacks_if_terminated: - types: - - undefined - skip: true -ActiveJob::Base.skip_after_callbacks_if_terminated=: - types: - - undefined - skip: true -ActiveJob::Base.skip_callback: - types: - - undefined - skip: true -ActiveJob::Base.subclasses: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.to_json: - types: - - undefined - skip: true -ActiveJob::Base.to_param: - types: - - undefined - skip: false -ActiveJob::Base.to_query: - types: - - undefined - skip: false -ActiveJob::Base.try: - types: - - undefined - skip: false -ActiveJob::Base.try!: - types: - - undefined - skip: false -ActiveJob::Base.unloadable: - types: - - undefined - skip: true -ActiveJob::Base.with_options: - types: - - undefined - skip: false -ActiveJob::Base#acts_like?: - types: - - undefined - skip: false -ActiveJob::Base#arguments: - types: - - undefined - skip: false -ActiveJob::Base#arguments=: - types: - - undefined - skip: false -ActiveJob::Base#as_json: - types: - - undefined - skip: false -ActiveJob::Base#blank?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base#class_eval: - types: - - undefined - skip: false -ActiveJob::Base#deep_dup: - types: - - undefined - skip: false -ActiveJob::Base#deserialize: - types: - - undefined - skip: false -ActiveJob::Base#duplicable?: - types: - - undefined - skip: false -ActiveJob::Base#enqueue: - types: - - undefined - skip: false -ActiveJob::Base#enqueued_at: - types: - - undefined - skip: false -ActiveJob::Base#enqueued_at=: - types: - - undefined - skip: false -ActiveJob::Base#exception_executions: - types: - - undefined - skip: false -ActiveJob::Base#exception_executions=: - types: - - undefined - skip: false -ActiveJob::Base#executions: - types: - - undefined - skip: false -ActiveJob::Base#executions=: - types: - - undefined - skip: false -ActiveJob::Base#gem: - types: - - undefined - skip: true -ActiveJob::Base#handler_for_rescue: - types: - - undefined - skip: false -ActiveJob::Base#html_safe?: - types: - - undefined - skip: false -ActiveJob::Base#in?: - types: - - undefined - skip: false -ActiveJob::Base#instance_values: - types: - - undefined - skip: false -ActiveJob::Base#instance_variable_names: - types: - - undefined - skip: false -ActiveJob::Base#job_id: - types: - - undefined - skip: false -ActiveJob::Base#job_id=: - types: - - undefined - skip: false -ActiveJob::Base#load_dependency: - types: - - undefined - skip: true -ActiveJob::Base#locale: - types: - - undefined - skip: false -ActiveJob::Base#locale=: - types: - - undefined - skip: false -ActiveJob::Base#logger: - types: - - undefined - skip: true -ActiveJob::Base#logger=: - types: - - undefined - skip: true -ActiveJob::Base#perform: - types: - - undefined - skip: false -ActiveJob::Base#perform_now: - types: - - undefined - skip: false -ActiveJob::Base#presence: - types: - - Object - skip: false -ActiveJob::Base#presence_in: - types: - - Object - skip: false -ActiveJob::Base#present?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base#priority: - types: - - undefined - skip: false -ActiveJob::Base#priority=: - types: - - undefined - skip: false -ActiveJob::Base#provider_job_id: - types: - - undefined - skip: false -ActiveJob::Base#provider_job_id=: - types: - - undefined - skip: false -ActiveJob::Base#pry: - types: - - undefined - skip: false -ActiveJob::Base#queue_adapter: - types: - - undefined - skip: true -ActiveJob::Base#queue_name: - types: - - undefined - skip: false -ActiveJob::Base#queue_name=: - types: - - undefined - skip: false -ActiveJob::Base#queue_name_prefix: - types: - - undefined - skip: true -ActiveJob::Base#queue_name_prefix=: - types: - - undefined - skip: true -ActiveJob::Base#queue_name_prefix?: - types: - - undefined - skip: true -ActiveJob::Base#require_dependency: - types: - - undefined - skip: true -ActiveJob::Base#require_or_load: - types: - - undefined - skip: true -ActiveJob::Base#rescue_handlers: - types: - - undefined - skip: true -ActiveJob::Base#rescue_handlers=: - types: - - undefined - skip: true -ActiveJob::Base#rescue_handlers?: - types: - - undefined - skip: true -ActiveJob::Base#rescue_with_handler: - types: - - undefined - skip: false -ActiveJob::Base#retry_job: - types: - - undefined - skip: false -ActiveJob::Base#run_callbacks: - types: - - undefined - skip: false -ActiveJob::Base#scheduled_at: - types: - - undefined - skip: false -ActiveJob::Base#scheduled_at=: - types: - - undefined - skip: false -ActiveJob::Base#serialize: - types: - - undefined - skip: false -ActiveJob::Base#serialized_arguments=: - types: - - undefined - skip: false -ActiveJob::Base#timezone: - types: - - undefined - skip: false -ActiveJob::Base#timezone=: - types: - - undefined - skip: false -ActiveJob::Base#to_json: - types: - - undefined - skip: true -ActiveJob::Base#to_param: - types: - - undefined - skip: false -ActiveJob::Base#to_query: - types: - - undefined - skip: false -ActiveJob::Base#try: - types: - - undefined - skip: false -ActiveJob::Base#try!: - types: - - undefined - skip: false -ActiveJob::Base#unloadable: - types: - - undefined - skip: true -ActiveJob::Base#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/activerecord.yml b/spec/definitions/rails6/activerecord.yml deleted file mode 100644 index 6055909..0000000 --- a/spec/definitions/rails6/activerecord.yml +++ /dev/null @@ -1,3207 +0,0 @@ ---- -ActiveRecord::Base.===: - types: - - undefined - skip: false -ActiveRecord::Base.abstract_class: - types: - - undefined - skip: false -ActiveRecord::Base.abstract_class=: - types: - - undefined - skip: false -ActiveRecord::Base.abstract_class?: - types: - - undefined - skip: false -ActiveRecord::Base.accepts_nested_attributes_for: - types: - - undefined - skip: true -ActiveRecord::Base.action_on_strict_loading_violation: - types: - - undefined - skip: true -ActiveRecord::Base.action_on_strict_loading_violation=: - types: - - undefined - skip: true -ActiveRecord::Base.acts_like?: - types: - - undefined - skip: false -ActiveRecord::Base.after_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_create: - types: - - undefined - skip: true -ActiveRecord::Base.after_create_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_destroy: - types: - - undefined - skip: true -ActiveRecord::Base.after_destroy_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_find: - types: - - undefined - skip: true -ActiveRecord::Base.after_initialize: - types: - - undefined - skip: true -ActiveRecord::Base.after_rollback: - types: - - undefined - skip: false -ActiveRecord::Base.after_save: - types: - - undefined - skip: true -ActiveRecord::Base.after_save_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_touch: - types: - - undefined - skip: true -ActiveRecord::Base.after_update: - types: - - undefined - skip: true -ActiveRecord::Base.after_update_commit: - types: - - undefined - skip: false -ActiveRecord::Base.after_validation: - types: - - undefined - skip: true -ActiveRecord::Base.aggregate_reflections: - types: - - undefined - skip: true -ActiveRecord::Base.aggregate_reflections=: - types: - - undefined - skip: true -ActiveRecord::Base.aggregate_reflections?: - types: - - undefined - skip: true -ActiveRecord::Base.alias_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.all: - types: - - undefined - skip: false -ActiveRecord::Base.all_timestamp_attributes_in_model: - types: - - undefined - skip: true -ActiveRecord::Base.allow_unsafe_raw_sql: - types: - - undefined - skip: true -ActiveRecord::Base.allow_unsafe_raw_sql=: - types: - - undefined - skip: true -ActiveRecord::Base.and: - types: - - undefined - skip: false -ActiveRecord::Base.annotate: - types: - - undefined - skip: false -ActiveRecord::Base.anonymous?: - types: - - undefined - skip: false -ActiveRecord::Base.any?: - types: - - undefined - skip: true -ActiveRecord::Base.arel_attribute: - types: - - undefined - skip: true -ActiveRecord::Base.arel_table: - types: - - undefined - skip: true -ActiveRecord::Base.around_create: - types: - - undefined - skip: true -ActiveRecord::Base.around_destroy: - types: - - undefined - skip: true -ActiveRecord::Base.around_save: - types: - - undefined - skip: true -ActiveRecord::Base.around_update: - types: - - undefined - skip: true -ActiveRecord::Base.as_json: - types: - - undefined - skip: false -ActiveRecord::Base.attachment_reflections: - types: - - undefined - skip: true -ActiveRecord::Base.attachment_reflections=: - types: - - undefined - skip: true -ActiveRecord::Base.attachment_reflections?: - types: - - undefined - skip: true -ActiveRecord::Base.attr_internal: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal_reader: - types: - - undefined - skip: false -ActiveRecord::Base.attr_internal_writer: - types: - - undefined - skip: false -ActiveRecord::Base.attr_readonly: - types: - - undefined - skip: true -ActiveRecord::Base.attribute: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_alias: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_alias?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_aliases: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_aliases=: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_aliases?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_affix: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_matchers: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_matchers=: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_matchers?: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_prefix: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_method_suffix: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_names: - types: - - undefined - skip: true -ActiveRecord::Base.attribute_types: - types: - - undefined - skip: false -ActiveRecord::Base.attributes_builder: - types: - - undefined - skip: false -ActiveRecord::Base.attributes_to_define_after_schema_loads: - types: - - undefined - skip: true -ActiveRecord::Base.attributes_to_define_after_schema_loads=: - types: - - undefined - skip: true -ActiveRecord::Base.attributes_to_define_after_schema_loads?: - types: - - undefined - skip: true -ActiveRecord::Base.average: - types: - - undefined - skip: true -ActiveRecord::Base.base_class: - types: - - undefined - skip: false -ActiveRecord::Base.base_class?: - types: - - undefined - skip: false -ActiveRecord::Base.before_commit: - types: - - undefined - skip: false -ActiveRecord::Base.before_create: - types: - - undefined - skip: true -ActiveRecord::Base.before_destroy: - types: - - undefined - skip: true -ActiveRecord::Base.before_remove_const: - types: - - undefined - skip: true -ActiveRecord::Base.before_save: - types: - - undefined - skip: true -ActiveRecord::Base.before_update: - types: - - undefined - skip: true -ActiveRecord::Base.before_validation: - types: - - undefined - skip: true -ActiveRecord::Base.belongs_to: - types: - - undefined - skip: false -ActiveRecord::Base.belongs_to_required_by_default: - types: - - undefined - skip: true -ActiveRecord::Base.belongs_to_required_by_default=: - types: - - undefined - skip: true -ActiveRecord::Base.belongs_to_required_by_default?: - types: - - undefined - skip: true -ActiveRecord::Base.benchmark: - types: - - undefined - skip: false -ActiveRecord::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActiveRecord::Base.cache: - types: - - undefined - skip: false -ActiveRecord::Base.cache_timestamp_format: - types: - - undefined - skip: true -ActiveRecord::Base.cache_timestamp_format=: - types: - - undefined - skip: true -ActiveRecord::Base.cache_timestamp_format?: - types: - - undefined - skip: true -ActiveRecord::Base.cache_versioning: - types: - - undefined - skip: true -ActiveRecord::Base.cache_versioning=: - types: - - undefined - skip: true -ActiveRecord::Base.cache_versioning?: - types: - - undefined - skip: true -ActiveRecord::Base.cached_find_by_statement: - types: - - undefined - skip: true -ActiveRecord::Base.calculate: - types: - - undefined - skip: true -ActiveRecord::Base.cattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.cattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.cattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.class_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.clear_active_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.clear_all_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.clear_cache!: - types: - - undefined - skip: false -ActiveRecord::Base.clear_query_caches_for_current_thread: - types: - - undefined - skip: false -ActiveRecord::Base.clear_reflections_cache: - types: - - undefined - skip: true -ActiveRecord::Base.clear_reloadable_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.clear_validators!: - types: - - undefined - skip: true -ActiveRecord::Base.collecting_queries_for_explain: - types: - - undefined - skip: false -ActiveRecord::Base.collection_cache_key: - types: - - undefined - skip: true -ActiveRecord::Base.collection_cache_versioning: - types: - - undefined - skip: true -ActiveRecord::Base.collection_cache_versioning=: - types: - - undefined - skip: true -ActiveRecord::Base.collection_cache_versioning?: - types: - - undefined - skip: true -ActiveRecord::Base.column_defaults: - types: - - undefined - skip: false -ActiveRecord::Base.column_for_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.column_names: - types: - - undefined - skip: false -ActiveRecord::Base.columns: - types: - - undefined - skip: false -ActiveRecord::Base.columns_hash: - types: - - undefined - skip: false -ActiveRecord::Base.combine_signed_id_purposes: - types: - - undefined - skip: true -ActiveRecord::Base.composed_of: - types: - - undefined - skip: false -ActiveRecord::Base.concern: - types: - - undefined - skip: false -ActiveRecord::Base.concerning: - types: - - undefined - skip: false -ActiveRecord::Base.configurations: - types: - - undefined - skip: true -ActiveRecord::Base.configurations=: - types: - - undefined - skip: true -ActiveRecord::Base.connected?: - types: - - undefined - skip: false -ActiveRecord::Base.connected_to: - types: - - undefined - skip: false -ActiveRecord::Base.connected_to?: - types: - - undefined - skip: false -ActiveRecord::Base.connected_to_many: - types: - - undefined - skip: false -ActiveRecord::Base.connected_to_stack: - types: - - undefined - skip: true -ActiveRecord::Base.connecting_to: - types: - - undefined - skip: false -ActiveRecord::Base.connection: - types: - - undefined - skip: false -ActiveRecord::Base.connection_class: - types: - - undefined - skip: true -ActiveRecord::Base.connection_class=: - types: - - undefined - skip: true -ActiveRecord::Base.connection_class?: - types: - - undefined - skip: true -ActiveRecord::Base.connection_classes: - types: - - undefined - skip: true -ActiveRecord::Base.connection_config: - types: - - undefined - skip: false -ActiveRecord::Base.connection_db_config: - types: - - undefined - skip: false -ActiveRecord::Base.connection_handler: - types: - - undefined - skip: true -ActiveRecord::Base.connection_handler=: - types: - - undefined - skip: true -ActiveRecord::Base.connection_handlers: - types: - - undefined - skip: true -ActiveRecord::Base.connection_handlers=: - types: - - undefined - skip: true -ActiveRecord::Base.connection_pool: - types: - - undefined - skip: false -ActiveRecord::Base.connection_specification_name: - types: - - undefined - skip: false -ActiveRecord::Base.connection_specification_name=: - types: - - undefined - skip: false -ActiveRecord::Base.connects_to: - types: - - undefined - skip: false -ActiveRecord::Base.const_missing: - types: - - undefined - skip: false -ActiveRecord::Base.content_columns: - types: - - undefined - skip: false -ActiveRecord::Base.count: - types: - - undefined - skip: true -ActiveRecord::Base.count_by_sql: - types: - - undefined - skip: false -ActiveRecord::Base.create: - types: - - undefined - skip: true -ActiveRecord::Base.create!: - types: - - undefined - skip: true -ActiveRecord::Base.create_or_find_by: - types: - - undefined - skip: true -ActiveRecord::Base.create_or_find_by!: - types: - - undefined - skip: true -ActiveRecord::Base.create_with: - types: - - undefined - skip: false -ActiveRecord::Base.current_preventing_writes: - types: - - undefined - skip: true -ActiveRecord::Base.current_role: - types: - - undefined - skip: true -ActiveRecord::Base.current_scope: - types: - - undefined - skip: true -ActiveRecord::Base.current_scope=: - types: - - undefined - skip: true -ActiveRecord::Base.current_shard: - types: - - undefined - skip: true -ActiveRecord::Base.current_time_from_proper_timezone: - types: - - undefined - skip: true -ActiveRecord::Base.dangerous_attribute_method?: - types: - - undefined - skip: true -ActiveRecord::Base.dangerous_class_method?: - types: - - undefined - skip: true -ActiveRecord::Base.decrement_counter: - types: - - undefined - skip: true -ActiveRecord::Base.deep_dup: - types: - - undefined - skip: false -ActiveRecord::Base.default_connection_handler: - types: - - undefined - skip: true -ActiveRecord::Base.default_connection_handler=: - types: - - undefined - skip: true -ActiveRecord::Base.default_connection_handler?: - types: - - undefined - skip: true -ActiveRecord::Base.default_extensions: - types: - - undefined - skip: false -ActiveRecord::Base.default_role: - types: - - undefined - skip: true -ActiveRecord::Base.default_role=: - types: - - undefined - skip: true -ActiveRecord::Base.default_role?: - types: - - undefined - skip: true -ActiveRecord::Base.default_scope_override: - types: - - undefined - skip: true -ActiveRecord::Base.default_scope_override=: - types: - - undefined - skip: true -ActiveRecord::Base.default_scoped: - types: - - undefined - skip: false -ActiveRecord::Base.default_scopes: - types: - - undefined - skip: true -ActiveRecord::Base.default_scopes=: - types: - - undefined - skip: true -ActiveRecord::Base.default_shard: - types: - - undefined - skip: true -ActiveRecord::Base.default_shard=: - types: - - undefined - skip: true -ActiveRecord::Base.default_shard?: - types: - - undefined - skip: true -ActiveRecord::Base.default_timezone: - types: - - undefined - skip: true -ActiveRecord::Base.default_timezone=: - types: - - undefined - skip: true -ActiveRecord::Base.define_attribute: - types: - - undefined - skip: true -ActiveRecord::Base.define_attribute_method: - types: - - undefined - skip: true -ActiveRecord::Base.define_attribute_methods: - types: - - undefined - skip: true -ActiveRecord::Base.define_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base.define_model_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base.defined_enums: - types: - - undefined - skip: true -ActiveRecord::Base.defined_enums=: - types: - - undefined - skip: true -ActiveRecord::Base.defined_enums?: - types: - - undefined - skip: true -ActiveRecord::Base.delegate: - types: - - undefined - skip: false -ActiveRecord::Base.delegate_missing_to: - types: - - undefined - skip: false -ActiveRecord::Base.delegated_type: - types: - - undefined - skip: false -ActiveRecord::Base.delete: - types: - - undefined - skip: true -ActiveRecord::Base.delete_all: - types: - - undefined - skip: true -ActiveRecord::Base.delete_by: - types: - - undefined - skip: true -ActiveRecord::Base.deprecate: - types: - - undefined - skip: false -ActiveRecord::Base.descendants: - types: - - undefined - skip: false -ActiveRecord::Base.descends_from_active_record?: - types: - - undefined - skip: false -ActiveRecord::Base.destroy: - types: - - undefined - skip: true -ActiveRecord::Base.destroy_all: - types: - - undefined - skip: true -ActiveRecord::Base.destroy_association_async_job: - types: - - undefined - skip: true -ActiveRecord::Base.destroy_association_async_job=: - types: - - undefined - skip: true -ActiveRecord::Base.destroy_by: - types: - - undefined - skip: true -ActiveRecord::Base.direct_descendants: - types: - - undefined - skip: false -ActiveRecord::Base.disallow_raw_sql!: - types: - - undefined - skip: true -ActiveRecord::Base.distinct: - types: - - undefined - skip: false -ActiveRecord::Base.dump_schema_after_migration: - types: - - undefined - skip: true -ActiveRecord::Base.dump_schema_after_migration=: - types: - - undefined - skip: true -ActiveRecord::Base.dump_schemas: - types: - - undefined - skip: true -ActiveRecord::Base.dump_schemas=: - types: - - undefined - skip: true -ActiveRecord::Base.duplicable?: - types: - - undefined - skip: false -ActiveRecord::Base.eager_load: - types: - - undefined - skip: false -ActiveRecord::Base.enum: - types: - - undefined - skip: false -ActiveRecord::Base.error_on_ignored_order: - types: - - undefined - skip: true -ActiveRecord::Base.error_on_ignored_order=: - types: - - undefined - skip: true -ActiveRecord::Base.establish_connection: - types: - - undefined - skip: false -ActiveRecord::Base.except: - types: - - undefined - skip: true -ActiveRecord::Base.exec_explain: - types: - - undefined - skip: false -ActiveRecord::Base.exists?: - types: - - undefined - skip: false -ActiveRecord::Base.extending: - types: - - undefined - skip: false -ActiveRecord::Base.extract_associated: - types: - - undefined - skip: false -ActiveRecord::Base.fifth: - types: - - undefined - skip: false -ActiveRecord::Base.fifth!: - types: - - undefined - skip: false -ActiveRecord::Base.filter_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.filter_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.find: - types: - - self - - Array - skip: false -ActiveRecord::Base.find_by: - types: - - self - - nil - skip: false -ActiveRecord::Base.find_by!: - types: - - undefined - skip: false -ActiveRecord::Base.find_by_sql: - types: - - undefined - skip: false -ActiveRecord::Base.find_each: - types: - - undefined - skip: true -ActiveRecord::Base.find_in_batches: - types: - - undefined - skip: true -ActiveRecord::Base.find_or_create_by: - types: - - undefined - skip: true -ActiveRecord::Base.find_or_create_by!: - types: - - undefined - skip: true -ActiveRecord::Base.find_or_initialize_by: - types: - - undefined - skip: true -ActiveRecord::Base.find_signed: - types: - - undefined - skip: true -ActiveRecord::Base.find_signed!: - types: - - undefined - skip: true -ActiveRecord::Base.finder_needs_type_condition?: - types: - - undefined - skip: false -ActiveRecord::Base.first: - types: - - undefined - skip: false -ActiveRecord::Base.first!: - types: - - undefined - skip: false -ActiveRecord::Base.first_or_create: - types: - - undefined - skip: true -ActiveRecord::Base.first_or_create!: - types: - - undefined - skip: true -ActiveRecord::Base.first_or_initialize: - types: - - undefined - skip: true -ActiveRecord::Base.flush_idle_connections!: - types: - - undefined - skip: true -ActiveRecord::Base.forty_two: - types: - - undefined - skip: false -ActiveRecord::Base.forty_two!: - types: - - undefined - skip: false -ActiveRecord::Base.fourth: - types: - - undefined - skip: false -ActiveRecord::Base.fourth!: - types: - - undefined - skip: false -ActiveRecord::Base.from: - types: - - undefined - skip: false -ActiveRecord::Base.full_table_name_prefix: - types: - - undefined - skip: false -ActiveRecord::Base.full_table_name_suffix: - types: - - undefined - skip: false -ActiveRecord::Base.gem: - types: - - undefined - skip: true -ActiveRecord::Base.generate_relation_method: - types: - - undefined - skip: false -ActiveRecord::Base.generate_unique_secure_token: - types: - - undefined - skip: true -ActiveRecord::Base.generated_association_methods: - types: - - undefined - skip: true -ActiveRecord::Base.get_primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.group: - types: - - undefined - skip: false -ActiveRecord::Base.guess_for_anonymous: - types: - - undefined - skip: true -ActiveRecord::Base.has_and_belongs_to_many: - types: - - undefined - skip: false -ActiveRecord::Base.has_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base.has_many: - types: - - undefined - skip: false -ActiveRecord::Base.has_many_attached: - types: - - undefined - skip: true -ActiveRecord::Base.has_many_inversing: - types: - - undefined - skip: true -ActiveRecord::Base.has_many_inversing=: - types: - - undefined - skip: true -ActiveRecord::Base.has_one: - types: - - undefined - skip: false -ActiveRecord::Base.has_one_attached: - types: - - undefined - skip: true -ActiveRecord::Base.has_rich_text: - types: - - undefined - skip: true -ActiveRecord::Base.has_secure_password: - types: - - undefined - skip: true -ActiveRecord::Base.has_secure_token: - types: - - undefined - skip: true -ActiveRecord::Base.having: - types: - - undefined - skip: false -ActiveRecord::Base.html_safe?: - types: - - undefined - skip: false -ActiveRecord::Base.human_attribute_name: - types: - - undefined - skip: false -ActiveRecord::Base.i18n_scope: - types: - - undefined - skip: false -ActiveRecord::Base.ids: - types: - - undefined - skip: true -ActiveRecord::Base.ignored_columns: - types: - - undefined - skip: false -ActiveRecord::Base.ignored_columns=: - types: - - undefined - skip: false -ActiveRecord::Base.immutable_strings_by_default: - types: - - undefined - skip: true -ActiveRecord::Base.immutable_strings_by_default=: - types: - - undefined - skip: true -ActiveRecord::Base.immutable_strings_by_default?: - types: - - undefined - skip: true -ActiveRecord::Base.implicit_order_column: - types: - - undefined - skip: true -ActiveRecord::Base.implicit_order_column=: - types: - - undefined - skip: true -ActiveRecord::Base.implicit_order_column?: - types: - - undefined - skip: true -ActiveRecord::Base.in?: - types: - - undefined - skip: false -ActiveRecord::Base.in_batches: - types: - - undefined - skip: true -ActiveRecord::Base.include_root_in_json: - types: - - undefined - skip: true -ActiveRecord::Base.include_root_in_json=: - types: - - undefined - skip: true -ActiveRecord::Base.include_root_in_json?: - types: - - undefined - skip: true -ActiveRecord::Base.includes: - types: - - undefined - skip: false -ActiveRecord::Base.increment_counter: - types: - - undefined - skip: true -ActiveRecord::Base.index_nested_attribute_errors: - types: - - undefined - skip: true -ActiveRecord::Base.index_nested_attribute_errors=: - types: - - undefined - skip: true -ActiveRecord::Base.inheritance_column: - types: - - undefined - skip: false -ActiveRecord::Base.inheritance_column=: - types: - - undefined - skip: false -ActiveRecord::Base.inherited: - types: - - undefined - skip: false -ActiveRecord::Base.initialize_find_by_cache: - types: - - undefined - skip: true -ActiveRecord::Base.initialize_generated_modules: - types: - - undefined - skip: true -ActiveRecord::Base.initialize_relation_delegate_cache: - types: - - undefined - skip: false -ActiveRecord::Base.insert: - types: - - undefined - skip: true -ActiveRecord::Base.insert!: - types: - - undefined - skip: true -ActiveRecord::Base.insert_all: - types: - - undefined - skip: true -ActiveRecord::Base.insert_all!: - types: - - undefined - skip: true -ActiveRecord::Base.inspect: - types: - - undefined - skip: false -ActiveRecord::Base.inspection_filter: - types: - - undefined - skip: true -ActiveRecord::Base.instance_method_already_implemented?: - types: - - undefined - skip: true -ActiveRecord::Base.instance_values: - types: - - undefined - skip: false -ActiveRecord::Base.instance_variable_names: - types: - - undefined - skip: false -ActiveRecord::Base.instantiate: - types: - - undefined - skip: true -ActiveRecord::Base.internal_metadata_table_name: - types: - - undefined - skip: true -ActiveRecord::Base.internal_metadata_table_name=: - types: - - undefined - skip: true -ActiveRecord::Base.internal_metadata_table_name?: - types: - - undefined - skip: true -ActiveRecord::Base.joins: - types: - - undefined - skip: false -ActiveRecord::Base.last: - types: - - undefined - skip: false -ActiveRecord::Base.last!: - types: - - undefined - skip: false -ActiveRecord::Base.left_joins: - types: - - undefined - skip: false -ActiveRecord::Base.left_outer_joins: - types: - - undefined - skip: false -ActiveRecord::Base.legacy_connection_handling: - types: - - undefined - skip: true -ActiveRecord::Base.legacy_connection_handling=: - types: - - undefined - skip: true -ActiveRecord::Base.limit: - types: - - undefined - skip: false -ActiveRecord::Base.load_dependency: - types: - - undefined - skip: true -ActiveRecord::Base.load_schema!: - types: - - undefined - skip: false -ActiveRecord::Base.local_stored_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.local_stored_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.lock: - types: - - undefined - skip: false -ActiveRecord::Base.lock_optimistically: - types: - - undefined - skip: true -ActiveRecord::Base.lock_optimistically=: - types: - - undefined - skip: true -ActiveRecord::Base.lock_optimistically?: - types: - - undefined - skip: true -ActiveRecord::Base.locking_column: - types: - - undefined - skip: true -ActiveRecord::Base.locking_column=: - types: - - undefined - skip: true -ActiveRecord::Base.locking_enabled?: - types: - - undefined - skip: true -ActiveRecord::Base.logger: - types: - - undefined - skip: true -ActiveRecord::Base.logger=: - types: - - undefined - skip: true -ActiveRecord::Base.lookup_ancestors: - types: - - undefined - skip: false -ActiveRecord::Base.lookup_connection_handler: - types: - - undefined - skip: false -ActiveRecord::Base.maintain_test_schema: - types: - - undefined - skip: true -ActiveRecord::Base.maintain_test_schema=: - types: - - undefined - skip: true -ActiveRecord::Base.many?: - types: - - undefined - skip: true -ActiveRecord::Base.mattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.mattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.mattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.maximum: - types: - - undefined - skip: true -ActiveRecord::Base.merge: - types: - - undefined - skip: true -ActiveRecord::Base.method_defined_within?: - types: - - undefined - skip: true -ActiveRecord::Base.method_visibility: - types: - - undefined - skip: false -ActiveRecord::Base.minimum: - types: - - undefined - skip: true -ActiveRecord::Base.model_name: - types: - - undefined - skip: false -ActiveRecord::Base.module_parent: - types: - - undefined - skip: false -ActiveRecord::Base.module_parent_name: - types: - - undefined - skip: false -ActiveRecord::Base.module_parents: - types: - - undefined - skip: false -ActiveRecord::Base.nested_attributes_options: - types: - - undefined - skip: true -ActiveRecord::Base.nested_attributes_options=: - types: - - undefined - skip: true -ActiveRecord::Base.nested_attributes_options?: - types: - - undefined - skip: true -ActiveRecord::Base.new: - types: - - undefined - skip: false -ActiveRecord::Base.next_sequence_value: - types: - - undefined - skip: false -ActiveRecord::Base.no_touching: - types: - - undefined - skip: true -ActiveRecord::Base.none: - types: - - undefined - skip: false -ActiveRecord::Base.none?: - types: - - undefined - skip: true -ActiveRecord::Base.normalize_callback_params: - types: - - undefined - skip: true -ActiveRecord::Base.offset: - types: - - undefined - skip: false -ActiveRecord::Base.one?: - types: - - undefined - skip: true -ActiveRecord::Base.only: - types: - - undefined - skip: true -ActiveRecord::Base.optimizer_hints: - types: - - undefined - skip: false -ActiveRecord::Base.or: - types: - - undefined - skip: false -ActiveRecord::Base.order: - types: - - undefined - skip: false -ActiveRecord::Base.partial_writes: - types: - - undefined - skip: true -ActiveRecord::Base.partial_writes=: - types: - - undefined - skip: true -ActiveRecord::Base.partial_writes?: - types: - - undefined - skip: true -ActiveRecord::Base.pick: - types: - - undefined - skip: true -ActiveRecord::Base.pluck: - types: - - undefined - skip: true -ActiveRecord::Base.pluralize_table_names: - types: - - undefined - skip: true -ActiveRecord::Base.pluralize_table_names=: - types: - - undefined - skip: true -ActiveRecord::Base.pluralize_table_names?: - types: - - undefined - skip: true -ActiveRecord::Base.polymorphic_class_for: - types: - - undefined - skip: false -ActiveRecord::Base.polymorphic_name: - types: - - undefined - skip: false -ActiveRecord::Base.predicate_builder: - types: - - undefined - skip: true -ActiveRecord::Base.prefetch_primary_key?: - types: - - undefined - skip: false -ActiveRecord::Base.preload: - types: - - undefined - skip: false -ActiveRecord::Base.presence: - types: - - Object - skip: false -ActiveRecord::Base.presence_in: - types: - - Object - skip: false -ActiveRecord::Base.present?: - types: - - 'true' - - 'false' - skip: false -ActiveRecord::Base.primary_class?: - types: - - undefined - skip: false -ActiveRecord::Base.primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.primary_key=: - types: - - undefined - skip: true -ActiveRecord::Base.primary_key_prefix_type: - types: - - undefined - skip: true -ActiveRecord::Base.primary_key_prefix_type=: - types: - - undefined - skip: true -ActiveRecord::Base.protected_environments: - types: - - undefined - skip: false -ActiveRecord::Base.protected_environments=: - types: - - undefined - skip: false -ActiveRecord::Base.pry: - types: - - undefined - skip: false -ActiveRecord::Base.queues: - types: - - undefined - skip: true -ActiveRecord::Base.queues=: - types: - - undefined - skip: true -ActiveRecord::Base.quoted_primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.quoted_table_name: - types: - - undefined - skip: false -ActiveRecord::Base.rake_extension: - types: - - undefined - skip: false -ActiveRecord::Base.reading_role: - types: - - undefined - skip: true -ActiveRecord::Base.reading_role=: - types: - - undefined - skip: true -ActiveRecord::Base.readonly: - types: - - undefined - skip: false -ActiveRecord::Base.readonly_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base.readonly_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.record_timestamps: - types: - - undefined - skip: true -ActiveRecord::Base.record_timestamps=: - types: - - undefined - skip: true -ActiveRecord::Base.record_timestamps?: - types: - - undefined - skip: true -ActiveRecord::Base.redefine_method: - types: - - undefined - skip: false -ActiveRecord::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActiveRecord::Base.references: - types: - - undefined - skip: false -ActiveRecord::Base.reflect_on_aggregation: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_aggregations: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_associations: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_attachments: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_all_autosave_associations: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_association: - types: - - undefined - skip: true -ActiveRecord::Base.reflect_on_attachment: - types: - - undefined - skip: true -ActiveRecord::Base.reflections: - types: - - undefined - skip: true -ActiveRecord::Base.relation_delegate_class: - types: - - undefined - skip: false -ActiveRecord::Base.remove_connection: - types: - - undefined - skip: false -ActiveRecord::Base.remove_possible_method: - types: - - undefined - skip: false -ActiveRecord::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActiveRecord::Base.reorder: - types: - - undefined - skip: false -ActiveRecord::Base.require_dependency: - types: - - undefined - skip: true -ActiveRecord::Base.require_or_load: - types: - - undefined - skip: true -ActiveRecord::Base.reselect: - types: - - undefined - skip: false -ActiveRecord::Base.reset_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base.reset_column_information: - types: - - undefined - skip: false -ActiveRecord::Base.reset_counters: - types: - - undefined - skip: true -ActiveRecord::Base.reset_locking_column: - types: - - undefined - skip: true -ActiveRecord::Base.reset_primary_key: - types: - - undefined - skip: true -ActiveRecord::Base.reset_sequence_name: - types: - - undefined - skip: false -ActiveRecord::Base.reset_table_name: - types: - - undefined - skip: false -ActiveRecord::Base.retrieve_connection: - types: - - undefined - skip: false -ActiveRecord::Base.rewhere: - types: - - undefined - skip: false -ActiveRecord::Base.sanitize_sql: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_array: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_for_assignment: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_for_conditions: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_for_order: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_hash_for_assignment: - types: - - undefined - skip: true -ActiveRecord::Base.sanitize_sql_like: - types: - - undefined - skip: true -ActiveRecord::Base.schema_format: - types: - - undefined - skip: true -ActiveRecord::Base.schema_format=: - types: - - undefined - skip: true -ActiveRecord::Base.schema_migrations_table_name: - types: - - undefined - skip: true -ActiveRecord::Base.schema_migrations_table_name=: - types: - - undefined - skip: true -ActiveRecord::Base.schema_migrations_table_name?: - types: - - undefined - skip: true -ActiveRecord::Base.scope: - types: - - undefined - skip: false -ActiveRecord::Base.scope_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.scope_attributes?: - types: - - undefined - skip: true -ActiveRecord::Base.scope_for_association: - types: - - undefined - skip: false -ActiveRecord::Base.second: - types: - - undefined - skip: false -ActiveRecord::Base.second!: - types: - - undefined - skip: false -ActiveRecord::Base.second_to_last: - types: - - undefined - skip: false -ActiveRecord::Base.second_to_last!: - types: - - undefined - skip: false -ActiveRecord::Base.select: - types: - - undefined - skip: false -ActiveRecord::Base.sequence_name: - types: - - undefined - skip: false -ActiveRecord::Base.sequence_name=: - types: - - undefined - skip: false -ActiveRecord::Base.serialize: - types: - - undefined - skip: true -ActiveRecord::Base.set_callback: - types: - - undefined - skip: true -ActiveRecord::Base.signed_id_verifier: - types: - - undefined - skip: true -ActiveRecord::Base.signed_id_verifier=: - types: - - undefined - skip: true -ActiveRecord::Base.signed_id_verifier_secret: - types: - - undefined - skip: true -ActiveRecord::Base.signed_id_verifier_secret=: - types: - - undefined - skip: true -ActiveRecord::Base.silence_redefinition_of_method: - types: - - undefined - skip: false -ActiveRecord::Base.skip_callback: - types: - - undefined - skip: true -ActiveRecord::Base.skip_time_zone_conversion_for_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.skip_time_zone_conversion_for_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.skip_time_zone_conversion_for_attributes?: - types: - - undefined - skip: true -ActiveRecord::Base.sqlite3_connection: - types: - - undefined - skip: false -ActiveRecord::Base.sti_class_for: - types: - - undefined - skip: false -ActiveRecord::Base.sti_name: - types: - - undefined - skip: false -ActiveRecord::Base.store: - types: - - undefined - skip: true -ActiveRecord::Base.store_accessor: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_class_name: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_class_name=: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_class_name?: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_sti_class: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_sti_class=: - types: - - undefined - skip: true -ActiveRecord::Base.store_full_sti_class?: - types: - - undefined - skip: true -ActiveRecord::Base.stored_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.strict_loading: - types: - - undefined - skip: false -ActiveRecord::Base.strict_loading_by_default: - types: - - undefined - skip: true -ActiveRecord::Base.strict_loading_by_default=: - types: - - undefined - skip: true -ActiveRecord::Base.strict_loading_by_default?: - types: - - undefined - skip: true -ActiveRecord::Base.strict_loading_violation!: - types: - - undefined - skip: true -ActiveRecord::Base.subclasses: - types: - - undefined - skip: false -ActiveRecord::Base.sum: - types: - - undefined - skip: true -ActiveRecord::Base.suppress: - types: - - undefined - skip: true -ActiveRecord::Base.suppress_multiple_database_warning: - types: - - undefined - skip: true -ActiveRecord::Base.suppress_multiple_database_warning=: - types: - - undefined - skip: true -ActiveRecord::Base.symbol_column_to_string: - types: - - undefined - skip: false -ActiveRecord::Base.table_exists?: - types: - - undefined - skip: false -ActiveRecord::Base.table_name: - types: - - undefined - skip: false -ActiveRecord::Base.table_name=: - types: - - undefined - skip: false -ActiveRecord::Base.table_name_prefix: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_prefix=: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_prefix?: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_suffix: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_suffix=: - types: - - undefined - skip: true -ActiveRecord::Base.table_name_suffix?: - types: - - undefined - skip: true -ActiveRecord::Base.take: - types: - - undefined - skip: false -ActiveRecord::Base.take!: - types: - - undefined - skip: false -ActiveRecord::Base.third: - types: - - undefined - skip: false -ActiveRecord::Base.third!: - types: - - undefined - skip: false -ActiveRecord::Base.third_to_last: - types: - - undefined - skip: false -ActiveRecord::Base.third_to_last!: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.time_zone_aware_attributes: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_attributes=: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_types: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_types=: - types: - - undefined - skip: true -ActiveRecord::Base.time_zone_aware_types?: - types: - - undefined - skip: true -ActiveRecord::Base.timestamp_attributes_for_create_in_model: - types: - - undefined - skip: true -ActiveRecord::Base.timestamp_attributes_for_update_in_model: - types: - - undefined - skip: true -ActiveRecord::Base.timestamped_migrations: - types: - - undefined - skip: true -ActiveRecord::Base.timestamped_migrations=: - types: - - undefined - skip: true -ActiveRecord::Base.to_adapter: - types: - - undefined - skip: true -ActiveRecord::Base.to_json: - types: - - undefined - skip: true -ActiveRecord::Base.to_param: - types: - - undefined - skip: false -ActiveRecord::Base.to_query: - types: - - undefined - skip: false -ActiveRecord::Base.touch_all: - types: - - undefined - skip: true -ActiveRecord::Base.touch_attributes_with_time: - types: - - undefined - skip: true -ActiveRecord::Base.transaction: - types: - - undefined - skip: false -ActiveRecord::Base.try: - types: - - undefined - skip: false -ActiveRecord::Base.try!: - types: - - undefined - skip: false -ActiveRecord::Base.type_caster: - types: - - undefined - skip: true -ActiveRecord::Base.type_for_attribute: - types: - - undefined - skip: false -ActiveRecord::Base.uncached: - types: - - undefined - skip: false -ActiveRecord::Base.undefine_attribute_methods: - types: - - undefined - skip: true -ActiveRecord::Base.unloadable: - types: - - undefined - skip: true -ActiveRecord::Base.unscope: - types: - - undefined - skip: false -ActiveRecord::Base.unscoped: - types: - - undefined - skip: true -ActiveRecord::Base.update: - types: - - undefined - skip: true -ActiveRecord::Base.update_all: - types: - - undefined - skip: true -ActiveRecord::Base.update_counters: - types: - - undefined - skip: true -ActiveRecord::Base.upsert: - types: - - undefined - skip: true -ActiveRecord::Base.upsert_all: - types: - - undefined - skip: true -ActiveRecord::Base.validate: - types: - - undefined - skip: true -ActiveRecord::Base.validates: - types: - - undefined - skip: true -ActiveRecord::Base.validates!: - types: - - undefined - skip: true -ActiveRecord::Base.validates_absence_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_acceptance_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_associated: - types: - - undefined - skip: true -ActiveRecord::Base.validates_confirmation_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_each: - types: - - undefined - skip: true -ActiveRecord::Base.validates_exclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_format_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_inclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_length_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_numericality_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_presence_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_size_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_uniqueness_of: - types: - - undefined - skip: true -ActiveRecord::Base.validates_with: - types: - - undefined - skip: true -ActiveRecord::Base.validators: - types: - - undefined - skip: true -ActiveRecord::Base.validators_on: - types: - - undefined - skip: true -ActiveRecord::Base.verbose_query_logs: - types: - - undefined - skip: true -ActiveRecord::Base.verbose_query_logs=: - types: - - undefined - skip: true -ActiveRecord::Base.warn_on_records_fetched_greater_than: - types: - - undefined - skip: true -ActiveRecord::Base.warn_on_records_fetched_greater_than=: - types: - - undefined - skip: true -ActiveRecord::Base.where: - types: - - self - - ActiveRecord::Relation - - ActiveRecord::QueryMethods::WhereChain - skip: false -ActiveRecord::Base.while_preventing_writes: - types: - - undefined - skip: false -ActiveRecord::Base.with_options: - types: - - undefined - skip: false -ActiveRecord::Base.writing_role: - types: - - undefined - skip: true -ActiveRecord::Base.writing_role=: - types: - - undefined - skip: true -ActiveRecord::Base.yaml_encoder: - types: - - undefined - skip: false -ActiveRecord::Base#<=>: - types: - - undefined - skip: false -ActiveRecord::Base#==: - types: - - undefined - skip: false -ActiveRecord::Base#[]: - types: - - undefined - skip: false -ActiveRecord::Base#[]=: - types: - - undefined - skip: false -ActiveRecord::Base#accessed_fields: - types: - - undefined - skip: false -ActiveRecord::Base#acts_like?: - types: - - undefined - skip: false -ActiveRecord::Base#aggregate_reflections: - types: - - undefined - skip: true -ActiveRecord::Base#aggregate_reflections?: - types: - - undefined - skip: true -ActiveRecord::Base#as_json: - types: - - undefined - skip: false -ActiveRecord::Base#assign_attributes: - types: - - undefined - skip: false -ActiveRecord::Base#association: - types: - - undefined - skip: false -ActiveRecord::Base#association_cached?: - types: - - undefined - skip: false -ActiveRecord::Base#attachment_changes: - types: - - undefined - skip: true -ActiveRecord::Base#attachment_reflections: - types: - - undefined - skip: true -ActiveRecord::Base#attachment_reflections?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_aliases: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_aliases?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_before_last_save: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_change_to_be_saved: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_changed?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_changed_in_place?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_for_inspect: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_in_database: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_method_matchers: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_method_matchers?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_missing: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_names: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_present?: - types: - - undefined - skip: false -ActiveRecord::Base#attribute_previously_changed?: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_previously_was: - types: - - undefined - skip: true -ActiveRecord::Base#attribute_was: - types: - - undefined - skip: true -ActiveRecord::Base#attributes: - types: - - undefined - skip: false -ActiveRecord::Base#attributes=: - types: - - undefined - skip: false -ActiveRecord::Base#attributes_before_type_cast: - types: - - undefined - skip: true -ActiveRecord::Base#attributes_in_database: - types: - - undefined - skip: true -ActiveRecord::Base#becomes: - types: - - undefined - skip: false -ActiveRecord::Base#becomes!: - types: - - undefined - skip: false -ActiveRecord::Base#before_committed!: - types: - - undefined - skip: false -ActiveRecord::Base#blank?: - types: - - undefined - skip: false -ActiveRecord::Base#cache_key: - types: - - undefined - skip: false -ActiveRecord::Base#cache_key_with_version: - types: - - undefined - skip: false -ActiveRecord::Base#cache_timestamp_format: - types: - - undefined - skip: true -ActiveRecord::Base#cache_timestamp_format?: - types: - - undefined - skip: true -ActiveRecord::Base#cache_version: - types: - - undefined - skip: false -ActiveRecord::Base#cache_versioning: - types: - - undefined - skip: true -ActiveRecord::Base#cache_versioning?: - types: - - undefined - skip: true -ActiveRecord::Base#changed: - types: - - undefined - skip: true -ActiveRecord::Base#changed?: - types: - - undefined - skip: true -ActiveRecord::Base#changed_attribute_names_to_save: - types: - - undefined - skip: true -ActiveRecord::Base#changed_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#changed_for_autosave?: - types: - - undefined - skip: false -ActiveRecord::Base#changes: - types: - - undefined - skip: true -ActiveRecord::Base#changes_applied: - types: - - undefined - skip: true -ActiveRecord::Base#changes_to_save: - types: - - undefined - skip: true -ActiveRecord::Base#class_eval: - types: - - undefined - skip: false -ActiveRecord::Base#clear_attribute_changes: - types: - - undefined - skip: true -ActiveRecord::Base#clear_changes_information: - types: - - undefined - skip: true -ActiveRecord::Base#collection_cache_versioning: - types: - - undefined - skip: true -ActiveRecord::Base#collection_cache_versioning?: - types: - - undefined - skip: true -ActiveRecord::Base#column_for_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#committed!: - types: - - undefined - skip: false -ActiveRecord::Base#connection_handler: - types: - - undefined - skip: false -ActiveRecord::Base#decrement: - types: - - undefined - skip: false -ActiveRecord::Base#decrement!: - types: - - undefined - skip: false -ActiveRecord::Base#deep_dup: - types: - - undefined - skip: false -ActiveRecord::Base#default_connection_handler: - types: - - undefined - skip: true -ActiveRecord::Base#default_connection_handler?: - types: - - undefined - skip: true -ActiveRecord::Base#default_role: - types: - - undefined - skip: true -ActiveRecord::Base#default_role?: - types: - - undefined - skip: true -ActiveRecord::Base#default_scope_override: - types: - - undefined - skip: true -ActiveRecord::Base#default_scopes: - types: - - undefined - skip: true -ActiveRecord::Base#default_shard: - types: - - undefined - skip: true -ActiveRecord::Base#default_shard?: - types: - - undefined - skip: true -ActiveRecord::Base#default_timezone: - types: - - undefined - skip: true -ActiveRecord::Base#defined_enums: - types: - - undefined - skip: true -ActiveRecord::Base#defined_enums?: - types: - - undefined - skip: true -ActiveRecord::Base#delete: - types: - - undefined - skip: false -ActiveRecord::Base#destroy: - types: - - undefined - skip: false -ActiveRecord::Base#destroy!: - types: - - undefined - skip: false -ActiveRecord::Base#destroy_association_async_job: - types: - - undefined - skip: true -ActiveRecord::Base#destroyed?: - types: - - undefined - skip: false -ActiveRecord::Base#destroyed_by_association: - types: - - undefined - skip: false -ActiveRecord::Base#destroyed_by_association=: - types: - - undefined - skip: false -ActiveRecord::Base#dump_schema_after_migration: - types: - - undefined - skip: true -ActiveRecord::Base#dump_schemas: - types: - - undefined - skip: true -ActiveRecord::Base#duplicable?: - types: - - undefined - skip: false -ActiveRecord::Base#encode_with: - types: - - undefined - skip: false -ActiveRecord::Base#eql?: - types: - - undefined - skip: false -ActiveRecord::Base#error_on_ignored_order: - types: - - undefined - skip: true -ActiveRecord::Base#errors: - types: - - undefined - skip: false -ActiveRecord::Base#freeze: - types: - - undefined - skip: false -ActiveRecord::Base#from_json: - types: - - undefined - skip: false -ActiveRecord::Base#frozen?: - types: - - undefined - skip: false -ActiveRecord::Base#gem: - types: - - undefined - skip: true -ActiveRecord::Base#has_attribute?: - types: - - undefined - skip: false -ActiveRecord::Base#has_changes_to_save?: - types: - - undefined - skip: true -ActiveRecord::Base#hash: - types: - - undefined - skip: false -ActiveRecord::Base#html_safe?: - types: - - undefined - skip: false -ActiveRecord::Base#id: - types: - - undefined - skip: true -ActiveRecord::Base#id=: - types: - - undefined - skip: true -ActiveRecord::Base#id?: - types: - - undefined - skip: true -ActiveRecord::Base#id_before_type_cast: - types: - - undefined - skip: true -ActiveRecord::Base#id_for_database: - types: - - undefined - skip: true -ActiveRecord::Base#id_in_database: - types: - - undefined - skip: true -ActiveRecord::Base#id_was: - types: - - undefined - skip: true -ActiveRecord::Base#in?: - types: - - undefined - skip: false -ActiveRecord::Base#include_root_in_json: - types: - - undefined - skip: true -ActiveRecord::Base#include_root_in_json?: - types: - - undefined - skip: true -ActiveRecord::Base#increment: - types: - - undefined - skip: false -ActiveRecord::Base#increment!: - types: - - undefined - skip: false -ActiveRecord::Base#index_nested_attribute_errors: - types: - - undefined - skip: true -ActiveRecord::Base#init_with: - types: - - undefined - skip: false -ActiveRecord::Base#init_with_attributes: - types: - - undefined - skip: false -ActiveRecord::Base#initialize_internals_callback: - types: - - undefined - skip: false -ActiveRecord::Base#inspect: - types: - - undefined - skip: false -ActiveRecord::Base#instance_values: - types: - - undefined - skip: false -ActiveRecord::Base#instance_variable_names: - types: - - undefined - skip: false -ActiveRecord::Base#invalid?: - types: - - undefined - skip: false -ActiveRecord::Base#legacy_connection_handling: - types: - - undefined - skip: true -ActiveRecord::Base#load_dependency: - types: - - undefined - skip: true -ActiveRecord::Base#lock!: - types: - - undefined - skip: false -ActiveRecord::Base#lock_optimistically: - types: - - undefined - skip: true -ActiveRecord::Base#lock_optimistically?: - types: - - undefined - skip: true -ActiveRecord::Base#locking_enabled?: - types: - - undefined - skip: false -ActiveRecord::Base#logger: - types: - - undefined - skip: true -ActiveRecord::Base#mark_for_destruction: - types: - - undefined - skip: false -ActiveRecord::Base#marked_for_destruction?: - types: - - undefined - skip: false -ActiveRecord::Base#method_missing: - types: - - undefined - skip: false -ActiveRecord::Base#model_name: - types: - - undefined - skip: true -ActiveRecord::Base#nested_attributes_options: - types: - - undefined - skip: true -ActiveRecord::Base#nested_attributes_options?: - types: - - undefined - skip: true -ActiveRecord::Base#new_record?: - types: - - undefined - skip: false -ActiveRecord::Base#no_touching?: - types: - - undefined - skip: false -ActiveRecord::Base#partial_writes: - types: - - undefined - skip: true -ActiveRecord::Base#partial_writes?: - types: - - undefined - skip: true -ActiveRecord::Base#persisted?: - types: - - undefined - skip: false -ActiveRecord::Base#pluralize_table_names: - types: - - undefined - skip: true -ActiveRecord::Base#pluralize_table_names?: - types: - - undefined - skip: true -ActiveRecord::Base#populate_with_current_scope_attributes: - types: - - undefined - skip: false -ActiveRecord::Base#presence: - types: - - Object - skip: false -ActiveRecord::Base#presence_in: - types: - - Object - skip: false -ActiveRecord::Base#present?: - types: - - undefined - skip: false -ActiveRecord::Base#pretty_print: - types: - - undefined - skip: false -ActiveRecord::Base#previous_changes: - types: - - undefined - skip: true -ActiveRecord::Base#previously_new_record?: - types: - - undefined - skip: false -ActiveRecord::Base#primary_key_prefix_type: - types: - - undefined - skip: true -ActiveRecord::Base#pry: - types: - - undefined - skip: false -ActiveRecord::Base#query_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#read_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#read_attribute_before_type_cast: - types: - - undefined - skip: true -ActiveRecord::Base#readonly!: - types: - - undefined - skip: false -ActiveRecord::Base#readonly?: - types: - - undefined - skip: false -ActiveRecord::Base#record_timestamps: - types: - - undefined - skip: true -ActiveRecord::Base#record_timestamps=: - types: - - undefined - skip: true -ActiveRecord::Base#record_timestamps?: - types: - - undefined - skip: true -ActiveRecord::Base#reload: - types: - - undefined - skip: false -ActiveRecord::Base#require_dependency: - types: - - undefined - skip: true -ActiveRecord::Base#require_or_load: - types: - - undefined - skip: true -ActiveRecord::Base#respond_to?: - types: - - undefined - skip: false -ActiveRecord::Base#restore_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#rolledback!: - types: - - undefined - skip: false -ActiveRecord::Base#run_callbacks: - types: - - undefined - skip: true -ActiveRecord::Base#save: - types: - - undefined - skip: false -ActiveRecord::Base#save!: - types: - - undefined - skip: false -ActiveRecord::Base#saved_change_to_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#saved_change_to_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base#saved_changes: - types: - - undefined - skip: true -ActiveRecord::Base#saved_changes?: - types: - - undefined - skip: true -ActiveRecord::Base#schema_format: - types: - - undefined - skip: true -ActiveRecord::Base#serializable_hash: - types: - - undefined - skip: false -ActiveRecord::Base#signed_id: - types: - - undefined - skip: false -ActiveRecord::Base#signed_id_verifier_secret: - types: - - undefined - skip: true -ActiveRecord::Base#skip_time_zone_conversion_for_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#skip_time_zone_conversion_for_attributes?: - types: - - undefined - skip: true -ActiveRecord::Base#slice: - types: - - undefined - skip: false -ActiveRecord::Base#store_full_class_name: - types: - - undefined - skip: true -ActiveRecord::Base#store_full_class_name?: - types: - - undefined - skip: true -ActiveRecord::Base#store_full_sti_class: - types: - - undefined - skip: true -ActiveRecord::Base#store_full_sti_class?: - types: - - undefined - skip: true -ActiveRecord::Base#strict_loading!: - types: - - undefined - skip: false -ActiveRecord::Base#strict_loading?: - types: - - undefined - skip: false -ActiveRecord::Base#suppress_multiple_database_warning: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_prefix: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_prefix?: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_suffix: - types: - - undefined - skip: true -ActiveRecord::Base#table_name_suffix?: - types: - - undefined - skip: true -ActiveRecord::Base#time_zone_aware_attributes: - types: - - undefined - skip: true -ActiveRecord::Base#time_zone_aware_types: - types: - - undefined - skip: true -ActiveRecord::Base#time_zone_aware_types?: - types: - - undefined - skip: true -ActiveRecord::Base#timestamped_migrations: - types: - - undefined - skip: true -ActiveRecord::Base#to_gid: - types: - - undefined - skip: true -ActiveRecord::Base#to_gid_param: - types: - - undefined - skip: true -ActiveRecord::Base#to_global_id: - types: - - undefined - skip: true -ActiveRecord::Base#to_json: - types: - - undefined - skip: true -ActiveRecord::Base#to_key: - types: - - undefined - skip: false -ActiveRecord::Base#to_model: - types: - - undefined - skip: false -ActiveRecord::Base#to_param: - types: - - undefined - skip: false -ActiveRecord::Base#to_partial_path: - types: - - undefined - skip: false -ActiveRecord::Base#to_query: - types: - - undefined - skip: false -ActiveRecord::Base#to_sgid: - types: - - undefined - skip: true -ActiveRecord::Base#to_sgid_param: - types: - - undefined - skip: true -ActiveRecord::Base#to_signed_global_id: - types: - - undefined - skip: true -ActiveRecord::Base#toggle: - types: - - undefined - skip: false -ActiveRecord::Base#toggle!: - types: - - undefined - skip: false -ActiveRecord::Base#touch: - types: - - undefined - skip: false -ActiveRecord::Base#touch_later: - types: - - undefined - skip: false -ActiveRecord::Base#transaction: - types: - - undefined - skip: false -ActiveRecord::Base#trigger_transactional_callbacks?: - types: - - undefined - skip: false -ActiveRecord::Base#try: - types: - - undefined - skip: false -ActiveRecord::Base#try!: - types: - - undefined - skip: false -ActiveRecord::Base#type_for_attribute: - types: - - undefined - skip: true -ActiveRecord::Base#unloadable: - types: - - undefined - skip: true -ActiveRecord::Base#update: - types: - - undefined - skip: false -ActiveRecord::Base#update!: - types: - - undefined - skip: false -ActiveRecord::Base#update_attribute: - types: - - undefined - skip: false -ActiveRecord::Base#update_column: - types: - - undefined - skip: false -ActiveRecord::Base#update_columns: - types: - - undefined - skip: false -ActiveRecord::Base#valid?: - types: - - undefined - skip: false -ActiveRecord::Base#validate: - types: - - Boolean - skip: false -ActiveRecord::Base#validate!: - types: - - undefined - skip: false -ActiveRecord::Base#validates_absence_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_acceptance_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_confirmation_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_exclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_format_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_inclusion_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_length_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_numericality_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_presence_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_size_of: - types: - - undefined - skip: true -ActiveRecord::Base#validates_with: - types: - - undefined - skip: false -ActiveRecord::Base#validation_context: - types: - - undefined - skip: true -ActiveRecord::Base#values_at: - types: - - undefined - skip: false -ActiveRecord::Base#verbose_query_logs: - types: - - undefined - skip: true -ActiveRecord::Base#warn_on_records_fetched_greater_than: - types: - - undefined - skip: true -ActiveRecord::Base#will_save_change_to_attribute?: - types: - - undefined - skip: true -ActiveRecord::Base#with_lock: - types: - - undefined - skip: false -ActiveRecord::Base#with_options: - types: - - undefined - skip: false -ActiveRecord::Base#with_transaction_returning_status: - types: - - undefined - skip: false -ActiveRecord::Base#write_attribute: - types: - - undefined - skip: true diff --git a/spec/definitions/rails6/core/Array.yml b/spec/definitions/rails6/core/Array.yml deleted file mode 100644 index d66fa85..0000000 --- a/spec/definitions/rails6/core/Array.yml +++ /dev/null @@ -1,416 +0,0 @@ ---- -Array.acts_like?: - types: - - undefined - skip: false -Array.alias_attribute: - types: - - undefined - skip: false -Array.anonymous?: - types: - - undefined - skip: false -Array.as_json: - types: - - undefined - skip: false -Array.attr_internal: - types: - - undefined - skip: false -Array.attr_internal_accessor: - types: - - undefined - skip: false -Array.attr_internal_reader: - types: - - undefined - skip: false -Array.attr_internal_writer: - types: - - undefined - skip: false -Array.blank?: - types: - - 'true' - - 'false' - skip: false -Array.cattr_accessor: - types: - - undefined - skip: false -Array.cattr_reader: - types: - - undefined - skip: false -Array.cattr_writer: - types: - - undefined - skip: false -Array.class_attribute: - types: - - undefined - skip: false -Array.concern: - types: - - undefined - skip: false -Array.concerning: - types: - - undefined - skip: false -Array.deep_dup: - types: - - undefined - skip: false -Array.delegate: - types: - - undefined - skip: false -Array.delegate_missing_to: - types: - - undefined - skip: false -Array.deprecate: - types: - - undefined - skip: false -Array.descendants: - types: - - undefined - skip: false -Array.duplicable?: - types: - - undefined - skip: false -Array.html_safe?: - types: - - undefined - skip: false -Array.in?: - types: - - undefined - skip: false -Array.instance_values: - types: - - undefined - skip: false -Array.instance_variable_names: - types: - - undefined - skip: false -Array.mattr_accessor: - types: - - undefined - skip: false -Array.mattr_reader: - types: - - undefined - skip: false -Array.mattr_writer: - types: - - undefined - skip: false -Array.method_visibility: - types: - - undefined - skip: false -Array.module_parent: - types: - - undefined - skip: false -Array.module_parent_name: - types: - - undefined - skip: false -Array.module_parents: - types: - - undefined - skip: false -Array.presence: - types: - - Object - skip: false -Array.presence_in: - types: - - Object - skip: false -Array.present?: - types: - - 'true' - - 'false' - skip: false -Array.redefine_method: - types: - - undefined - skip: false -Array.redefine_singleton_method: - types: - - undefined - skip: false -Array.remove_possible_method: - types: - - undefined - skip: false -Array.remove_possible_singleton_method: - types: - - undefined - skip: false -Array.silence_redefinition_of_method: - types: - - undefined - skip: false -Array.subclasses: - types: - - undefined - skip: false -Array.thread_cattr_accessor: - types: - - undefined - skip: false -Array.thread_cattr_reader: - types: - - undefined - skip: false -Array.thread_cattr_writer: - types: - - undefined - skip: false -Array.thread_mattr_accessor: - types: - - undefined - skip: false -Array.thread_mattr_reader: - types: - - undefined - skip: false -Array.thread_mattr_writer: - types: - - undefined - skip: false -Array.to_json: - types: - - undefined - skip: true -Array.to_param: - types: - - undefined - skip: false -Array.to_query: - types: - - undefined - skip: false -Array.try: - types: - - undefined - skip: false -Array.try!: - types: - - undefined - skip: false -Array.with_options: - types: - - undefined - skip: false -Array.wrap: - types: - - undefined - skip: false -Array#acts_like?: - types: - - undefined - skip: false -Array#as_json: - types: - - undefined - skip: false -Array#class_eval: - types: - - undefined - skip: false -Array#compact_blank: - types: - - undefined - skip: false -Array#compact_blank!: - types: - - undefined - skip: false -Array#deep_dup: - types: - - undefined - skip: false -Array#duplicable?: - types: - - undefined - skip: false -Array#exclude?: - types: - - undefined - skip: false -Array#excluding: - types: - - undefined - skip: false -Array#extract!: - types: - - undefined - skip: false -Array#extract_options!: - types: - - undefined - skip: false -Array#fifth: - types: - - undefined - skip: false -Array#forty_two: - types: - - undefined - skip: false -Array#fourth: - types: - - undefined - skip: false -Array#from: - types: - - undefined - skip: false -Array#html_safe?: - types: - - undefined - skip: false -Array#in?: - types: - - undefined - skip: false -Array#in_groups: - types: - - undefined - skip: false -Array#in_groups_of: - types: - - undefined - skip: false -Array#including: - types: - - undefined - skip: false -Array#index_by: - types: - - undefined - skip: false -Array#index_with: - types: - - undefined - skip: false -Array#inquiry: - types: - - undefined - skip: false -Array#instance_values: - types: - - undefined - skip: false -Array#instance_variable_names: - types: - - undefined - skip: false -Array#many?: - types: - - undefined - skip: false -Array#pick: - types: - - undefined - skip: false -Array#pluck: - types: - - undefined - skip: false -Array#presence: - types: - - Object - skip: false -Array#presence_in: - types: - - Object - skip: false -Array#present?: - types: - - 'true' - - 'false' - skip: false -Array#second: - types: - - undefined - skip: false -Array#second_to_last: - types: - - undefined - skip: false -Array#split: - types: - - undefined - skip: false -Array#sum: - types: - - undefined - skip: false -Array#third: - types: - - undefined - skip: false -Array#third_to_last: - types: - - undefined - skip: false -Array#to: - types: - - undefined - skip: false -Array#to_formatted_s: - types: - - undefined - skip: false -Array#to_json: - types: - - undefined - skip: true -Array#to_param: - types: - - undefined - skip: false -Array#to_query: - types: - - undefined - skip: false -Array#to_s: - types: - - undefined - skip: false -Array#to_sentence: - types: - - undefined - skip: false -Array#to_xml: - types: - - undefined - skip: false -Array#try: - types: - - undefined - skip: false -Array#try!: - types: - - undefined - skip: false -Array#with_options: - types: - - undefined - skip: false -Array#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/Class.yml b/spec/definitions/rails6/core/Class.yml deleted file mode 100644 index dfdc882..0000000 --- a/spec/definitions/rails6/core/Class.yml +++ /dev/null @@ -1,437 +0,0 @@ ---- -Class.acts_like?: - types: - - undefined - skip: false -Class.alias_attribute: - types: - - undefined - skip: false -Class.anonymous?: - types: - - undefined - skip: false -Class.as_json: - types: - - undefined - skip: false -Class.attr_internal: - types: - - undefined - skip: false -Class.attr_internal_accessor: - types: - - undefined - skip: false -Class.attr_internal_naming_format: - types: - - undefined - skip: true -Class.attr_internal_naming_format=: - types: - - undefined - skip: true -Class.attr_internal_reader: - types: - - undefined - skip: false -Class.attr_internal_writer: - types: - - undefined - skip: false -Class.blank?: - types: - - 'true' - - 'false' - skip: false -Class.cattr_accessor: - types: - - undefined - skip: false -Class.cattr_reader: - types: - - undefined - skip: false -Class.cattr_writer: - types: - - undefined - skip: false -Class.class_attribute: - types: - - undefined - skip: false -Class.concern: - types: - - undefined - skip: false -Class.concerning: - types: - - undefined - skip: false -Class.deep_dup: - types: - - undefined - skip: false -Class.delegate: - types: - - undefined - skip: false -Class.delegate_missing_to: - types: - - undefined - skip: false -Class.deprecate: - types: - - undefined - skip: false -Class.descendants: - types: - - undefined - skip: false -Class.duplicable?: - types: - - undefined - skip: false -Class.html_safe?: - types: - - undefined - skip: false -Class.in?: - types: - - undefined - skip: false -Class.instance_values: - types: - - undefined - skip: false -Class.instance_variable_names: - types: - - undefined - skip: false -Class.mattr_accessor: - types: - - undefined - skip: false -Class.mattr_reader: - types: - - undefined - skip: false -Class.mattr_writer: - types: - - undefined - skip: false -Class.method_visibility: - types: - - undefined - skip: false -Class.module_parent: - types: - - undefined - skip: false -Class.module_parent_name: - types: - - undefined - skip: false -Class.module_parents: - types: - - undefined - skip: false -Class.presence: - types: - - Object - skip: false -Class.presence_in: - types: - - Object - skip: false -Class.present?: - types: - - 'true' - - 'false' - skip: false -Class.redefine_method: - types: - - undefined - skip: false -Class.redefine_singleton_method: - types: - - undefined - skip: false -Class.remove_possible_method: - types: - - undefined - skip: false -Class.remove_possible_singleton_method: - types: - - undefined - skip: false -Class.silence_redefinition_of_method: - types: - - undefined - skip: false -Class.subclasses: - types: - - undefined - skip: false -Class.thread_cattr_accessor: - types: - - undefined - skip: false -Class.thread_cattr_reader: - types: - - undefined - skip: false -Class.thread_cattr_writer: - types: - - undefined - skip: false -Class.thread_mattr_accessor: - types: - - undefined - skip: false -Class.thread_mattr_reader: - types: - - undefined - skip: false -Class.thread_mattr_writer: - types: - - undefined - skip: false -Class.to_json: - types: - - undefined - skip: true -Class.to_param: - types: - - undefined - skip: false -Class.to_query: - types: - - undefined - skip: false -Class.try: - types: - - undefined - skip: false -Class.try!: - types: - - undefined - skip: false -Class.with_options: - types: - - undefined - skip: false -Class#acts_like?: - types: - - undefined - skip: false -Class#alias_attribute: - types: - - undefined - skip: false -Class#anonymous?: - types: - - undefined - skip: false -Class#as_json: - types: - - undefined - skip: false -Class#attr_internal: - types: - - undefined - skip: false -Class#attr_internal_accessor: - types: - - undefined - skip: false -Class#attr_internal_reader: - types: - - undefined - skip: false -Class#attr_internal_writer: - types: - - undefined - skip: false -Class#blank?: - types: - - 'true' - - 'false' - skip: false -Class#cattr_accessor: - types: - - undefined - skip: false -Class#cattr_reader: - types: - - undefined - skip: false -Class#cattr_writer: - types: - - undefined - skip: false -Class#class_attribute: - types: - - undefined - skip: false -Class#concern: - types: - - undefined - skip: false -Class#concerning: - types: - - undefined - skip: false -Class#deep_dup: - types: - - undefined - skip: false -Class#delegate: - types: - - undefined - skip: false -Class#delegate_missing_to: - types: - - undefined - skip: false -Class#deprecate: - types: - - undefined - skip: false -Class#descendants: - types: - - undefined - skip: false -Class#duplicable?: - types: - - undefined - skip: false -Class#html_safe?: - types: - - undefined - skip: false -Class#in?: - types: - - undefined - skip: false -Class#instance_values: - types: - - undefined - skip: false -Class#instance_variable_names: - types: - - undefined - skip: false -Class#mattr_accessor: - types: - - undefined - skip: false -Class#mattr_reader: - types: - - undefined - skip: false -Class#mattr_writer: - types: - - undefined - skip: false -Class#method_visibility: - types: - - undefined - skip: false -Class#module_parent: - types: - - undefined - skip: false -Class#module_parent_name: - types: - - undefined - skip: false -Class#module_parents: - types: - - undefined - skip: false -Class#presence: - types: - - Object - skip: false -Class#presence_in: - types: - - Object - skip: false -Class#present?: - types: - - 'true' - - 'false' - skip: false -Class#redefine_method: - types: - - undefined - skip: false -Class#redefine_singleton_method: - types: - - undefined - skip: false -Class#remove_possible_method: - types: - - undefined - skip: false -Class#remove_possible_singleton_method: - types: - - undefined - skip: false -Class#silence_redefinition_of_method: - types: - - undefined - skip: false -Class#subclasses: - types: - - undefined - skip: false -Class#thread_cattr_accessor: - types: - - undefined - skip: false -Class#thread_cattr_reader: - types: - - undefined - skip: false -Class#thread_cattr_writer: - types: - - undefined - skip: false -Class#thread_mattr_accessor: - types: - - undefined - skip: false -Class#thread_mattr_reader: - types: - - undefined - skip: false -Class#thread_mattr_writer: - types: - - undefined - skip: false -Class#to_json: - types: - - undefined - skip: true -Class#to_param: - types: - - undefined - skip: false -Class#to_query: - types: - - undefined - skip: false -Class#try: - types: - - undefined - skip: false -Class#try!: - types: - - undefined - skip: false -Class#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/Date.yml b/spec/definitions/rails6/core/Date.yml deleted file mode 100644 index 767f5b6..0000000 --- a/spec/definitions/rails6/core/Date.yml +++ /dev/null @@ -1,680 +0,0 @@ ---- -Date.acts_like?: - types: - - undefined - skip: false -Date.alias_attribute: - types: - - undefined - skip: false -Date.anonymous?: - types: - - undefined - skip: false -Date.as_json: - types: - - undefined - skip: false -Date.attr_internal: - types: - - undefined - skip: false -Date.attr_internal_accessor: - types: - - undefined - skip: false -Date.attr_internal_reader: - types: - - undefined - skip: false -Date.attr_internal_writer: - types: - - undefined - skip: false -Date.beginning_of_week: - types: - - undefined - skip: false -Date.beginning_of_week=: - types: - - undefined - skip: false -Date.beginning_of_week_default: - types: - - undefined - skip: false -Date.beginning_of_week_default=: - types: - - undefined - skip: false -Date.blank?: - types: - - 'true' - - 'false' - skip: false -Date.cattr_accessor: - types: - - undefined - skip: false -Date.cattr_reader: - types: - - undefined - skip: false -Date.cattr_writer: - types: - - undefined - skip: false -Date.class_attribute: - types: - - undefined - skip: false -Date.concern: - types: - - undefined - skip: false -Date.concerning: - types: - - undefined - skip: false -Date.current: - types: - - undefined - skip: false -Date.deep_dup: - types: - - undefined - skip: false -Date.delegate: - types: - - undefined - skip: false -Date.delegate_missing_to: - types: - - undefined - skip: false -Date.deprecate: - types: - - undefined - skip: false -Date.descendants: - types: - - undefined - skip: false -Date.duplicable?: - types: - - undefined - skip: false -Date.find_beginning_of_week!: - types: - - undefined - skip: false -Date.html_safe?: - types: - - undefined - skip: false -Date.in?: - types: - - undefined - skip: false -Date.instance_values: - types: - - undefined - skip: false -Date.instance_variable_names: - types: - - undefined - skip: false -Date.mattr_accessor: - types: - - undefined - skip: false -Date.mattr_reader: - types: - - undefined - skip: false -Date.mattr_writer: - types: - - undefined - skip: false -Date.method_visibility: - types: - - undefined - skip: false -Date.module_parent: - types: - - undefined - skip: false -Date.module_parent_name: - types: - - undefined - skip: false -Date.module_parents: - types: - - undefined - skip: false -Date.presence: - types: - - Object - skip: false -Date.presence_in: - types: - - Object - skip: false -Date.present?: - types: - - 'true' - - 'false' - skip: false -Date.redefine_method: - types: - - undefined - skip: false -Date.redefine_singleton_method: - types: - - undefined - skip: false -Date.remove_possible_method: - types: - - undefined - skip: false -Date.remove_possible_singleton_method: - types: - - undefined - skip: false -Date.silence_redefinition_of_method: - types: - - undefined - skip: false -Date.subclasses: - types: - - undefined - skip: false -Date.thread_cattr_accessor: - types: - - undefined - skip: false -Date.thread_cattr_reader: - types: - - undefined - skip: false -Date.thread_cattr_writer: - types: - - undefined - skip: false -Date.thread_mattr_accessor: - types: - - undefined - skip: false -Date.thread_mattr_reader: - types: - - undefined - skip: false -Date.thread_mattr_writer: - types: - - undefined - skip: false -Date.to_json: - types: - - undefined - skip: true -Date.to_param: - types: - - undefined - skip: false -Date.to_query: - types: - - undefined - skip: false -Date.tomorrow: - types: - - undefined - skip: false -Date.try: - types: - - undefined - skip: false -Date.try!: - types: - - undefined - skip: false -Date.with_options: - types: - - undefined - skip: false -Date.yesterday: - types: - - undefined - skip: false -Date#+: - types: - - undefined - skip: false -Date#-: - types: - - undefined - skip: false -Date#<=>: - types: - - undefined - skip: false -Date#acts_like?: - types: - - undefined - skip: false -Date#acts_like_date?: - types: - - undefined - skip: false -Date#advance: - types: - - undefined - skip: false -Date#after?: - types: - - undefined - skip: false -Date#ago: - types: - - undefined - skip: false -Date#all_day: - types: - - undefined - skip: false -Date#all_month: - types: - - undefined - skip: false -Date#all_quarter: - types: - - undefined - skip: false -Date#all_week: - types: - - undefined - skip: false -Date#all_year: - types: - - undefined - skip: false -Date#as_json: - types: - - undefined - skip: false -Date#at_beginning_of_day: - types: - - undefined - skip: false -Date#at_beginning_of_month: - types: - - undefined - skip: false -Date#at_beginning_of_quarter: - types: - - undefined - skip: false -Date#at_beginning_of_week: - types: - - undefined - skip: false -Date#at_beginning_of_year: - types: - - undefined - skip: false -Date#at_end_of_day: - types: - - undefined - skip: false -Date#at_end_of_month: - types: - - undefined - skip: false -Date#at_end_of_quarter: - types: - - undefined - skip: false -Date#at_end_of_week: - types: - - undefined - skip: false -Date#at_end_of_year: - types: - - undefined - skip: false -Date#at_midday: - types: - - undefined - skip: false -Date#at_middle_of_day: - types: - - undefined - skip: false -Date#at_midnight: - types: - - undefined - skip: false -Date#at_noon: - types: - - undefined - skip: false -Date#before?: - types: - - undefined - skip: false -Date#beginning_of_day: - types: - - undefined - skip: false -Date#beginning_of_month: - types: - - undefined - skip: false -Date#beginning_of_quarter: - types: - - undefined - skip: false -Date#beginning_of_week: - types: - - undefined - skip: false -Date#beginning_of_year: - types: - - undefined - skip: false -Date#blank?: - types: - - 'false' - skip: false -Date#change: - types: - - undefined - skip: false -Date#class_eval: - types: - - undefined - skip: false -Date#compare_with_coercion: - types: - - undefined - skip: false -Date#days_ago: - types: - - undefined - skip: false -Date#days_since: - types: - - undefined - skip: false -Date#days_to_week_start: - types: - - undefined - skip: false -Date#deep_dup: - types: - - undefined - skip: false -Date#duplicable?: - types: - - undefined - skip: false -Date#end_of_day: - types: - - undefined - skip: false -Date#end_of_month: - types: - - undefined - skip: false -Date#end_of_quarter: - types: - - undefined - skip: false -Date#end_of_week: - types: - - undefined - skip: false -Date#end_of_year: - types: - - undefined - skip: false -Date#future?: - types: - - undefined - skip: false -Date#html_safe?: - types: - - undefined - skip: false -Date#in: - types: - - undefined - skip: false -Date#in?: - types: - - undefined - skip: false -Date#in_time_zone: - types: - - undefined - skip: false -Date#inspect: - types: - - undefined - skip: false -Date#instance_values: - types: - - undefined - skip: false -Date#instance_variable_names: - types: - - undefined - skip: false -Date#last_month: - types: - - undefined - skip: false -Date#last_quarter: - types: - - undefined - skip: false -Date#last_week: - types: - - undefined - skip: false -Date#last_weekday: - types: - - undefined - skip: false -Date#last_year: - types: - - undefined - skip: false -Date#midday: - types: - - undefined - skip: false -Date#middle_of_day: - types: - - undefined - skip: false -Date#midnight: - types: - - undefined - skip: false -Date#minus_with_duration: - types: - - undefined - skip: false -Date#monday: - types: - - undefined - skip: false -Date#months_ago: - types: - - undefined - skip: false -Date#months_since: - types: - - undefined - skip: false -Date#next_day?: - types: - - Boolean - skip: false -Date#next_occurring: - types: - - undefined - skip: false -Date#next_quarter: - types: - - undefined - skip: false -Date#next_week: - types: - - undefined - skip: false -Date#next_weekday: - types: - - undefined - skip: false -Date#noon: - types: - - undefined - skip: false -Date#on_weekday?: - types: - - undefined - skip: false -Date#on_weekend?: - types: - - undefined - skip: false -Date#past?: - types: - - undefined - skip: false -Date#plus_with_duration: - types: - - undefined - skip: false -Date#presence: - types: - - Object - skip: false -Date#presence_in: - types: - - Object - skip: false -Date#present?: - types: - - 'true' - - 'false' - skip: false -Date#prev_day?: - types: - - Boolean - skip: false -Date#prev_occurring: - types: - - undefined - skip: false -Date#prev_quarter: - types: - - undefined - skip: false -Date#prev_week: - types: - - undefined - skip: false -Date#prev_weekday: - types: - - undefined - skip: false -Date#readable_inspect: - types: - - undefined - skip: false -Date#since: - types: - - undefined - skip: false -Date#sunday: - types: - - undefined - skip: false -Date#to_formatted_s: - types: - - undefined - skip: false -Date#to_json: - types: - - undefined - skip: true -Date#to_param: - types: - - undefined - skip: false -Date#to_query: - types: - - undefined - skip: false -Date#to_s: - types: - - undefined - skip: false -Date#to_time: - types: - - undefined - skip: false -Date#today?: - types: - - undefined - skip: false -Date#tomorrow: - types: - - undefined - skip: false -Date#tomorrow?: - types: - - undefined - skip: false -Date#try: - types: - - undefined - skip: false -Date#try!: - types: - - undefined - skip: false -Date#weeks_ago: - types: - - undefined - skip: false -Date#weeks_since: - types: - - undefined - skip: false -Date#with_options: - types: - - undefined - skip: false -Date#xmlschema: - types: - - undefined - skip: false -Date#years_ago: - types: - - undefined - skip: false -Date#years_since: - types: - - undefined - skip: false -Date#yesterday: - types: - - undefined - skip: false -Date#yesterday?: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/DateTime.yml b/spec/definitions/rails6/core/DateTime.yml deleted file mode 100644 index 8d2e732..0000000 --- a/spec/definitions/rails6/core/DateTime.yml +++ /dev/null @@ -1,788 +0,0 @@ ---- -DateTime.acts_like?: - types: - - undefined - skip: false -DateTime.alias_attribute: - types: - - undefined - skip: false -DateTime.anonymous?: - types: - - undefined - skip: false -DateTime.as_json: - types: - - undefined - skip: false -DateTime.attr_internal: - types: - - undefined - skip: false -DateTime.attr_internal_accessor: - types: - - undefined - skip: false -DateTime.attr_internal_reader: - types: - - undefined - skip: false -DateTime.attr_internal_writer: - types: - - undefined - skip: false -DateTime.beginning_of_week: - types: - - undefined - skip: true -DateTime.beginning_of_week=: - types: - - undefined - skip: true -DateTime.beginning_of_week_default: - types: - - undefined - skip: true -DateTime.beginning_of_week_default=: - types: - - undefined - skip: true -DateTime.blank?: - types: - - 'true' - - 'false' - skip: false -DateTime.cattr_accessor: - types: - - undefined - skip: false -DateTime.cattr_reader: - types: - - undefined - skip: false -DateTime.cattr_writer: - types: - - undefined - skip: false -DateTime.civil_from_format: - types: - - undefined - skip: false -DateTime.class_attribute: - types: - - undefined - skip: false -DateTime.concern: - types: - - undefined - skip: false -DateTime.concerning: - types: - - undefined - skip: false -DateTime.current: - types: - - undefined - skip: false -DateTime.deep_dup: - types: - - undefined - skip: false -DateTime.delegate: - types: - - undefined - skip: false -DateTime.delegate_missing_to: - types: - - undefined - skip: false -DateTime.deprecate: - types: - - undefined - skip: false -DateTime.descendants: - types: - - undefined - skip: false -DateTime.duplicable?: - types: - - undefined - skip: false -DateTime.find_beginning_of_week!: - types: - - undefined - skip: true -DateTime.html_safe?: - types: - - undefined - skip: false -DateTime.in?: - types: - - undefined - skip: false -DateTime.instance_values: - types: - - undefined - skip: false -DateTime.instance_variable_names: - types: - - undefined - skip: false -DateTime.mattr_accessor: - types: - - undefined - skip: false -DateTime.mattr_reader: - types: - - undefined - skip: false -DateTime.mattr_writer: - types: - - undefined - skip: false -DateTime.method_visibility: - types: - - undefined - skip: false -DateTime.module_parent: - types: - - undefined - skip: false -DateTime.module_parent_name: - types: - - undefined - skip: false -DateTime.module_parents: - types: - - undefined - skip: false -DateTime.presence: - types: - - Object - skip: false -DateTime.presence_in: - types: - - Object - skip: false -DateTime.present?: - types: - - 'true' - - 'false' - skip: false -DateTime.redefine_method: - types: - - undefined - skip: false -DateTime.redefine_singleton_method: - types: - - undefined - skip: false -DateTime.remove_possible_method: - types: - - undefined - skip: false -DateTime.remove_possible_singleton_method: - types: - - undefined - skip: false -DateTime.silence_redefinition_of_method: - types: - - undefined - skip: false -DateTime.subclasses: - types: - - undefined - skip: false -DateTime.thread_cattr_accessor: - types: - - undefined - skip: false -DateTime.thread_cattr_reader: - types: - - undefined - skip: false -DateTime.thread_cattr_writer: - types: - - undefined - skip: false -DateTime.thread_mattr_accessor: - types: - - undefined - skip: false -DateTime.thread_mattr_reader: - types: - - undefined - skip: false -DateTime.thread_mattr_writer: - types: - - undefined - skip: false -DateTime.to_json: - types: - - undefined - skip: true -DateTime.to_param: - types: - - undefined - skip: false -DateTime.to_query: - types: - - undefined - skip: false -DateTime.tomorrow: - types: - - undefined - skip: true -DateTime.try: - types: - - undefined - skip: false -DateTime.try!: - types: - - undefined - skip: false -DateTime.with_options: - types: - - undefined - skip: false -DateTime.yesterday: - types: - - undefined - skip: true -DateTime#+: - types: - - undefined - skip: true -DateTime#-: - types: - - undefined - skip: true -DateTime#<=>: - types: - - undefined - skip: false -DateTime#acts_like?: - types: - - undefined - skip: false -DateTime#acts_like_date?: - types: - - undefined - skip: false -DateTime#acts_like_time?: - types: - - undefined - skip: false -DateTime#advance: - types: - - undefined - skip: false -DateTime#after?: - types: - - undefined - skip: true -DateTime#ago: - types: - - undefined - skip: false -DateTime#all_day: - types: - - undefined - skip: true -DateTime#all_month: - types: - - undefined - skip: true -DateTime#all_quarter: - types: - - undefined - skip: true -DateTime#all_week: - types: - - undefined - skip: true -DateTime#all_year: - types: - - undefined - skip: true -DateTime#as_json: - types: - - undefined - skip: false -DateTime#at_beginning_of_day: - types: - - undefined - skip: false -DateTime#at_beginning_of_hour: - types: - - undefined - skip: false -DateTime#at_beginning_of_minute: - types: - - undefined - skip: false -DateTime#at_beginning_of_month: - types: - - undefined - skip: true -DateTime#at_beginning_of_quarter: - types: - - undefined - skip: true -DateTime#at_beginning_of_week: - types: - - undefined - skip: true -DateTime#at_beginning_of_year: - types: - - undefined - skip: true -DateTime#at_end_of_day: - types: - - undefined - skip: false -DateTime#at_end_of_hour: - types: - - undefined - skip: false -DateTime#at_end_of_minute: - types: - - undefined - skip: false -DateTime#at_end_of_month: - types: - - undefined - skip: true -DateTime#at_end_of_quarter: - types: - - undefined - skip: true -DateTime#at_end_of_week: - types: - - undefined - skip: true -DateTime#at_end_of_year: - types: - - undefined - skip: true -DateTime#at_midday: - types: - - undefined - skip: false -DateTime#at_middle_of_day: - types: - - undefined - skip: false -DateTime#at_midnight: - types: - - undefined - skip: false -DateTime#at_noon: - types: - - undefined - skip: false -DateTime#before?: - types: - - undefined - skip: true -DateTime#beginning_of_day: - types: - - undefined - skip: false -DateTime#beginning_of_hour: - types: - - undefined - skip: false -DateTime#beginning_of_minute: - types: - - undefined - skip: false -DateTime#beginning_of_month: - types: - - undefined - skip: true -DateTime#beginning_of_quarter: - types: - - undefined - skip: true -DateTime#beginning_of_week: - types: - - undefined - skip: true -DateTime#beginning_of_year: - types: - - undefined - skip: true -DateTime#blank?: - types: - - 'false' - skip: false -DateTime#change: - types: - - undefined - skip: false -DateTime#class_eval: - types: - - undefined - skip: false -DateTime#compare_with_coercion: - types: - - undefined - skip: true -DateTime#days_ago: - types: - - undefined - skip: true -DateTime#days_since: - types: - - undefined - skip: true -DateTime#days_to_week_start: - types: - - undefined - skip: true -DateTime#deep_dup: - types: - - undefined - skip: false -DateTime#duplicable?: - types: - - undefined - skip: false -DateTime#end_of_day: - types: - - undefined - skip: false -DateTime#end_of_hour: - types: - - undefined - skip: false -DateTime#end_of_minute: - types: - - undefined - skip: false -DateTime#end_of_month: - types: - - undefined - skip: true -DateTime#end_of_quarter: - types: - - undefined - skip: true -DateTime#end_of_week: - types: - - undefined - skip: true -DateTime#end_of_year: - types: - - undefined - skip: true -DateTime#formatted_offset: - types: - - undefined - skip: false -DateTime#future?: - types: - - undefined - skip: true -DateTime#getgm: - types: - - undefined - skip: false -DateTime#getlocal: - types: - - undefined - skip: false -DateTime#getutc: - types: - - undefined - skip: false -DateTime#gmtime: - types: - - undefined - skip: false -DateTime#html_safe?: - types: - - undefined - skip: false -DateTime#in: - types: - - undefined - skip: false -DateTime#in?: - types: - - undefined - skip: false -DateTime#in_time_zone: - types: - - undefined - skip: true -DateTime#inspect: - types: - - undefined - skip: false -DateTime#instance_values: - types: - - undefined - skip: false -DateTime#instance_variable_names: - types: - - undefined - skip: false -DateTime#last_month: - types: - - undefined - skip: true -DateTime#last_quarter: - types: - - undefined - skip: true -DateTime#last_week: - types: - - undefined - skip: true -DateTime#last_weekday: - types: - - undefined - skip: true -DateTime#last_year: - types: - - undefined - skip: true -DateTime#localtime: - types: - - undefined - skip: false -DateTime#midday: - types: - - undefined - skip: false -DateTime#middle_of_day: - types: - - undefined - skip: false -DateTime#midnight: - types: - - undefined - skip: false -DateTime#minus_with_duration: - types: - - undefined - skip: true -DateTime#monday: - types: - - undefined - skip: true -DateTime#months_ago: - types: - - undefined - skip: true -DateTime#months_since: - types: - - undefined - skip: true -DateTime#next_day?: - types: - - undefined - skip: true -DateTime#next_occurring: - types: - - undefined - skip: true -DateTime#next_quarter: - types: - - undefined - skip: true -DateTime#next_week: - types: - - undefined - skip: true -DateTime#next_weekday: - types: - - undefined - skip: true -DateTime#noon: - types: - - undefined - skip: false -DateTime#nsec: - types: - - undefined - skip: false -DateTime#on_weekday?: - types: - - undefined - skip: true -DateTime#on_weekend?: - types: - - undefined - skip: true -DateTime#past?: - types: - - undefined - skip: true -DateTime#plus_with_duration: - types: - - undefined - skip: true -DateTime#presence: - types: - - Object - skip: false -DateTime#presence_in: - types: - - Object - skip: false -DateTime#present?: - types: - - 'true' - - 'false' - skip: false -DateTime#preserve_timezone: - types: - - undefined - skip: true -DateTime#prev_day?: - types: - - undefined - skip: true -DateTime#prev_occurring: - types: - - undefined - skip: true -DateTime#prev_quarter: - types: - - undefined - skip: true -DateTime#prev_week: - types: - - undefined - skip: true -DateTime#prev_weekday: - types: - - undefined - skip: true -DateTime#readable_inspect: - types: - - undefined - skip: false -DateTime#seconds_since_midnight: - types: - - undefined - skip: false -DateTime#seconds_until_end_of_day: - types: - - undefined - skip: false -DateTime#since: - types: - - undefined - skip: false -DateTime#subsec: - types: - - undefined - skip: false -DateTime#sunday: - types: - - undefined - skip: true -DateTime#to_f: - types: - - undefined - skip: false -DateTime#to_formatted_s: - types: - - undefined - skip: false -DateTime#to_i: - types: - - undefined - skip: false -DateTime#to_json: - types: - - undefined - skip: true -DateTime#to_param: - types: - - undefined - skip: false -DateTime#to_query: - types: - - undefined - skip: false -DateTime#to_s: - types: - - undefined - skip: false -DateTime#to_time: - types: - - undefined - skip: false -DateTime#today?: - types: - - undefined - skip: true -DateTime#tomorrow: - types: - - undefined - skip: true -DateTime#tomorrow?: - types: - - undefined - skip: true -DateTime#try: - types: - - undefined - skip: false -DateTime#try!: - types: - - undefined - skip: false -DateTime#usec: - types: - - undefined - skip: false -DateTime#utc: - types: - - undefined - skip: false -DateTime#utc?: - types: - - undefined - skip: false -DateTime#utc_offset: - types: - - undefined - skip: false -DateTime#utc_to_local_returns_utc_offset_times: - types: - - undefined - skip: true -DateTime#weeks_ago: - types: - - undefined - skip: true -DateTime#weeks_since: - types: - - undefined - skip: true -DateTime#with_options: - types: - - undefined - skip: false -DateTime#years_ago: - types: - - undefined - skip: true -DateTime#years_since: - types: - - undefined - skip: true -DateTime#yesterday: - types: - - undefined - skip: true -DateTime#yesterday?: - types: - - undefined - skip: true diff --git a/spec/definitions/rails6/core/File.yml b/spec/definitions/rails6/core/File.yml deleted file mode 100644 index f07e8b3..0000000 --- a/spec/definitions/rails6/core/File.yml +++ /dev/null @@ -1,345 +0,0 @@ ---- -File.acts_like?: - types: - - undefined - skip: false -File.alias_attribute: - types: - - undefined - skip: false -File.anonymous?: - types: - - undefined - skip: false -File.as_json: - types: - - undefined - skip: false -File.atomic_write: - types: - - undefined - skip: false -File.attr_internal: - types: - - undefined - skip: false -File.attr_internal_accessor: - types: - - undefined - skip: false -File.attr_internal_reader: - types: - - undefined - skip: false -File.attr_internal_writer: - types: - - undefined - skip: false -File.blank?: - types: - - 'true' - - 'false' - skip: false -File.cattr_accessor: - types: - - undefined - skip: false -File.cattr_reader: - types: - - undefined - skip: false -File.cattr_writer: - types: - - undefined - skip: false -File.class_attribute: - types: - - undefined - skip: false -File.concern: - types: - - undefined - skip: false -File.concerning: - types: - - undefined - skip: false -File.deep_dup: - types: - - undefined - skip: false -File.delegate: - types: - - undefined - skip: false -File.delegate_missing_to: - types: - - undefined - skip: false -File.deprecate: - types: - - undefined - skip: false -File.descendants: - types: - - undefined - skip: false -File.duplicable?: - types: - - undefined - skip: false -File.html_safe?: - types: - - undefined - skip: false -File.in?: - types: - - undefined - skip: false -File.instance_values: - types: - - undefined - skip: false -File.instance_variable_names: - types: - - undefined - skip: false -File.mattr_accessor: - types: - - undefined - skip: false -File.mattr_reader: - types: - - undefined - skip: false -File.mattr_writer: - types: - - undefined - skip: false -File.method_visibility: - types: - - undefined - skip: false -File.module_parent: - types: - - undefined - skip: false -File.module_parent_name: - types: - - undefined - skip: false -File.module_parents: - types: - - undefined - skip: false -File.presence: - types: - - Object - skip: false -File.presence_in: - types: - - Object - skip: false -File.present?: - types: - - 'true' - - 'false' - skip: false -File.probe_stat_in: - types: - - undefined - skip: false -File.redefine_method: - types: - - undefined - skip: false -File.redefine_singleton_method: - types: - - undefined - skip: false -File.remove_possible_method: - types: - - undefined - skip: false -File.remove_possible_singleton_method: - types: - - undefined - skip: false -File.silence_redefinition_of_method: - types: - - undefined - skip: false -File.subclasses: - types: - - undefined - skip: false -File.thread_cattr_accessor: - types: - - undefined - skip: false -File.thread_cattr_reader: - types: - - undefined - skip: false -File.thread_cattr_writer: - types: - - undefined - skip: false -File.thread_mattr_accessor: - types: - - undefined - skip: false -File.thread_mattr_reader: - types: - - undefined - skip: false -File.thread_mattr_writer: - types: - - undefined - skip: false -File.to_json: - types: - - undefined - skip: true -File.to_param: - types: - - undefined - skip: false -File.to_query: - types: - - undefined - skip: false -File.try: - types: - - undefined - skip: false -File.try!: - types: - - undefined - skip: false -File.with_options: - types: - - undefined - skip: false -File#acts_like?: - types: - - undefined - skip: false -File#as_json: - types: - - undefined - skip: false -File#blank?: - types: - - 'true' - - 'false' - skip: false -File#class_eval: - types: - - undefined - skip: false -File#compact_blank: - types: - - undefined - skip: false -File#deep_dup: - types: - - undefined - skip: false -File#duplicable?: - types: - - undefined - skip: false -File#exclude?: - types: - - undefined - skip: false -File#excluding: - types: - - undefined - skip: false -File#html_safe?: - types: - - undefined - skip: false -File#in?: - types: - - undefined - skip: false -File#including: - types: - - undefined - skip: false -File#index_by: - types: - - undefined - skip: false -File#index_with: - types: - - undefined - skip: false -File#instance_values: - types: - - undefined - skip: false -File#instance_variable_names: - types: - - undefined - skip: false -File#many?: - types: - - undefined - skip: false -File#pick: - types: - - undefined - skip: false -File#pluck: - types: - - undefined - skip: false -File#presence: - types: - - Object - skip: false -File#presence_in: - types: - - Object - skip: false -File#present?: - types: - - 'true' - - 'false' - skip: false -File#sum: - types: - - undefined - skip: false -File#to_json: - types: - - undefined - skip: true -File#to_param: - types: - - undefined - skip: false -File#to_query: - types: - - undefined - skip: false -File#try: - types: - - undefined - skip: false -File#try!: - types: - - undefined - skip: false -File#with_options: - types: - - undefined - skip: false -File#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/Hash.yml b/spec/definitions/rails6/core/Hash.yml deleted file mode 100644 index a8f0757..0000000 --- a/spec/definitions/rails6/core/Hash.yml +++ /dev/null @@ -1,464 +0,0 @@ ---- -Hash.acts_like?: - types: - - undefined - skip: false -Hash.alias_attribute: - types: - - undefined - skip: false -Hash.anonymous?: - types: - - undefined - skip: false -Hash.as_json: - types: - - undefined - skip: false -Hash.attr_internal: - types: - - undefined - skip: false -Hash.attr_internal_accessor: - types: - - undefined - skip: false -Hash.attr_internal_reader: - types: - - undefined - skip: false -Hash.attr_internal_writer: - types: - - undefined - skip: false -Hash.blank?: - types: - - 'true' - - 'false' - skip: false -Hash.cattr_accessor: - types: - - undefined - skip: false -Hash.cattr_reader: - types: - - undefined - skip: false -Hash.cattr_writer: - types: - - undefined - skip: false -Hash.class_attribute: - types: - - undefined - skip: false -Hash.concern: - types: - - undefined - skip: false -Hash.concerning: - types: - - undefined - skip: false -Hash.deep_dup: - types: - - undefined - skip: false -Hash.delegate: - types: - - undefined - skip: false -Hash.delegate_missing_to: - types: - - undefined - skip: false -Hash.deprecate: - types: - - undefined - skip: false -Hash.descendants: - types: - - undefined - skip: false -Hash.duplicable?: - types: - - undefined - skip: false -Hash.from_trusted_xml: - types: - - undefined - skip: false -Hash.from_xml: - types: - - undefined - skip: false -Hash.html_safe?: - types: - - undefined - skip: false -Hash.in?: - types: - - undefined - skip: false -Hash.instance_values: - types: - - undefined - skip: false -Hash.instance_variable_names: - types: - - undefined - skip: false -Hash.mattr_accessor: - types: - - undefined - skip: false -Hash.mattr_reader: - types: - - undefined - skip: false -Hash.mattr_writer: - types: - - undefined - skip: false -Hash.method_visibility: - types: - - undefined - skip: false -Hash.module_parent: - types: - - undefined - skip: false -Hash.module_parent_name: - types: - - undefined - skip: false -Hash.module_parents: - types: - - undefined - skip: false -Hash.presence: - types: - - Object - skip: false -Hash.presence_in: - types: - - Object - skip: false -Hash.present?: - types: - - 'true' - - 'false' - skip: false -Hash.redefine_method: - types: - - undefined - skip: false -Hash.redefine_singleton_method: - types: - - undefined - skip: false -Hash.remove_possible_method: - types: - - undefined - skip: false -Hash.remove_possible_singleton_method: - types: - - undefined - skip: false -Hash.silence_redefinition_of_method: - types: - - undefined - skip: false -Hash.subclasses: - types: - - undefined - skip: false -Hash.thread_cattr_accessor: - types: - - undefined - skip: false -Hash.thread_cattr_reader: - types: - - undefined - skip: false -Hash.thread_cattr_writer: - types: - - undefined - skip: false -Hash.thread_mattr_accessor: - types: - - undefined - skip: false -Hash.thread_mattr_reader: - types: - - undefined - skip: false -Hash.thread_mattr_writer: - types: - - undefined - skip: false -Hash.to_json: - types: - - undefined - skip: true -Hash.to_param: - types: - - undefined - skip: false -Hash.to_query: - types: - - undefined - skip: false -Hash.try: - types: - - undefined - skip: false -Hash.try!: - types: - - undefined - skip: false -Hash.with_options: - types: - - undefined - skip: false -Hash#acts_like?: - types: - - undefined - skip: false -Hash#as_json: - types: - - undefined - skip: false -Hash#assert_valid_keys: - types: - - undefined - skip: false -Hash#class_eval: - types: - - undefined - skip: false -Hash#compact_blank: - types: - - undefined - skip: false -Hash#compact_blank!: - types: - - undefined - skip: false -Hash#deep_dup: - types: - - undefined - skip: false -Hash#deep_merge: - types: - - undefined - skip: false -Hash#deep_merge!: - types: - - undefined - skip: false -Hash#deep_stringify_keys: - types: - - undefined - skip: false -Hash#deep_stringify_keys!: - types: - - undefined - skip: false -Hash#deep_symbolize_keys: - types: - - undefined - skip: false -Hash#deep_symbolize_keys!: - types: - - undefined - skip: false -Hash#deep_transform_keys: - types: - - undefined - skip: false -Hash#deep_transform_keys!: - types: - - undefined - skip: false -Hash#deep_transform_values: - types: - - undefined - skip: false -Hash#deep_transform_values!: - types: - - undefined - skip: false -Hash#duplicable?: - types: - - undefined - skip: false -Hash#except: - types: - - undefined - skip: false -Hash#except!: - types: - - undefined - skip: false -Hash#exclude?: - types: - - undefined - skip: false -Hash#excluding: - types: - - undefined - skip: false -Hash#extract!: - types: - - undefined - skip: false -Hash#extractable_options?: - types: - - undefined - skip: false -Hash#html_safe?: - types: - - undefined - skip: false -Hash#in?: - types: - - undefined - skip: false -Hash#including: - types: - - undefined - skip: false -Hash#index_by: - types: - - undefined - skip: false -Hash#index_with: - types: - - undefined - skip: false -Hash#instance_values: - types: - - undefined - skip: false -Hash#instance_variable_names: - types: - - undefined - skip: false -Hash#many?: - types: - - undefined - skip: false -Hash#nested_under_indifferent_access: - types: - - undefined - skip: false -Hash#pick: - types: - - undefined - skip: false -Hash#pluck: - types: - - undefined - skip: false -Hash#presence: - types: - - Object - skip: false -Hash#presence_in: - types: - - Object - skip: false -Hash#present?: - types: - - 'true' - - 'false' - skip: false -Hash#reverse_merge: - types: - - undefined - skip: false -Hash#reverse_merge!: - types: - - undefined - skip: false -Hash#reverse_update: - types: - - undefined - skip: false -Hash#slice!: - types: - - undefined - skip: false -Hash#stringify_keys: - types: - - undefined - skip: false -Hash#stringify_keys!: - types: - - undefined - skip: false -Hash#sum: - types: - - undefined - skip: false -Hash#symbolize_keys: - types: - - undefined - skip: false -Hash#symbolize_keys!: - types: - - undefined - skip: false -Hash#to_json: - types: - - undefined - skip: true -Hash#to_options: - types: - - undefined - skip: false -Hash#to_options!: - types: - - undefined - skip: false -Hash#to_param: - types: - - undefined - skip: false -Hash#to_query: - types: - - undefined - skip: false -Hash#to_xml: - types: - - undefined - skip: false -Hash#try: - types: - - undefined - skip: false -Hash#try!: - types: - - undefined - skip: false -Hash#with_defaults: - types: - - undefined - skip: false -Hash#with_defaults!: - types: - - undefined - skip: false -Hash#with_indifferent_access: - types: - - undefined - skip: false -Hash#with_options: - types: - - undefined - skip: false -Hash#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/Integer.yml b/spec/definitions/rails6/core/Integer.yml deleted file mode 100644 index 7b841df..0000000 --- a/spec/definitions/rails6/core/Integer.yml +++ /dev/null @@ -1,432 +0,0 @@ ---- -Integer.acts_like?: - types: - - undefined - skip: false -Integer.alias_attribute: - types: - - undefined - skip: false -Integer.anonymous?: - types: - - undefined - skip: false -Integer.as_json: - types: - - undefined - skip: false -Integer.attr_internal: - types: - - undefined - skip: false -Integer.attr_internal_accessor: - types: - - undefined - skip: false -Integer.attr_internal_reader: - types: - - undefined - skip: false -Integer.attr_internal_writer: - types: - - undefined - skip: false -Integer.blank?: - types: - - 'true' - - 'false' - skip: false -Integer.cattr_accessor: - types: - - undefined - skip: false -Integer.cattr_reader: - types: - - undefined - skip: false -Integer.cattr_writer: - types: - - undefined - skip: false -Integer.class_attribute: - types: - - undefined - skip: false -Integer.concern: - types: - - undefined - skip: false -Integer.concerning: - types: - - undefined - skip: false -Integer.deep_dup: - types: - - undefined - skip: false -Integer.delegate: - types: - - undefined - skip: false -Integer.delegate_missing_to: - types: - - undefined - skip: false -Integer.deprecate: - types: - - undefined - skip: false -Integer.descendants: - types: - - undefined - skip: false -Integer.duplicable?: - types: - - undefined - skip: false -Integer.html_safe?: - types: - - undefined - skip: false -Integer.in?: - types: - - undefined - skip: false -Integer.instance_values: - types: - - undefined - skip: false -Integer.instance_variable_names: - types: - - undefined - skip: false -Integer.mattr_accessor: - types: - - undefined - skip: false -Integer.mattr_reader: - types: - - undefined - skip: false -Integer.mattr_writer: - types: - - undefined - skip: false -Integer.method_visibility: - types: - - undefined - skip: false -Integer.module_parent: - types: - - undefined - skip: false -Integer.module_parent_name: - types: - - undefined - skip: false -Integer.module_parents: - types: - - undefined - skip: false -Integer.presence: - types: - - Object - skip: false -Integer.presence_in: - types: - - Object - skip: false -Integer.present?: - types: - - 'true' - - 'false' - skip: false -Integer.redefine_method: - types: - - undefined - skip: false -Integer.redefine_singleton_method: - types: - - undefined - skip: false -Integer.remove_possible_method: - types: - - undefined - skip: false -Integer.remove_possible_singleton_method: - types: - - undefined - skip: false -Integer.silence_redefinition_of_method: - types: - - undefined - skip: false -Integer.subclasses: - types: - - undefined - skip: false -Integer.thread_cattr_accessor: - types: - - undefined - skip: false -Integer.thread_cattr_reader: - types: - - undefined - skip: false -Integer.thread_cattr_writer: - types: - - undefined - skip: false -Integer.thread_mattr_accessor: - types: - - undefined - skip: false -Integer.thread_mattr_reader: - types: - - undefined - skip: false -Integer.thread_mattr_writer: - types: - - undefined - skip: false -Integer.to_json: - types: - - undefined - skip: true -Integer.to_param: - types: - - undefined - skip: false -Integer.to_query: - types: - - undefined - skip: false -Integer.try: - types: - - undefined - skip: false -Integer.try!: - types: - - undefined - skip: false -Integer.with_options: - types: - - undefined - skip: false -Integer#acts_like?: - types: - - undefined - skip: false -Integer#as_json: - types: - - undefined - skip: false -Integer#blank?: - types: - - 'false' - skip: false -Integer#byte: - types: - - undefined - skip: false -Integer#bytes: - types: - - undefined - skip: false -Integer#class_eval: - types: - - undefined - skip: false -Integer#day: - types: - - undefined - skip: false -Integer#days: - types: - - undefined - skip: false -Integer#deep_dup: - types: - - undefined - skip: false -Integer#duplicable?: - types: - - undefined - skip: false -Integer#exabyte: - types: - - undefined - skip: false -Integer#exabytes: - types: - - undefined - skip: false -Integer#fortnight: - types: - - undefined - skip: false -Integer#fortnights: - types: - - undefined - skip: false -Integer#gigabyte: - types: - - undefined - skip: false -Integer#gigabytes: - types: - - undefined - skip: false -Integer#hour: - types: - - undefined - skip: false -Integer#hours: - types: - - undefined - skip: false -Integer#html_safe?: - types: - - undefined - skip: false -Integer#in?: - types: - - undefined - skip: false -Integer#in_milliseconds: - types: - - undefined - skip: false -Integer#instance_values: - types: - - undefined - skip: false -Integer#instance_variable_names: - types: - - undefined - skip: false -Integer#kilobyte: - types: - - undefined - skip: false -Integer#kilobytes: - types: - - undefined - skip: false -Integer#megabyte: - types: - - undefined - skip: false -Integer#megabytes: - types: - - undefined - skip: false -Integer#minute: - types: - - undefined - skip: false -Integer#minutes: - types: - - undefined - skip: false -Integer#month: - types: - - undefined - skip: false -Integer#months: - types: - - undefined - skip: false -Integer#multiple_of?: - types: - - undefined - skip: false -Integer#ordinal: - types: - - undefined - skip: false -Integer#ordinalize: - types: - - undefined - skip: false -Integer#petabyte: - types: - - undefined - skip: false -Integer#petabytes: - types: - - undefined - skip: false -Integer#presence: - types: - - Object - skip: false -Integer#presence_in: - types: - - Object - skip: false -Integer#present?: - types: - - 'true' - - 'false' - skip: false -Integer#second: - types: - - undefined - skip: false -Integer#seconds: - types: - - undefined - skip: false -Integer#terabyte: - types: - - undefined - skip: false -Integer#terabytes: - types: - - undefined - skip: false -Integer#to_json: - types: - - undefined - skip: true -Integer#to_param: - types: - - undefined - skip: false -Integer#to_query: - types: - - undefined - skip: false -Integer#to_s: - types: - - undefined - skip: false -Integer#try: - types: - - undefined - skip: false -Integer#try!: - types: - - undefined - skip: false -Integer#week: - types: - - undefined - skip: false -Integer#weeks: - types: - - undefined - skip: false -Integer#with_options: - types: - - undefined - skip: false -Integer#year: - types: - - undefined - skip: false -Integer#years: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/Kernel.yml b/spec/definitions/rails6/core/Kernel.yml deleted file mode 100644 index 0ed863b..0000000 --- a/spec/definitions/rails6/core/Kernel.yml +++ /dev/null @@ -1,223 +0,0 @@ ---- -Kernel.acts_like?: - types: - - undefined - skip: false -Kernel.alias_attribute: - types: - - undefined - skip: false -Kernel.anonymous?: - types: - - undefined - skip: false -Kernel.as_json: - types: - - undefined - skip: false -Kernel.attr_internal: - types: - - undefined - skip: false -Kernel.attr_internal_accessor: - types: - - undefined - skip: false -Kernel.attr_internal_reader: - types: - - undefined - skip: false -Kernel.attr_internal_writer: - types: - - undefined - skip: false -Kernel.blank?: - types: - - 'true' - - 'false' - skip: false -Kernel.cattr_accessor: - types: - - undefined - skip: false -Kernel.cattr_reader: - types: - - undefined - skip: false -Kernel.cattr_writer: - types: - - undefined - skip: false -Kernel.concern: - types: - - undefined - skip: false -Kernel.concerning: - types: - - undefined - skip: false -Kernel.deep_dup: - types: - - undefined - skip: false -Kernel.delegate: - types: - - undefined - skip: false -Kernel.delegate_missing_to: - types: - - undefined - skip: false -Kernel.deprecate: - types: - - undefined - skip: false -Kernel.duplicable?: - types: - - undefined - skip: false -Kernel.enable_warnings: - types: - - undefined - skip: false -Kernel.html_safe?: - types: - - undefined - skip: false -Kernel.in?: - types: - - undefined - skip: false -Kernel.instance_values: - types: - - undefined - skip: false -Kernel.instance_variable_names: - types: - - undefined - skip: false -Kernel.mattr_accessor: - types: - - undefined - skip: false -Kernel.mattr_reader: - types: - - undefined - skip: false -Kernel.mattr_writer: - types: - - undefined - skip: false -Kernel.method_visibility: - types: - - undefined - skip: false -Kernel.module_parent: - types: - - undefined - skip: false -Kernel.module_parent_name: - types: - - undefined - skip: false -Kernel.module_parents: - types: - - undefined - skip: false -Kernel.presence: - types: - - Object - skip: false -Kernel.presence_in: - types: - - Object - skip: false -Kernel.present?: - types: - - 'true' - - 'false' - skip: false -Kernel.redefine_method: - types: - - undefined - skip: false -Kernel.redefine_singleton_method: - types: - - undefined - skip: false -Kernel.remove_possible_method: - types: - - undefined - skip: false -Kernel.remove_possible_singleton_method: - types: - - undefined - skip: false -Kernel.silence_redefinition_of_method: - types: - - undefined - skip: false -Kernel.silence_warnings: - types: - - undefined - skip: false -Kernel.suppress: - types: - - undefined - skip: false -Kernel.thread_cattr_accessor: - types: - - undefined - skip: false -Kernel.thread_cattr_reader: - types: - - undefined - skip: false -Kernel.thread_cattr_writer: - types: - - undefined - skip: false -Kernel.thread_mattr_accessor: - types: - - undefined - skip: false -Kernel.thread_mattr_reader: - types: - - undefined - skip: false -Kernel.thread_mattr_writer: - types: - - undefined - skip: false -Kernel.to_json: - types: - - undefined - skip: true -Kernel.to_param: - types: - - undefined - skip: false -Kernel.to_query: - types: - - undefined - skip: false -Kernel.try: - types: - - undefined - skip: false -Kernel.try!: - types: - - undefined - skip: false -Kernel.with_options: - types: - - undefined - skip: false -Kernel.with_warnings: - types: - - undefined - skip: false -Kernel#class_eval: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/String.yml b/spec/definitions/rails6/core/String.yml deleted file mode 100644 index 1e8ff61..0000000 --- a/spec/definitions/rails6/core/String.yml +++ /dev/null @@ -1,465 +0,0 @@ ---- -String.acts_like?: - types: - - undefined - skip: false -String.alias_attribute: - types: - - undefined - skip: false -String.anonymous?: - types: - - undefined - skip: false -String.as_json: - types: - - undefined - skip: false -String.attr_internal: - types: - - undefined - skip: false -String.attr_internal_accessor: - types: - - undefined - skip: false -String.attr_internal_reader: - types: - - undefined - skip: false -String.attr_internal_writer: - types: - - undefined - skip: false -String.blank?: - types: - - 'true' - - 'false' - skip: false -String.cattr_accessor: - types: - - undefined - skip: false -String.cattr_reader: - types: - - undefined - skip: false -String.cattr_writer: - types: - - undefined - skip: false -String.class_attribute: - types: - - undefined - skip: false -String.concern: - types: - - undefined - skip: false -String.concerning: - types: - - undefined - skip: false -String.deep_dup: - types: - - undefined - skip: false -String.delegate: - types: - - undefined - skip: false -String.delegate_missing_to: - types: - - undefined - skip: false -String.deprecate: - types: - - undefined - skip: false -String.descendants: - types: - - undefined - skip: false -String.duplicable?: - types: - - undefined - skip: false -String.html_safe?: - types: - - undefined - skip: false -String.in?: - types: - - undefined - skip: false -String.instance_values: - types: - - undefined - skip: false -String.instance_variable_names: - types: - - undefined - skip: false -String.mattr_accessor: - types: - - undefined - skip: false -String.mattr_reader: - types: - - undefined - skip: false -String.mattr_writer: - types: - - undefined - skip: false -String.method_visibility: - types: - - undefined - skip: false -String.module_parent: - types: - - undefined - skip: false -String.module_parent_name: - types: - - undefined - skip: false -String.module_parents: - types: - - undefined - skip: false -String.presence: - types: - - Object - skip: false -String.presence_in: - types: - - Object - skip: false -String.present?: - types: - - 'true' - - 'false' - skip: false -String.redefine_method: - types: - - undefined - skip: false -String.redefine_singleton_method: - types: - - undefined - skip: false -String.remove_possible_method: - types: - - undefined - skip: false -String.remove_possible_singleton_method: - types: - - undefined - skip: false -String.silence_redefinition_of_method: - types: - - undefined - skip: false -String.subclasses: - types: - - undefined - skip: false -String.thread_cattr_accessor: - types: - - undefined - skip: false -String.thread_cattr_reader: - types: - - undefined - skip: false -String.thread_cattr_writer: - types: - - undefined - skip: false -String.thread_mattr_accessor: - types: - - undefined - skip: false -String.thread_mattr_reader: - types: - - undefined - skip: false -String.thread_mattr_writer: - types: - - undefined - skip: false -String.to_json: - types: - - undefined - skip: true -String.to_param: - types: - - undefined - skip: false -String.to_query: - types: - - undefined - skip: false -String.try: - types: - - undefined - skip: false -String.try!: - types: - - undefined - skip: false -String.with_options: - types: - - undefined - skip: false -String#acts_like?: - types: - - undefined - skip: false -String#acts_like_string?: - types: - - undefined - skip: false -String#as_json: - types: - - undefined - skip: false -String#at: - types: - - undefined - skip: false -String#blank?: - types: - - 'true' - - 'false' - skip: false -String#camelcase: - types: - - undefined - skip: false -String#camelize: - types: - - undefined - skip: false -String#class_eval: - types: - - undefined - skip: false -String#classify: - types: - - undefined - skip: false -String#constantize: - types: - - undefined - skip: false -String#dasherize: - types: - - undefined - skip: false -String#deconstantize: - types: - - undefined - skip: false -String#deep_dup: - types: - - undefined - skip: false -String#demodulize: - types: - - undefined - skip: false -String#duplicable?: - types: - - undefined - skip: false -String#exclude?: - types: - - undefined - skip: false -String#first: - types: - - undefined - skip: false -String#foreign_key: - types: - - undefined - skip: false -String#from: - types: - - undefined - skip: false -String#html_safe: - types: - - undefined - skip: false -String#html_safe?: - types: - - undefined - skip: false -String#humanize: - types: - - undefined - skip: false -String#in?: - types: - - undefined - skip: false -String#in_time_zone: - types: - - undefined - skip: false -String#indent: - types: - - undefined - skip: false -String#indent!: - types: - - undefined - skip: false -String#inquiry: - types: - - undefined - skip: false -String#instance_values: - types: - - undefined - skip: false -String#instance_variable_names: - types: - - undefined - skip: false -String#is_utf8?: - types: - - undefined - skip: false -String#last: - types: - - undefined - skip: false -String#mb_chars: - types: - - undefined - skip: false -String#parameterize: - types: - - undefined - skip: false -String#pluralize: - types: - - undefined - skip: false -String#presence: - types: - - Object - skip: false -String#presence_in: - types: - - Object - skip: false -String#present?: - types: - - 'true' - - 'false' - skip: false -String#remove: - types: - - undefined - skip: false -String#remove!: - types: - - undefined - skip: false -String#safe_constantize: - types: - - undefined - skip: false -String#singularize: - types: - - undefined - skip: false -String#squish: - types: - - undefined - skip: false -String#squish!: - types: - - undefined - skip: false -String#strip_heredoc: - types: - - undefined - skip: false -String#tableize: - types: - - undefined - skip: false -String#titlecase: - types: - - undefined - skip: false -String#titleize: - types: - - undefined - skip: false -String#to: - types: - - undefined - skip: false -String#to_date: - types: - - undefined - skip: false -String#to_datetime: - types: - - undefined - skip: false -String#to_json: - types: - - undefined - skip: true -String#to_param: - types: - - undefined - skip: false -String#to_query: - types: - - undefined - skip: false -String#to_time: - types: - - undefined - skip: false -String#truncate: - types: - - undefined - skip: false -String#truncate_bytes: - types: - - undefined - skip: false -String#truncate_words: - types: - - undefined - skip: false -String#try: - types: - - undefined - skip: false -String#try!: - types: - - undefined - skip: false -String#underscore: - types: - - undefined - skip: false -String#upcase_first: - types: - - undefined - skip: false -String#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/core/Time.yml b/spec/definitions/rails6/core/Time.yml deleted file mode 100644 index d6faf02..0000000 --- a/spec/definitions/rails6/core/Time.yml +++ /dev/null @@ -1,796 +0,0 @@ ---- -Time.===: - types: - - undefined - skip: false -Time.acts_like?: - types: - - undefined - skip: false -Time.alias_attribute: - types: - - undefined - skip: false -Time.anonymous?: - types: - - undefined - skip: false -Time.as_json: - types: - - undefined - skip: false -Time.at: - types: - - undefined - skip: false -Time.at_with_coercion: - types: - - undefined - skip: false -Time.attr_internal: - types: - - undefined - skip: false -Time.attr_internal_accessor: - types: - - undefined - skip: false -Time.attr_internal_reader: - types: - - undefined - skip: false -Time.attr_internal_writer: - types: - - undefined - skip: false -Time.blank?: - types: - - 'true' - - 'false' - skip: false -Time.cattr_accessor: - types: - - undefined - skip: false -Time.cattr_reader: - types: - - undefined - skip: false -Time.cattr_writer: - types: - - undefined - skip: false -Time.class_attribute: - types: - - undefined - skip: false -Time.concern: - types: - - undefined - skip: false -Time.concerning: - types: - - undefined - skip: false -Time.current: - types: - - undefined - skip: false -Time.days_in_month: - types: - - undefined - skip: false -Time.days_in_year: - types: - - undefined - skip: false -Time.deep_dup: - types: - - undefined - skip: false -Time.delegate: - types: - - undefined - skip: false -Time.delegate_missing_to: - types: - - undefined - skip: false -Time.deprecate: - types: - - undefined - skip: false -Time.descendants: - types: - - undefined - skip: false -Time.duplicable?: - types: - - undefined - skip: false -Time.find_zone: - types: - - undefined - skip: false -Time.find_zone!: - types: - - undefined - skip: false -Time.html_safe?: - types: - - undefined - skip: false -Time.in?: - types: - - undefined - skip: false -Time.instance_values: - types: - - undefined - skip: false -Time.instance_variable_names: - types: - - undefined - skip: false -Time.mattr_accessor: - types: - - undefined - skip: false -Time.mattr_reader: - types: - - undefined - skip: false -Time.mattr_writer: - types: - - undefined - skip: false -Time.method_visibility: - types: - - undefined - skip: false -Time.module_parent: - types: - - undefined - skip: false -Time.module_parent_name: - types: - - undefined - skip: false -Time.module_parents: - types: - - undefined - skip: false -Time.presence: - types: - - Object - skip: false -Time.presence_in: - types: - - Object - skip: false -Time.present?: - types: - - 'true' - - 'false' - skip: false -Time.redefine_method: - types: - - undefined - skip: false -Time.redefine_singleton_method: - types: - - undefined - skip: false -Time.remove_possible_method: - types: - - undefined - skip: false -Time.remove_possible_singleton_method: - types: - - undefined - skip: false -Time.rfc3339: - types: - - undefined - skip: false -Time.silence_redefinition_of_method: - types: - - undefined - skip: false -Time.subclasses: - types: - - undefined - skip: false -Time.thread_cattr_accessor: - types: - - undefined - skip: false -Time.thread_cattr_reader: - types: - - undefined - skip: false -Time.thread_cattr_writer: - types: - - undefined - skip: false -Time.thread_mattr_accessor: - types: - - undefined - skip: false -Time.thread_mattr_reader: - types: - - undefined - skip: false -Time.thread_mattr_writer: - types: - - undefined - skip: false -Time.to_json: - types: - - undefined - skip: true -Time.to_param: - types: - - undefined - skip: false -Time.to_query: - types: - - undefined - skip: false -Time.try: - types: - - undefined - skip: false -Time.try!: - types: - - undefined - skip: false -Time.use_zone: - types: - - undefined - skip: false -Time.with_options: - types: - - undefined - skip: false -Time.zone: - types: - - undefined - skip: false -Time.zone=: - types: - - undefined - skip: false -Time.zone_default: - types: - - undefined - skip: false -Time.zone_default=: - types: - - undefined - skip: false -Time#+: - types: - - undefined - skip: false -Time#-: - types: - - undefined - skip: false -Time#<=>: - types: - - undefined - skip: false -Time#acts_like?: - types: - - undefined - skip: false -Time#acts_like_time?: - types: - - undefined - skip: false -Time#advance: - types: - - undefined - skip: false -Time#after?: - types: - - undefined - skip: false -Time#ago: - types: - - undefined - skip: false -Time#all_day: - types: - - undefined - skip: false -Time#all_month: - types: - - undefined - skip: false -Time#all_quarter: - types: - - undefined - skip: false -Time#all_week: - types: - - undefined - skip: false -Time#all_year: - types: - - undefined - skip: false -Time#as_json: - types: - - undefined - skip: false -Time#at_beginning_of_day: - types: - - undefined - skip: false -Time#at_beginning_of_hour: - types: - - undefined - skip: false -Time#at_beginning_of_minute: - types: - - undefined - skip: false -Time#at_beginning_of_month: - types: - - undefined - skip: false -Time#at_beginning_of_quarter: - types: - - undefined - skip: false -Time#at_beginning_of_week: - types: - - undefined - skip: false -Time#at_beginning_of_year: - types: - - undefined - skip: false -Time#at_end_of_day: - types: - - undefined - skip: false -Time#at_end_of_hour: - types: - - undefined - skip: false -Time#at_end_of_minute: - types: - - undefined - skip: false -Time#at_end_of_month: - types: - - undefined - skip: false -Time#at_end_of_quarter: - types: - - undefined - skip: false -Time#at_end_of_week: - types: - - undefined - skip: false -Time#at_end_of_year: - types: - - undefined - skip: false -Time#at_midday: - types: - - undefined - skip: false -Time#at_middle_of_day: - types: - - undefined - skip: false -Time#at_midnight: - types: - - undefined - skip: false -Time#at_noon: - types: - - undefined - skip: false -Time#before?: - types: - - undefined - skip: false -Time#beginning_of_day: - types: - - undefined - skip: false -Time#beginning_of_hour: - types: - - undefined - skip: false -Time#beginning_of_minute: - types: - - undefined - skip: false -Time#beginning_of_month: - types: - - undefined - skip: false -Time#beginning_of_quarter: - types: - - undefined - skip: false -Time#beginning_of_week: - types: - - undefined - skip: false -Time#beginning_of_year: - types: - - undefined - skip: false -Time#blank?: - types: - - 'false' - skip: false -Time#ceil: - types: - - undefined - skip: false -Time#change: - types: - - undefined - skip: false -Time#class_eval: - types: - - undefined - skip: false -Time#compare_with_coercion: - types: - - undefined - skip: false -Time#days_ago: - types: - - undefined - skip: false -Time#days_since: - types: - - undefined - skip: false -Time#days_to_week_start: - types: - - undefined - skip: false -Time#deep_dup: - types: - - undefined - skip: false -Time#duplicable?: - types: - - undefined - skip: false -Time#end_of_day: - types: - - undefined - skip: false -Time#end_of_hour: - types: - - undefined - skip: false -Time#end_of_minute: - types: - - undefined - skip: false -Time#end_of_month: - types: - - undefined - skip: false -Time#end_of_quarter: - types: - - undefined - skip: false -Time#end_of_week: - types: - - undefined - skip: false -Time#end_of_year: - types: - - undefined - skip: false -Time#eql?: - types: - - undefined - skip: false -Time#eql_with_coercion: - types: - - undefined - skip: false -Time#floor: - types: - - undefined - skip: false -Time#formatted_offset: - types: - - undefined - skip: false -Time#future?: - types: - - undefined - skip: false -Time#html_safe?: - types: - - undefined - skip: false -Time#in: - types: - - undefined - skip: false -Time#in?: - types: - - undefined - skip: false -Time#in_time_zone: - types: - - undefined - skip: false -Time#instance_values: - types: - - undefined - skip: false -Time#instance_variable_names: - types: - - undefined - skip: false -Time#last_month: - types: - - undefined - skip: false -Time#last_quarter: - types: - - undefined - skip: false -Time#last_week: - types: - - undefined - skip: false -Time#last_weekday: - types: - - undefined - skip: false -Time#last_year: - types: - - undefined - skip: false -Time#midday: - types: - - undefined - skip: false -Time#middle_of_day: - types: - - undefined - skip: false -Time#midnight: - types: - - undefined - skip: false -Time#minus_with_coercion: - types: - - undefined - skip: false -Time#minus_with_duration: - types: - - undefined - skip: false -Time#minus_without_coercion: - types: - - undefined - skip: false -Time#monday: - types: - - undefined - skip: false -Time#months_ago: - types: - - undefined - skip: false -Time#months_since: - types: - - undefined - skip: false -Time#next_day: - types: - - undefined - skip: false -Time#next_day?: - types: - - Boolean - skip: false -Time#next_month: - types: - - undefined - skip: false -Time#next_occurring: - types: - - undefined - skip: false -Time#next_quarter: - types: - - undefined - skip: false -Time#next_week: - types: - - undefined - skip: false -Time#next_weekday: - types: - - undefined - skip: false -Time#next_year: - types: - - undefined - skip: false -Time#noon: - types: - - undefined - skip: false -Time#on_weekday?: - types: - - undefined - skip: false -Time#on_weekend?: - types: - - undefined - skip: false -Time#past?: - types: - - undefined - skip: false -Time#plus_with_duration: - types: - - undefined - skip: false -Time#presence: - types: - - Object - skip: false -Time#presence_in: - types: - - Object - skip: false -Time#present?: - types: - - 'true' - - 'false' - skip: false -Time#preserve_timezone: - types: - - undefined - skip: true -Time#prev_day: - types: - - undefined - skip: false -Time#prev_day?: - types: - - Boolean - skip: false -Time#prev_month: - types: - - undefined - skip: false -Time#prev_occurring: - types: - - undefined - skip: false -Time#prev_quarter: - types: - - undefined - skip: false -Time#prev_week: - types: - - undefined - skip: false -Time#prev_weekday: - types: - - undefined - skip: false -Time#prev_year: - types: - - undefined - skip: false -Time#sec_fraction: - types: - - undefined - skip: false -Time#seconds_since_midnight: - types: - - undefined - skip: false -Time#seconds_until_end_of_day: - types: - - undefined - skip: false -Time#since: - types: - - undefined - skip: false -Time#sunday: - types: - - undefined - skip: false -Time#to_formatted_s: - types: - - undefined - skip: false -Time#to_json: - types: - - undefined - skip: true -Time#to_param: - types: - - undefined - skip: false -Time#to_query: - types: - - undefined - skip: false -Time#to_s: - types: - - undefined - skip: false -Time#to_time: - types: - - undefined - skip: false -Time#today?: - types: - - undefined - skip: false -Time#tomorrow: - types: - - undefined - skip: false -Time#tomorrow?: - types: - - undefined - skip: false -Time#try: - types: - - undefined - skip: false -Time#try!: - types: - - undefined - skip: false -Time#utc_to_local_returns_utc_offset_times: - types: - - undefined - skip: true -Time#weeks_ago: - types: - - undefined - skip: false -Time#weeks_since: - types: - - undefined - skip: false -Time#with_options: - types: - - undefined - skip: false -Time#years_ago: - types: - - undefined - skip: false -Time#years_since: - types: - - undefined - skip: false -Time#yesterday: - types: - - undefined - skip: false -Time#yesterday?: - types: - - undefined - skip: false diff --git a/spec/definitions/rails6/routes.yml b/spec/definitions/rails6/routes.yml deleted file mode 100644 index bb246e3..0000000 --- a/spec/definitions/rails6/routes.yml +++ /dev/null @@ -1,561 +0,0 @@ ---- -ActionDispatch::Routing::Mapper.acts_like?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.alias_attribute: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.anonymous?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.as_json: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.blank?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper.cattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.cattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.cattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.class_attribute: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.concern: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.concerning: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.const_missing: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.deep_dup: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.delegate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.delegate_missing_to: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.deprecate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.descendants: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.duplicable?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.gem: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.guess_for_anonymous: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.html_safe?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.in?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.instance_values: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.instance_variable_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.load_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.mattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.method_visibility: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.module_parent: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.module_parent_name: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.module_parents: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.normalize_name: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.normalize_path: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.presence: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper.presence_in: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper.present?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper.pry: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.rake_extension: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.redefine_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.redefine_singleton_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.remove_possible_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.remove_possible_singleton_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.require_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.require_or_load: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.silence_redefinition_of_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.subclasses: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.to_json: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.to_param: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.to_query: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.try: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.try!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.unloadable: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.with_options: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#acts_like?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#as: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#as_json: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#authenticate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#authenticated: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#blank?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper#class_eval: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#collection: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#concern: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#concerns: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#constraints: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#constraints_for: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#controller: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#deep_dup: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#default_url_options: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#default_url_options=: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#defaults: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#delete: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_confirmation: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_for: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_omniauth_callback: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_password: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_registration: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_session: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#devise_unlock: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#direct: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#draw: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#duplicable?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#gem: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#get: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#has_named_route?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#html_safe?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#in?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#instance_values: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#instance_variable_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#load_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#match: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#member: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#mount: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#namespace: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#nested: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#new: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#options: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#patch: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#post: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#presence: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper#presence_in: - types: - - Object - skip: false -ActionDispatch::Routing::Mapper#present?: - types: - - 'true' - - 'false' - skip: false -ActionDispatch::Routing::Mapper#pry: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#put: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#raise_no_devise_method_error!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#raise_no_secret_key: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#redirect: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#require_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#require_or_load: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#resolve: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#resource: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#resources: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#resources_path_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#root: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#set_omniauth_path_prefix!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#shallow: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#shallow?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#to_json: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#to_param: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#to_query: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#try: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#try!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#unauthenticated: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#unloadable: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#with_default_scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#with_devise_exclusive_scope: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#with_options: - types: - - undefined - skip: false diff --git a/spec/rails5/Gemfile b/spec/rails5/Gemfile deleted file mode 100644 index 311256b..0000000 --- a/spec/rails5/Gemfile +++ /dev/null @@ -1,10 +0,0 @@ -source 'https://rubygems.org' - -gem 'rails', '~> 5.2.6' -gem 'devise' -gem 'pry-rails' -gem 'sqlite3' - -group :development do - gem 'solargraph' -end diff --git a/spec/rails5/Rakefile b/spec/rails5/Rakefile deleted file mode 100644 index e85f913..0000000 --- a/spec/rails5/Rakefile +++ /dev/null @@ -1,6 +0,0 @@ -# Add your own tasks in files placed in lib/tasks ending in .rake, -# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. - -require_relative 'config/application' - -Rails.application.load_tasks diff --git a/spec/rails5/app/controllers/application_controller.rb b/spec/rails5/app/controllers/application_controller.rb deleted file mode 100644 index 09705d1..0000000 --- a/spec/rails5/app/controllers/application_controller.rb +++ /dev/null @@ -1,2 +0,0 @@ -class ApplicationController < ActionController::Base -end diff --git a/spec/rails5/app/mailers/.gitkeep b/spec/rails5/app/mailers/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails5/app/models/.gitkeep b/spec/rails5/app/models/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails5/config.ru b/spec/rails5/config.ru deleted file mode 100644 index f7ba0b5..0000000 --- a/spec/rails5/config.ru +++ /dev/null @@ -1,5 +0,0 @@ -# This file is used by Rack-based servers to start the application. - -require_relative 'config/environment' - -run Rails.application diff --git a/spec/rails5/config/application.rb b/spec/rails5/config/application.rb deleted file mode 100644 index 01dc076..0000000 --- a/spec/rails5/config/application.rb +++ /dev/null @@ -1,10 +0,0 @@ -require_relative 'boot' -require 'rails/all' - -Bundler.require(*Rails.groups) - -module MyApp - class Application < Rails::Application - ## - end -end diff --git a/spec/rails5/config/boot.rb b/spec/rails5/config/boot.rb deleted file mode 100644 index 30f5120..0000000 --- a/spec/rails5/config/boot.rb +++ /dev/null @@ -1,3 +0,0 @@ -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) - -require 'bundler/setup' # Set up gems listed in the Gemfile. diff --git a/spec/rails5/config/database.yml b/spec/rails5/config/database.yml deleted file mode 100644 index e3d05f9..0000000 --- a/spec/rails5/config/database.yml +++ /dev/null @@ -1,4 +0,0 @@ -development: - adapter: sqlite3 - pool: 5 - database: db/dev.sqlite3 diff --git a/spec/rails5/config/environment.rb b/spec/rails5/config/environment.rb deleted file mode 100644 index b69a1ce..0000000 --- a/spec/rails5/config/environment.rb +++ /dev/null @@ -1,9 +0,0 @@ -# Load the Rails application. -require_relative 'application' - -Rails.application.configure do - config.eager_load = true -end - -# Initialize the Rails application. -Rails.application.initialize! diff --git a/spec/rails5/db/dev.sqlite3 b/spec/rails5/db/dev.sqlite3 deleted file mode 100644 index 29adf554df206edcb10df22d45814034018b480b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8192 zcmeI#u?~VT5XSMA7&oJvVY^Wm7hgamY%B^7AWAhv5L3JGY`&Z&gxR>7|Ce5yYi{~& zmmSi|8M(H$DV%K8LTRmbB1$RkEATa@?s+>Di{t(wAi hayQ+&-_8BfPY^%=0R#|0009ILKmY**5J2FM1wMfq9}NHi diff --git a/spec/rails5/db/migrate/.gitkeep b/spec/rails5/db/migrate/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails5/log/.keep b/spec/rails5/log/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails5/tmp/.keep b/spec/rails5/tmp/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails6/Gemfile b/spec/rails6/Gemfile deleted file mode 100644 index ebb8962..0000000 --- a/spec/rails6/Gemfile +++ /dev/null @@ -1,10 +0,0 @@ -source 'https://rubygems.org' - -gem 'rails', '~> 6.1.4' -gem 'devise' -gem 'pry-rails' -gem 'sqlite3' - -group :development do - gem 'solargraph' -end diff --git a/spec/rails6/Rakefile b/spec/rails6/Rakefile deleted file mode 100644 index e85f913..0000000 --- a/spec/rails6/Rakefile +++ /dev/null @@ -1,6 +0,0 @@ -# Add your own tasks in files placed in lib/tasks ending in .rake, -# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. - -require_relative 'config/application' - -Rails.application.load_tasks diff --git a/spec/rails6/app/assets/config/manifest.js b/spec/rails6/app/assets/config/manifest.js deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails6/app/controllers/application_controller.rb b/spec/rails6/app/controllers/application_controller.rb deleted file mode 100644 index 09705d1..0000000 --- a/spec/rails6/app/controllers/application_controller.rb +++ /dev/null @@ -1,2 +0,0 @@ -class ApplicationController < ActionController::Base -end diff --git a/spec/rails6/app/mailers/.gitkeep b/spec/rails6/app/mailers/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails6/app/models/.gitkeep b/spec/rails6/app/models/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/rails6/config.ru b/spec/rails6/config.ru deleted file mode 100644 index f7ba0b5..0000000 --- a/spec/rails6/config.ru +++ /dev/null @@ -1,5 +0,0 @@ -# This file is used by Rack-based servers to start the application. - -require_relative 'config/environment' - -run Rails.application diff --git a/spec/rails6/config/application.rb b/spec/rails6/config/application.rb deleted file mode 100644 index 01dc076..0000000 --- a/spec/rails6/config/application.rb +++ /dev/null @@ -1,10 +0,0 @@ -require_relative 'boot' -require 'rails/all' - -Bundler.require(*Rails.groups) - -module MyApp - class Application < Rails::Application - ## - end -end diff --git a/spec/rails6/config/boot.rb b/spec/rails6/config/boot.rb deleted file mode 100644 index 30f5120..0000000 --- a/spec/rails6/config/boot.rb +++ /dev/null @@ -1,3 +0,0 @@ -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) - -require 'bundler/setup' # Set up gems listed in the Gemfile. diff --git a/spec/rails6/config/database.yml b/spec/rails6/config/database.yml deleted file mode 100644 index e3d05f9..0000000 --- a/spec/rails6/config/database.yml +++ /dev/null @@ -1,4 +0,0 @@ -development: - adapter: sqlite3 - pool: 5 - database: db/dev.sqlite3 diff --git a/spec/rails6/config/environment.rb b/spec/rails6/config/environment.rb deleted file mode 100644 index 6b7a2fb..0000000 --- a/spec/rails6/config/environment.rb +++ /dev/null @@ -1,10 +0,0 @@ -# Load the Rails application. -require_relative 'application' - -Rails.application.configure do - config.eager_load = true - config.active_storage.service = :local -end - -# Initialize the Rails application. -Rails.application.initialize! diff --git a/spec/rails6/config/storage.yml b/spec/rails6/config/storage.yml deleted file mode 100644 index 2c6762e..0000000 --- a/spec/rails6/config/storage.yml +++ /dev/null @@ -1,3 +0,0 @@ -local: - service: Disk - root: <%= Rails.root.join("storage") %> diff --git a/spec/rails6/db/dev.sqlite3 b/spec/rails6/db/dev.sqlite3 deleted file mode 100644 index 29adf554df206edcb10df22d45814034018b480b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8192 zcmeI#u?~VT5XSMA7&oJvVY^Wm7hgamY%B^7AWAhv5L3JGY`&Z&gxR>7|Ce5yYi{~& zmmSi|8M(H$DV%K8LTRmbB1$RkEATa@?s+>Di{t(wAi hayQ+&-_8BfPY^%=0R#|0009ILKmY**5J2FM1wMfq9}NHi diff --git a/spec/rails6/db/migrate/.gitkeep b/spec/rails6/db/migrate/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/solargraph-rails/devise_spec.rb b/spec/solargraph-rails/devise_spec.rb index d7d0d22..0c722bd 100644 --- a/spec/solargraph-rails/devise_spec.rb +++ b/spec/solargraph-rails/devise_spec.rb @@ -1,50 +1,6 @@ require 'spec_helper' RSpec.describe Solargraph::Rails::Devise do - it "includes devise modules in rails5" do - map = use_workspace "./spec/rails5" do |root| - root.write_file 'app/models/awesome_user.rb', <<~RUBY - class AwesomeUser < ActiveRecord::Base - devise :registerable, :confirmable, :timeoutable, timeout_in: 12.hours - end - RUBY - - root.write_file 'app/controllers/pages_controller.rb', <<~RUBY - class PagesController < ApplicationController - def index - curr - AwesomeUser.new.conf - end - end - RUBY - end - - filename = './app/controllers/pages_controller.rb' - expect(completion_at(filename, [3, 23], map)).to include("confirm") - end - - it "includes devise modules in rails6" do - map = use_workspace "./spec/rails6" do |root| - root.write_file 'app/models/awesome_user.rb', <<~RUBY - class AwesomeUser < ActiveRecord::Base - devise :registerable, :confirmable, :timeoutable, timeout_in: 12.hours - end - RUBY - - root.write_file 'app/controllers/pages_controller.rb', <<~RUBY - class PagesController < ApplicationController - def index - curr - AwesomeUser.new.conf - end - end - RUBY - end - - filename = './app/controllers/pages_controller.rb' - expect(completion_at(filename, [3, 23], map)).to include("confirm") - end - it "includes devise modules in rails7" do map = use_workspace "./spec/rails7" do |root| root.write_file 'app/models/awesome_user.rb', <<~RUBY diff --git a/spec/solargraph-rails/rails5_spec.rb b/spec/solargraph-rails/rails5_spec.rb deleted file mode 100644 index e854adc..0000000 --- a/spec/solargraph-rails/rails5_spec.rb +++ /dev/null @@ -1,147 +0,0 @@ -require 'spec_helper' - -RSpec.describe 'Rails 5 API' do - it 'it provides Rails controller api' do - map = - use_workspace './spec/rails5' do |root| - root.write_file 'app/controllers/things_controller.rb', <<~EOS - class ThingsController < ActionController::Base - res - def index - re - end - end - EOS - end - - filename = './app/controllers/things_controller.rb' - expect(completion_at(filename, [1, 4], map)).to include('rescue_from') - - expect(completion_at(filename, [3, 5], map)).to include( - 'respond_to', - 'redirect_to', - 'response', - 'request', - 'render' - ) - end - - it 'can auto-complete inside routes' do - map = - use_workspace './spec/rails5' do |root| - root.write_file 'config/routes.rb', <<~EOS - Rails.application.routes.draw do - res - resource :things do - res - end - namespace :foo do - res - end - end - EOS - end - - filename = './config/routes.rb' - expect(completion_at(filename, [1, 5], map)).to include('resources') - expect(completion_at(filename, [3, 7], map)).to include('resources') - expect(completion_at(filename, [6, 7], map)).to include('resources') - end - - it 'can auto-complete inside mailers' do - map = - use_workspace './spec/rails5' do |root| - root.write_file 'app/mailers/test_mailer.rb', <<~EOS - class TestMailer < ActionMailer::Base - defa - def welcome_email - ma - end - end - EOS - end - - filename = './app/mailers/test_mailer.rb' - expect(completion_at(filename, [1, 6], map)).to include('default') - expect(completion_at(filename, [3, 6], map)).to include('mail') - end - - it 'can auto-complete inside migrations' do - map = - use_workspace './spec/rails5' do |root| - root.write_file 'db/migrate/20130502114652_create_things.rb', <<~EOS - class CreateThings < ActiveRecord::Migration[5.2] - def self.up - crea - end - - def change - crea - create_table :things do |t| - t.col - end - change_table :things do |t| - t.col - end - create_join_table :things do |t| - t.col - end - end - end - EOS - end - - filename = './db/migrate/20130502114652_create_things.rb' - expect(completion_at(filename, [2, 7], map)).to include('create_table') - expect(completion_at(filename, [6, 7], map)).to include('create_table') - expect(completion_at(filename, [8, 10], map)).to include('column') - expect(completion_at(filename, [11, 10], map)).to include('column') - expect(completion_at(filename, [14, 10], map)).to include('column') - end - - it 'provides completions for ActiveJob::Base' do - map = use_workspace './spec/rails5' - - assert_matches_definitions(map, 'ActiveJob::Base', 'rails5/activejob') - end - - it 'provides completions for ActionDispatch::Routing::Mapper' do - map = use_workspace './spec/rails5' - - assert_matches_definitions( - map, - 'ActionDispatch::Routing::Mapper', - 'rails5/routes', - update: true - ) - end - - it 'provides completions for ActiveRecord::Base' do - map = use_workspace './spec/rails5' - - assert_matches_definitions(map, 'ActiveRecord::Base', 'rails5/activerecord') - end - - it 'provides completions for ActionController::Base' do - map = use_workspace './spec/rails5' - assert_matches_definitions( - map, - 'ActionController::Base', - 'rails5/actioncontroller' - ) - end - - context 'auto-completes ActiveSupport core extensions' do - Dir - .glob('spec/definitions/rails5/core/*.yml') - .each do |path| - name = File.basename(path).split('.').first - - it "core/#{name}" do - map = use_workspace './spec/rails5' - - assert_matches_definitions(map, name, "rails5/core/#{name}") - end - end - end -end diff --git a/spec/solargraph-rails/rails6_spec.rb b/spec/solargraph-rails/rails6_spec.rb deleted file mode 100644 index 500e988..0000000 --- a/spec/solargraph-rails/rails6_spec.rb +++ /dev/null @@ -1,142 +0,0 @@ -require 'spec_helper' - -RSpec.describe 'Rails 6 API' do - it 'it provides Rails controller api' do - map = - use_workspace './spec/rails6' do |root| - root.write_file 'app/controllers/things_controller.rb', <<~EOS - class ThingsController < ActionController::Base - res - def index - re - end - end - EOS - end - - filename = './app/controllers/things_controller.rb' - expect(completion_at(filename, [1, 4], map)).to include('rescue_from') - - expect(completion_at(filename, [3, 5], map)).to include( - 'respond_to', - 'redirect_to', - 'response', - 'request', - 'render' - ) - end - - it 'can auto-complete inside routes' do - map = - use_workspace './spec/rails6' do |root| - root.write_file 'config/routes.rb', <<~EOS - Rails.application.routes.draw do - res - resource :things do - res - end - end - EOS - end - - filename = './config/routes.rb' - expect(completion_at(filename, [1, 5], map)).to include('resources') - expect(completion_at(filename, [3, 7], map)).to include('resources') - end - - it 'can auto-complete inside mailers' do - map = - use_workspace './spec/rails6' do |root| - root.write_file 'app/mailers/test_mailer.rb', <<~EOS - class TestMailer < ActionMailer::Base - defa - def welcome_email - ma - end - end - EOS - end - - filename = './app/mailers/test_mailer.rb' - expect(completion_at(filename, [1, 6], map)).to include('default') - expect(completion_at(filename, [3, 6], map)).to include('mail') - end - - it 'can auto-complete inside migrations' do - map = - use_workspace './spec/rails6' do |root| - root.write_file 'db/migrate/20130502114652_create_things.rb', <<~EOS - class CreateThings < ActiveRecord::Migration[5.2] - def self.up - crea - end - - def change - crea - create_table :things do |t| - t.col - end - change_table :things do |t| - t.col - end - create_join_table :things do |t| - t.col - end - end - end - EOS - end - - filename = './db/migrate/20130502114652_create_things.rb' - expect(completion_at(filename, [2, 7], map)).to include('create_table') - expect(completion_at(filename, [6, 7], map)).to include('create_table') - expect(completion_at(filename, [8, 10], map)).to include('column') - expect(completion_at(filename, [11, 10], map)).to include('column') - expect(completion_at(filename, [14, 10], map)).to include('column') - end - - it 'provides completions for ActiveJob::Base' do - map = use_workspace './spec/rails6' - - assert_matches_definitions(map, 'ActiveJob::Base', 'rails6/activejob') - end - - it 'provides completions for ActionDispatch::Routing::Mapper' do - map = use_workspace './spec/rails6' - - assert_matches_definitions( - map, - 'ActionDispatch::Routing::Mapper', - 'rails6/routes' - ) - end - - it 'provides completions for ActiveRecord::Base' do - map = use_workspace './spec/rails6' - - assert_matches_definitions(map, 'ActiveRecord::Base', 'rails6/activerecord') - end - - it 'provides completions for ActionController::Base' do - map = use_workspace './spec/rails6' - assert_matches_definitions( - map, - 'ActionController::Base', - 'rails6/actioncontroller' - ) - end - - context 'auto-completes ActiveSupport core extensions' do - Dir - .glob('spec/definitions/rails6/core/*.yml') - .each do |path| - name = File.basename(path).split('.').first - - it "core/#{name}" do - map = use_workspace './spec/rails6' - - assert_matches_definitions(map, name, "rails6/core/#{name}") - end - end - end -end diff --git a/spec/solargraph-rails/rails7_spec.rb b/spec/solargraph-rails/rails7_spec.rb index cc763e1..ceccde8 100644 --- a/spec/solargraph-rails/rails7_spec.rb +++ b/spec/solargraph-rails/rails7_spec.rb @@ -66,7 +66,7 @@ def welcome_email map = use_workspace './spec/rails7' do |root| root.write_file 'db/migrate/20130502114652_create_things.rb', <<~EOS - class CreateThings < ActiveRecord::Migration[5.2] + class CreateThings < ActiveRecord::Migration[7.0] def self.up crea end diff --git a/spec/solargraph-rails/storage_spec.rb b/spec/solargraph-rails/storage_spec.rb index 875cead..5a148e4 100644 --- a/spec/solargraph-rails/storage_spec.rb +++ b/spec/solargraph-rails/storage_spec.rb @@ -2,7 +2,7 @@ RSpec.describe Solargraph::Rails::Storage do it "can auto-complete ActiveStorage" do - map = use_workspace "./spec/rails5" do |root| + map = use_workspace "./spec/rails7" do |root| root.write_file 'app/models/thing.rb', <<~EOS class Thing < ActiveRecord::Base has_one_attached :image From d2774d02e558ae9cf27b31b77ca9f859dfe29f67 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 18:53:26 +0200 Subject: [PATCH 02/32] Don't require solargraph when loading test Rails app --- spec/rails7/Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/rails7/Gemfile b/spec/rails7/Gemfile index 866f466..d9536a6 100644 --- a/spec/rails7/Gemfile +++ b/spec/rails7/Gemfile @@ -1,10 +1,10 @@ source 'https://rubygems.org' -gem 'rails', '~> 7.0.2' gem 'devise' gem 'pry-rails' +gem 'rails', '~> 7.0.2' gem 'sqlite3' group :development do - gem 'solargraph' + gem 'solargraph', require: false end From ca1ea4035ca5fa297bb055d5acdc417fea68120d Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 21:11:56 +0200 Subject: [PATCH 03/32] Configure test app to behave like a real app --- spec/rails7/.solargraph.yml | 18 ++++++++++++++++++ spec/rails7/Gemfile | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 spec/rails7/.solargraph.yml diff --git a/spec/rails7/.solargraph.yml b/spec/rails7/.solargraph.yml new file mode 100644 index 0000000..f382947 --- /dev/null +++ b/spec/rails7/.solargraph.yml @@ -0,0 +1,18 @@ +include: +- "**/*.rb" +exclude: +- test/**/* +- vendor/**/* +- ".bundle/**/*" +require: [] +domains: [] +reporters: [] +formatter: + rubocop: + cops: safe + except: [] + only: [] + extra_args: [] +require_paths: [] +plugins: [solargraph-rails] +max_files: 5000 diff --git a/spec/rails7/Gemfile b/spec/rails7/Gemfile index d9536a6..e8c70ec 100644 --- a/spec/rails7/Gemfile +++ b/spec/rails7/Gemfile @@ -6,5 +6,7 @@ gem 'rails', '~> 7.0.2' gem 'sqlite3' group :development do + gem 'rdbg' gem 'solargraph', require: false + gem 'solargraph-rails', require: false, path: '../..' end From 47769b343bcef81be3fd84769cacfa1b0bbb748d Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 23:33:12 +0200 Subject: [PATCH 04/32] Use ruby/setup-ruby action and test app Gemfile for CI --- .github/workflows/ruby.yml | 29 +++++++++++++++++++++-------- ci.sh | 34 ---------------------------------- solargraph-rails.gemspec | 5 ++++- 3 files changed, 25 insertions(+), 43 deletions(-) delete mode 100755 ci.sh diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index cd894d7..f0c9ae2 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -23,20 +23,33 @@ jobs: solargraph-version: - "0.48.0" - "0.49.0" + rails-version: + - "7" fail-fast: false steps: - uses: actions/checkout@v2 - - name: Cache RVM + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + - uses: ruby/setup-ruby@v1 + with: + working-directory: spec/rails${{ matrix.rails-version }} + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + + - name: Cache yardoc uses: actions/cache@v3 id: rvm with: - key: ${{ runner.os }}-rvm-${{ matrix.ruby-version }} + key: ${{ runner.os }}-yard-${{ matrix.ruby-version }}-${{ matrix.solargraph-version }} path: | - /home/runner/.rvm /home/runner/.yardoc - #/usr/local/rvm/ - #- name: Setup upterm session - # uses: lhotari/action-upterm@v1 - - name: Test - run: "/bin/bash ./ci.sh ${{ matrix.ruby-version }} ${{ matrix.solargraph-version}}" + + - name: Generate YARD docs + run: cd spec/rails${{ matrix.rails-version }} && bundle exec yard gems + + - name: RSpec + run: bundle exec rspec spec/solargraph-rails + diff --git a/ci.sh b/ci.sh deleted file mode 100755 index 75d0f6d..0000000 --- a/ci.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -set -e -# when running in github actions: -RVM_PATH=/home/runner/.rvm -# when running locally using act: -#RVM_PATH=/usr/local/rvm -MATRIX_RUBY_VERSION=$1 -MATRIX_SOLARGRAPH_VERSION=$2 - -if [[ ! -d $RVM_PATH ]]; then - # this fetches the develop version; using -s stable should fetch the latest stable, but has a gpg error: - curl -sSL https://get.rvm.io | bash -s -fi - -# when running in github actions: -source /home/runner/.rvm/scripts/rvm -# when running locally in Act container: -#source /usr/local/rvm/scripts/rvm - - -#rvm package install openssl # hack because ubuntu won't give us openSSL -rvm install ruby $MATRIX_RUBY_VERSION -rvm use $MATRIX_RUBY_VERSION -gem install bundler - -echo "s/gem 'solargraph'/gem 'solargraph', '${MATRIX_SOLARGRAPH_VERSION}'/" > command.sed - -(cd spec/rails5; sed -i -f ../../command.sed Gemfile; cat Gemfile; bundle install; yard gems) -(cd spec/rails6; sed -i -f ../../command.sed Gemfile; cat Gemfile; bundle install; yard gems) -(cd spec/rails7; sed -i -f ../../command.sed Gemfile; cat Gemfile; bundle install; yard gems) - -bundle install - -bundle exec rspec diff --git a/solargraph-rails.gemspec b/solargraph-rails.gemspec index a0ce42d..c34640c 100644 --- a/solargraph-rails.gemspec +++ b/solargraph-rails.gemspec @@ -2,6 +2,9 @@ lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'solargraph/rails/version' + +solargraph_version = (ENV['CI'] && ENV['MATRIX_SOLARGRAPH_VERSION']) || ">= 0.48.0" + Gem::Specification.new do |spec| spec.name = 'solargraph-rails' spec.version = Solargraph::Rails::VERSION @@ -27,6 +30,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rake', '~> 12.3.3' spec.add_development_dependency 'rspec', '~> 3.0' - spec.add_runtime_dependency 'solargraph' + spec.add_runtime_dependency 'solargraph', solargraph_version spec.add_runtime_dependency 'activesupport' end From ccb477dff2f96c7a39eb7b0ca64348e7bce2303e Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Mon, 15 May 2023 10:50:16 +0200 Subject: [PATCH 05/32] Add a plugin that generates yard docs after bundle install Doing it this way ensures that generated YARD docs are present before the setup-ruby action updates it's cache. --- .github/workflows/ruby.yml | 19 ------------------- spec/auto_yard/.gitignore | 8 ++++++++ spec/auto_yard/auto_yard.gemspec | 18 ++++++++++++++++++ spec/auto_yard/plugins.rb | 3 +++ spec/rails7/Gemfile | 2 ++ 5 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 spec/auto_yard/.gitignore create mode 100644 spec/auto_yard/auto_yard.gemspec create mode 100644 spec/auto_yard/plugins.rb diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index f0c9ae2..1e9a501 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,10 +1,3 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake -# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby - name: Ruby on: @@ -38,18 +31,6 @@ jobs: working-directory: spec/rails${{ matrix.rails-version }} ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - - name: Cache yardoc - uses: actions/cache@v3 - id: rvm - with: - key: ${{ runner.os }}-yard-${{ matrix.ruby-version }}-${{ matrix.solargraph-version }} - path: | - /home/runner/.yardoc - - - name: Generate YARD docs - run: cd spec/rails${{ matrix.rails-version }} && bundle exec yard gems - - name: RSpec run: bundle exec rspec spec/solargraph-rails diff --git a/spec/auto_yard/.gitignore b/spec/auto_yard/.gitignore new file mode 100644 index 0000000..9106b2a --- /dev/null +++ b/spec/auto_yard/.gitignore @@ -0,0 +1,8 @@ +/.bundle/ +/.yardoc +/_yardoc/ +/coverage/ +/doc/ +/pkg/ +/spec/reports/ +/tmp/ diff --git a/spec/auto_yard/auto_yard.gemspec b/spec/auto_yard/auto_yard.gemspec new file mode 100644 index 0000000..9cbdeee --- /dev/null +++ b/spec/auto_yard/auto_yard.gemspec @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = 'auto_yard' + spec.version = '0.0.1' + spec.authors = ['Stephen Sugden'] + spec.email = ['grncdr@users.noreply.github.com'] + + spec.summary = 'Run yard gems automatically after bundle install' + spec.description = spec.summary + spec.license = 'MIT' + spec.required_ruby_version = '>= 2.6.0' + + spec.homepage = 'https://github.com' + spec.metadata['homepage_uri'] = spec.homepage + + spec.files = ['plugins.rb'] +end diff --git a/spec/auto_yard/plugins.rb b/spec/auto_yard/plugins.rb new file mode 100644 index 0000000..92845dc --- /dev/null +++ b/spec/auto_yard/plugins.rb @@ -0,0 +1,3 @@ +Bundler::Plugin.add_hook('after-install-all') do + system('bundle exec yard gems') +end diff --git a/spec/rails7/Gemfile b/spec/rails7/Gemfile index e8c70ec..5a54669 100644 --- a/spec/rails7/Gemfile +++ b/spec/rails7/Gemfile @@ -1,5 +1,7 @@ source 'https://rubygems.org' +plugin 'auto_yard', path: '../auto_yard' + gem 'devise' gem 'pry-rails' gem 'rails', '~> 7.0.2' From 99ac8927e8ca2212510545cdf72dfeec3d2da917 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 20 May 2023 14:38:03 +0200 Subject: [PATCH 06/32] Bump tested rails version to 7.0.4 --- spec/rails7/Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rails7/Gemfile b/spec/rails7/Gemfile index 5a54669..5ad6ed7 100644 --- a/spec/rails7/Gemfile +++ b/spec/rails7/Gemfile @@ -4,7 +4,7 @@ plugin 'auto_yard', path: '../auto_yard' gem 'devise' gem 'pry-rails' -gem 'rails', '~> 7.0.2' +gem 'rails', '~> 7.0.4' gem 'sqlite3' group :development do From 6e31acf93b6fa29d23d371fe99bf52674c3a3f18 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 20 May 2023 15:09:49 +0200 Subject: [PATCH 07/32] Use rails7 workspace in schema spec --- spec/solargraph-rails/schema_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/solargraph-rails/schema_spec.rb b/spec/solargraph-rails/schema_spec.rb index 7775586..0643958 100644 --- a/spec/solargraph-rails/schema_spec.rb +++ b/spec/solargraph-rails/schema_spec.rb @@ -38,7 +38,7 @@ end it "generates methods based on schema" do - map = use_workspace "./spec/rails5" do |root| + map = use_workspace "./spec/rails7" do |root| root.write_file 'db/schema.rb', schema root.write_file 'app/models/account.rb', <<-RUBY @@ -71,7 +71,7 @@ class Account < ActiveRecord::Base end it 'infers prefixed table name' do - map = use_workspace "./spec/rails5" do |root| + map = use_workspace "./spec/rails7" do |root| root.write_file 'db/schema.rb', <<-RUBY ActiveRecord::Schema.define(version: 2021_10_20_084658) do create_table "accounting_invoices", force: :cascade do |t| @@ -90,7 +90,7 @@ class Accounting::Invoice < ActiveRecord::Base end it 'falls back unprefixed tables even if model is namespaced' do - map = use_workspace "./spec/rails5" do |root| + map = use_workspace "./spec/rails7" do |root| root.write_file 'db/schema.rb', <<-RUBY ActiveRecord::Schema.define(version: 2021_10_20_084658) do create_table "invoices", force: :cascade do |t| From b479fdb3792840028aef6435eff09dd418f16cd5 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 11:16:52 +0200 Subject: [PATCH 08/32] Clean up spec/definitions/**/*.yml These contained a load of duplicated definitions for methods that are inherited from Module. This will make tests a teensy tiny bit faster, but mostly makes these files actually sort of useful. These changes were made manually, the generate_definitions.rb script should probably be updated to be a bit more precise, but we can deal with that the next time somebody feels like running it. --- spec/definitions/rails7/actioncontroller.yml | 14 +- spec/definitions/rails7/activejob.yml | 268 -------------- spec/definitions/rails7/activerecord.yml | 115 ++---- spec/definitions/rails7/core/Array.yml | 343 ----------------- spec/definitions/rails7/core/Date.yml | 303 --------------- spec/definitions/rails7/core/DateTime.yml | 234 ------------ spec/definitions/rails7/core/Enumerable.yml | 61 +++ spec/definitions/rails7/core/File.yml | 348 ------------------ spec/definitions/rails7/core/Hash.yml | 339 ----------------- spec/definitions/rails7/core/Integer.yml | 258 ------------- spec/definitions/rails7/core/Kernel.yml | 214 ----------- .../rails7/core/{Class.yml => Module.yml} | 220 ++++++----- spec/definitions/rails7/core/Object.yml | 6 + spec/definitions/rails7/core/String.yml | 279 -------------- spec/definitions/rails7/core/Time.yml | 310 +--------------- spec/definitions/rails7/routes.yml | 324 ---------------- 16 files changed, 202 insertions(+), 3434 deletions(-) create mode 100644 spec/definitions/rails7/core/Enumerable.yml rename spec/definitions/rails7/core/{Class.yml => Module.yml} (61%) create mode 100644 spec/definitions/rails7/core/Object.yml diff --git a/spec/definitions/rails7/actioncontroller.yml b/spec/definitions/rails7/actioncontroller.yml index 7b03989..ae1c824 100644 --- a/spec/definitions/rails7/actioncontroller.yml +++ b/spec/definitions/rails7/actioncontroller.yml @@ -35,10 +35,6 @@ ActionController::Base.after_action: types: - undefined skip: true -ActionController::Base.alias_attribute: - types: - - undefined - skip: false ActionController::Base.all_helpers_from_path: types: - undefined @@ -637,10 +633,6 @@ ActionController::Base.request_forgery_protection_token=: types: - undefined skip: true -ActionController::Base.require_dependency: - types: - - undefined - skip: true ActionController::Base.rescue_from: types: - undefined @@ -796,7 +788,7 @@ ActionController::Base.urlsafe_csrf_tokens=: ActionController::Base.use: types: - undefined - skip: true + skip: false ActionController::Base.use_renderer: types: - undefined @@ -1495,10 +1487,6 @@ ActionController::Base#request_http_token_authentication: types: - undefined skip: true -ActionController::Base#require_dependency: - types: - - undefined - skip: true ActionController::Base#rescue_handlers: types: - undefined diff --git a/spec/definitions/rails7/activejob.yml b/spec/definitions/rails7/activejob.yml index 80f1401..e2cf8b5 100644 --- a/spec/definitions/rails7/activejob.yml +++ b/spec/definitions/rails7/activejob.yml @@ -1,8 +1,4 @@ --- -ActiveJob::Base.acts_like?: - types: - - undefined - skip: false ActiveJob::Base.after_enqueue: types: - undefined @@ -11,10 +7,6 @@ ActiveJob::Base.after_perform: types: - undefined skip: true -ActiveJob::Base.alias_attribute: - types: - - undefined - skip: false ActiveJob::Base.anonymous?: types: - undefined @@ -27,10 +19,6 @@ ActiveJob::Base.around_perform: types: - undefined skip: true -ActiveJob::Base.as_json: - types: - - undefined - skip: false ActiveJob::Base.attr_internal: types: - undefined @@ -55,39 +43,6 @@ ActiveJob::Base.before_perform: types: - undefined skip: true -ActiveJob::Base.blank?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base.cattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.cattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.cattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.class_attribute: - types: - - undefined - skip: false -ActiveJob::Base.concern: - types: - - undefined - skip: false -ActiveJob::Base.concerning: - types: - - undefined - skip: false -ActiveJob::Base.deep_dup: - types: - - undefined - skip: false ActiveJob::Base.default_priority: types: - undefined @@ -104,10 +59,6 @@ ActiveJob::Base.default_queue_name=: types: - undefined skip: true -ActiveJob::Base.define_callbacks: - types: - - undefined - skip: true ActiveJob::Base.delegate: types: - undefined @@ -136,38 +87,14 @@ ActiveJob::Base.discard_on: types: - undefined skip: true -ActiveJob::Base.duplicable?: - types: - - undefined - skip: false ActiveJob::Base.execute: types: - undefined skip: true -ActiveJob::Base.gem: - types: - - undefined - skip: true ActiveJob::Base.handler_for_rescue: types: - undefined skip: true -ActiveJob::Base.html_safe?: - types: - - undefined - skip: false -ActiveJob::Base.in?: - types: - - undefined - skip: false -ActiveJob::Base.instance_values: - types: - - undefined - skip: false -ActiveJob::Base.instance_variable_names: - types: - - undefined - skip: false ActiveJob::Base.log_arguments: types: - undefined @@ -188,34 +115,6 @@ ActiveJob::Base.logger=: types: - undefined skip: true -ActiveJob::Base.mattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.mattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.mattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.method_visibility: - types: - - undefined - skip: false -ActiveJob::Base.module_parent: - types: - - undefined - skip: false -ActiveJob::Base.module_parent_name: - types: - - undefined - skip: false -ActiveJob::Base.module_parents: - types: - - undefined - skip: false ActiveJob::Base.normalize_callback_params: types: - undefined @@ -228,19 +127,6 @@ ActiveJob::Base.perform_now: types: - undefined skip: true -ActiveJob::Base.presence: - types: - - Object - skip: false -ActiveJob::Base.presence_in: - types: - - Object - skip: false -ActiveJob::Base.present?: - types: - - 'true' - - 'false' - skip: false ActiveJob::Base.priority: types: - undefined @@ -253,10 +139,6 @@ ActiveJob::Base.priority?: types: - undefined skip: true -ActiveJob::Base.pry: - types: - - undefined - skip: false ActiveJob::Base.queue_adapter: types: - undefined @@ -317,30 +199,6 @@ ActiveJob::Base.queue_with_priority: types: - undefined skip: true -ActiveJob::Base.rake_extension: - types: - - undefined - skip: false -ActiveJob::Base.redefine_method: - types: - - undefined - skip: false -ActiveJob::Base.redefine_singleton_method: - types: - - undefined - skip: false -ActiveJob::Base.remove_possible_method: - types: - - undefined - skip: false -ActiveJob::Base.remove_possible_singleton_method: - types: - - undefined - skip: false -ActiveJob::Base.require_dependency: - types: - - undefined - skip: true ActiveJob::Base.rescue_from: types: - undefined @@ -393,10 +251,6 @@ ActiveJob::Base.set_callback: types: - undefined skip: true -ActiveJob::Base.silence_redefinition_of_method: - types: - - undefined - skip: false ActiveJob::Base.skip_after_callbacks_if_terminated: types: - undefined @@ -409,62 +263,6 @@ ActiveJob::Base.skip_callback: types: - undefined skip: true -ActiveJob::Base.subclasses: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActiveJob::Base.thread_mattr_writer: - types: - - undefined - skip: false -ActiveJob::Base.to_json: - types: - - undefined - skip: true -ActiveJob::Base.to_param: - types: - - undefined - skip: false -ActiveJob::Base.to_query: - types: - - undefined - skip: false -ActiveJob::Base.try: - types: - - undefined - skip: false -ActiveJob::Base.try!: - types: - - undefined - skip: false -ActiveJob::Base.with_options: - types: - - undefined - skip: false -ActiveJob::Base#acts_like?: - types: - - undefined - skip: false ActiveJob::Base#arguments: types: - undefined @@ -473,31 +271,10 @@ ActiveJob::Base#arguments=: types: - undefined skip: false -ActiveJob::Base#as_json: - types: - - undefined - skip: false -ActiveJob::Base#blank?: - types: - - 'true' - - 'false' - skip: false -ActiveJob::Base#class_eval: - types: - - undefined - skip: false -ActiveJob::Base#deep_dup: - types: - - undefined - skip: false ActiveJob::Base#deserialize: types: - undefined skip: false -ActiveJob::Base#duplicable?: - types: - - undefined - skip: false ActiveJob::Base#enqueue: types: - undefined @@ -534,30 +311,10 @@ ActiveJob::Base#executions=: types: - undefined skip: false -ActiveJob::Base#gem: - types: - - undefined - skip: true ActiveJob::Base#handler_for_rescue: types: - undefined skip: false -ActiveJob::Base#html_safe?: - types: - - undefined - skip: false -ActiveJob::Base#in?: - types: - - undefined - skip: false -ActiveJob::Base#instance_values: - types: - - undefined - skip: false -ActiveJob::Base#instance_variable_names: - types: - - undefined - skip: false ActiveJob::Base#job_id: types: - undefined @@ -590,19 +347,6 @@ ActiveJob::Base#perform_now: types: - undefined skip: false -ActiveJob::Base#presence: - types: - - Object - skip: false -ActiveJob::Base#presence_in: - types: - - Object - skip: false -ActiveJob::Base#present?: - types: - - 'true' - - 'false' - skip: false ActiveJob::Base#priority: types: - undefined @@ -619,10 +363,6 @@ ActiveJob::Base#provider_job_id=: types: - undefined skip: false -ActiveJob::Base#pry: - types: - - undefined - skip: false ActiveJob::Base#queue_adapter: types: - undefined @@ -647,10 +387,6 @@ ActiveJob::Base#queue_name_prefix?: types: - undefined skip: true -ActiveJob::Base#require_dependency: - types: - - undefined - skip: true ActiveJob::Base#rescue_handlers: types: - undefined @@ -711,10 +447,6 @@ ActiveJob::Base#timezone=: types: - undefined skip: false -ActiveJob::Base#to_json: - types: - - undefined - skip: true ActiveJob::Base#to_param: types: - undefined diff --git a/spec/definitions/rails7/activerecord.yml b/spec/definitions/rails7/activerecord.yml index 6f89082..7f7be92 100644 --- a/spec/definitions/rails7/activerecord.yml +++ b/spec/definitions/rails7/activerecord.yml @@ -1,8 +1,4 @@ --- -ActiveRecord::Base.===: - types: - - undefined - skip: false ActiveRecord::Base.abstract_class: types: - undefined @@ -99,10 +95,6 @@ ActiveRecord::Base.aggregate_reflections?: types: - undefined skip: true -ActiveRecord::Base.alias_attribute: - types: - - undefined - skip: false ActiveRecord::Base.all: types: - undefined @@ -125,8 +117,8 @@ ActiveRecord::Base.anonymous?: skip: false ActiveRecord::Base.any?: types: - - undefined - skip: true + - Boolean + skip: false ActiveRecord::Base.application_record_class: types: - undefined @@ -294,7 +286,7 @@ ActiveRecord::Base.automatic_scope_inversing?: ActiveRecord::Base.average: types: - undefined - skip: true + skip: false ActiveRecord::Base.base_class: types: - undefined @@ -391,7 +383,7 @@ ActiveRecord::Base.cached_find_by_statement: ActiveRecord::Base.calculate: types: - undefined - skip: true + skip: false ActiveRecord::Base.cattr_accessor: types: - undefined @@ -586,8 +578,8 @@ ActiveRecord::Base.content_columns: skip: false ActiveRecord::Base.count: types: - - undefined - skip: true + - Integer + skip: false ActiveRecord::Base.count_by_sql: types: - undefined @@ -940,15 +932,9 @@ ActiveRecord::Base.filter_attributes=: types: - undefined skip: true -ActiveRecord::Base.find: - types: - - self - - Array - skip: false ActiveRecord::Base.find_by: types: - - self - - nil + - undefined skip: false ActiveRecord::Base.find_by!: types: @@ -961,11 +947,11 @@ ActiveRecord::Base.find_by_sql: ActiveRecord::Base.find_each: types: - undefined - skip: true + skip: false ActiveRecord::Base.find_in_batches: types: - undefined - skip: true + skip: false ActiveRecord::Base.find_or_create_by: types: - undefined @@ -1145,7 +1131,7 @@ ActiveRecord::Base.i18n_scope: ActiveRecord::Base.ids: types: - undefined - skip: true + skip: false ActiveRecord::Base.ignored_columns: types: - undefined @@ -1185,7 +1171,7 @@ ActiveRecord::Base.in?: ActiveRecord::Base.in_batches: types: - undefined - skip: true + skip: false ActiveRecord::Base.in_order_of: types: - undefined @@ -1264,7 +1250,7 @@ ActiveRecord::Base.insert_all!: skip: true ActiveRecord::Base.inspect: types: - - undefined + - String skip: false ActiveRecord::Base.inspection_filter: types: @@ -1399,25 +1385,13 @@ ActiveRecord::Base.maintain_test_schema=: - undefined skip: true ActiveRecord::Base.many?: - types: - - undefined - skip: true -ActiveRecord::Base.mattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.mattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.mattr_writer: types: - undefined skip: false ActiveRecord::Base.maximum: types: - undefined - skip: true + skip: false ActiveRecord::Base.merge: types: - undefined @@ -1433,7 +1407,7 @@ ActiveRecord::Base.method_visibility: ActiveRecord::Base.minimum: types: - undefined - skip: true + skip: false ActiveRecord::Base.model_name: types: - undefined @@ -1480,8 +1454,8 @@ ActiveRecord::Base.none: skip: false ActiveRecord::Base.none?: types: - - undefined - skip: true + - Boolean + skip: false ActiveRecord::Base.normalize_callback_params: types: - undefined @@ -1492,8 +1466,8 @@ ActiveRecord::Base.offset: skip: false ActiveRecord::Base.one?: types: - - undefined - skip: true + - Boolean + skip: false ActiveRecord::Base.only: types: - undefined @@ -1549,11 +1523,12 @@ ActiveRecord::Base.partial_writes?: ActiveRecord::Base.pick: types: - undefined - skip: true + skip: false ActiveRecord::Base.pluck: types: - - undefined - skip: true + - Array + - Array + skip: false ActiveRecord::Base.pluralize_table_names: types: - undefined @@ -1763,10 +1738,6 @@ ActiveRecord::Base.reorder: types: - undefined skip: false -ActiveRecord::Base.require_dependency: - types: - - undefined - skip: true ActiveRecord::Base.reselect: types: - undefined @@ -2054,7 +2025,7 @@ ActiveRecord::Base.subclasses: ActiveRecord::Base.sum: types: - undefined - skip: true + skip: false ActiveRecord::Base.suppress: types: - undefined @@ -2131,30 +2102,6 @@ ActiveRecord::Base.third_to_last!: types: - undefined skip: false -ActiveRecord::Base.thread_cattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.thread_cattr_writer: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_accessor: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_reader: - types: - - undefined - skip: false -ActiveRecord::Base.thread_mattr_writer: - types: - - undefined - skip: false ActiveRecord::Base.time_zone_aware_attributes: types: - undefined @@ -2377,9 +2324,7 @@ ActiveRecord::Base.warn_on_records_fetched_greater_than=: skip: true ActiveRecord::Base.where: types: - - self - - ActiveRecord::Relation - - ActiveRecord::QueryMethods::WhereChain + - undefined skip: false ActiveRecord::Base.while_preventing_writes: types: @@ -3065,14 +3010,6 @@ ActiveRecord::Base#reload: types: - undefined skip: false -ActiveRecord::Base#require_dependency: - types: - - undefined - skip: true -ActiveRecord::Base#respond_to?: - types: - - undefined - skip: false ActiveRecord::Base#restore_attributes: types: - undefined @@ -3381,10 +3318,6 @@ ActiveRecord::Base#with_lock: types: - undefined skip: false -ActiveRecord::Base#with_options: - types: - - undefined - skip: false ActiveRecord::Base#with_transaction_returning_status: types: - undefined diff --git a/spec/definitions/rails7/core/Array.yml b/spec/definitions/rails7/core/Array.yml index 60f5947..e4f7c74 100644 --- a/spec/definitions/rails7/core/Array.yml +++ b/spec/definitions/rails7/core/Array.yml @@ -1,254 +1,12 @@ --- -Array.acts_like?: - types: - - undefined - skip: false -Array.alias_attribute: - types: - - undefined - skip: false -Array.anonymous?: - types: - - undefined - skip: false -Array.as_json: - types: - - undefined - skip: false -Array.attr_internal: - types: - - undefined - skip: false -Array.attr_internal_accessor: - types: - - undefined - skip: false -Array.attr_internal_reader: - types: - - undefined - skip: false -Array.attr_internal_writer: - types: - - undefined - skip: false -Array.blank?: - types: - - 'true' - - 'false' - skip: false -Array.cattr_accessor: - types: - - undefined - skip: false -Array.cattr_reader: - types: - - undefined - skip: false -Array.cattr_writer: - types: - - undefined - skip: false -Array.class_attribute: - types: - - undefined - skip: false -Array.concern: - types: - - undefined - skip: false -Array.concerning: - types: - - undefined - skip: false -Array.deep_dup: - types: - - undefined - skip: false -Array.delegate: - types: - - undefined - skip: false -Array.delegate_missing_to: - types: - - undefined - skip: false -Array.deprecate: - types: - - undefined - skip: false -Array.descendants: - types: - - undefined - skip: false -Array.duplicable?: - types: - - undefined - skip: false -Array.html_safe?: - types: - - undefined - skip: false -Array.in?: - types: - - undefined - skip: false -Array.instance_values: - types: - - undefined - skip: false -Array.instance_variable_names: - types: - - undefined - skip: false -Array.mattr_accessor: - types: - - undefined - skip: false -Array.mattr_reader: - types: - - undefined - skip: false -Array.mattr_writer: - types: - - undefined - skip: false -Array.method_visibility: - types: - - undefined - skip: false -Array.module_parent: - types: - - undefined - skip: false -Array.module_parent_name: - types: - - undefined - skip: false -Array.module_parents: - types: - - undefined - skip: false -Array.presence: - types: - - Object - skip: false -Array.presence_in: - types: - - Object - skip: false -Array.present?: - types: - - 'true' - - 'false' - skip: false -Array.redefine_method: - types: - - undefined - skip: false -Array.redefine_singleton_method: - types: - - undefined - skip: false -Array.remove_possible_method: - types: - - undefined - skip: false -Array.remove_possible_singleton_method: - types: - - undefined - skip: false -Array.silence_redefinition_of_method: - types: - - undefined - skip: false -Array.thread_cattr_accessor: - types: - - undefined - skip: false -Array.thread_cattr_reader: - types: - - undefined - skip: false -Array.thread_cattr_writer: - types: - - undefined - skip: false -Array.thread_mattr_accessor: - types: - - undefined - skip: false -Array.thread_mattr_reader: - types: - - undefined - skip: false -Array.thread_mattr_writer: - types: - - undefined - skip: false -Array.to_json: - types: - - undefined - skip: true -Array.to_param: - types: - - undefined - skip: false -Array.to_query: - types: - - undefined - skip: false -Array.try: - types: - - undefined - skip: false -Array.try!: - types: - - undefined - skip: false -Array.with_options: - types: - - undefined - skip: false Array.wrap: types: - undefined skip: false -Array#acts_like?: - types: - - undefined - skip: false -Array#as_json: - types: - - undefined - skip: false -Array#class_eval: - types: - - undefined - skip: false -Array#compact_blank: - types: - - undefined - skip: false Array#compact_blank!: types: - undefined skip: false -Array#deep_dup: - types: - - undefined - skip: false -Array#duplicable?: - types: - - undefined - skip: false -Array#exclude?: - types: - - undefined - skip: false -Array#excluding: - types: - - undefined - skip: false Array#extract!: types: - undefined @@ -273,14 +31,6 @@ Array#from: types: - undefined skip: false -Array#html_safe?: - types: - - undefined - skip: false -Array#in?: - types: - - undefined - skip: false Array#in_groups: types: - undefined @@ -289,67 +39,14 @@ Array#in_groups_of: types: - undefined skip: false -Array#in_order_of: - types: - - undefined - skip: false Array#including: types: - undefined skip: false -Array#index_by: - types: - - undefined - skip: false -Array#index_with: - types: - - undefined - skip: false Array#inquiry: types: - undefined skip: false -Array#instance_values: - types: - - undefined - skip: false -Array#instance_variable_names: - types: - - undefined - skip: false -Array#many?: - types: - - undefined - skip: false -Array#maximum: - types: - - undefined - skip: false -Array#minimum: - types: - - undefined - skip: false -Array#pick: - types: - - undefined - skip: false -Array#pluck: - types: - - undefined - skip: false -Array#presence: - types: - - Object - skip: false -Array#presence_in: - types: - - Object - skip: false -Array#present?: - types: - - 'true' - - 'false' - skip: false Array#second: types: - undefined @@ -366,10 +63,6 @@ Array#split: types: - undefined skip: false -Array#sum: - types: - - undefined - skip: false Array#third: types: - undefined @@ -386,26 +79,6 @@ Array#to_formatted_s: types: - undefined skip: false -Array#to_fs: - types: - - undefined - skip: false -Array#to_json: - types: - - undefined - skip: true -Array#to_param: - types: - - undefined - skip: false -Array#to_query: - types: - - undefined - skip: false -Array#to_s: - types: - - undefined - skip: false Array#to_sentence: types: - undefined @@ -414,19 +87,3 @@ Array#to_xml: types: - undefined skip: false -Array#try: - types: - - undefined - skip: false -Array#try!: - types: - - undefined - skip: false -Array#with_options: - types: - - undefined - skip: false -Array#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails7/core/Date.yml b/spec/definitions/rails7/core/Date.yml index 6c31493..1cc32aa 100644 --- a/spec/definitions/rails7/core/Date.yml +++ b/spec/definitions/rails7/core/Date.yml @@ -1,36 +1,4 @@ --- -Date.acts_like?: - types: - - undefined - skip: false -Date.alias_attribute: - types: - - undefined - skip: false -Date.anonymous?: - types: - - undefined - skip: false -Date.as_json: - types: - - undefined - skip: false -Date.attr_internal: - types: - - undefined - skip: false -Date.attr_internal_accessor: - types: - - undefined - skip: false -Date.attr_internal_reader: - types: - - undefined - skip: false -Date.attr_internal_writer: - types: - - undefined - skip: false Date.beginning_of_week: types: - undefined @@ -47,216 +15,22 @@ Date.beginning_of_week_default=: types: - undefined skip: false -Date.blank?: - types: - - 'true' - - 'false' - skip: false -Date.cattr_accessor: - types: - - undefined - skip: false -Date.cattr_reader: - types: - - undefined - skip: false -Date.cattr_writer: - types: - - undefined - skip: false -Date.class_attribute: - types: - - undefined - skip: false -Date.concern: - types: - - undefined - skip: false -Date.concerning: - types: - - undefined - skip: false Date.current: types: - undefined skip: false -Date.deep_dup: - types: - - undefined - skip: false -Date.delegate: - types: - - undefined - skip: false -Date.delegate_missing_to: - types: - - undefined - skip: false -Date.deprecate: - types: - - undefined - skip: false -Date.descendants: - types: - - undefined - skip: false -Date.duplicable?: - types: - - undefined - skip: false Date.find_beginning_of_week!: types: - undefined skip: false -Date.html_safe?: - types: - - undefined - skip: false -Date.in?: - types: - - undefined - skip: false -Date.instance_values: - types: - - undefined - skip: false -Date.instance_variable_names: - types: - - undefined - skip: false -Date.mattr_accessor: - types: - - undefined - skip: false -Date.mattr_reader: - types: - - undefined - skip: false -Date.mattr_writer: - types: - - undefined - skip: false -Date.method_visibility: - types: - - undefined - skip: false -Date.module_parent: - types: - - undefined - skip: false -Date.module_parent_name: - types: - - undefined - skip: false -Date.module_parents: - types: - - undefined - skip: false -Date.presence: - types: - - Object - skip: false -Date.presence_in: - types: - - Object - skip: false -Date.present?: - types: - - 'true' - - 'false' - skip: false -Date.redefine_method: - types: - - undefined - skip: false -Date.redefine_singleton_method: - types: - - undefined - skip: false -Date.remove_possible_method: - types: - - undefined - skip: false -Date.remove_possible_singleton_method: - types: - - undefined - skip: false -Date.silence_redefinition_of_method: - types: - - undefined - skip: false -Date.thread_cattr_accessor: - types: - - undefined - skip: false -Date.thread_cattr_reader: - types: - - undefined - skip: false -Date.thread_cattr_writer: - types: - - undefined - skip: false -Date.thread_mattr_accessor: - types: - - undefined - skip: false -Date.thread_mattr_reader: - types: - - undefined - skip: false -Date.thread_mattr_writer: - types: - - undefined - skip: false -Date.to_json: - types: - - undefined - skip: true -Date.to_param: - types: - - undefined - skip: false -Date.to_query: - types: - - undefined - skip: false Date.tomorrow: types: - undefined skip: false -Date.try: - types: - - undefined - skip: false -Date.try!: - types: - - undefined - skip: false -Date.with_options: - types: - - undefined - skip: false Date.yesterday: types: - undefined skip: false -Date#+: - types: - - undefined - skip: false -Date#-: - types: - - undefined - skip: false -Date#<=>: - types: - - undefined - skip: false -Date#acts_like?: - types: - - undefined - skip: false Date#acts_like_date?: types: - undefined @@ -293,10 +67,6 @@ Date#all_year: types: - undefined skip: false -Date#as_json: - types: - - undefined - skip: false Date#at_beginning_of_day: types: - undefined @@ -377,18 +147,6 @@ Date#beginning_of_year: types: - undefined skip: false -Date#blank?: - types: - - 'false' - skip: false -Date#change: - types: - - undefined - skip: false -Date#class_eval: - types: - - undefined - skip: false Date#compare_with_coercion: types: - undefined @@ -405,14 +163,6 @@ Date#days_to_week_start: types: - undefined skip: false -Date#deep_dup: - types: - - undefined - skip: false -Date#duplicable?: - types: - - undefined - skip: false Date#end_of_day: types: - undefined @@ -437,34 +187,10 @@ Date#future?: types: - undefined skip: false -Date#html_safe?: - types: - - undefined - skip: false -Date#in: - types: - - undefined - skip: false -Date#in?: - types: - - undefined - skip: false Date#in_time_zone: types: - undefined skip: false -Date#inspect: - types: - - undefined - skip: false -Date#instance_values: - types: - - undefined - skip: false -Date#instance_variable_names: - types: - - undefined - skip: false Date#last_month: types: - undefined @@ -553,19 +279,6 @@ Date#plus_with_duration: types: - undefined skip: false -Date#presence: - types: - - Object - skip: false -Date#presence_in: - types: - - Object - skip: false -Date#present?: - types: - - 'true' - - 'false' - skip: false Date#prev_day?: types: - Boolean @@ -618,10 +331,6 @@ Date#to_query: types: - undefined skip: false -Date#to_s: - types: - - undefined - skip: false Date#to_time: types: - undefined @@ -638,14 +347,6 @@ Date#tomorrow?: types: - undefined skip: false -Date#try: - types: - - undefined - skip: false -Date#try!: - types: - - undefined - skip: false Date#weeks_ago: types: - undefined @@ -654,10 +355,6 @@ Date#weeks_since: types: - undefined skip: false -Date#with_options: - types: - - undefined - skip: false Date#xmlschema: types: - undefined diff --git a/spec/definitions/rails7/core/DateTime.yml b/spec/definitions/rails7/core/DateTime.yml index 980bb29..79ae336 100644 --- a/spec/definitions/rails7/core/DateTime.yml +++ b/spec/definitions/rails7/core/DateTime.yml @@ -1,36 +1,4 @@ --- -DateTime.acts_like?: - types: - - undefined - skip: false -DateTime.alias_attribute: - types: - - undefined - skip: false -DateTime.anonymous?: - types: - - undefined - skip: false -DateTime.as_json: - types: - - undefined - skip: false -DateTime.attr_internal: - types: - - undefined - skip: false -DateTime.attr_internal_accessor: - types: - - undefined - skip: false -DateTime.attr_internal_reader: - types: - - undefined - skip: false -DateTime.attr_internal_writer: - types: - - undefined - skip: false DateTime.beginning_of_week: types: - undefined @@ -47,220 +15,22 @@ DateTime.beginning_of_week_default=: types: - undefined skip: true -DateTime.blank?: - types: - - 'true' - - 'false' - skip: false -DateTime.cattr_accessor: - types: - - undefined - skip: false -DateTime.cattr_reader: - types: - - undefined - skip: false -DateTime.cattr_writer: - types: - - undefined - skip: false DateTime.civil_from_format: types: - undefined skip: false -DateTime.class_attribute: - types: - - undefined - skip: false -DateTime.concern: - types: - - undefined - skip: false -DateTime.concerning: - types: - - undefined - skip: false DateTime.current: types: - undefined skip: false -DateTime.deep_dup: - types: - - undefined - skip: false -DateTime.delegate: - types: - - undefined - skip: false -DateTime.delegate_missing_to: - types: - - undefined - skip: false -DateTime.deprecate: - types: - - undefined - skip: false -DateTime.descendants: - types: - - undefined - skip: false -DateTime.duplicable?: - types: - - undefined - skip: false DateTime.find_beginning_of_week!: types: - undefined skip: true -DateTime.html_safe?: - types: - - undefined - skip: false -DateTime.in?: - types: - - undefined - skip: false -DateTime.instance_values: - types: - - undefined - skip: false -DateTime.instance_variable_names: - types: - - undefined - skip: false -DateTime.mattr_accessor: - types: - - undefined - skip: false -DateTime.mattr_reader: - types: - - undefined - skip: false -DateTime.mattr_writer: - types: - - undefined - skip: false -DateTime.method_visibility: - types: - - undefined - skip: false -DateTime.module_parent: - types: - - undefined - skip: false -DateTime.module_parent_name: - types: - - undefined - skip: false -DateTime.module_parents: - types: - - undefined - skip: false -DateTime.presence: - types: - - Object - skip: false -DateTime.presence_in: - types: - - Object - skip: false -DateTime.present?: - types: - - 'true' - - 'false' - skip: false -DateTime.redefine_method: - types: - - undefined - skip: false -DateTime.redefine_singleton_method: - types: - - undefined - skip: false -DateTime.remove_possible_method: - types: - - undefined - skip: false -DateTime.remove_possible_singleton_method: - types: - - undefined - skip: false -DateTime.silence_redefinition_of_method: - types: - - undefined - skip: false -DateTime.thread_cattr_accessor: - types: - - undefined - skip: false -DateTime.thread_cattr_reader: - types: - - undefined - skip: false -DateTime.thread_cattr_writer: - types: - - undefined - skip: false -DateTime.thread_mattr_accessor: - types: - - undefined - skip: false -DateTime.thread_mattr_reader: - types: - - undefined - skip: false -DateTime.thread_mattr_writer: - types: - - undefined - skip: false -DateTime.to_json: - types: - - undefined - skip: true -DateTime.to_param: - types: - - undefined - skip: false -DateTime.to_query: - types: - - undefined - skip: false DateTime.tomorrow: types: - undefined skip: true -DateTime.try: - types: - - undefined - skip: false -DateTime.try!: - types: - - undefined - skip: false -DateTime.with_options: - types: - - undefined - skip: false -DateTime.yesterday: - types: - - undefined - skip: true -DateTime#+: - types: - - undefined - skip: true -DateTime#-: - types: - - undefined - skip: true -DateTime#<=>: - types: - - undefined - skip: false -DateTime#acts_like?: - types: - - undefined - skip: false DateTime#acts_like_date?: types: - undefined @@ -301,10 +71,6 @@ DateTime#all_year: types: - undefined skip: true -DateTime#as_json: - types: - - undefined - skip: false DateTime#at_beginning_of_day: types: - undefined diff --git a/spec/definitions/rails7/core/Enumerable.yml b/spec/definitions/rails7/core/Enumerable.yml new file mode 100644 index 0000000..6f45e24 --- /dev/null +++ b/spec/definitions/rails7/core/Enumerable.yml @@ -0,0 +1,61 @@ +--- +Enumerable#compact_blank: + types: + - undefined + skip: false +Enumerable#exclude?: + types: + - undefined + skip: false +Enumerable#excluding: + types: + - undefined + skip: false +Enumerable#in_order_of: + types: + - undefined + skip: false +Enumerable#including: + types: + - undefined + skip: false +Enumerable#index_by: + types: + - undefined + skip: false +Enumerable#index_with: + types: + - undefined + skip: false +Enumerable#many?: + types: + - undefined + skip: false +Enumerable#maximum: + types: + - undefined + skip: false +Enumerable#minimum: + types: + - undefined + skip: false +Enumerable#pick: + types: + - undefined + skip: false +Enumerable#pluck: + types: + - undefined + skip: false +Enumerable#sole: + types: + - undefined + skip: false +Enumerable#sum: + types: + - undefined + skip: false +Enumerable#without: + types: + - undefined + skip: false diff --git a/spec/definitions/rails7/core/File.yml b/spec/definitions/rails7/core/File.yml index 0990bc5..87db4d9 100644 --- a/spec/definitions/rails7/core/File.yml +++ b/spec/definitions/rails7/core/File.yml @@ -1,357 +1,9 @@ --- -File.acts_like?: - types: - - undefined - skip: false -File.alias_attribute: - types: - - undefined - skip: false -File.anonymous?: - types: - - undefined - skip: false -File.as_json: - types: - - undefined - skip: false File.atomic_write: types: - undefined skip: false -File.attr_internal: - types: - - undefined - skip: false -File.attr_internal_accessor: - types: - - undefined - skip: false -File.attr_internal_reader: - types: - - undefined - skip: false -File.attr_internal_writer: - types: - - undefined - skip: false -File.blank?: - types: - - 'true' - - 'false' - skip: false -File.cattr_accessor: - types: - - undefined - skip: false -File.cattr_reader: - types: - - undefined - skip: false -File.cattr_writer: - types: - - undefined - skip: false -File.class_attribute: - types: - - undefined - skip: false -File.concern: - types: - - undefined - skip: false -File.concerning: - types: - - undefined - skip: false -File.deep_dup: - types: - - undefined - skip: false -File.delegate: - types: - - undefined - skip: false -File.delegate_missing_to: - types: - - undefined - skip: false -File.deprecate: - types: - - undefined - skip: false -File.descendants: - types: - - undefined - skip: false -File.duplicable?: - types: - - undefined - skip: false -File.html_safe?: - types: - - undefined - skip: false -File.in?: - types: - - undefined - skip: false -File.instance_values: - types: - - undefined - skip: false -File.instance_variable_names: - types: - - undefined - skip: false -File.mattr_accessor: - types: - - undefined - skip: false -File.mattr_reader: - types: - - undefined - skip: false -File.mattr_writer: - types: - - undefined - skip: false -File.method_visibility: - types: - - undefined - skip: false -File.module_parent: - types: - - undefined - skip: false -File.module_parent_name: - types: - - undefined - skip: false -File.module_parents: - types: - - undefined - skip: false -File.presence: - types: - - Object - skip: false -File.presence_in: - types: - - Object - skip: false -File.present?: - types: - - 'true' - - 'false' - skip: false File.probe_stat_in: types: - undefined skip: false -File.redefine_method: - types: - - undefined - skip: false -File.redefine_singleton_method: - types: - - undefined - skip: false -File.remove_possible_method: - types: - - undefined - skip: false -File.remove_possible_singleton_method: - types: - - undefined - skip: false -File.silence_redefinition_of_method: - types: - - undefined - skip: false -File.thread_cattr_accessor: - types: - - undefined - skip: false -File.thread_cattr_reader: - types: - - undefined - skip: false -File.thread_cattr_writer: - types: - - undefined - skip: false -File.thread_mattr_accessor: - types: - - undefined - skip: false -File.thread_mattr_reader: - types: - - undefined - skip: false -File.thread_mattr_writer: - types: - - undefined - skip: false -File.to_json: - types: - - undefined - skip: true -File.to_param: - types: - - undefined - skip: false -File.to_query: - types: - - undefined - skip: false -File.try: - types: - - undefined - skip: false -File.try!: - types: - - undefined - skip: false -File.with_options: - types: - - undefined - skip: false -File#acts_like?: - types: - - undefined - skip: false -File#as_json: - types: - - undefined - skip: false -File#blank?: - types: - - 'true' - - 'false' - skip: false -File#class_eval: - types: - - undefined - skip: false -File#compact_blank: - types: - - undefined - skip: false -File#deep_dup: - types: - - undefined - skip: false -File#duplicable?: - types: - - undefined - skip: false -File#exclude?: - types: - - undefined - skip: false -File#excluding: - types: - - undefined - skip: false -File#html_safe?: - types: - - undefined - skip: false -File#in?: - types: - - undefined - skip: false -File#in_order_of: - types: - - undefined - skip: false -File#including: - types: - - undefined - skip: false -File#index_by: - types: - - undefined - skip: false -File#index_with: - types: - - undefined - skip: false -File#instance_values: - types: - - undefined - skip: false -File#instance_variable_names: - types: - - undefined - skip: false -File#many?: - types: - - undefined - skip: false -File#maximum: - types: - - undefined - skip: false -File#minimum: - types: - - undefined - skip: false -File#pick: - types: - - undefined - skip: false -File#pluck: - types: - - undefined - skip: false -File#presence: - types: - - Object - skip: false -File#presence_in: - types: - - Object - skip: false -File#present?: - types: - - 'true' - - 'false' - skip: false -File#sole: - types: - - undefined - skip: false -File#sum: - types: - - undefined - skip: false -File#to_json: - types: - - undefined - skip: true -File#to_param: - types: - - undefined - skip: false -File#to_query: - types: - - undefined - skip: false -File#try: - types: - - undefined - skip: false -File#try!: - types: - - undefined - skip: false -File#with_options: - types: - - undefined - skip: false -File#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails7/core/Hash.yml b/spec/definitions/rails7/core/Hash.yml index 0b120b2..35b3915 100644 --- a/spec/definitions/rails7/core/Hash.yml +++ b/spec/definitions/rails7/core/Hash.yml @@ -1,89 +1,4 @@ --- -Hash.acts_like?: - types: - - undefined - skip: false -Hash.alias_attribute: - types: - - undefined - skip: false -Hash.anonymous?: - types: - - undefined - skip: false -Hash.as_json: - types: - - undefined - skip: false -Hash.attr_internal: - types: - - undefined - skip: false -Hash.attr_internal_accessor: - types: - - undefined - skip: false -Hash.attr_internal_reader: - types: - - undefined - skip: false -Hash.attr_internal_writer: - types: - - undefined - skip: false -Hash.blank?: - types: - - 'true' - - 'false' - skip: false -Hash.cattr_accessor: - types: - - undefined - skip: false -Hash.cattr_reader: - types: - - undefined - skip: false -Hash.cattr_writer: - types: - - undefined - skip: false -Hash.class_attribute: - types: - - undefined - skip: false -Hash.concern: - types: - - undefined - skip: false -Hash.concerning: - types: - - undefined - skip: false -Hash.deep_dup: - types: - - undefined - skip: false -Hash.delegate: - types: - - undefined - skip: false -Hash.delegate_missing_to: - types: - - undefined - skip: false -Hash.deprecate: - types: - - undefined - skip: false -Hash.descendants: - types: - - undefined - skip: false -Hash.duplicable?: - types: - - undefined - skip: false Hash.from_trusted_xml: types: - undefined @@ -92,147 +7,10 @@ Hash.from_xml: types: - undefined skip: false -Hash.html_safe?: - types: - - undefined - skip: false -Hash.in?: - types: - - undefined - skip: false -Hash.instance_values: - types: - - undefined - skip: false -Hash.instance_variable_names: - types: - - undefined - skip: false -Hash.mattr_accessor: - types: - - undefined - skip: false -Hash.mattr_reader: - types: - - undefined - skip: false -Hash.mattr_writer: - types: - - undefined - skip: false -Hash.method_visibility: - types: - - undefined - skip: false -Hash.module_parent: - types: - - undefined - skip: false -Hash.module_parent_name: - types: - - undefined - skip: false -Hash.module_parents: - types: - - undefined - skip: false -Hash.presence: - types: - - Object - skip: false -Hash.presence_in: - types: - - Object - skip: false -Hash.present?: - types: - - 'true' - - 'false' - skip: false -Hash.redefine_method: - types: - - undefined - skip: false -Hash.redefine_singleton_method: - types: - - undefined - skip: false -Hash.remove_possible_method: - types: - - undefined - skip: false -Hash.remove_possible_singleton_method: - types: - - undefined - skip: false -Hash.silence_redefinition_of_method: - types: - - undefined - skip: false -Hash.thread_cattr_accessor: - types: - - undefined - skip: false -Hash.thread_cattr_reader: - types: - - undefined - skip: false -Hash.thread_cattr_writer: - types: - - undefined - skip: false -Hash.thread_mattr_accessor: - types: - - undefined - skip: false -Hash.thread_mattr_reader: - types: - - undefined - skip: false -Hash.thread_mattr_writer: - types: - - undefined - skip: false -Hash.to_json: - types: - - undefined - skip: true -Hash.to_param: - types: - - undefined - skip: false -Hash.to_query: - types: - - undefined - skip: false -Hash.try: - types: - - undefined - skip: false -Hash.try!: - types: - - undefined - skip: false -Hash.with_options: - types: - - undefined - skip: false -Hash#acts_like?: - types: - - undefined - skip: false -Hash#as_json: - types: - - undefined - skip: false Hash#assert_valid_keys: types: - undefined skip: false -Hash#class_eval: - types: - - undefined - skip: false Hash#compact_blank: types: - undefined @@ -241,10 +19,6 @@ Hash#compact_blank!: types: - undefined skip: false -Hash#deep_dup: - types: - - undefined - skip: false Hash#deep_merge: types: - undefined @@ -285,22 +59,10 @@ Hash#deep_transform_values!: types: - undefined skip: false -Hash#duplicable?: - types: - - undefined - skip: false Hash#except!: types: - undefined skip: false -Hash#exclude?: - types: - - undefined - skip: false -Hash#excluding: - types: - - undefined - skip: false Hash#extract!: types: - undefined @@ -309,75 +71,10 @@ Hash#extractable_options?: types: - undefined skip: false -Hash#html_safe?: - types: - - undefined - skip: false -Hash#in?: - types: - - undefined - skip: false -Hash#in_order_of: - types: - - undefined - skip: false -Hash#including: - types: - - undefined - skip: false -Hash#index_by: - types: - - undefined - skip: false -Hash#index_with: - types: - - undefined - skip: false -Hash#instance_values: - types: - - undefined - skip: false -Hash#instance_variable_names: - types: - - undefined - skip: false -Hash#many?: - types: - - undefined - skip: false -Hash#maximum: - types: - - undefined - skip: false -Hash#minimum: - types: - - undefined - skip: false Hash#nested_under_indifferent_access: types: - undefined skip: false -Hash#pick: - types: - - undefined - skip: false -Hash#pluck: - types: - - undefined - skip: false -Hash#presence: - types: - - Object - skip: false -Hash#presence_in: - types: - - Object - skip: false -Hash#present?: - types: - - 'true' - - 'false' - skip: false Hash#reverse_merge: types: - undefined @@ -394,10 +91,6 @@ Hash#slice!: types: - undefined skip: false -Hash#sole: - types: - - undefined - skip: false Hash#stringify_keys: types: - undefined @@ -406,10 +99,6 @@ Hash#stringify_keys!: types: - undefined skip: false -Hash#sum: - types: - - undefined - skip: false Hash#symbolize_keys: types: - undefined @@ -418,10 +107,6 @@ Hash#symbolize_keys!: types: - undefined skip: false -Hash#to_json: - types: - - undefined - skip: true Hash#to_options: types: - undefined @@ -430,26 +115,10 @@ Hash#to_options!: types: - undefined skip: false -Hash#to_param: - types: - - undefined - skip: false -Hash#to_query: - types: - - undefined - skip: false Hash#to_xml: types: - undefined skip: false -Hash#try: - types: - - undefined - skip: false -Hash#try!: - types: - - undefined - skip: false Hash#with_defaults: types: - undefined @@ -462,11 +131,3 @@ Hash#with_indifferent_access: types: - undefined skip: false -Hash#with_options: - types: - - undefined - skip: false -Hash#without: - types: - - undefined - skip: false diff --git a/spec/definitions/rails7/core/Integer.yml b/spec/definitions/rails7/core/Integer.yml index 0a8d98d..33d0bd6 100644 --- a/spec/definitions/rails7/core/Integer.yml +++ b/spec/definitions/rails7/core/Integer.yml @@ -1,226 +1,4 @@ --- -Integer.acts_like?: - types: - - undefined - skip: false -Integer.alias_attribute: - types: - - undefined - skip: false -Integer.anonymous?: - types: - - undefined - skip: false -Integer.as_json: - types: - - undefined - skip: false -Integer.attr_internal: - types: - - undefined - skip: false -Integer.attr_internal_accessor: - types: - - undefined - skip: false -Integer.attr_internal_reader: - types: - - undefined - skip: false -Integer.attr_internal_writer: - types: - - undefined - skip: false -Integer.blank?: - types: - - 'true' - - 'false' - skip: false -Integer.cattr_accessor: - types: - - undefined - skip: false -Integer.cattr_reader: - types: - - undefined - skip: false -Integer.cattr_writer: - types: - - undefined - skip: false -Integer.class_attribute: - types: - - undefined - skip: false -Integer.concern: - types: - - undefined - skip: false -Integer.concerning: - types: - - undefined - skip: false -Integer.deep_dup: - types: - - undefined - skip: false -Integer.delegate: - types: - - undefined - skip: false -Integer.delegate_missing_to: - types: - - undefined - skip: false -Integer.deprecate: - types: - - undefined - skip: false -Integer.descendants: - types: - - undefined - skip: false -Integer.duplicable?: - types: - - undefined - skip: false -Integer.html_safe?: - types: - - undefined - skip: false -Integer.in?: - types: - - undefined - skip: false -Integer.instance_values: - types: - - undefined - skip: false -Integer.instance_variable_names: - types: - - undefined - skip: false -Integer.mattr_accessor: - types: - - undefined - skip: false -Integer.mattr_reader: - types: - - undefined - skip: false -Integer.mattr_writer: - types: - - undefined - skip: false -Integer.method_visibility: - types: - - undefined - skip: false -Integer.module_parent: - types: - - undefined - skip: false -Integer.module_parent_name: - types: - - undefined - skip: false -Integer.module_parents: - types: - - undefined - skip: false -Integer.presence: - types: - - Object - skip: false -Integer.presence_in: - types: - - Object - skip: false -Integer.present?: - types: - - 'true' - - 'false' - skip: false -Integer.redefine_method: - types: - - undefined - skip: false -Integer.redefine_singleton_method: - types: - - undefined - skip: false -Integer.remove_possible_method: - types: - - undefined - skip: false -Integer.remove_possible_singleton_method: - types: - - undefined - skip: false -Integer.silence_redefinition_of_method: - types: - - undefined - skip: false -Integer.thread_cattr_accessor: - types: - - undefined - skip: false -Integer.thread_cattr_reader: - types: - - undefined - skip: false -Integer.thread_cattr_writer: - types: - - undefined - skip: false -Integer.thread_mattr_accessor: - types: - - undefined - skip: false -Integer.thread_mattr_reader: - types: - - undefined - skip: false -Integer.thread_mattr_writer: - types: - - undefined - skip: false -Integer.to_json: - types: - - undefined - skip: true -Integer.to_param: - types: - - undefined - skip: false -Integer.to_query: - types: - - undefined - skip: false -Integer.try: - types: - - undefined - skip: false -Integer.try!: - types: - - undefined - skip: false -Integer.with_options: - types: - - undefined - skip: false -Integer#acts_like?: - types: - - undefined - skip: false -Integer#as_json: - types: - - undefined - skip: false -Integer#blank?: - types: - - 'false' - skip: false Integer#byte: types: - undefined @@ -241,14 +19,6 @@ Integer#days: types: - undefined skip: false -Integer#deep_dup: - types: - - undefined - skip: false -Integer#duplicable?: - types: - - undefined - skip: false Integer#exabyte: types: - undefined @@ -390,30 +160,6 @@ Integer#to_fs: types: - undefined skip: false -Integer#to_json: - types: - - undefined - skip: true -Integer#to_param: - types: - - undefined - skip: false -Integer#to_query: - types: - - undefined - skip: false -Integer#to_s: - types: - - undefined - skip: false -Integer#try: - types: - - undefined - skip: false -Integer#try!: - types: - - undefined - skip: false Integer#week: types: - undefined @@ -422,10 +168,6 @@ Integer#weeks: types: - undefined skip: false -Integer#with_options: - types: - - undefined - skip: false Integer#year: types: - undefined diff --git a/spec/definitions/rails7/core/Kernel.yml b/spec/definitions/rails7/core/Kernel.yml index 0ed863b..319ddc8 100644 --- a/spec/definitions/rails7/core/Kernel.yml +++ b/spec/definitions/rails7/core/Kernel.yml @@ -1,223 +1,9 @@ --- -Kernel.acts_like?: - types: - - undefined - skip: false -Kernel.alias_attribute: - types: - - undefined - skip: false -Kernel.anonymous?: - types: - - undefined - skip: false -Kernel.as_json: - types: - - undefined - skip: false -Kernel.attr_internal: - types: - - undefined - skip: false -Kernel.attr_internal_accessor: - types: - - undefined - skip: false -Kernel.attr_internal_reader: - types: - - undefined - skip: false -Kernel.attr_internal_writer: - types: - - undefined - skip: false -Kernel.blank?: - types: - - 'true' - - 'false' - skip: false -Kernel.cattr_accessor: - types: - - undefined - skip: false -Kernel.cattr_reader: - types: - - undefined - skip: false -Kernel.cattr_writer: - types: - - undefined - skip: false -Kernel.concern: - types: - - undefined - skip: false -Kernel.concerning: - types: - - undefined - skip: false -Kernel.deep_dup: - types: - - undefined - skip: false -Kernel.delegate: - types: - - undefined - skip: false -Kernel.delegate_missing_to: - types: - - undefined - skip: false -Kernel.deprecate: - types: - - undefined - skip: false -Kernel.duplicable?: - types: - - undefined - skip: false Kernel.enable_warnings: types: - undefined skip: false -Kernel.html_safe?: - types: - - undefined - skip: false -Kernel.in?: - types: - - undefined - skip: false -Kernel.instance_values: - types: - - undefined - skip: false -Kernel.instance_variable_names: - types: - - undefined - skip: false -Kernel.mattr_accessor: - types: - - undefined - skip: false -Kernel.mattr_reader: - types: - - undefined - skip: false -Kernel.mattr_writer: - types: - - undefined - skip: false -Kernel.method_visibility: - types: - - undefined - skip: false -Kernel.module_parent: - types: - - undefined - skip: false -Kernel.module_parent_name: - types: - - undefined - skip: false -Kernel.module_parents: - types: - - undefined - skip: false -Kernel.presence: - types: - - Object - skip: false -Kernel.presence_in: - types: - - Object - skip: false -Kernel.present?: - types: - - 'true' - - 'false' - skip: false -Kernel.redefine_method: - types: - - undefined - skip: false -Kernel.redefine_singleton_method: - types: - - undefined - skip: false -Kernel.remove_possible_method: - types: - - undefined - skip: false -Kernel.remove_possible_singleton_method: - types: - - undefined - skip: false -Kernel.silence_redefinition_of_method: - types: - - undefined - skip: false -Kernel.silence_warnings: - types: - - undefined - skip: false -Kernel.suppress: - types: - - undefined - skip: false -Kernel.thread_cattr_accessor: - types: - - undefined - skip: false -Kernel.thread_cattr_reader: - types: - - undefined - skip: false -Kernel.thread_cattr_writer: - types: - - undefined - skip: false -Kernel.thread_mattr_accessor: - types: - - undefined - skip: false -Kernel.thread_mattr_reader: - types: - - undefined - skip: false -Kernel.thread_mattr_writer: - types: - - undefined - skip: false -Kernel.to_json: - types: - - undefined - skip: true -Kernel.to_param: - types: - - undefined - skip: false -Kernel.to_query: - types: - - undefined - skip: false -Kernel.try: - types: - - undefined - skip: false -Kernel.try!: - types: - - undefined - skip: false -Kernel.with_options: - types: - - undefined - skip: false Kernel.with_warnings: types: - undefined skip: false -Kernel#class_eval: - types: - - undefined - skip: false diff --git a/spec/definitions/rails7/core/Class.yml b/spec/definitions/rails7/core/Module.yml similarity index 61% rename from spec/definitions/rails7/core/Class.yml rename to spec/definitions/rails7/core/Module.yml index 576d420..63679f8 100644 --- a/spec/definitions/rails7/core/Class.yml +++ b/spec/definitions/rails7/core/Module.yml @@ -1,429 +1,421 @@ --- -Class.acts_like?: +Module.acts_like?: types: - undefined skip: false -Class.alias_attribute: +Module.alias_attribute: types: - undefined skip: false -Class.anonymous?: +Module.anonymous?: types: - undefined skip: false -Class.as_json: +Module.as_json: types: - undefined skip: false -Class.attr_internal: +Module.attr_internal: types: - undefined skip: false -Class.attr_internal_accessor: +Module.attr_internal_accessor: types: - undefined skip: false -Class.attr_internal_naming_format: +Module.attr_internal_naming_format: types: - undefined - skip: true -Class.attr_internal_naming_format=: + skip: false +Module.attr_internal_naming_format=: types: - undefined - skip: true -Class.attr_internal_reader: + skip: false +Module.attr_internal_reader: types: - undefined skip: false -Class.attr_internal_writer: +Module.attr_internal_writer: types: - undefined skip: false -Class.blank?: +Module.blank?: types: - 'true' - 'false' skip: false -Class.cattr_accessor: +Module.cattr_accessor: types: - undefined skip: false -Class.cattr_reader: +Module.cattr_reader: types: - undefined skip: false -Class.cattr_writer: +Module.cattr_writer: types: - undefined skip: false -Class.class_attribute: +Module.class_attribute: types: - undefined skip: false -Class.concern: +Module.concern: types: - undefined skip: false -Class.concerning: +Module.concerning: types: - undefined skip: false -Class.deep_dup: +Module.deep_dup: types: - undefined skip: false -Class.delegate: +Module.delegate: types: - undefined skip: false -Class.delegate_missing_to: +Module.delegate_missing_to: types: - undefined skip: false -Class.deprecate: +Module.deprecate: types: - undefined skip: false -Class.descendants: +Module.descendants: types: - undefined skip: false -Class.duplicable?: +Module.duplicable?: types: - undefined skip: false -Class.html_safe?: +Module.html_safe?: types: - undefined skip: false -Class.in?: +Module.in?: types: - undefined skip: false -Class.instance_values: +Module.instance_values: types: - undefined skip: false -Class.instance_variable_names: +Module.instance_variable_names: types: - undefined skip: false -Class.mattr_accessor: +Module.mattr_accessor: types: - undefined skip: false -Class.mattr_reader: +Module.mattr_reader: types: - undefined skip: false -Class.mattr_writer: +Module.mattr_writer: types: - undefined skip: false -Class.method_visibility: +Module.method_visibility: types: - undefined skip: false -Class.module_parent: +Module.module_parent: types: - undefined skip: false -Class.module_parent_name: +Module.module_parent_name: types: - undefined skip: false -Class.module_parents: +Module.module_parents: types: - undefined skip: false -Class.presence: +Module.presence: types: - Object skip: false -Class.presence_in: +Module.presence_in: types: - Object skip: false -Class.present?: +Module.present?: types: - 'true' - 'false' skip: false -Class.redefine_method: +Module.redefine_method: types: - undefined skip: false -Class.redefine_singleton_method: +Module.redefine_singleton_method: types: - undefined skip: false -Class.remove_possible_method: +Module.remove_possible_method: types: - undefined skip: false -Class.remove_possible_singleton_method: +Module.remove_possible_singleton_method: types: - undefined skip: false -Class.silence_redefinition_of_method: +Module.silence_redefinition_of_method: types: - undefined skip: false -Class.thread_cattr_accessor: +Module.thread_cattr_accessor: types: - undefined skip: false -Class.thread_cattr_reader: +Module.thread_cattr_reader: types: - undefined skip: false -Class.thread_cattr_writer: +Module.thread_cattr_writer: types: - undefined skip: false -Class.thread_mattr_accessor: +Module.thread_mattr_accessor: types: - undefined skip: false -Class.thread_mattr_reader: +Module.thread_mattr_reader: types: - undefined skip: false -Class.thread_mattr_writer: +Module.thread_mattr_writer: types: - undefined skip: false -Class.to_json: +Module.to_json: types: - undefined skip: true -Class.to_param: +Module.to_param: types: - undefined skip: false -Class.to_query: +Module.to_query: types: - undefined skip: false -Class.try: +Module.try: types: - undefined skip: false -Class.try!: +Module.try!: types: - undefined skip: false -Class.with_options: +Module.with_options: types: - undefined skip: false -Class#acts_like?: +Module#acts_like?: types: - undefined skip: false -Class#alias_attribute: +Module#alias_attribute: types: - undefined skip: false -Class#anonymous?: +Module#anonymous?: types: - undefined skip: false -Class#as_json: +Module#as_json: types: - undefined skip: false -Class#attr_internal: +Module#attr_internal: types: - undefined skip: false -Class#attr_internal_accessor: +Module#attr_internal_accessor: types: - undefined skip: false -Class#attr_internal_reader: +Module#attr_internal_reader: types: - undefined skip: false -Class#attr_internal_writer: +Module#attr_internal_writer: types: - undefined skip: false -Class#blank?: +Module#blank?: types: - 'true' - 'false' skip: false -Class#cattr_accessor: - types: - - undefined - skip: false -Class#cattr_reader: - types: - - undefined - skip: false -Class#cattr_writer: +Module#cattr_accessor: types: - undefined skip: false -Class#class_attribute: +Module#cattr_reader: types: - undefined skip: false -Class#concern: +Module#cattr_writer: types: - undefined skip: false -Class#concerning: +Module#concern: types: - undefined skip: false -Class#deep_dup: +Module#concerning: types: - undefined skip: false -Class#delegate: +Module#deep_dup: types: - undefined skip: false -Class#delegate_missing_to: +Module#delegate: types: - undefined skip: false -Class#deprecate: +Module#delegate_missing_to: types: - undefined skip: false -Class#descendants: +Module#deprecate: types: - undefined skip: false -Class#duplicable?: +Module#duplicable?: types: - undefined skip: false -Class#html_safe?: +Module#html_safe?: types: - undefined skip: false -Class#in?: +Module#in?: types: - undefined skip: false -Class#instance_values: +Module#instance_values: types: - undefined skip: false -Class#instance_variable_names: +Module#instance_variable_names: types: - undefined skip: false -Class#mattr_accessor: +Module#mattr_accessor: types: - undefined skip: false -Class#mattr_reader: +Module#mattr_reader: types: - undefined skip: false -Class#mattr_writer: +Module#mattr_writer: types: - undefined skip: false -Class#method_visibility: +Module#method_visibility: types: - undefined skip: false -Class#module_parent: +Module#module_parent: types: - undefined skip: false -Class#module_parent_name: +Module#module_parent_name: types: - undefined skip: false -Class#module_parents: +Module#module_parents: types: - undefined skip: false -Class#presence: +Module#presence: types: - Object skip: false -Class#presence_in: +Module#presence_in: types: - Object skip: false -Class#present?: +Module#present?: types: - 'true' - 'false' skip: false -Class#redefine_method: +Module#redefine_method: types: - undefined skip: false -Class#redefine_singleton_method: +Module#redefine_singleton_method: types: - undefined skip: false -Class#remove_possible_method: +Module#remove_possible_method: types: - undefined skip: false -Class#remove_possible_singleton_method: +Module#remove_possible_singleton_method: types: - undefined skip: false -Class#silence_redefinition_of_method: +Module#silence_redefinition_of_method: types: - undefined skip: false -Class#thread_cattr_accessor: +Module#thread_cattr_accessor: types: - undefined skip: false -Class#thread_cattr_reader: +Module#thread_cattr_reader: types: - undefined skip: false -Class#thread_cattr_writer: +Module#thread_cattr_writer: types: - undefined skip: false -Class#thread_mattr_accessor: +Module#thread_mattr_accessor: types: - undefined skip: false -Class#thread_mattr_reader: +Module#thread_mattr_reader: types: - undefined skip: false -Class#thread_mattr_writer: +Module#thread_mattr_writer: types: - undefined skip: false -Class#to_json: +Module#to_json: types: - undefined skip: true -Class#to_param: +Module#to_param: types: - undefined skip: false -Class#to_query: +Module#to_query: types: - undefined skip: false -Class#try: +Module#try: types: - undefined skip: false -Class#try!: +Module#try!: types: - undefined skip: false -Class#with_options: +Module#with_options: types: - undefined skip: false diff --git a/spec/definitions/rails7/core/Object.yml b/spec/definitions/rails7/core/Object.yml new file mode 100644 index 0000000..abf6dbe --- /dev/null +++ b/spec/definitions/rails7/core/Object.yml @@ -0,0 +1,6 @@ +--- +Object#with_options: + types: + - undefined + skip: false + diff --git a/spec/definitions/rails7/core/String.yml b/spec/definitions/rails7/core/String.yml index a3c34d8..6194ad6 100644 --- a/spec/definitions/rails7/core/String.yml +++ b/spec/definitions/rails7/core/String.yml @@ -1,226 +1,4 @@ --- -String.acts_like?: - types: - - undefined - skip: false -String.alias_attribute: - types: - - undefined - skip: false -String.anonymous?: - types: - - undefined - skip: false -String.as_json: - types: - - undefined - skip: false -String.attr_internal: - types: - - undefined - skip: false -String.attr_internal_accessor: - types: - - undefined - skip: false -String.attr_internal_reader: - types: - - undefined - skip: false -String.attr_internal_writer: - types: - - undefined - skip: false -String.blank?: - types: - - 'true' - - 'false' - skip: false -String.cattr_accessor: - types: - - undefined - skip: false -String.cattr_reader: - types: - - undefined - skip: false -String.cattr_writer: - types: - - undefined - skip: false -String.class_attribute: - types: - - undefined - skip: false -String.concern: - types: - - undefined - skip: false -String.concerning: - types: - - undefined - skip: false -String.deep_dup: - types: - - undefined - skip: false -String.delegate: - types: - - undefined - skip: false -String.delegate_missing_to: - types: - - undefined - skip: false -String.deprecate: - types: - - undefined - skip: false -String.descendants: - types: - - undefined - skip: false -String.duplicable?: - types: - - undefined - skip: false -String.html_safe?: - types: - - undefined - skip: false -String.in?: - types: - - undefined - skip: false -String.instance_values: - types: - - undefined - skip: false -String.instance_variable_names: - types: - - undefined - skip: false -String.mattr_accessor: - types: - - undefined - skip: false -String.mattr_reader: - types: - - undefined - skip: false -String.mattr_writer: - types: - - undefined - skip: false -String.method_visibility: - types: - - undefined - skip: false -String.module_parent: - types: - - undefined - skip: false -String.module_parent_name: - types: - - undefined - skip: false -String.module_parents: - types: - - undefined - skip: false -String.presence: - types: - - Object - skip: false -String.presence_in: - types: - - Object - skip: false -String.present?: - types: - - 'true' - - 'false' - skip: false -String.redefine_method: - types: - - undefined - skip: false -String.redefine_singleton_method: - types: - - undefined - skip: false -String.remove_possible_method: - types: - - undefined - skip: false -String.remove_possible_singleton_method: - types: - - undefined - skip: false -String.silence_redefinition_of_method: - types: - - undefined - skip: false -String.thread_cattr_accessor: - types: - - undefined - skip: false -String.thread_cattr_reader: - types: - - undefined - skip: false -String.thread_cattr_writer: - types: - - undefined - skip: false -String.thread_mattr_accessor: - types: - - undefined - skip: false -String.thread_mattr_reader: - types: - - undefined - skip: false -String.thread_mattr_writer: - types: - - undefined - skip: false -String.to_json: - types: - - undefined - skip: true -String.to_param: - types: - - undefined - skip: false -String.to_query: - types: - - undefined - skip: false -String.try: - types: - - undefined - skip: false -String.try!: - types: - - undefined - skip: false -String.with_options: - types: - - undefined - skip: false -String#acts_like?: - types: - - undefined - skip: false -String#acts_like_string?: - types: - - undefined - skip: false -String#as_json: - types: - - undefined - skip: false String#at: types: - undefined @@ -238,10 +16,6 @@ String#camelize: types: - undefined skip: false -String#class_eval: - types: - - undefined - skip: false String#classify: types: - undefined @@ -258,26 +32,10 @@ String#deconstantize: types: - undefined skip: false -String#deep_dup: - types: - - undefined - skip: false String#demodulize: types: - undefined skip: false -String#duplicable?: - types: - - undefined - skip: false -String#exclude?: - types: - - undefined - skip: false -String#first: - types: - - undefined - skip: false String#foreign_key: types: - undefined @@ -298,10 +56,6 @@ String#humanize: types: - undefined skip: false -String#in?: - types: - - undefined - skip: false String#in_time_zone: types: - undefined @@ -318,14 +72,6 @@ String#inquiry: types: - undefined skip: false -String#instance_values: - types: - - undefined - skip: false -String#instance_variable_names: - types: - - undefined - skip: false String#is_utf8?: types: - undefined @@ -346,19 +92,6 @@ String#pluralize: types: - undefined skip: false -String#presence: - types: - - Object - skip: false -String#presence_in: - types: - - Object - skip: false -String#present?: - types: - - 'true' - - 'false' - skip: false String#remove: types: - undefined @@ -439,14 +172,6 @@ String#truncate_words: types: - undefined skip: false -String#try: - types: - - undefined - skip: false -String#try!: - types: - - undefined - skip: false String#underscore: types: - undefined @@ -455,7 +180,3 @@ String#upcase_first: types: - undefined skip: false -String#with_options: - types: - - undefined - skip: false diff --git a/spec/definitions/rails7/core/Time.yml b/spec/definitions/rails7/core/Time.yml index c17a232..cf98e13 100644 --- a/spec/definitions/rails7/core/Time.yml +++ b/spec/definitions/rails7/core/Time.yml @@ -1,24 +1,4 @@ --- -Time.===: - types: - - undefined - skip: false -Time.acts_like?: - types: - - undefined - skip: false -Time.alias_attribute: - types: - - undefined - skip: false -Time.anonymous?: - types: - - undefined - skip: false -Time.as_json: - types: - - undefined - skip: false Time.at: types: - undefined @@ -27,51 +7,6 @@ Time.at_with_coercion: types: - undefined skip: false -Time.attr_internal: - types: - - undefined - skip: false -Time.attr_internal_accessor: - types: - - undefined - skip: false -Time.attr_internal_reader: - types: - - undefined - skip: false -Time.attr_internal_writer: - types: - - undefined - skip: false -Time.blank?: - types: - - 'true' - - 'false' - skip: false -Time.cattr_accessor: - types: - - undefined - skip: false -Time.cattr_reader: - types: - - undefined - skip: false -Time.cattr_writer: - types: - - undefined - skip: false -Time.class_attribute: - types: - - undefined - skip: false -Time.concern: - types: - - undefined - skip: false -Time.concerning: - types: - - undefined - skip: false Time.current: types: - undefined @@ -84,30 +19,6 @@ Time.days_in_year: types: - undefined skip: false -Time.deep_dup: - types: - - undefined - skip: false -Time.delegate: - types: - - undefined - skip: false -Time.delegate_missing_to: - types: - - undefined - skip: false -Time.deprecate: - types: - - undefined - skip: false -Time.descendants: - types: - - undefined - skip: false -Time.duplicable?: - types: - - undefined - skip: false Time.find_zone: types: - undefined @@ -116,139 +27,14 @@ Time.find_zone!: types: - undefined skip: false -Time.html_safe?: - types: - - undefined - skip: false -Time.in?: - types: - - undefined - skip: false -Time.instance_values: - types: - - undefined - skip: false -Time.instance_variable_names: - types: - - undefined - skip: false -Time.mattr_accessor: - types: - - undefined - skip: false -Time.mattr_reader: - types: - - undefined - skip: false -Time.mattr_writer: - types: - - undefined - skip: false -Time.method_visibility: - types: - - undefined - skip: false -Time.module_parent: - types: - - undefined - skip: false -Time.module_parent_name: - types: - - undefined - skip: false -Time.module_parents: - types: - - undefined - skip: false -Time.presence: - types: - - Object - skip: false -Time.presence_in: - types: - - Object - skip: false -Time.present?: - types: - - 'true' - - 'false' - skip: false -Time.redefine_method: - types: - - undefined - skip: false -Time.redefine_singleton_method: - types: - - undefined - skip: false -Time.remove_possible_method: - types: - - undefined - skip: false -Time.remove_possible_singleton_method: - types: - - undefined - skip: false Time.rfc3339: types: - undefined skip: false -Time.silence_redefinition_of_method: - types: - - undefined - skip: false -Time.thread_cattr_accessor: - types: - - undefined - skip: false -Time.thread_cattr_reader: - types: - - undefined - skip: false -Time.thread_cattr_writer: - types: - - undefined - skip: false -Time.thread_mattr_accessor: - types: - - undefined - skip: false -Time.thread_mattr_reader: - types: - - undefined - skip: false -Time.thread_mattr_writer: - types: - - undefined - skip: false -Time.to_json: - types: - - undefined - skip: true -Time.to_param: - types: - - undefined - skip: false -Time.to_query: - types: - - undefined - skip: false -Time.try: - types: - - undefined - skip: false -Time.try!: - types: - - undefined - skip: false Time.use_zone: types: - undefined skip: false -Time.with_options: - types: - - undefined - skip: false Time.zone: types: - undefined @@ -267,7 +53,7 @@ Time.zone_default=: skip: false Time#+: types: - - undefined + - Time skip: false Time#-: types: @@ -275,15 +61,8 @@ Time#-: skip: false Time#<=>: types: - - undefined - skip: false -Time#acts_like?: - types: - - undefined - skip: false -Time#acts_like_time?: - types: - - undefined + - Integer + - nil skip: false Time#advance: types: @@ -425,18 +204,10 @@ Time#beginning_of_year: types: - undefined skip: false -Time#blank?: - types: - - 'false' - skip: false Time#change: types: - undefined skip: false -Time#class_eval: - types: - - undefined - skip: false Time#compare_with_coercion: types: - undefined @@ -453,14 +224,6 @@ Time#days_to_week_start: types: - undefined skip: false -Time#deep_dup: - types: - - undefined - skip: false -Time#duplicable?: - types: - - undefined - skip: false Time#end_of_day: types: - undefined @@ -489,10 +252,6 @@ Time#end_of_year: types: - undefined skip: false -Time#eql?: - types: - - undefined - skip: false Time#eql_with_coercion: types: - undefined @@ -505,30 +264,10 @@ Time#future?: types: - undefined skip: false -Time#html_safe?: - types: - - undefined - skip: false -Time#in: - types: - - undefined - skip: false -Time#in?: - types: - - undefined - skip: false Time#in_time_zone: types: - undefined skip: false -Time#instance_values: - types: - - undefined - skip: false -Time#instance_variable_names: - types: - - undefined - skip: false Time#last_month: types: - undefined @@ -637,19 +376,6 @@ Time#plus_with_duration: types: - undefined skip: false -Time#presence: - types: - - Object - skip: false -Time#presence_in: - types: - - Object - skip: false -Time#present?: - types: - - 'true' - - 'false' - skip: false Time#preserve_timezone: types: - undefined @@ -714,25 +440,9 @@ Time#to_fs: types: - undefined skip: false -Time#to_json: - types: - - undefined - skip: true -Time#to_param: - types: - - undefined - skip: false -Time#to_query: - types: - - undefined - skip: false -Time#to_s: - types: - - undefined - skip: false Time#to_time: types: - - undefined + - Time skip: false Time#today?: types: @@ -746,14 +456,6 @@ Time#tomorrow?: types: - undefined skip: false -Time#try: - types: - - undefined - skip: false -Time#try!: - types: - - undefined - skip: false Time#utc_to_local_returns_utc_offset_times: types: - undefined @@ -766,10 +468,6 @@ Time#weeks_since: types: - undefined skip: false -Time#with_options: - types: - - undefined - skip: false Time#years_ago: types: - undefined diff --git a/spec/definitions/rails7/routes.yml b/spec/definitions/rails7/routes.yml index 722d7f1..aabe6b8 100644 --- a/spec/definitions/rails7/routes.yml +++ b/spec/definitions/rails7/routes.yml @@ -1,137 +1,4 @@ --- -ActionDispatch::Routing::Mapper.acts_like?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.alias_attribute: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.anonymous?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.as_json: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.attr_internal_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.blank?: - types: - - "true" - - "false" - skip: false -ActionDispatch::Routing::Mapper.cattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.cattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.cattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.class_attribute: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.concern: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.concerning: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.deep_dup: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.delegate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.delegate_missing_to: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.deprecate: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.descendants: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.duplicable?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.gem: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.html_safe?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.in?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.instance_values: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.instance_variable_names: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.mattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.method_visibility: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.module_parent: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.module_parent_name: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.module_parents: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper.normalize_name: types: - undefined @@ -140,111 +7,10 @@ ActionDispatch::Routing::Mapper.normalize_path: types: - undefined skip: false -ActionDispatch::Routing::Mapper.presence: - types: - - "Object" - skip: false -ActionDispatch::Routing::Mapper.presence_in: - types: - - "Object" - skip: false -ActionDispatch::Routing::Mapper.present?: - types: - - "true" - - "false" - skip: false -ActionDispatch::Routing::Mapper.pry: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.rake_extension: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.redefine_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.redefine_singleton_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.remove_possible_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.remove_possible_singleton_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.require_dependency: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.silence_redefinition_of_method: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_cattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_accessor: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_reader: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.thread_mattr_writer: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.to_json: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper.to_param: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.to_query: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.try: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.try!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper.with_options: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#acts_like?: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#as: types: - undefined skip: false -ActionDispatch::Routing::Mapper#as_json: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#authenticate: types: - undefined @@ -253,15 +19,6 @@ ActionDispatch::Routing::Mapper#authenticated: types: - undefined skip: false -ActionDispatch::Routing::Mapper#blank?: - types: - - "true" - - "false" - skip: false -ActionDispatch::Routing::Mapper#class_eval: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#collection: types: - undefined @@ -286,10 +43,6 @@ ActionDispatch::Routing::Mapper#controller: types: - undefined skip: false -ActionDispatch::Routing::Mapper#deep_dup: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#default_url_options: types: - undefined @@ -346,14 +99,6 @@ ActionDispatch::Routing::Mapper#draw: types: - undefined skip: false -ActionDispatch::Routing::Mapper#duplicable?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#gem: - types: - - undefined - skip: true ActionDispatch::Routing::Mapper#get: types: - undefined @@ -362,22 +107,6 @@ ActionDispatch::Routing::Mapper#has_named_route?: types: - undefined skip: false -ActionDispatch::Routing::Mapper#html_safe?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#in?: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#instance_values: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#instance_variable_names: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#match: types: - undefined @@ -414,43 +143,14 @@ ActionDispatch::Routing::Mapper#post: types: - undefined skip: false -ActionDispatch::Routing::Mapper#presence: - types: - - "Object" - skip: false -ActionDispatch::Routing::Mapper#presence_in: - types: - - "Object" - skip: false -ActionDispatch::Routing::Mapper#present?: - types: - - "true" - - "false" - skip: false -ActionDispatch::Routing::Mapper#pry: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#put: types: - undefined skip: false -ActionDispatch::Routing::Mapper#raise_no_devise_method_error!: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#raise_no_secret_key: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#redirect: types: - undefined skip: false -ActionDispatch::Routing::Mapper#require_dependency: - types: - - undefined - skip: true ActionDispatch::Routing::Mapper#resolve: types: - undefined @@ -487,26 +187,6 @@ ActionDispatch::Routing::Mapper#shallow?: types: - undefined skip: false -ActionDispatch::Routing::Mapper#to_json: - types: - - undefined - skip: true -ActionDispatch::Routing::Mapper#to_param: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#to_query: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#try: - types: - - undefined - skip: false -ActionDispatch::Routing::Mapper#try!: - types: - - undefined - skip: false ActionDispatch::Routing::Mapper#unauthenticated: types: - undefined @@ -519,7 +199,3 @@ ActionDispatch::Routing::Mapper#with_devise_exclusive_scope: types: - undefined skip: false -ActionDispatch::Routing::Mapper#with_options: - types: - - undefined - skip: false From 37fb11d97e9e6770a0f4c86a799eabde8e48d94b Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 20 May 2023 19:31:31 +0200 Subject: [PATCH 09/32] Report all non-matching definitions when running specs --- spec/helpers.rb | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/spec/helpers.rb b/spec/helpers.rb index aff643c..2b423b7 100644 --- a/spec/helpers.rb +++ b/spec/helpers.rb @@ -25,12 +25,11 @@ def assert_matches_definitions(map, class_name, definition_name, update: false) skipped = 0 typed = 0 - errors = [] + incorrect = [] + missing = [] definitions.each do |meth, data| - unless meth.start_with?('.') || meth.start_with?('#') - meth = meth.gsub(class_name, '') - end + meth = meth.gsub(class_name, '') unless meth.start_with?('.') || meth.start_with?('#') pin = if meth.start_with?('.') @@ -49,7 +48,16 @@ def assert_matches_definitions(map, class_name, definition_name, update: false) Consider setting skip=false STR elsif pin - assert_entry_valid(pin, data, update: update) + effective_type = pin.return_type.map(&:tag) + specified_type = data['types'] + + if effective_type != specified_type + if update + data['types'] = effective_type + else + incorrect << "#{pin.path} expected #{specified_type}, got: #{effective_type}" + end + end data['skip'] = false if update elsif update skipped += 1 @@ -57,21 +65,26 @@ def assert_matches_definitions(map, class_name, definition_name, update: false) elsif data['skip'] next else - errors << meth + missing << meth end end - if errors.any? + if missing.any? raise <<~STR The following methods could not be found despite being listed in #{definition_name}.yml: - #{errors} + #{missing} STR end - if update - File.write("spec/definitions/#{definition_name}.yml", definitions.to_yaml) + if incorrect.any? + raise <<~STR + The return types of these methods did not match #{definition_name}.yml: + #{incorrect.join("\n ")} + STR end + File.write("spec/definitions/#{definition_name}.yml", definitions.to_yaml) if update + total = definitions.keys.size if ENV['PRINT_STATS'] != nil @@ -92,19 +105,6 @@ def percent(a, b) ((a.to_f / b) * 100).round(1) end - def assert_entry_valid(pin, data, update: false) - effective_type = pin.return_type.map(&:tag) - specified_type = data['types'] - - if effective_type != specified_type - if update - data['types'] = effective_type - else - raise "#{pin.path} return type is wrong. Expected #{specified_type}, got: #{effective_type}" - end - end - end - class Injector attr_reader :files def initialize(folder) From fd95daaceb5800a000d5d27b0e90fbb6c57c1126 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 20 May 2023 19:54:34 +0200 Subject: [PATCH 10/32] Fix order-dependence of annotate_spec If another test instantiates the Annotate class with a schema is present first, this test would fail. Singletons ... --- spec/solargraph-rails/annotate_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/solargraph-rails/annotate_spec.rb b/spec/solargraph-rails/annotate_spec.rb index 84b8648..729f65a 100644 --- a/spec/solargraph-rails/annotate_spec.rb +++ b/spec/solargraph-rails/annotate_spec.rb @@ -1,9 +1,11 @@ require 'spec_helper' RSpec.describe Solargraph::Rails::Annotate do + before { Solargraph::Rails::Annotate.reset } + let(:api_map) { Solargraph::ApiMap.new } - it 'auto completes implicit nested classes' do + it "reads `annotate' comments" do load_string 'app/models/my_model.rb', <<~RUBY # id :integer not null, primary key From 38d7f99d1e6aee45d5373766eef05e6897e1e055 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 3 Sep 2022 11:27:51 +0200 Subject: [PATCH 11/32] Default unknown database types to String This (as far as I know) matches what Rails will do when it doesn't understand a database type. --- lib/solargraph/rails/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solargraph/rails/schema.rb b/lib/solargraph/rails/schema.rb index 6d5b382..d674f9e 100644 --- a/lib/solargraph/rails/schema.rb +++ b/lib/solargraph/rails/schema.rb @@ -48,7 +48,7 @@ def process(source_map, ns) Util.build_public_method( ns, column, - types: [RUBY_TYPES.fetch(data.type.to_sym)], + types: [RUBY_TYPES[data.type.to_sym] || 'String'], location: Util.build_location(data.ast, 'db/schema.rb') ) end From e1291d6240786ad01844ec209e385b22e0942829 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 10 Sep 2022 10:29:25 +0200 Subject: [PATCH 12/32] Generate more attribute methods --- lib/solargraph/rails/schema.rb | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/lib/solargraph/rails/schema.rb b/lib/solargraph/rails/schema.rb index d674f9e..73e6854 100644 --- a/lib/solargraph/rails/schema.rb +++ b/lib/solargraph/rails/schema.rb @@ -43,15 +43,24 @@ def process(source_map, ns) return [] unless table - pins = - table.map do |column, data| - Util.build_public_method( - ns, - column, - types: [RUBY_TYPES[data.type.to_sym] || 'String'], - location: Util.build_location(data.ast, 'db/schema.rb') - ) + pins = [] + table.each do |column, data| + location = Util.build_location(data.ast, 'db/schema.rb') + type = RUBY_TYPES[data.type.to_sym] || 'String' + %w[% %_in_database %_before_last_save].each do |tpl| + name = tpl.sub('%', column) + pins << Util.build_public_method(ns, name, types: [type], location: location) end + %w[%? %_changed? saved_change_to_%? will_save_change_to_%?].each do |tpl| + name = tpl.sub('%', column) + pins << Util.build_public_method(ns, name, types: ['Boolean'], location: location) + end + %w[%_change_to_be_saved saved_change_to_%].each do |tpl| + name = tpl.sub('%', column) + types = ["Array(#{type}, #{type})"] + pins << Util.build_public_method(ns, name, types: types, location: location) + end + end if pins.any? Solargraph.logger.debug( From 3c57dc1c1974d2b15a7b9aecf44a828adce1a2e7 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Fri, 7 Oct 2022 17:23:21 +0200 Subject: [PATCH 13/32] Ignore modules when finding the namespace to process --- lib/solargraph-rails.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/solargraph-rails.rb b/lib/solargraph-rails.rb index 723e95f..dd34664 100644 --- a/lib/solargraph-rails.rb +++ b/lib/solargraph-rails.rb @@ -34,11 +34,9 @@ def global(yard_map) def local(source_map) pins = [] - ds = - source_map.document_symbols.select do |n| - n.is_a?(Solargraph::Pin::Namespace) - end - ns = ds.first + ns = source_map.document_symbols.find do |n| + n.is_a?(Solargraph::Pin::Namespace) && n.type == :class + end return EMPTY_ENVIRON unless ns From 6dc8c4c6be9268a73dbaa62e975271e66c651904 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Fri, 23 Sep 2022 17:38:47 +0200 Subject: [PATCH 14/32] Extract Util.extract_option helper --- lib/solargraph/rails/model.rb | 11 +++-------- lib/solargraph/rails/util.rb | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 4c5041d..4b67836 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -90,15 +90,10 @@ def singular_association(ns, ast) end def extract_custom_class_name(ast) - options = ast.children[3..-1].find { |n| n.type == :hash } - return unless options + node = Util.extract_option(ast, :class_name) + return unless node && node.type == :str - class_name_pair = - options.children.find do |n| - n.children[0].deconstruct == %i[sym class_name] && - n.children[1].type == :str - end - class_name_pair && class_name_pair.children.last.children.last + node.children.last end end end diff --git a/lib/solargraph/rails/util.rb b/lib/solargraph/rails/util.rb index bc86745..97bf7f1 100644 --- a/lib/solargraph/rails/util.rb +++ b/lib/solargraph/rails/util.rb @@ -63,6 +63,27 @@ def self.build_location(ast, path) def self.method_return(path, type) Solargraph::Pin::Reference::Override.method_return(path, type) end + + # Extract the value of a given option from a :send syntax node. + # + # E.g. given an AST node for `foo(:bar, baz: qux)`, you can use + # `extract_option(node, :baz)` to get the AST node for `qux`. + # + # @param call_node [Node] + # @param option_name [Symbol] + # @return [Node, nil] + def self.extract_option(call_node, option_name) + options = call_node.children[3..-1].find { |n| n.type == :hash } + return unless options + + pair = + options.children.find do |n| + n.children[0] && n.children[0].deconstruct == [:sym, option_name] + end + return unless pair + + pair.children[1] + end end end end From de6986e78e454d6854cc8df5568dfdcd53688829 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Fri, 23 Sep 2022 17:39:46 +0200 Subject: [PATCH 15/32] Use Solargraph::Pin::DelegatedMethod to define delegate methods --- lib/solargraph/rails/delegate.rb | 46 +++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/lib/solargraph/rails/delegate.rb b/lib/solargraph/rails/delegate.rb index 291bda6..cb1ec71 100644 --- a/lib/solargraph/rails/delegate.rb +++ b/lib/solargraph/rails/delegate.rb @@ -12,18 +12,44 @@ def process(source_map, ns) pins = [] walker.on :send, [nil, :delegate] do |ast| - methods = - ast.children[2..-1] - .map { |c| c.children.first } - .select { |s| s.is_a?(Symbol) } + next unless ast.children[-1].type == :hash + methods = ast.children[2...-1].select { |c| c.type == :sym } + + delegate_node = Util.extract_option(ast, :to) + next unless delegate_node + + chain = if delegate_node.type == :sym + # `delegate ..., to: :bar` means call the #bar method to get the delegate object + call = Solargraph::Source::Chain::Call.new(delegate_node.children[0].to_s) + Solargraph::Source::Chain.new([call], delegate_node) + else + # for any other type of delegate, we create a chain from the AST node + Solargraph::Parser::Legacy::NodeChainer.chain(delegate_node, ns.filename) + end + + prefix_node = Util.extract_option(ast, :prefix) + + prefix = nil + if prefix_node + if prefix_node.type == :sym + prefix = prefix_node.children[0] + elsif prefix_node.type == :true && delegate_node.type == :sym + prefix = delegate_node.children[0] + end + end + + location = Util.build_location(delegate_node, ns.filename) methods.each do |meth| - pins << - Util.build_public_method( - ns, - meth.to_s, - location: Util.build_location(ast, ns.filename) - ) + method_name = meth.children[0] + pins << Solargraph::Pin::DelegatedMethod.new( + closure: ns, + scope: :instance, + name: [prefix, method_name].select(&:itself).join("_"), + node: meth, + receiver: chain, + receiver_method_name: method_name.to_s, + ) end end From 3c12d413631d2aec5319d98d29910784a3f67898 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Fri, 23 Sep 2022 17:44:49 +0200 Subject: [PATCH 16/32] Resolve annotations.rb to a real path --- lib/solargraph/rails/rails_api.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/solargraph/rails/rails_api.rb b/lib/solargraph/rails/rails_api.rb index 0640762..010df1a 100644 --- a/lib/solargraph/rails/rails_api.rb +++ b/lib/solargraph/rails/rails_api.rb @@ -8,8 +8,9 @@ def self.instance def global(yard_map) return [] if yard_map.required.empty? - ann = File.read(File.dirname(__FILE__) + '/annotations.rb') - source = Solargraph::Source.load_string(ann, 'annotations.rb') + path = File.dirname(__FILE__) + '/annotations.rb' + ann = File.read(path) + source = Solargraph::Source.load_string(ann, path) map = Solargraph::SourceMap.map(source) Solargraph.logger.debug( From 76798b6995495527e0042319bd6de42f967a2c2a Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 3 Sep 2022 16:30:37 +0200 Subject: [PATCH 17/32] Generate per-model Relation types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This a more accurate represenation of what ActiveRecord actually does at runtime, and therefore gives better code suggestions when dealing with associations and model classes. I've settled on this as being the best compromise after trying a few different approaches. There are two "challenges" that I believe can't be met any other way (at this time). 1. It is not possible to write a return type annotation for the methods of various ActiveRecord mixins that will be correct for both a model class (e.g. Person.where) and relation (e.g. people.where). [0], [1] 2. It is not possible to represent ActiveRecords "class methods are also relation methods" behaviour without model-specific relation types. It's conceivable that Solargraph could change it's interpretation of [self] on class methods to solve the first challenge, but the second one really forces our hand. In order to represent this correctly, Solargraph would need support for method-missing delegation, **and** delegating those missing methods to an associated/generic type. Given @castwide is working on RBS support and the Ruby ecosystem is likely to move that way in the future, it seems pragmatic to eat the cost repetition / manual labour in this gem rather than try to push YARD types into supporting that degree of type-level programming. 😅 [0]: https://github.com/castwide/solargraph/issues/592 [1]: https://github.com/lsegal/yard/issues/1257 --- lib/solargraph/rails/annotations.rb | 35 ++++- lib/solargraph/rails/model.rb | 219 +++++++++++++++++++++++++--- lib/solargraph/rails/types.yml | 8 - lib/solargraph/rails/util.rb | 8 +- 4 files changed, 233 insertions(+), 37 deletions(-) diff --git a/lib/solargraph/rails/annotations.rb b/lib/solargraph/rails/annotations.rb index 33a4f88..fb7574e 100644 --- a/lib/solargraph/rails/annotations.rb +++ b/lib/solargraph/rails/annotations.rb @@ -38,13 +38,44 @@ # # @yieldself [ActionDispatch::Routing::Mapper] # def draw; end # end +# +# # this module doesn't really exist, it's here to avoid repeating these mixins +# module ActiveRecord::RelationMethods +# include Enumerable +# include ActiveRecord::QueryMethods +# include ActiveRecord::FinderMethods +# include ActiveRecord::Calculations +# include ActiveRecord::Batches +# end +# +# class ActiveRecord::Relation +# include ActiveRecord::RelationMethods +# end +# # class ActiveRecord::Base -# extend ActiveRecord::QueryMethods -# extend ActiveRecord::FinderMethods # extend ActiveRecord::Associations::ClassMethods # extend ActiveRecord::Inheritance::ClassMethods # extend ActiveRecord::ModelSchema::ClassMethods # extend ActiveRecord::Transactions::ClassMethods # extend ActiveRecord::Scoping::Named::ClassMethods +# extend ActiveRecord::RelationMethods # include ActiveRecord::Persistence # end + +# @!override ActiveRecord::Batches#find_each +# @yieldparam_single_parameter + +# @!override ActiveRecord::Calculations#count +# @return [Integer, Hash] +# @!override ActiveRecord::Calculations#pluck +# @overload pluck(one) +# @return [Array] +# @overload pluck(one, two, *more) +# @return [Array] + +# @!override ActiveRecord::QueryMethods::WhereChain#not +# @return_single_parameter +# @!override ActiveRecord::QueryMethods::WhereChain#missing +# @return_single_parameter +# @!override ActiveRecord::QueryMethods::WhereChain#associated +# @return_single_parameter diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 4b67836..69e9aa7 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -9,11 +9,35 @@ def self.valid_filename?(filename) filename.include?('app/models') end + # @param source_map [Solargraph::SourceMap] + # @param ns [Solargraph::Pin::Namespace] def process(source_map, ns) return [] unless self.class.valid_filename?(source_map.filename) - walker = Walker.from_source(source_map.source) pins = [] + abstract = false + + # ActiveRecord defines a hidden subclass of ActiveRecord::Relation for + # each model class that inherits from ActiveRecord::Base. + pins << relation = Solargraph::Pin::Namespace.new( + name: 'ActiveRecord_Relation', + type: :class, + visibility: :private, + closure: ns, + ) + pins << Solargraph::Pin::Reference::Superclass.new( + name: "ActiveRecord::Relation", + closure: relation, + ) + + pins << Solargraph::Pin::Method.new( + name: 'model', + scope: :instance, + closure: relation, + comments: "@return [Class<#{ns.name}>]" + ) + + walker = Walker.from_source(source_map.source) walker.on :send, [nil, :belongs_to] do |ast| pins << singular_association(ns, ast) @@ -31,59 +55,90 @@ def process(source_map, ns) pins << plural_association(ns, ast) end + walker.on :send, [:self, :abstract_class=, :true] do |ast| + abstract = true + end + walker.on :send, [nil, :scope] do |ast| next if ast.children[2].nil? name = ast.children[2].children.last - method_pin = - Util.build_public_method( - ns, - name.to_s, - types: ns.return_type.map(&:tag), - scope: :class, - location: Util.build_location(ast, ns.filename) - ) + parameters = [] if ast.children.last.type == :block location = ast.children.last.location - block_pin = - source_map.locate_block_pin(location.line, location.column) - method_pin.parameters.concat(block_pin.parameters.clone) + block_pin = source_map.locate_block_pin(location.line, location.column) + parameters.concat(block_pin.parameters.clone) end - pins << method_pin + + location = Util.build_location(ast, ns.filename) + # define scopes as a class methods on the model, and instance methods + # on the hidden relation class + pins << Util.build_public_method( + ns, + name.to_s, + scope: :class, + parameters: parameters, + types: [relation_type(ns.name)], + location: location + ) + pins << Util.build_public_method( + relation, + name.to_s, + scope: :instance, + parameters: parameters, + types: [relation_type(ns.name)], + location: location + ) end walker.walk - if pins.any? - Solargraph.logger.debug( - "[Rails][Model] added #{pins.map(&:name)} to #{ns.path}" - ) + + # Class methods on the model are exposed as *instance* methods on the + # hidden ActiveRecord_Relation class. + # + # Uses DelegatedMethod pins (instead of build_public_method) so Solargraph + # will show the "real" method pin for type inference, probing, docs etc. + source_map.pins.each do |pin| + next unless pin.is_a?(Solargraph::Pin::Method) && pin.scope == :class && pin.closure == ns + + pins << Solargraph::Pin::DelegatedMethod.new(closure: relation, scope: :instance, method: pin) + end + + + unless abstract + pins += relation_method_pins(ns, :class, ns.path) + pins += relation_method_pins(relation, :instance, ns.path) end + + Solargraph.logger.debug("[Rails][Model] added #{pins.map(&:name)} to #{ns.path}") + pins end + def plural_association(ns, ast) - relation_name = ast.children[2].children.first + association_name = ast.children[2].children.first class_name = extract_custom_class_name(ast) || - relation_name.to_s.singularize.camelize + association_name.to_s.singularize.camelize Util.build_public_method( ns, - relation_name.to_s, - types: ["ActiveRecord::Associations::CollectionProxy<#{class_name}>"], + association_name.to_s, + types: [relation_type(class_name)], location: Util.build_location(ast, ns.filename) ) end def singular_association(ns, ast) - relation_name = ast.children[2].children.first + association_name = ast.children[2].children.first class_name = - extract_custom_class_name(ast) || relation_name.to_s.camelize + extract_custom_class_name(ast) || association_name.to_s.camelize Util.build_public_method( ns, - relation_name.to_s, + association_name.to_s, types: [class_name], location: Util.build_location(ast, ns.filename) ) @@ -95,6 +150,122 @@ def extract_custom_class_name(ast) node.children.last end + + # Generate method pins for ActiveRecord methods in the given namespace/scope, where the + # the return types will be templated with the provided model class. + # + # These method pins don't need to include any documentation, as Solargraph will merge + # documentation from Rails when it resolves the "method stack" for each pin. + # + # @param ns [Solargraph::Pin::Namespace] the namespace (model or relation class) in which to define methods. + # @param scope [:instance, :class] the method scope (:class for the model and :instance for the relation). + # @param model_class [String] the model class (e.g. "Person") that should be used in return types. + # @return [Array] + def relation_method_pins(namespace, scope, model_class) + pins = [] + RETURNS_RELATION.each do |method| + pins << Util.build_public_method(namespace, method, scope: scope, types: [relation_type(model_class)]) + end + RETURNS_INSTANCE.each do |method| + pins << Util.build_public_method(namespace, method, scope: scope, types: [model_class]) + end + OVERLOADED.each do |method, overloads| + comments = overloads.map do |args, lines| + lines = ["@return [#{lines}]"] if lines.is_a?(String) + lines = ["@overload #{method}#{args}"] + lines + lines.map { |line| line.gsub '$T', model_class }.join("\n ") + end + pins << Util.build_public_method(namespace, method, scope: scope, comments: comments.join("\n")) + end + pins + end + + # construct the type name for the models hidden relation class. + # the additional type parameter is _not_ redundant, it makes enumerable methods work. + def relation_type(model_path) + "#{model_path}::ActiveRecord_Relation" + end + + RETURNS_RELATION = %w[ + all + and + annotate + distinct + eager_load + excluding + from + group + having + in_order_of + includes + invert_where + joins + left_joins + left_outer_joins + limit + lock + none + offset + or + order + preload + readonly + references + reorder + reselect + reverse_order + rewhere + select + strict_loading + unscope + where + without + ] + + RETURNS_INSTANCE = %w[ + find + find_by find_by! + take + take! + sole find_sole_by + first second third fourth fifth third_to_last second_to_last last + first! second! third! fourth! fifth! third_to_last! second_to_last! last! + forty_two + forty_two! + ] + + OVERLOADED = { + "where" => { + "()" => "ActiveRecord::QueryMethods::WhereChain<$T::ActiveRecord_Relation>", + "(*args)" => "$T::ActiveRecord_Relation", + }, + "select" => { + "()" => [ + "@yieldparam [$T]", + "@return [Array<$T>]", + ], + "(*args)" => "$T::ActiveRecord_Relation", + }, + "find" => { + "(id)" => [ + "@param id [Integer, String]", + "@return [$T]" + ], + "(*ids)" => "Array<$T>", + }, + "take" => { + "()" => "T, nil", + "(limit)" => "Array<$T>", + }, + "first" => { + "()" => "$T, nil", + "(limit)" => "Array<$T>", + }, + "last" => { + "()" => "$T, nil", + "(limit)" => "Array<$T>" + }, + } end end end diff --git a/lib/solargraph/rails/types.yml b/lib/solargraph/rails/types.yml index 1762672..211ae10 100644 --- a/lib/solargraph/rails/types.yml +++ b/lib/solargraph/rails/types.yml @@ -1,17 +1,9 @@ ActionController::Metal#params: return: ["ActionController::Parameters"] -ActiveRecord::FinderMethods#find: - return: ["self", "Array"] ActionController::Cookies#cookies: return: ["ActionDispatch::Cookies::CookieJar"] ActionDispatch::Flash::FlashHash#now: return: ["ActionDispatch::Flash::FlashNow"] -ActiveRecord::QueryMethods#where: - return: ["self", "ActiveRecord::Relation", "ActiveRecord::QueryMethods::WhereChain"] -ActiveRecord::QueryMethods#not: - return: ["ActiveRecord::QueryMethods::WhereChain"] -ActiveRecord::FinderMethods#find_by: - return: ["self", "nil"] Rails.application: return: ["Rails::Application"] ActionDispatch::Routing::RouteSet#draw: diff --git a/lib/solargraph/rails/util.rb b/lib/solargraph/rails/util.rb index 97bf7f1..a290952 100644 --- a/lib/solargraph/rails/util.rb +++ b/lib/solargraph/rails/util.rb @@ -4,6 +4,8 @@ module Util def self.build_public_method( ns, name, + comments: +"", + parameters: [], types: nil, location: nil, attribute: false, @@ -11,16 +13,16 @@ def self.build_public_method( ) opts = { name: name, + parameters: parameters, location: location, closure: ns, scope: scope, attribute: attribute } - comments = [] - comments << "@return [#{types.join(',')}]" if types + comments << "\n@return [#{types.join(',')}]" if types - opts[:comments] = comments.join("\n") + opts[:comments] ||= comments Solargraph::Pin::Method.new(**opts) end From a252d69538327ef862b82d11bfb0e42cbf46341a Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Tue, 6 Sep 2022 10:54:37 +0200 Subject: [PATCH 18/32] Rebind blocks passed to ActiveRecord::Base.scope Setting this binding the models hidden relation type makes it possible to refer to other scopes and the ActiveRecord API with correct types when defining a scope. --- lib/solargraph/rails/model.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 69e9aa7..4d81c8c 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -69,6 +69,7 @@ def process(source_map, ns) location = ast.children.last.location block_pin = source_map.locate_block_pin(location.line, location.column) parameters.concat(block_pin.parameters.clone) + block_pin.instance_variable_set(:@binder, relation) end location = Util.build_location(ast, ns.filename) From 8bfa7a8c39a117b20df1881e2b04d5502a5c0df6 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Wed, 28 Sep 2022 21:56:54 +0200 Subject: [PATCH 19/32] Include overloads and parameter types for ActiveRecord methods This fixes errors when the typecheck reporter is enabled. --- lib/solargraph/rails/model.rb | 137 ++++++++++++++++++++++------------ 1 file changed, 89 insertions(+), 48 deletions(-) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 4d81c8c..bc84d5b 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -164,17 +164,30 @@ def extract_custom_class_name(ast) # @return [Array] def relation_method_pins(namespace, scope, model_class) pins = [] - RETURNS_RELATION.each do |method| - pins << Util.build_public_method(namespace, method, scope: scope, types: [relation_type(model_class)]) + finalize_type = -> (template) { template.gsub '$T', model_class } + RETURNS_RELATION.each do |method, params| + next if OVERLOADED.key(method) + + parameters = params.map do |name, type| + decl = :arg + if name.start_with?("*") + name = name[1..] + decl = :restarg + end + Solargraph::Pin::Parameter.new(name: name, decl: decl) + end + pins << Util.build_public_method(namespace, method, scope: scope, parameters: parameters, types: [relation_type(model_class)]) end + RETURNS_INSTANCE.each do |method| pins << Util.build_public_method(namespace, method, scope: scope, types: [model_class]) end + OVERLOADED.each do |method, overloads| - comments = overloads.map do |args, lines| + comments = overloads.map do |arg_list, lines| lines = ["@return [#{lines}]"] if lines.is_a?(String) - lines = ["@overload #{method}#{args}"] + lines - lines.map { |line| line.gsub '$T', model_class }.join("\n ") + lines = ["@overload #{method}#{arg_list}"] + lines + lines.map(&finalize_type).join("\n ") end pins << Util.build_public_method(namespace, method, scope: scope, comments: comments.join("\n")) end @@ -186,59 +199,57 @@ def relation_method_pins(namespace, scope, model_class) def relation_type(model_path) "#{model_path}::ActiveRecord_Relation" end + + ANY_ARGS = {"*args" => nil} - RETURNS_RELATION = %w[ - all - and - annotate - distinct - eager_load - excluding - from - group - having - in_order_of - includes - invert_where - joins - left_joins - left_outer_joins - limit - lock - none - offset - or - order - preload - readonly - references - reorder - reselect - reverse_order - rewhere - select - strict_loading - unscope - where - without - ] + RETURNS_RELATION = { + "all" => {}, + "and" => {"other" => "ActiveRecord::Relation"}, + "annotate" => ANY_ARGS, + "distinct" => ANY_ARGS, + "eager_load" => ANY_ARGS, + "excluding" => ANY_ARGS, + "from" => {"source" => "ActiveRecord::Relation"}, + "group" => ANY_ARGS, + "having" => ANY_ARGS, + "in_order_of" => ANY_ARGS, + "includes" => ANY_ARGS, + "invert_where" => {}, + "joins" => ANY_ARGS, + "left_joins" => ANY_ARGS, + "left_outer_joins" => ANY_ARGS, + "limit" => {"value" => "Integer"}, + "lock" => {"locks" => "true, false"}, + "none" => {}, + "offset" => {"value" => "Integer"}, + "or" => {"other" => "ActiveRecord::Relation"}, + "order" => ANY_ARGS, + "preload" => ANY_ARGS, + "readonly" => {"value" => "true, false"}, + "references" => {"*table_names" => nil}, + "reorder" => ANY_ARGS, + "reselect" => ANY_ARGS, + "reverse_order" => {}, + "rewhere" => {"conditions" => "Hash"}, + "select" => ANY_ARGS, + "strict_loading" => {"value" => "true, false"}, + "unscope" => ANY_ARGS, + "without" => ANY_ARGS, + } RETURNS_INSTANCE = %w[ - find - find_by find_by! - take - take! - sole find_sole_by + take take! sole first second third fourth fifth third_to_last second_to_last last first! second! third! fourth! fifth! third_to_last! second_to_last! last! - forty_two - forty_two! + forty_two forty_two! ] OVERLOADED = { "where" => { "()" => "ActiveRecord::QueryMethods::WhereChain<$T::ActiveRecord_Relation>", - "(*args)" => "$T::ActiveRecord_Relation", + "(sql, *args)" => [ + "@return [$T::ActiveRecord_Relation]", + ], }, "select" => { "()" => [ @@ -254,6 +265,36 @@ def relation_type(model_path) ], "(*ids)" => "Array<$T>", }, + "find_by" => { + "(hash)" => [ + "@param hash [Hash] attributes to match by", + "@return [$T, nil]", + ], + "(sql, *args)" => [ + "@param sql [String] a SQL snippet for the WHERE clause", + "@return [$T, nil]" + ] + }, + "find_by!" => { + "(hash)" => [ + "@param hash [Hash] attributes to match by", + "@return [$T]", + ], + "(sql, *args)" => [ + "@param sql [String] a SQL snippet for the WHERE clause", + "@return [$T]" + ] + }, + "find_sole_by" => { + "(hash)" => [ + "@param hash [Hash] attributes to match by", + "@return [$T]", + ], + "(sql, *args)" => [ + "@param sql [String] a SQL snippet for the WHERE clause", + "@return [$T]" + ] + }, "take" => { "()" => "T, nil", "(limit)" => "Array<$T>", From fb26c77cab13e7ad854e28b159a124833476e090 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Thu, 3 Nov 2022 18:17:19 +0100 Subject: [PATCH 20/32] Restore ds instance variable --- lib/solargraph-rails.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/solargraph-rails.rb b/lib/solargraph-rails.rb index dd34664..98404e4 100644 --- a/lib/solargraph-rails.rb +++ b/lib/solargraph-rails.rb @@ -34,9 +34,10 @@ def global(yard_map) def local(source_map) pins = [] - ns = source_map.document_symbols.find do |n| - n.is_a?(Solargraph::Pin::Namespace) && n.type == :class + ds = source_map.document_symbols.select do |n| + n.is_a?(Solargraph::Pin::Namespace) end + ns = ds.find { |s| s.type == :class } return EMPTY_ENVIRON unless ns From 309a7b46eac6bf86a0e37a4c08c406092ed77219 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sat, 7 Jan 2023 18:46:36 +0100 Subject: [PATCH 21/32] Add type annotations for ActionMailer --- lib/solargraph/rails/annotations.rb | 30 ++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/lib/solargraph/rails/annotations.rb b/lib/solargraph/rails/annotations.rb index fb7574e..59138ca 100644 --- a/lib/solargraph/rails/annotations.rb +++ b/lib/solargraph/rails/annotations.rb @@ -26,17 +26,12 @@ # include ActionDispatch::Routing::Mapper::Resources # include ActionDispatch::Routing::Mapper::CustomUrls # end -# class Rails -# # @return [Rails::Application] -# def self.application; end -# end -# class Rails::Application -# # @return [ActionDispatch::Routing::RouteSet] -# def routes; end -# end -# class ActionDispatch::Routing::RouteSet -# # @yieldself [ActionDispatch::Routing::Mapper] -# def draw; end +# class ActionMailer::Base +# # @return [self] +# def self.with(**params); end +# +# # @return [ActionMailer::MessageDelivery] +# def mail(**params); end # end # # # this module doesn't really exist, it's here to avoid repeating these mixins @@ -61,6 +56,19 @@ # extend ActiveRecord::RelationMethods # include ActiveRecord::Persistence # end +# +# class Rails +# # @return [Rails::Application] +# def self.application; end +# end +# class Rails::Application +# # @return [ActionDispatch::Routing::RouteSet] +# def routes; end +# end +# class ActionDispatch::Routing::RouteSet +# # @yieldself [ActionDispatch::Routing::Mapper] +# def draw; end +# end # @!override ActiveRecord::Batches#find_each # @yieldparam_single_parameter From 97f3f2b538d4a9914d1cb544e3a4d98d9c8c6f8d Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Wed, 8 Feb 2023 10:52:31 +0100 Subject: [PATCH 22/32] Fix undefined closure for generated parameter pins --- lib/solargraph/rails/model.rb | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index bc84d5b..c841073 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -168,15 +168,29 @@ def relation_method_pins(namespace, scope, model_class) RETURNS_RELATION.each do |method, params| next if OVERLOADED.key(method) - parameters = params.map do |name, type| + method = Pin::Method.new( + closure: namespace, + scope:, + name:, + comments: "@return [#{relation_type(model_class)}]" + ) + params.each do |name, type| decl = :arg - if name.start_with?("*") + # TODO: maybe I can remove this and go back to letting solargraph parse a comment block + # @see https://github.com/castwide/solargraph/pull/601 + if name.start_with?('**') + name = name[2..] + decl = :kwrestarg + elsif name.start_with?('*') name = name[1..] decl = :restarg end - Solargraph::Pin::Parameter.new(name: name, decl: decl) + method.parameters << Solargraph::Pin::Parameter.new( + name:, decl:, + closure: method, + return_type: type + ) end - pins << Util.build_public_method(namespace, method, scope: scope, parameters: parameters, types: [relation_type(model_class)]) end RETURNS_INSTANCE.each do |method| From 008163d431b2f9f96f8018beb6695c1677555963 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 7 May 2023 14:25:29 +0200 Subject: [PATCH 23/32] Fix hack that sets binder for scope blocks The binder is expected to be a Solargraph::ComplexType --- lib/solargraph/rails/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index c841073..0f5fb05 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -69,7 +69,7 @@ def process(source_map, ns) location = ast.children.last.location block_pin = source_map.locate_block_pin(location.line, location.column) parameters.concat(block_pin.parameters.clone) - block_pin.instance_variable_set(:@binder, relation) + block_pin.instance_variable_set(:@binder, ComplexType.parse(relation.path)) end location = Util.build_location(ast, ns.filename) From 7001ba4ddfc2589893cd22e8d98c4da00841c9cc Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 7 May 2023 14:35:57 +0200 Subject: [PATCH 24/32] Fix undefined variable --- lib/solargraph/rails/model.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 0f5fb05..5c0dcfd 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -164,14 +164,14 @@ def extract_custom_class_name(ast) # @return [Array] def relation_method_pins(namespace, scope, model_class) pins = [] - finalize_type = -> (template) { template.gsub '$T', model_class } - RETURNS_RELATION.each do |method, params| - next if OVERLOADED.key(method) + finalize_type = ->(template) { template.gsub '$T', model_class } + RETURNS_RELATION.each do |method_name, params| + next if OVERLOADED.key(method_name) method = Pin::Method.new( closure: namespace, scope:, - name:, + name: method_name, comments: "@return [#{relation_type(model_class)}]" ) params.each do |name, type| From 714532ab2f152ace432fe39ef5d3713894d2b992 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Tue, 9 May 2023 09:06:52 +0200 Subject: [PATCH 25/32] Fix: actually return pin for ActiveRecord method overrrides --- lib/solargraph/rails/model.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 5c0dcfd..92cd308 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -190,6 +190,7 @@ def relation_method_pins(namespace, scope, model_class) closure: method, return_type: type ) + pins << method end end From 4360eae0e694c2d374e56d1c17db0e70b23cbc9d Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 11:38:29 +0200 Subject: [PATCH 26/32] Feature detect DelegatedMethod pin support --- lib/solargraph-rails.rb | 2 +- lib/solargraph/rails/delegate.rb | 5 +++++ lib/solargraph/rails/model.rb | 1 + spec/solargraph-rails/delegate_spec.rb | 29 ++++++++++++++++++-------- 4 files changed, 27 insertions(+), 10 deletions(-) diff --git a/lib/solargraph-rails.rb b/lib/solargraph-rails.rb index 98404e4..17beba2 100644 --- a/lib/solargraph-rails.rb +++ b/lib/solargraph-rails.rb @@ -47,7 +47,7 @@ def local(source_map) pins += run_feature { Storage.instance.process(source_map, ns) } pins += run_feature { Autoload.instance.process(source_map, ns, ds) } pins += run_feature { Devise.instance.process(source_map, ns) } - pins += run_feature { Delegate.instance.process(source_map, ns) } + pins += run_feature { Delegate.instance.process(source_map, ns) } if Delegate.supported? pins += run_feature { RailsApi.instance.local(source_map, ns) } Solargraph::Environ.new(pins: pins) diff --git a/lib/solargraph/rails/delegate.rb b/lib/solargraph/rails/delegate.rb index cb1ec71..fa19198 100644 --- a/lib/solargraph/rails/delegate.rb +++ b/lib/solargraph/rails/delegate.rb @@ -5,7 +5,12 @@ def self.instance @instance ||= self.new end + def self.supported? + Solargraph::Pin.const_defined?(:DelegatedMethod) + end + def process(source_map, ns) + return [] unless self.class.supported? return [] unless source_map.code.include?('delegate') walker = Walker.from_source(source_map.source) diff --git a/lib/solargraph/rails/model.rb b/lib/solargraph/rails/model.rb index 92cd308..4ed6ba0 100644 --- a/lib/solargraph/rails/model.rb +++ b/lib/solargraph/rails/model.rb @@ -101,6 +101,7 @@ def process(source_map, ns) # Uses DelegatedMethod pins (instead of build_public_method) so Solargraph # will show the "real" method pin for type inference, probing, docs etc. source_map.pins.each do |pin| + next unless Delegate.supported? next unless pin.is_a?(Solargraph::Pin::Method) && pin.scope == :class && pin.closure == ns pins << Solargraph::Pin::DelegatedMethod.new(closure: relation, scope: :instance, method: pin) diff --git a/spec/solargraph-rails/delegate_spec.rb b/spec/solargraph-rails/delegate_spec.rb index 1ba0a6e..b46f6ca 100644 --- a/spec/solargraph-rails/delegate_spec.rb +++ b/spec/solargraph-rails/delegate_spec.rb @@ -1,25 +1,36 @@ require 'spec_helper' -RSpec.describe Solargraph::Rails::Delegate do +skip_reason = 'Missing required Solargraph pin type' unless Solargraph::Rails::Delegate.supported? + +RSpec.describe Solargraph::Rails::Delegate, skip: skip_reason do let(:api_map) { Solargraph::ApiMap.new } - it "generates methods for singular association" do + it 'generates delegate method pins' do load_string 'app/thing.rb', <<-RUBY class Thing delegate :one, :two, to: :foo def foo Foo.new end + + class Foo + def one + 1 + end + + def two + "two" + end + end end RUBY - assert_public_instance_method(api_map, "Thing#one", ["undefined"]) - assert_public_instance_method(api_map, "Thing#two", ["undefined"]) do |pin| - expect(pin.location.range.to_hash).to eq({ - :start => { :line => 1, :character => 0 }, - :end => { :line=>1, :character => 8 } - }) + assert_public_instance_method(api_map, 'Thing#one', ['Integer']) + assert_public_instance_method(api_map, 'Thing#two', ['String']) do |pin| + expect(pin.location.range.to_hash).to eq( + start: { line: 1, character: 0 }, + end: { line: 1, character: 8 } + ) end end end - From 45456dfd8efc48db19d6c7c0e979ec4001cd500d Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 11:41:22 +0200 Subject: [PATCH 27/32] Use normal Ruby source for extra YARD annotations This _should_ be easier to both maintain and contribute to. --- lib/solargraph/rails/annotations.rb | 89 ------------------- lib/solargraph/rails/annotations/README.md | 5 ++ .../rails/annotations/action_controller.rb | 29 ++++++ .../rails/annotations/action_dispatch.rb | 24 +++++ .../rails/annotations/action_mailer.rb | 7 ++ .../rails/annotations/active_record.rb | 49 ++++++++++ lib/solargraph/rails/annotations/rails.rb | 9 ++ .../rails/annotations/stdlib_requires.rb | 66 ++++++++++++++ lib/solargraph/rails/rails_api.rb | 75 +++------------- lib/solargraph/rails/types.yml | 16 ---- 10 files changed, 200 insertions(+), 169 deletions(-) delete mode 100644 lib/solargraph/rails/annotations.rb create mode 100644 lib/solargraph/rails/annotations/README.md create mode 100644 lib/solargraph/rails/annotations/action_controller.rb create mode 100644 lib/solargraph/rails/annotations/action_dispatch.rb create mode 100644 lib/solargraph/rails/annotations/action_mailer.rb create mode 100644 lib/solargraph/rails/annotations/active_record.rb create mode 100644 lib/solargraph/rails/annotations/rails.rb create mode 100644 lib/solargraph/rails/annotations/stdlib_requires.rb delete mode 100644 lib/solargraph/rails/types.yml diff --git a/lib/solargraph/rails/annotations.rb b/lib/solargraph/rails/annotations.rb deleted file mode 100644 index 59138ca..0000000 --- a/lib/solargraph/rails/annotations.rb +++ /dev/null @@ -1,89 +0,0 @@ -# The following comments fill some of the gaps in Solargraph's understanding of -# Rails apps. Since they're all in YARD, they get mapped in Solargraph but -# ignored at runtime. -# -# You can put this file anywhere in the project, as long as it gets included in -# the workspace maps. It's recommended that you keep it in a standalone file -# instead of pasting it into an existing one. -# -# @!parse -# class ActionController::Base -# include ActionController::MimeResponds -# include ActionController::Redirecting -# include ActionController::Cookies -# include AbstractController::Rendering -# extend ActiveSupport::Callbacks::ClassMethods -# extend ActiveSupport::Rescuable::ClassMethods -# extend AbstractController::Callbacks::ClassMethods -# extend ActionController::RequestForgeryProtection::ClassMethods -# end -# class ActionDispatch::Routing::Mapper -# include ActionDispatch::Routing::Mapper::Base -# include ActionDispatch::Routing::Mapper::HttpHelpers -# include ActionDispatch::Routing::Mapper::Redirection -# include ActionDispatch::Routing::Mapper::Scoping -# include ActionDispatch::Routing::Mapper::Concerns -# include ActionDispatch::Routing::Mapper::Resources -# include ActionDispatch::Routing::Mapper::CustomUrls -# end -# class ActionMailer::Base -# # @return [self] -# def self.with(**params); end -# -# # @return [ActionMailer::MessageDelivery] -# def mail(**params); end -# end -# -# # this module doesn't really exist, it's here to avoid repeating these mixins -# module ActiveRecord::RelationMethods -# include Enumerable -# include ActiveRecord::QueryMethods -# include ActiveRecord::FinderMethods -# include ActiveRecord::Calculations -# include ActiveRecord::Batches -# end -# -# class ActiveRecord::Relation -# include ActiveRecord::RelationMethods -# end -# -# class ActiveRecord::Base -# extend ActiveRecord::Associations::ClassMethods -# extend ActiveRecord::Inheritance::ClassMethods -# extend ActiveRecord::ModelSchema::ClassMethods -# extend ActiveRecord::Transactions::ClassMethods -# extend ActiveRecord::Scoping::Named::ClassMethods -# extend ActiveRecord::RelationMethods -# include ActiveRecord::Persistence -# end -# -# class Rails -# # @return [Rails::Application] -# def self.application; end -# end -# class Rails::Application -# # @return [ActionDispatch::Routing::RouteSet] -# def routes; end -# end -# class ActionDispatch::Routing::RouteSet -# # @yieldself [ActionDispatch::Routing::Mapper] -# def draw; end -# end - -# @!override ActiveRecord::Batches#find_each -# @yieldparam_single_parameter - -# @!override ActiveRecord::Calculations#count -# @return [Integer, Hash] -# @!override ActiveRecord::Calculations#pluck -# @overload pluck(one) -# @return [Array] -# @overload pluck(one, two, *more) -# @return [Array] - -# @!override ActiveRecord::QueryMethods::WhereChain#not -# @return_single_parameter -# @!override ActiveRecord::QueryMethods::WhereChain#missing -# @return_single_parameter -# @!override ActiveRecord::QueryMethods::WhereChain#associated -# @return_single_parameter diff --git a/lib/solargraph/rails/annotations/README.md b/lib/solargraph/rails/annotations/README.md new file mode 100644 index 0000000..b6ed090 --- /dev/null +++ b/lib/solargraph/rails/annotations/README.md @@ -0,0 +1,5 @@ +# annotations + +Code in this directory is _not_ loaded or evaluated at runtime, either by solargraph or your application. + +The code in [rails_api.rb](../rails_api.rb) loads each of these files inside a YARD `@!parse` directive. diff --git a/lib/solargraph/rails/annotations/action_controller.rb b/lib/solargraph/rails/annotations/action_controller.rb new file mode 100644 index 0000000..d757e88 --- /dev/null +++ b/lib/solargraph/rails/annotations/action_controller.rb @@ -0,0 +1,29 @@ +class ActionController::Base + include ActionController::MimeResponds + include ActionController::Redirecting + include ActionController::Cookies + include AbstractController::Rendering + extend ActiveSupport::Callbacks::ClassMethods + extend ActiveSupport::Rescuable::ClassMethods + extend AbstractController::Callbacks::ClassMethods + extend ActionController::RequestForgeryProtection::ClassMethods + + # @return [ActionDispatch::Response] + def response; end + # @return [ActionDispatch::Request] + def request; end + # @return [ActionDispatch::Request::Session] + def session; end + # @return [ActionDispatch::Flash::FlashHash] + def flash; end +end + +class ActionController::Metal + # @return [ActionController::Parameters] + def params; end +end + +class ActionController::Cookies + # @return [ActionDispatch::Cookies::CookieJar] + def cookies; end +end diff --git a/lib/solargraph/rails/annotations/action_dispatch.rb b/lib/solargraph/rails/annotations/action_dispatch.rb new file mode 100644 index 0000000..cd850fa --- /dev/null +++ b/lib/solargraph/rails/annotations/action_dispatch.rb @@ -0,0 +1,24 @@ +module ActionDispatch + module Routing + class RouteSet + # @!method draw(&block) + # @yieldself [Mapper] + end + + class Mapper + include Resources + include Concerns + include Scoping + include Redirection + include HttpHelpers + include Base + end + end + + module Flash + class FlashHash + # @return [ActionDispatch::Flash::FlashNow] + def now; end + end + end +end diff --git a/lib/solargraph/rails/annotations/action_mailer.rb b/lib/solargraph/rails/annotations/action_mailer.rb new file mode 100644 index 0000000..9fff90d --- /dev/null +++ b/lib/solargraph/rails/annotations/action_mailer.rb @@ -0,0 +1,7 @@ +class ActionMailer::Base + # @return [self] + def self.with(**params); end + # + # @return [ActionMailer::MessageDelivery] + def mail(**params); end +end diff --git a/lib/solargraph/rails/annotations/active_record.rb b/lib/solargraph/rails/annotations/active_record.rb new file mode 100644 index 0000000..46d64b3 --- /dev/null +++ b/lib/solargraph/rails/annotations/active_record.rb @@ -0,0 +1,49 @@ +class ActiveRecord::ConnectionAdapters::SchemaStatements + # @yieldparam [ActiveRecord::ConnectionAdapters::TableDefinition] + def create_table; end + # @yieldparam [ActiveRecord::ConnectionAdapters::TableDefinition] + def create_join_table; end + # @yieldparam [ActiveRecord::ConnectionAdapters::Table] + def change_table; end +end + +# this module doesn't really exist, it's here to avoid repeating these mixins +module ActiveRecord::RelationMethods + include Enumerable + include ActiveRecord::QueryMethods + include ActiveRecord::FinderMethods + include ActiveRecord::Calculations + include ActiveRecord::Batches +end + +class ActiveRecord::Relation + include ActiveRecord::RelationMethods +end + +class ActiveRecord::Base + extend ActiveRecord::Associations::ClassMethods + extend ActiveRecord::Inheritance::ClassMethods + extend ActiveRecord::ModelSchema::ClassMethods + extend ActiveRecord::Transactions::ClassMethods + extend ActiveRecord::Scoping::Named::ClassMethods + extend ActiveRecord::RelationMethods + include ActiveRecord::Persistence +end + +# @!override ActiveRecord::Batches#find_each +# @yieldparam_single_parameter + +# @!override ActiveRecord::Calculations#count +# @return [Integer, Hash] +# @!override ActiveRecord::Calculations#pluck +# @overload pluck(one) +# @return [Array] +# @overload pluck(one, two, *more) +# @return [Array] + +# @!override ActiveRecord::QueryMethods::WhereChain#not +# @return_single_parameter +# @!override ActiveRecord::QueryMethods::WhereChain#missing +# @return_single_parameter +# @!override ActiveRecord::QueryMethods::WhereChain#associated +# @return_single_parameter diff --git a/lib/solargraph/rails/annotations/rails.rb b/lib/solargraph/rails/annotations/rails.rb new file mode 100644 index 0000000..8ec12bb --- /dev/null +++ b/lib/solargraph/rails/annotations/rails.rb @@ -0,0 +1,9 @@ +class Rails + # @return [Rails::Application] + def self.application; end +end + +class Rails::Engine + # @return [ActionDispatch::Routing::RouteSet] + def routes; end +end diff --git a/lib/solargraph/rails/annotations/stdlib_requires.rb b/lib/solargraph/rails/annotations/stdlib_requires.rb new file mode 100644 index 0000000..7126e20 --- /dev/null +++ b/lib/solargraph/rails/annotations/stdlib_requires.rb @@ -0,0 +1,66 @@ +# See issue #54 +class Object + require 'abbrev' + require 'base64' + require 'benchmark' + require 'bigdecimal' + require 'bundler' + require 'cgi' + require 'coverage' + require 'csv' + require 'date' + require 'delegate' + require 'did_you_mean' + require 'digest' + require 'drb' + require 'English' + require 'erb' + require 'error_highlight' + require 'expect' + require 'fiddle' + require 'fileutils' + require 'find' + require 'forwardable' + require 'getoptlong' + require 'ipaddr' + require 'irb' + require 'json' + require 'kconv' + require 'logger' + require 'mkmf' + require 'monitor' + require 'mutex_m' + require 'objspace' + require 'observer' + require 'open3' + require 'openssl' + require 'open-uri' + require 'optionparser' + require 'optparse' + require 'ostruct' + require 'pathname' + require 'prettyprint' + require 'pstore' + require 'psych' + require 'racc' + require 'rdoc' + require 'readline' + require 'reline' + require 'resolv' + require 'resolv-replace' + require 'ripper' + require 'rubygems' + require 'securerandom' + require 'shellwords' + require 'singleton' + require 'socket' + require 'tempfile' + require 'timeout' + require 'time' + require 'tmpdir' + require 'tsort' + require 'un' + require 'uri' + require 'weakref' + require 'yaml' +end diff --git a/lib/solargraph/rails/rails_api.rb b/lib/solargraph/rails/rails_api.rb index 010df1a..06ca897 100644 --- a/lib/solargraph/rails/rails_api.rb +++ b/lib/solargraph/rails/rails_api.rb @@ -5,71 +5,18 @@ def self.instance @instance ||= self.new end - def global(yard_map) - return [] if yard_map.required.empty? - - path = File.dirname(__FILE__) + '/annotations.rb' - ann = File.read(path) - source = Solargraph::Source.load_string(ann, path) - map = Solargraph::SourceMap.map(source) - - Solargraph.logger.debug( - "[Rails][Rails] found #{map.pins.size} pins in annotations" - ) - - overrides = - YAML - .load_file(File.dirname(__FILE__) + '/types.yml') - .map do |meth, data| - if data['return'] - Util.method_return(meth, data['return']) - elsif data['yieldself'] - Solargraph::Pin::Reference::Override.from_comment( - meth, - "@yieldself [#{data['yieldself'].join(',')}]" - ) - elsif data['yieldparam'] - Solargraph::Pin::Reference::Override.from_comment( - meth, - "@yieldparam [#{data['yieldparam'].join(',')}]" - ) - end - end - - ns = - Solargraph::Pin::Namespace.new( - name: 'ActionController::Base', - gates: ['ActionController::Base'] - ) - - definitions = [ - Util.build_public_method( - ns, - 'response', - types: ['ActionDispatch::Response'], - location: Util.dummy_location('whatever.rb') - ), - Util.build_public_method( - ns, - 'request', - types: ['ActionDispatch::Request'], - location: Util.dummy_location('whatever.rb') - ), - Util.build_public_method( - ns, - 'session', - types: ['ActionDispatch::Request::Session'], - location: Util.dummy_location('whatever.rb') - ), - Util.build_public_method( - ns, - 'flash', - types: ['ActionDispatch::Flash::FlashHash'], - location: Util.dummy_location('whatever.rb') - ) - ] + def extra_source_maps + @extra_source_maps ||= Dir[File.join(__dir__, 'annotations', '*.rb')].to_h do |path| + code = File.read(path) + source = Solargraph::Source.load_string(code, path) + map = Solargraph::SourceMap.map(source) + [File.basename(path, '.rb'), map] + end + end - map.pins + definitions + overrides + # @param yard_map [YardMap] + def global(_yard_map) + extra_source_maps.values.flat_map(&:pins) end def local(source_map, ns) diff --git a/lib/solargraph/rails/types.yml b/lib/solargraph/rails/types.yml deleted file mode 100644 index 211ae10..0000000 --- a/lib/solargraph/rails/types.yml +++ /dev/null @@ -1,16 +0,0 @@ -ActionController::Metal#params: - return: ["ActionController::Parameters"] -ActionController::Cookies#cookies: - return: ["ActionDispatch::Cookies::CookieJar"] -ActionDispatch::Flash::FlashHash#now: - return: ["ActionDispatch::Flash::FlashNow"] -Rails.application: - return: ["Rails::Application"] -ActionDispatch::Routing::RouteSet#draw: - yieldself: ["ActionDispatch::Routing::Mapper"] -ActiveRecord::ConnectionAdapters::SchemaStatements#create_table: - yieldparam: ["ActiveRecord::ConnectionAdapters::TableDefinition"] -ActiveRecord::ConnectionAdapters::SchemaStatements#create_join_table: - yieldparam: ["ActiveRecord::ConnectionAdapters::TableDefinition"] -ActiveRecord::ConnectionAdapters::SchemaStatements#change_table: - yieldparam: ["ActiveRecord::ConnectionAdapters::Table"] From c6b9fa750d3ac2dcf615bab9e5028cad803f82d2 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 14:49:15 +0200 Subject: [PATCH 28/32] Update README introduction --- README.md | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 6af803a..a771f07 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,34 @@ # Solargraph::Rails - Help solargraph with Rails ## Models -Given a typical Rails model like this: +Consider pair of typical Rails models like this: + +```sh +rails g model Author lastname:string firstnames:string +rails g model Book title:string isbn:string author:belongs_to +``` ```ruby -# == Schema Information -# -# Table name: my_books -# -# id :integer not null, primary key -# author :string -# name :string -# created_at :datetime not null -# updated_at :datetime not null -# -class MyBook < ApplicationRecord - def my_method - "hello" +class Author < ApplicationRecord + has_many :books + + def sortable_name + "#{lastname}, #{firstnames}" end +end - ... +class Book < ApplicationRecord + belongs_to :book + def label + [author.sortable_name, title, isbn].join("\n") + end end ``` -The various Ruby intellisense tools are ok at knowing that there is a `MyBook` constant, and some (including Solargraph) are aware that objects like `MyBook.new` have a method `.my_method`. But what about those magical dynamic attributes that ActiveRecord creates when Rails starts up? You can see these listed at the top of the file under `# == Schema Information`, the comments helpfully added by the Annotate gem. +The various Ruby intellisense tools are ok at knowing that there are `Book` and `Author` constants, and some (including Solargraph) are aware that objects like `Book.new` have a `.label` method. But what about those "magical" dynamic methods that ActiveRecord creates like `.title`, or `.author`? -Since these attributes are only created at runtime, static analysis alone can't identify them. Your editor has no idea that these attributes exist, but they're amongst the most common things that you will work with in any Rails app. +Since these attributes are only created at runtime, a simple static analysis of the `Book` class alone can't identify them. Your editor has no idea that these attributes exist, but they're amongst the most common things that you will work with in any Rails app. That's where this plugin for Solargraph comes in: it parses the database schema and YARD docs of various gems to give Solargraph some extra hints. For instance database attributes: From a0b63e24235b099fed26c715cd01d2ac7ee2b06f Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 14:58:13 +0200 Subject: [PATCH 29/32] Rubocop --- lib/solargraph-rails.rb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/solargraph-rails.rb b/lib/solargraph-rails.rb index 17beba2..193300c 100644 --- a/lib/solargraph-rails.rb +++ b/lib/solargraph-rails.rb @@ -1,18 +1,18 @@ require 'solargraph' require 'active_support/core_ext/string/inflections' -require_relative 'solargraph/rails/util.rb' -require_relative 'solargraph/rails/schema.rb' -require_relative 'solargraph/rails/annotate.rb' -require_relative 'solargraph/rails/autoload.rb' -require_relative 'solargraph/rails/model.rb' -require_relative 'solargraph/rails/devise.rb' -require_relative 'solargraph/rails/walker.rb' -require_relative 'solargraph/rails/rails_api.rb' -require_relative 'solargraph/rails/delegate.rb' -require_relative 'solargraph/rails/storage.rb' -require_relative 'solargraph/rails/debug.rb' -require_relative 'solargraph/rails/version.rb' +require_relative 'solargraph/rails/util' +require_relative 'solargraph/rails/schema' +require_relative 'solargraph/rails/annotate' +require_relative 'solargraph/rails/autoload' +require_relative 'solargraph/rails/model' +require_relative 'solargraph/rails/devise' +require_relative 'solargraph/rails/walker' +require_relative 'solargraph/rails/rails_api' +require_relative 'solargraph/rails/delegate' +require_relative 'solargraph/rails/storage' +require_relative 'solargraph/rails/debug' +require_relative 'solargraph/rails/version' module Solargraph module Rails From 9f1d4e7ead02d251007bb14453134bfa6a97325a Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 18:02:49 +0200 Subject: [PATCH 30/32] Switch to stdlib debug gem --- Gemfile | 2 +- spec/spec_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 98d838e..2ec0336 100644 --- a/Gemfile +++ b/Gemfile @@ -3,8 +3,8 @@ source "https://rubygems.org" git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } group :development, :test do - gem 'byebug' gem 'bundler-audit' + gem 'debug' end # Specify your gem's dependencies in solargraph_rails.gemspec gemspec diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5f5444b..695b0a9 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,9 +1,9 @@ ENV['RAILS_ENV'] = 'test' +require 'debug' require 'solargraph' require 'solargraph-rails' require 'logger' -require 'byebug' require 'fileutils' require_relative './helpers' From 9574d0e820a377390b151e29f8407e6406bf9b6f Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 18:13:59 +0200 Subject: [PATCH 31/32] Update model spec to expect private relation types --- spec/solargraph-rails/model_spec.rb | 45 +++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/spec/solargraph-rails/model_spec.rb b/spec/solargraph-rails/model_spec.rb index d9bea48..9bb6c77 100644 --- a/spec/solargraph-rails/model_spec.rb +++ b/spec/solargraph-rails/model_spec.rb @@ -55,16 +55,16 @@ class Account < ActiveRecord::Base assert_public_instance_method( api_map, 'Account#transactions', - ['ActiveRecord::Associations::CollectionProxy'] + ['Transaction::ActiveRecord_Relation'] ) assert_public_instance_method( api_map, 'Account#things', - ['ActiveRecord::Associations::CollectionProxy'] + ['Thing::ActiveRecord_Relation'] ) end - it 'generates methods for scope' do + it 'exposes scopes as class methods' do load_string 'app/models/transaction.rb', <<-RUBY class Transaction < ActiveRecord::Base @@ -72,7 +72,23 @@ class Transaction < ActiveRecord::Base end RUBY - assert_class_method(api_map, 'Transaction.positive', ['Class']) + assert_class_method(api_map, 'Transaction.positive', ['Transaction::ActiveRecord_Relation']) + assert_public_instance_method(api_map, 'Transaction::ActiveRecord_Relation#positive', ['Transaction::ActiveRecord_Relation']) + end + + it 'exposes scopes as relation instance methods' do + load_string 'app/models/person.rb', + <<~RUBY + class Person < ActiveRecord::Base + scope :taller_than, ->(h) { where(height: h..) } + end + RUBY + + assert_public_instance_method( + api_map, + 'Person::ActiveRecord_Relation#taller_than', + ['Person::ActiveRecord_Relation'] + ) end it 'generates scope methods with parameters' do @@ -87,7 +103,7 @@ class Person < ActiveRecord::Base assert_class_method( api_map, 'Person.taller_than', - ['Class'] + ['Person::ActiveRecord_Relation'] ) do |pin| expect(pin.parameters).not_to be_empty expect(pin.parameters.first.name).to eq('min_height') @@ -111,10 +127,27 @@ def some_method assert_class_method( api_map, 'Person.taller_than', - ['Class'] + ['Person::ActiveRecord_Relation'] ) do |pin| expect(pin.parameters).not_to be_empty expect(pin.parameters.first.name).to eq('min_height') end end + + it 'exposes class methods as instance methods on relations', if: Solargraph::Rails::Delegate.supported? do + load_string 'app/models/person.rb', + <<~RUBY + class Person < ActiveRecord::Base + def self.taller_than(h) + where(height: h..) + end + end + RUBY + + assert_public_instance_method( + api_map, + 'Person::ActiveRecord_Relation#taller_than', + ['Person::ActiveRecord_Relation'] + ) + end end From 58901277dd866015bead5b00ee7ffb7a97b369b5 Mon Sep 17 00:00:00 2001 From: Stephen Sugden Date: Sun, 14 May 2023 20:53:29 +0200 Subject: [PATCH 32/32] Fix autocompletion in routes files --- lib/solargraph-rails.rb | 3 + .../rails/annotations/action_dispatch.rb | 16 ----- lib/solargraph/rails/routes_dsl.rb | 15 +++++ spec/solargraph-rails/rails7_spec.rb | 62 +++++++------------ 4 files changed, 40 insertions(+), 56 deletions(-) create mode 100644 lib/solargraph/rails/routes_dsl.rb diff --git a/lib/solargraph-rails.rb b/lib/solargraph-rails.rb index 193300c..0a50bd6 100644 --- a/lib/solargraph-rails.rb +++ b/lib/solargraph-rails.rb @@ -9,6 +9,7 @@ require_relative 'solargraph/rails/devise' require_relative 'solargraph/rails/walker' require_relative 'solargraph/rails/rails_api' +require_relative 'solargraph/rails/routes_dsl' require_relative 'solargraph/rails/delegate' require_relative 'solargraph/rails/storage' require_relative 'solargraph/rails/debug' @@ -33,6 +34,8 @@ def global(yard_map) end def local(source_map) + run_feature { RoutesDsl.local(source_map) } + pins = [] ds = source_map.document_symbols.select do |n| n.is_a?(Solargraph::Pin::Namespace) diff --git a/lib/solargraph/rails/annotations/action_dispatch.rb b/lib/solargraph/rails/annotations/action_dispatch.rb index cd850fa..266073c 100644 --- a/lib/solargraph/rails/annotations/action_dispatch.rb +++ b/lib/solargraph/rails/annotations/action_dispatch.rb @@ -1,20 +1,4 @@ module ActionDispatch - module Routing - class RouteSet - # @!method draw(&block) - # @yieldself [Mapper] - end - - class Mapper - include Resources - include Concerns - include Scoping - include Redirection - include HttpHelpers - include Base - end - end - module Flash class FlashHash # @return [ActionDispatch::Flash::FlashNow] diff --git a/lib/solargraph/rails/routes_dsl.rb b/lib/solargraph/rails/routes_dsl.rb new file mode 100644 index 0000000..cc02ea4 --- /dev/null +++ b/lib/solargraph/rails/routes_dsl.rb @@ -0,0 +1,15 @@ +module Solargraph + module Rails + module RoutesDsl + def self.local(source_map) + return unless source_map.filename.end_with?('routes.rb') + + block = source_map.pins.find do |pin| + pin.is_a?(Pin::Block) && pin.receiver&.source&.end_with?('.draw') + end + + block.instance_variable_set(:@binder, ComplexType.parse('ActionDispatch::Routing::Mapper')) if block + end + end + end +end diff --git a/spec/solargraph-rails/rails7_spec.rb b/spec/solargraph-rails/rails7_spec.rb index ceccde8..834a8dc 100644 --- a/spec/solargraph-rails/rails7_spec.rb +++ b/spec/solargraph-rails/rails7_spec.rb @@ -26,35 +26,17 @@ def index ) end - it 'can auto-complete inside routes' do - map = - use_workspace './spec/rails7' do |root| - root.write_file 'config/routes.rb', <<~EOS - Rails.application.routes.draw do - res - resource :things do - res - end - end - EOS - end - - filename = './config/routes.rb' - expect(completion_at(filename, [1, 5], map)).to include('resources') - expect(completion_at(filename, [3, 7], map)).to include('resources') - end - it 'can auto-complete inside mailers' do map = use_workspace './spec/rails7' do |root| root.write_file 'app/mailers/test_mailer.rb', <<~EOS - class TestMailer < ActionMailer::Base - defa - def welcome_email - ma + class TestMailer < ActionMailer::Base + defa + def welcome_email + ma + end end - end - EOS + EOS end filename = './app/mailers/test_mailer.rb' @@ -66,25 +48,25 @@ def welcome_email map = use_workspace './spec/rails7' do |root| root.write_file 'db/migrate/20130502114652_create_things.rb', <<~EOS - class CreateThings < ActiveRecord::Migration[7.0] - def self.up - crea - end - - def change - crea - create_table :things do |t| - t.col + class CreateThings < ActiveRecord::Migration[7.0] + def self.up + crea end - change_table :things do |t| - t.col - end - create_join_table :things do |t| - t.col + + def change + crea + create_table :things do |t| + t.col + end + change_table :things do |t| + t.col + end + create_join_table :things do |t| + t.col + end end end - end - EOS + EOS end filename = './db/migrate/20130502114652_create_things.rb'