├── .devcontainer └── devcontainer.json ├── .editorconfig ├── .gitattributes ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── comment_on_review.yml │ ├── generate_comment_body_on_review.yml │ ├── merge_on_comment.yml │ ├── pr_bot │ ├── changed_files.rb │ ├── check_merge_ability.rb │ ├── merge_ability.rb │ ├── review_result_comment_body.rb │ ├── strict_rubocop_config.rb │ ├── utils.rb │ └── welcome_comment_body.rb │ ├── rubocop.yml │ ├── test.yml │ └── welcome_comment.yml ├── .gitignore ├── .gitmodules ├── .rubocop.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── bin ├── check-untyped-call.rb ├── init_new_gem ├── rbs ├── run ├── setup └── test ├── docs ├── CONTRIBUTING.md └── SECURITY.md └── gems ├── abbrev ├── .rubocop.yml ├── 0.1 │ ├── _test │ │ └── test.rb │ ├── abbrev.rbs │ └── array.rbs └── _reviewers.yaml ├── actioncable ├── .rubocop.yml ├── 7.1 │ ├── _test │ │ └── test.rb │ └── actioncable.rbs └── _reviewers.yaml ├── actionmailer ├── .rubocop.yml ├── 7.0 │ ├── _test │ │ ├── metadata.yaml │ │ ├── railsguides.rb │ │ ├── railsguides.rbs │ │ └── test.rb │ ├── actionmailer.rbs │ ├── mail-message.rbs │ └── manifest.yaml └── _reviewers.yaml ├── actionpack ├── .rubocop.yml ├── 6.0 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── actioncontroller.rbs │ ├── actiondispatch.rbs │ ├── actionpack-generated.rbs │ ├── manifest.yaml │ └── patch.rbs ├── 7.2 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── actioncontroller-7.2.rbs │ ├── actioncontroller.rbs │ ├── actiondispatch.rbs │ ├── actionpack-generated.rbs │ └── patch.rbs └── _reviewers.yaml ├── actiontext ├── 7.2 │ ├── _test │ │ ├── metadata.yaml │ │ ├── test.rb │ │ └── test.rbs │ └── actiontext.rbs └── _reviewers.yaml ├── actionview ├── .rubocop.yml ├── 6.0 │ ├── actionview-generated.rbs │ ├── actionview.rbs │ └── patch.rbs └── _reviewers.yaml ├── active_decorator ├── .rubocop.yml └── 1.4 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── active_decorator.rbs ├── active_hash ├── .rubocop.yml └── 3.2 │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── active_file.rbs │ ├── active_hash.rbs │ ├── active_yaml.rbs │ ├── associations.rbs │ └── enum.rbs ├── active_model_serializers ├── .rubocop.yml └── 0.10 │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── active_model.rbs │ └── active_model_serializers.rbs ├── active_type ├── .rubocop.yml └── 2.6 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ ├── active_type.rbs │ └── manifest.yaml ├── activeadmin ├── .rubocop.yml └── 3.3 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ ├── activeadmin.rbs │ └── shims.rbs ├── activejob ├── .rubocop.yml ├── 6.0 │ ├── _test │ │ ├── activejob.rb │ │ ├── metadata.yaml │ │ └── send_message_job.rbs │ ├── activejob-generated.rbs │ ├── activejob.rbs │ └── patch.rbs └── _reviewers.yaml ├── activemerchant ├── 1.89 │ ├── _test │ │ ├── metadata.yaml │ │ └── test.rb │ ├── activemerchant.rbs │ └── manifest.yaml └── _reviewers.yaml ├── activemodel ├── .rubocop.yml ├── 6.0 │ ├── _test │ │ ├── steep_expectations.yml │ │ ├── test.rb │ │ └── test.rbs │ ├── activemodel-6.0.rbs │ ├── activemodel-generated.rbs │ └── activemodel.rbs ├── 7.0 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── activemodel-7.0.rbs │ ├── activemodel-generated.rbs │ ├── activemodel.rbs │ └── manifest.yaml ├── 7.1 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── activemodel-7.1.rbs │ ├── activemodel-generated.rbs │ ├── activemodel.rbs │ └── manifest.yaml └── _reviewers.yaml ├── activerecord-import ├── .rubocop.yml └── 1.5 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── activerecord-import.rbs ├── activerecord ├── .rubocop.yml ├── 6.0 │ ├── activerecord-6.0.rbs │ ├── activerecord-generated.rbs │ ├── activerecord.rbs │ ├── manifest.yaml │ ├── patch.rbs │ └── railties.rbs ├── 6.1 │ ├── activerecord-6.1.rbs │ ├── activerecord-generated.rbs │ ├── activerecord.rbs │ ├── manifest.yaml │ ├── patch.rbs │ └── railties.rbs ├── 7.0 │ ├── activerecord-7.0.rbs │ ├── activerecord-generated.rbs │ ├── activerecord.rbs │ ├── manifest.yaml │ ├── patch.rbs │ └── railties.rbs ├── 7.1 │ ├── activerecord-7.1.rbs │ ├── activerecord-generated.rbs │ ├── activerecord.rbs │ ├── manifest.yaml │ ├── patch.rbs │ └── railties.rbs ├── 7.2 │ ├── _test │ │ ├── activerecord-7.2.rb │ │ ├── activerecord-7.2.rbs │ │ ├── activerecord-generated.rb │ │ ├── activerecord-generated.rbs │ │ ├── activerecord-validation-contexts.rb │ │ ├── activerecord.rb │ │ ├── activerecord.rbs │ │ └── metadata.yaml │ ├── activerecord-7.2.rbs │ ├── activerecord-generated.rbs │ ├── activerecord.rbs │ ├── manifest.yaml │ ├── patch.rbs │ └── railties.rbs ├── 8.0 │ ├── _test │ │ ├── activerecord-8.0.rb │ │ ├── activerecord-8.0.rbs │ │ ├── activerecord-generated.rb │ │ ├── activerecord-generated.rbs │ │ ├── activerecord-validation-contexts.rb │ │ ├── activerecord.rb │ │ ├── activerecord.rbs │ │ └── metadata.yaml │ ├── activerecord-8.0.rbs │ ├── activerecord-generated.rbs │ ├── activerecord.rbs │ ├── manifest.yaml │ ├── patch.rbs │ └── railties.rbs ├── README.md └── _reviewers.yaml ├── activestorage ├── .rubocop.yml ├── 6.0 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── app │ │ └── models │ │ │ └── active_storage │ │ │ ├── attachment.rbs │ │ │ ├── blob.rbs │ │ │ └── current.rbs │ ├── lib │ │ ├── attached.rbs │ │ ├── attached │ │ │ ├── many.rbs │ │ │ ├── model.rbs │ │ │ └── one.rbs │ │ ├── engine.rbs │ │ └── reflection.rbs │ └── manifest.yaml ├── 6.1 │ ├── _test │ ├── app │ │ └── models │ │ │ └── active_storage │ │ │ ├── attachment.rbs │ │ │ ├── blob.rbs │ │ │ ├── current.rbs │ │ │ └── record.rbs │ ├── lib │ │ ├── attached.rbs │ │ ├── attached │ │ │ ├── many.rbs │ │ │ ├── model.rbs │ │ │ └── one.rbs │ │ ├── engine.rbs │ │ └── reflection.rbs │ └── manifest.yaml ├── 7.0 │ ├── _test │ ├── app │ │ └── models │ │ │ └── active_storage │ │ │ ├── attachment.rbs │ │ │ ├── blob.rbs │ │ │ ├── current.rbs │ │ │ └── record.rbs │ ├── lib │ │ ├── attached.rbs │ │ ├── attached │ │ │ ├── many.rbs │ │ │ ├── model.rbs │ │ │ └── one.rbs │ │ ├── engine.rbs │ │ └── reflection.rbs │ └── manifest.yaml └── _reviewers.yaml ├── activesupport ├── .rubocop.yml ├── 6.0 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── activesupport-6.0.rbs │ ├── activesupport-generated.rbs │ ├── activesupport.rbs │ ├── manifest.yaml │ └── patch.rbs ├── 7.0 │ ├── _test │ │ └── test.rb │ ├── activesupport-7.0.rbs │ ├── activesupport-generated.rbs │ ├── activesupport.rbs │ ├── manifest.yaml │ └── patch.rbs └── _reviewers.yaml ├── addressable ├── .rubocop.yml └── 2.8 │ ├── _test │ └── test.rb │ └── addressable.rbs ├── arbre ├── .rubocop.yml └── 1.7 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── arbre.rbs ├── ast ├── 2.4 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ └── ast.rbs └── _reviewers.yaml ├── async ├── .rubocop.yml └── 2.12 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ ├── async.rbs │ ├── kernel.rbs │ └── manifest.yaml ├── base64 ├── .rubocop.yml ├── 0.1 │ ├── _test │ │ └── test.rb │ └── base64.rbs └── _reviewers.yaml ├── bcrypt ├── .rubocop.yml └── 3.1 │ ├── _test │ └── test.rb │ ├── bcrypt.rbs │ └── manifest.yaml ├── bigdecimal ├── .rubocop.yml ├── 3.1 │ ├── _test │ │ └── test.rb │ ├── bigdecimal-math.rbs │ └── bigdecimal.rbs └── _reviewers.yaml ├── binding_of_caller ├── .rubocop.yml └── 1.0 │ ├── _test │ └── test.rb │ └── binding_of_caller.rbs ├── browser ├── .rubocop.yml └── 5.3 │ ├── _test │ └── test.rb │ └── browser.rbs ├── business_time ├── .rubocop.yml ├── 0.13 │ ├── _test │ │ └── test.rb │ ├── business_time.rbs │ ├── business_time │ │ ├── business_days.rbs │ │ ├── business_hours.rbs │ │ ├── config.rbs │ │ ├── parsed_time.rbs │ │ └── time_extensions.rbs │ └── core_ext.rbs └── _reviewers.yaml ├── cancancan ├── .rubocop.yml └── 3.5 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ └── cancancan.rbs ├── carrierwave ├── .rubocop.yml └── 3.0 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── carrierwave.rbs ├── caxlsx ├── .rubocop.yml └── 4.2 │ ├── _test │ └── test.rb │ ├── caxlsx.rbs │ └── constants.rbs ├── chartkick ├── .rubocop.yml └── 5.0 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── chartkick.rbs ├── chronic ├── .rubocop.yml └── 0.10 │ ├── _test │ └── test.rb │ └── chronic.rbs ├── chunky_png └── 1.4.0 │ ├── _test │ ├── metadata.yaml │ ├── test_1.rb │ ├── test_2.rb │ ├── test_3.rb │ ├── test_4.rb │ └── test_5.rb │ ├── chunk.rbs │ ├── chunky_png.rbs │ └── color.rbs ├── circuitbox ├── 2.0 │ ├── _test │ │ └── test.rb │ ├── circuitbox.rbs │ └── manifest.yaml └── _reviewers.yaml ├── climate_control ├── .rubocop.yml ├── 1.2 │ ├── _test │ │ ├── metadata.yaml │ │ └── test.rb │ ├── climate_control.rbs │ └── manifest.yaml └── _reviewers.yaml ├── code_ownership ├── .rubocop.yml ├── 1.39 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ └── code_ownership.rbs └── _reviewers.yaml ├── code_teams ├── .rubocop.yml ├── 1.0 │ ├── _test │ │ └── test.rb │ └── code_teams.rbs └── _reviewers.yaml ├── commonmarker ├── .rubocop.yml └── 1.1 │ ├── _test │ └── test.rb │ └── commonmarker.rbs ├── concurrent-ruby └── 1.1 │ ├── _test │ ├── array.rb │ ├── executor.rb │ ├── hash.rb │ ├── map.rb │ └── promises.rb │ ├── array.rbs │ ├── executor.rbs │ ├── hash.rbs │ ├── map.rbs │ ├── promises.rbs │ └── utility │ └── processor_counter.rbs ├── config └── 5.5 │ ├── _test │ └── test.rb │ └── config.rbs ├── connection_pool ├── .rubocop.yml └── 2.4 │ ├── _test │ └── test.rb │ ├── connection_pool.rbs │ └── manifest.yaml ├── csv ├── .rubocop.yml ├── 3.3 │ ├── _test │ │ └── test.rb │ ├── csv.rbs │ └── manifest.yaml └── _reviewers.yaml ├── delayed_job └── 4.1 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ ├── lifecycle.rbs │ ├── message_sending.rbs │ └── worker.rbs ├── delayed_job_active_record └── 4.1 │ ├── _test │ └── test.rb │ └── active_record.rbs ├── devise ├── .rubocop.yml └── 4.9 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ └── devise.rbs ├── diff-lcs └── 1.5 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ └── diff-lcs.rbs ├── dogstatsd-ruby ├── 5.5 │ ├── _test │ │ └── test.rb │ ├── dogstatsd-ruby.rbs │ └── manifest.yaml └── _reviewers.yaml ├── dotenv-rails ├── .rubocop.yml └── 2.8 │ ├── _test │ ├── env_files │ │ ├── file1.env │ │ └── file2.env │ └── test.rb │ └── dotenv-rails.rbs ├── email_address └── 0.2 │ ├── _test │ └── test.rb │ └── email_address.rbs ├── enumerize ├── .rubocop.yml └── 2.5 │ ├── README.md │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── enumerize-generated.rbs │ └── patch.rbs ├── faker ├── 2.23 │ ├── _test │ │ └── test.rb │ ├── faker-2.23.rbs │ └── faker.rbs └── 3.4.2 │ ├── _test │ └── test.rb │ ├── faker-2.23.rbs │ └── faker.rbs ├── faraday ├── 2.5 │ ├── _test │ │ ├── test.rb │ │ ├── test_adapter.rb │ │ ├── test_adapter.rbs │ │ ├── test_adapter_registry.rb │ │ ├── test_adapter_test.rb │ │ ├── test_errors.rb │ │ └── test_utils_headers.rb │ ├── faraday.rbs │ └── manifest.yaml ├── 2.7 │ ├── _test │ │ ├── metadata.yaml │ │ ├── test.rb │ │ └── test_errors.rb │ ├── faraday-2.7.rbs │ ├── faraday.rbs │ └── manifest.yaml └── _reviewers.yaml ├── fcm ├── .rubocop.yml └── 2.0 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── fcm.rbs ├── flexirest ├── .rubocop.yml └── 1.12 │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── base.rbs │ ├── base_without_validation.rbs │ ├── caching.rbs │ ├── callbacks.rbs │ ├── configuration.rbs │ ├── connection.rbs │ ├── flexirest.rbs │ ├── headers_list.rbs │ ├── mapping.rbs │ └── request.rbs ├── flipper └── 0.28 │ ├── _test │ ├── test_basic.rb │ └── test_configuring_default.rb │ ├── flipper.rbs │ ├── flipper │ ├── actor.rbs │ ├── adapter.rbs │ ├── adapters │ │ └── memory.rbs │ ├── configuration.rbs │ └── dsl.rbs │ └── manifest.yaml ├── geocoder ├── .rubocop.yml └── 1.8 │ ├── _test │ ├── models.rb │ ├── models.rbs │ └── test_basic_search.rb │ ├── geocoder.rbs │ └── geocoder │ ├── query.rbs │ └── results │ └── base.rbs ├── gimei ├── .rubocop.yml └── 1.1 │ ├── _test │ └── test.rb │ └── gimei.rbs ├── globalid ├── 1.1 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ ├── globalid.rbs │ ├── identification.rbs │ ├── manifest.yaml │ └── signed_global_id.rbs └── _reviewers.yaml ├── google-apis-bigquery_v2 ├── .rubocop.yml └── 0.76 │ ├── _test │ └── test.rb │ ├── bigquery_v2.rbs │ ├── classes.rbs │ ├── representations.rbs │ └── service.rbs ├── google-apis-core ├── .rubocop.yml └── 0.15 │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── base_service.rbs │ ├── hashable.rbs │ ├── json_representation.rbs │ ├── logging.rbs │ └── manifest.yaml ├── google-cloud-errors ├── .rubocop.yml └── 1.5 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ ├── google-cloud-errors.rbs │ └── manifest.yaml ├── google-cloud-firestore └── 2.15 │ ├── _test │ └── test.rb │ ├── google-cloud-firestore.rbs │ └── google-cloud-firestore │ ├── document_reference.rbs │ └── document_snapshot.rbs ├── google-protobuf └── 3.22 │ ├── _test │ └── test.rb │ ├── abstract_message.rbs │ ├── descriptor.rbs │ ├── descriptor_pool.rbs │ ├── descriptor_proto.rbs │ ├── enum_descriptor.rbs │ ├── enum_descriptor_proto.rbs │ ├── enum_options.rbs │ ├── enum_value_descriptor_proto.rbs │ ├── enum_value_options.rbs │ ├── errors.rbs │ ├── extension_range_options.rbs │ ├── field_descriptor.rbs │ ├── field_descriptor_proto.rbs │ ├── field_options.rbs │ ├── file_descriptor.rbs │ ├── file_descriptor_proto.rbs │ ├── file_descriptor_set.rbs │ ├── file_options.rbs │ ├── generated_code_info.rbs │ ├── internal.rbs │ ├── manifest.yaml │ ├── map.rbs │ ├── message_exts.rbs │ ├── method_descriptor_proto.rbs │ ├── method_options.rbs │ ├── oneof_descriptor.rbs │ ├── oneof_descriptor_proto.rbs │ ├── oneof_options.rbs │ ├── protobuf.rbs │ ├── repeated_field.rbs │ ├── service_descriptor_proto.rbs │ ├── service_options.rbs │ └── well_known_types │ ├── any.rbs │ ├── duration.rbs │ ├── field_mask.rbs │ ├── list_value.rbs │ ├── null_value.rbs │ ├── struct.rbs │ ├── timestamp.rbs │ ├── unexpected_struct_type.rbs │ └── value.rbs ├── googleauth ├── .rubocop.yml └── 1.11 │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── credentials.rbs │ ├── credentials_loader.rbs │ ├── json_key_reader.rbs │ └── service_account.rbs ├── graphql └── 1.12 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── graphql.rbs ├── grpc ├── .rubocop.yml └── 1.63 │ ├── _test │ └── test.rb │ └── grpc.rbs ├── hashdiff └── 1.1 │ ├── _test │ └── test.rb │ └── hashdiff.rbs ├── hashie ├── .rubocop.yml └── 5.0 │ ├── _test │ └── test.rb │ └── hashie.rbs ├── holiday_jp └── 0.8 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ └── holiday_jp.rbs ├── holidays ├── .rubocop.yml └── 8.4 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ └── holidays.rbs ├── http └── 5.1 │ ├── _test │ └── test.rb │ ├── http.rbs │ └── manifest.yaml ├── httparty └── 0.18 │ ├── _test │ ├── test_1.rb │ ├── test_1.rbs │ └── test_2.rb │ ├── httparty.rbs │ └── manifest.yaml ├── httpclient ├── .rubocop.yml ├── 2.8 │ ├── _test │ │ └── test.rb │ ├── httpclient.rbs │ └── manifest.yaml └── _reviewers.yaml ├── i18n ├── 1.10 │ ├── _test │ │ ├── config │ │ │ └── locales │ │ │ │ ├── en.yml │ │ │ │ └── ja.yml │ │ └── test.rb │ ├── backend.rbs │ └── i18n.rbs └── _reviewers.yaml ├── json-jwt ├── .rubocop.yml └── 1.16 │ ├── _test │ └── test.rb │ ├── json-jwt.rbs │ └── manifest.yaml ├── jwt └── 2.5 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── jwt.rbs ├── kaminari-actionview ├── .rubocop.yml └── 1.2 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ └── kaminari-actionview.rbs ├── kaminari-activerecord └── 1.2 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── kaminari-activerecord.rbs ├── kaminari-core └── 1.2 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── kaminari-core.rbs ├── launchdarkly-server-sdk ├── 6.4 │ ├── _test │ │ └── test.rb │ ├── launchdarkly-server-sdk.rbs │ ├── ldclient-rb.rbs │ ├── ldclient-rb │ │ ├── cache_store.rbs │ │ ├── config.rbs │ │ ├── evaluation_detail.rbs │ │ ├── events.rbs │ │ ├── expiring_cache.rbs │ │ ├── file_data_source.rbs │ │ ├── flags_state.rbs │ │ ├── impl.rbs │ │ ├── impl │ │ │ ├── big_segments.rbs │ │ │ ├── diagnostic_events.rbs │ │ │ ├── evaluator.rbs │ │ │ ├── evaluator_bucketing.rbs │ │ │ ├── evaluator_helpers.rbs │ │ │ ├── evaluator_operators.rbs │ │ │ ├── event_sender.rbs │ │ │ ├── event_summarizer.rbs │ │ │ ├── event_types.rbs │ │ │ ├── integrations │ │ │ │ ├── consul_impl.rbs │ │ │ │ ├── dynamodb_impl.rbs │ │ │ │ ├── file_data_source.rbs │ │ │ │ ├── redis_impl.rbs │ │ │ │ └── test_data │ │ │ │ │ └── test_data_source.rbs │ │ │ ├── model │ │ │ │ ├── preprocessed_data.rbs │ │ │ │ └── serialization.rbs │ │ │ ├── repeating_task.rbs │ │ │ ├── store_client_wrapper.rbs │ │ │ ├── store_data_set_sorter.rbs │ │ │ ├── unbounded_pool.rbs │ │ │ └── util.rbs │ │ ├── in_memory_store.rbs │ │ ├── integrations.rbs │ │ ├── integrations │ │ │ ├── consul.rbs │ │ │ ├── dynamodb.rbs │ │ │ ├── file_data.rbs │ │ │ ├── redis.rbs │ │ │ ├── test_data.rbs │ │ │ ├── test_data │ │ │ │ └── flag_builder.rbs │ │ │ └── util │ │ │ │ └── store_wrapper.rbs │ │ ├── interfaces.rbs │ │ ├── ldclient.rbs │ │ ├── memoized_value.rbs │ │ ├── newrelic.rbs │ │ ├── non_blocking_thread_pool.rbs │ │ ├── polling.rbs │ │ ├── redis_store.rbs │ │ ├── requestor.rbs │ │ ├── simple_lru_cache.rbs │ │ ├── stream.rbs │ │ ├── user_filter.rbs │ │ ├── util.rbs │ │ └── version.rbs │ ├── manifest.yaml │ └── stub.rbs ├── 7.2 │ ├── _test │ │ ├── multi_context.rb │ │ ├── non_user_context.rb │ │ └── test.rb │ ├── launchdarkly-server-sdk.rbs │ ├── ldclient-rb.rbs │ ├── ldclient-rb │ │ ├── cache_store.rbs │ │ ├── config.rbs │ │ ├── context.rbs │ │ ├── evaluation_detail.rbs │ │ ├── events.rbs │ │ ├── expiring_cache.rbs │ │ ├── flags_state.rbs │ │ ├── impl.rbs │ │ ├── impl │ │ │ ├── big_segments.rbs │ │ │ ├── broadcaster.rbs │ │ │ ├── context.rbs │ │ │ ├── context_filter.rbs │ │ │ ├── data_source.rbs │ │ │ ├── data_store.rbs │ │ │ ├── dependency_tracker.rbs │ │ │ ├── diagnostic_events.rbs │ │ │ ├── evaluator.rbs │ │ │ ├── evaluator_bucketing.rbs │ │ │ ├── evaluator_helpers.rbs │ │ │ ├── evaluator_operators.rbs │ │ │ ├── event_sender.rbs │ │ │ ├── event_summarizer.rbs │ │ │ ├── event_types.rbs │ │ │ ├── flag_tracker.rbs │ │ │ ├── integrations │ │ │ │ ├── consul_impl.rbs │ │ │ │ ├── dynamodb_impl.rbs │ │ │ │ ├── file_data_source.rbs │ │ │ │ ├── redis_impl.rbs │ │ │ │ └── test_data │ │ │ │ │ └── test_data_source.rbs │ │ │ ├── model │ │ │ │ ├── clause.rbs │ │ │ │ ├── feature_flag.rbs │ │ │ │ ├── preprocessed_data.rbs │ │ │ │ ├── segment.rbs │ │ │ │ └── serialization.rbs │ │ │ ├── repeating_task.rbs │ │ │ ├── store_client_wrapper.rbs │ │ │ ├── store_data_set_sorter.rbs │ │ │ ├── unbounded_pool.rbs │ │ │ └── util.rbs │ │ ├── in_memory_store.rbs │ │ ├── integrations.rbs │ │ ├── integrations │ │ │ ├── consul.rbs │ │ │ ├── dynamodb.rbs │ │ │ ├── file_data.rbs │ │ │ ├── redis.rbs │ │ │ ├── test_data.rbs │ │ │ ├── test_data │ │ │ │ └── flag_builder.rbs │ │ │ └── util │ │ │ │ └── store_wrapper.rbs │ │ ├── interfaces.rbs │ │ ├── ldclient.rbs │ │ ├── memoized_value.rbs │ │ ├── non_blocking_thread_pool.rbs │ │ ├── polling.rbs │ │ ├── reference.rbs │ │ ├── requestor.rbs │ │ ├── simple_lru_cache.rbs │ │ ├── stream.rbs │ │ ├── util.rbs │ │ └── version.rbs │ ├── manifest.yaml │ └── stub.rbs └── _reviewers.yaml ├── line-bot-api └── 1.25 │ ├── _test │ └── test.rb │ ├── line-bot-api.rbs │ └── manifest.yaml ├── listen └── 3.9 │ ├── _test │ ├── test.rb │ ├── test2.rb │ └── test3.rb │ ├── listen.rbs │ └── listener.rbs ├── mail └── 2.8 │ ├── _test │ └── test.rb │ └── mail.rbs ├── marcel ├── .rubocop.yml └── 1.0 │ ├── _test │ └── test.rb │ ├── manifest.yaml │ └── marcel.rbs ├── mime-types └── 3.5 │ ├── _test │ ├── test_mime_type.rb │ └── test_mime_types.rb │ ├── manifest.yaml │ └── mime │ ├── type.rbs │ ├── types.rbs │ └── types │ ├── container.rbs │ └── registry.rbs ├── mini_magick ├── 4.13 │ ├── _test │ │ ├── metadata.yaml │ │ ├── readme.rb │ │ └── test.rb │ ├── manifest.yaml │ └── mini_magick.rbs ├── 5.0 │ ├── _test │ │ ├── metadata.yaml │ │ ├── readme.rb │ │ └── test.rb │ ├── manifest.yaml │ └── mini_magick.rbs └── _reviewers.yaml ├── mini_mime ├── 0.1 │ ├── _test │ │ └── test.rb │ └── mini_mime.rbs └── _reviewers.yaml ├── minitest ├── .rubocop.yml ├── 5.25 │ ├── _test │ │ └── test.rb │ ├── minitest.rbs │ └── minitest │ │ ├── abstract_reporter.rbs │ │ ├── assertion.rbs │ │ ├── assertions.rbs │ │ ├── backtrace_filter.rbs │ │ ├── bench_spec.rbs │ │ ├── benchmark.rbs │ │ ├── composite_reporter.rbs │ │ ├── compress.rbs │ │ ├── error_on_warning.rbs │ │ ├── expectation.rbs │ │ ├── expectations.rbs │ │ ├── guard.rbs │ │ ├── mock.rbs │ │ ├── parallel.rbs │ │ ├── parallel │ │ ├── executor.rbs │ │ ├── test.rbs │ │ └── test │ │ │ └── class_methods.rbs │ │ ├── pride_io.rbs │ │ ├── pride_lol.rbs │ │ ├── progress_reporter.rbs │ │ ├── reportable.rbs │ │ ├── reporter.rbs │ │ ├── result.rbs │ │ ├── runnable.rbs │ │ ├── skip.rbs │ │ ├── spec.rbs │ │ ├── spec │ │ ├── dsl.rbs │ │ └── dsl │ │ │ └── instance_methods.rbs │ │ ├── statistics_reporter.rbs │ │ ├── summary_reporter.rbs │ │ ├── test.rbs │ │ ├── test │ │ └── lifecycle_hooks.rbs │ │ ├── unexpected_error.rbs │ │ ├── unexpected_warning.rbs │ │ ├── unit.rbs │ │ └── unit │ │ └── test_case.rbs └── _reviewers.yaml ├── moji ├── .rubocop.yml └── 1.6 │ ├── _test │ └── test.rb │ └── moji.rbs ├── moneta ├── 1.6 │ ├── _test │ │ └── test.rb │ ├── manifest.yaml │ └── moneta.rbs └── _reviewers.yaml ├── mysql2-cs-bind ├── .rubocop.yml └── 0.1 │ ├── _test │ └── xquery.rb │ └── mysql2-cs-bind.rbs ├── mysql2 ├── .rubocop.yml └── 0.5 │ ├── _test │ ├── client.rb │ ├── error_handling.rb │ ├── new.rb │ ├── query.rb │ ├── result.rb │ ├── row_value_type.rb │ └── statement.rb │ ├── client.rbs │ ├── error.rbs │ ├── manifest.yaml │ ├── result.rbs │ └── statement.rbs ├── net-smtp ├── .rubocop.yml ├── 0.5 │ ├── manifest.yaml │ └── net-smtp.rbs └── _reviewers.yaml ├── nkf ├── .rubocop.yml ├── 0.2 │ ├── _test │ │ └── test.rb │ └── nkf.rbs └── _reviewers.yaml ├── nokogiri └── 1.11 │ ├── _test │ └── test.rb │ ├── nokogiri.rbs │ └── patch.rbs ├── observer ├── .rubocop.yml ├── 0.1 │ ├── _test │ │ └── test.rb │ └── observable.rbs └── _reviewers.yaml ├── octokit ├── .rubocop.yml └── 8.0 │ ├── _test │ └── test.rb │ └── octokit.rbs ├── oga ├── .rubocop.yml └── 3.4 │ ├── _test │ └── test.rb │ └── oga.rbs ├── openid_connect ├── .rubocop.yml └── 2.3 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── openid_connect.rbs ├── operator_recordable ├── .rubocop.yml └── 2.0 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── operator_recordable.rbs ├── parallel ├── 1.20 │ ├── _test │ │ ├── all.rb │ │ ├── any.rb │ │ ├── control.rb │ │ ├── each.rb │ │ ├── map.rb │ │ ├── number.rb │ │ └── queue.rb │ └── parallel.rbs └── _reviewers.yaml ├── paranoia ├── 2.5 │ ├── _test │ │ ├── product.rbs │ │ └── test.rb │ └── paranoia.rbs └── _reviewers.yaml ├── parser ├── 3.2 │ ├── _test │ │ └── test.rb │ ├── manifest.yaml │ ├── parser.rbs │ └── polyfill.rbs └── _reviewers.yaml ├── prime └── 0.1.2 │ ├── integer-extension.rbs │ ├── manifest.yaml │ └── prime.rbs ├── protobuf ├── .rubocop.yml └── 3.10.3 │ ├── _test │ ├── enum.rb │ ├── enum.rbs │ ├── messages.rb │ ├── messages.rbs │ ├── services.rb │ ├── services.rbs │ └── steep_expectations.yml │ ├── enum.rbs │ ├── field.rbs │ ├── interface.rbs │ ├── message.rbs │ ├── optionable.rbs │ ├── rpc_method.rbs │ └── service.rbs ├── rack-oauth2 ├── .rubocop.yml └── 2.2 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── rack-oauth2.rbs ├── rack ├── .rubocop.yml └── 2.2 │ ├── _test │ ├── body_proxy.rb │ ├── string_body.rb │ └── test.rb │ ├── manifest.yaml │ └── rack.rbs ├── rails-dom-testing ├── .rubocop.yml ├── 2.0 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ └── rails-dom-testing.rbs └── _reviewers.yaml ├── rails-html-sanitizer ├── .rubocop.yml └── 1.6 │ ├── _test │ └── test.rb │ └── rails-html-sanitizer.rbs ├── railties ├── .rubocop.yml ├── 6.0 │ ├── _scripts │ │ └── generate.rb │ ├── manifest.yaml │ ├── patch.rbs │ ├── railties-generated.rbs │ └── railties.rbs └── _reviewers.yaml ├── rainbow ├── 3.0 │ ├── _scripts │ │ └── gen_x11_colors.rb │ ├── _test │ │ └── rainbow_test.rb │ ├── global.rbs │ ├── presenter.rbs │ └── rainbow.rbs └── _reviewers.yaml ├── rake └── 13.0 │ ├── _test │ ├── test.rb │ └── test.rbs │ ├── manifest.yaml │ └── rake.rbs ├── recaptcha ├── .rubocop.yml └── 5.15 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ └── recaptcha.rbs ├── redis ├── .rubocop.yml └── 4.2 │ ├── _test │ ├── alternate_drivers.rb │ ├── cluster.rb │ ├── error_handling.rb │ ├── expert-mode-options.rb │ ├── get_set.rb │ ├── initialize.rb │ ├── metadata.yaml │ ├── mset_mget.rb │ ├── multi.rb │ ├── pipeline.rb │ ├── reconnect.rb │ ├── sentinels.rb │ ├── sorted_sets.rb │ ├── ssl.rb │ └── timeout.rb │ ├── errors.rbs │ ├── future.rbs │ └── redis.rbs ├── regexp_parser ├── .rubocop.yml └── 2.8 │ ├── _test │ └── test.rb │ └── regexp_parser.rbs ├── regexp_trie ├── .rubocop.yml └── 1.0 │ ├── _test │ └── test.rb │ └── regexp_trie.rbs ├── request_store ├── .rubocop.yml └── 1.5 │ ├── _test │ └── test.rb │ └── request_store.rbs ├── rest-client ├── .rubocop.yml └── 2.1 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ ├── exceptions.rbs │ ├── manifest.yaml │ └── rest-client.rbs ├── retries ├── .rubocop.yml └── 0.0.5 │ ├── _test │ └── test.rb │ └── retries.rbs ├── retryable ├── 3.0 │ ├── _test │ │ └── test.rb │ ├── manifest.yaml │ └── retryable.rbs └── _reviewers.yaml ├── rolify ├── .rubocop.yml ├── 6.0 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ └── rolify.rbs └── _reviewers.yaml ├── roo ├── 2.10 │ ├── _test │ │ ├── csv_test.rb │ │ ├── excelx_test.rb │ │ ├── metadata.yaml │ │ └── open_office_test.rb │ ├── manifest.yaml │ ├── roo.rbs │ └── roo │ │ ├── base.rbs │ │ ├── constants.rbs │ │ ├── csv.rbs │ │ ├── errors.rbs │ │ ├── excelx.rbs │ │ ├── excelx │ │ ├── cell.rbs │ │ ├── cell │ │ │ ├── base.rbs │ │ │ ├── boolean.rbs │ │ │ ├── date.rbs │ │ │ ├── datetime.rbs │ │ │ ├── empty.rbs │ │ │ ├── number.rbs │ │ │ ├── string.rbs │ │ │ └── time.rbs │ │ ├── comments.rbs │ │ ├── coordinate.rbs │ │ ├── extractor.rbs │ │ ├── format.rbs │ │ ├── images.rbs │ │ ├── relationships.rbs │ │ ├── shared.rbs │ │ ├── shared_strings.rbs │ │ ├── sheet.rbs │ │ ├── sheet_doc.rbs │ │ ├── styles.rbs │ │ └── workbook.rbs │ │ ├── font.rbs │ │ ├── formatters │ │ ├── base.rbs │ │ ├── csv.rbs │ │ ├── matrix.rbs │ │ ├── xml.rbs │ │ └── yaml.rbs │ │ ├── helpers │ │ ├── default_attr_reader.rbs │ │ └── weak_instance_cache.rbs │ │ ├── libre_office.rbs │ │ ├── link.rbs │ │ ├── open_office.rbs │ │ ├── spreadsheet.rbs │ │ ├── tempdir.rbs │ │ ├── utils.rbs │ │ └── version.rbs └── _reviewers.yaml ├── rqrcode ├── .rubocop.yml └── 2.2 │ ├── _test │ └── test.rb │ └── rqrcode.rbs ├── rubocop-ast ├── .rubocop.yml └── 1.30 │ ├── _test │ └── test.rb │ └── rubocop-ast.rbs ├── rubocop ├── .rubocop.yml └── 1.57 │ ├── _test │ └── test.rb │ └── rubocop.rbs ├── rubyzip ├── .rubocop.yml └── 2.3 │ ├── _test │ └── test_example.rb │ └── zip │ ├── central_directory.rbs │ ├── entry.rbs │ ├── entry_set.rbs │ ├── file.rbs │ ├── input_stream.rbs │ ├── ioextras.rbs │ ├── ioextras │ ├── abstract_input_stream.rbs │ └── abstract_output_stream.rbs │ └── output_stream.rbs ├── scanf ├── .rubocop.yml └── 1.0 │ ├── _test │ └── test.rb │ └── scanf.rbs ├── sentry-ruby ├── .rubocop.yml └── 5.2 │ ├── _test │ ├── foo_middleware.rbs │ ├── metadata.yaml │ ├── test.rb │ └── test_rack.rb │ └── sentry-ruby.rbs ├── shoryuken ├── .rubocop.yml └── 6.0 │ ├── _pending_test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ ├── client.rbs │ ├── logging.rbs │ ├── manifest.yaml │ ├── middleware.rbs │ ├── options.rbs │ ├── queue.rbs │ ├── shoryuken.rbs │ └── worker.rbs ├── shrine ├── .rubocop.yml └── 3.6 │ ├── _test │ ├── metadata.yaml │ ├── test.rb │ └── test.rbs │ ├── manifest.yaml │ ├── shrine.rbs │ └── shrine │ ├── attacher.rbs │ ├── attachment.rbs │ ├── storage.rbs │ └── uploaded_file.rbs ├── sidekiq-cron ├── .rubocop.yml └── 2.2 │ ├── _test │ └── test.rb │ └── sidekiq-cron.rbs ├── sidekiq-ent ├── .rubocop.yml ├── 7.3 │ └── sidekiq-ent.rbs └── _reviewers.yaml ├── sidekiq-pro ├── .rubocop.yml ├── 7.3 │ └── sidekiq-pro.rbs └── _reviewers.yaml ├── sidekiq ├── .rubocop.yml ├── 6.2 │ ├── _test │ │ ├── test_1.rb │ │ ├── test_1_2.rbs │ │ ├── test_2.rb │ │ ├── test_3.rb │ │ ├── test_3_4_5.rbs │ │ ├── test_4.rb │ │ └── test_5.rb │ ├── api.rbs │ ├── manifest.yaml │ ├── redis_connection.rbs │ └── sidekiq.rbs ├── 6.3 │ ├── _test │ │ ├── test_1.rb │ │ ├── test_1_2.rbs │ │ ├── test_2.rb │ │ ├── test_3.rb │ │ ├── test_3_4_5.rbs │ │ ├── test_4.rb │ │ └── test_5.rb │ ├── api.rbs │ ├── manifest.yaml │ ├── redis_connection.rbs │ └── sidekiq.rbs └── 7.0 │ ├── _test │ ├── test_1.rb │ ├── test_1_2.rbs │ ├── test_2.rb │ ├── test_3.rb │ ├── test_3_4_5.rbs │ ├── test_4.rb │ └── test_5.rb │ ├── api.rbs │ ├── capsule.rbs │ ├── client.rbs │ ├── component.rbs │ ├── config.rbs │ ├── embedded.rbs │ ├── job.rbs │ ├── job_util.rbs │ ├── logger.rbs │ ├── manifest.yaml │ ├── middleware.rbs │ ├── redis_client_adapter.rbs │ ├── redis_connection.rbs │ ├── scheduled.rbs │ ├── sidekiq.rbs │ └── transaction_aware_client.rbs ├── signet ├── .rubocop.yml └── 0.19 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── signet.rbs ├── simple_oauth ├── .rubocop.yml └── 0.3 │ ├── _test │ └── test.rb │ ├── manifest.yaml │ └── simple_oauth.rbs ├── simplecov ├── 0.22 │ ├── _test │ │ ├── test.rb │ │ └── test.rbs │ └── simplecov.rbs └── _reviewers.yaml ├── sinatra-contrib ├── 4.0 │ ├── cookies.rbs │ ├── json.rbs │ └── reloader.rbs └── _reviewers.yaml ├── sinatra ├── 4.0 │ ├── _test │ │ ├── metadata.yaml │ │ ├── test.rb │ │ └── test.rbs │ ├── base.rbs │ ├── indifferent_hash.rbs │ └── manifest.yaml └── _reviewers.yaml ├── slack-notifier ├── 2.4 │ ├── _test │ │ ├── http_client.rbs │ │ ├── middleware.rbs │ │ └── test.rb │ └── slack-notifier.rbs └── _reviewers.yaml ├── sorcery ├── .rubocop.yml └── 0.16 │ ├── _test │ ├── test.rb │ └── test.rbs │ └── sorcery.rbs ├── spreadsheet ├── .rubocop.yml └── 1.3 │ ├── _test │ └── test.rb │ └── spreadsheat.rbs ├── sqlite3 ├── .rubocop.yml └── 2.0 │ ├── _test │ └── test.rb │ ├── database.rbs │ └── pragmas.rbs ├── stackprof ├── 0.2 │ ├── _test │ │ └── test.rb │ └── stackprof.rbs └── _reviewers.yaml ├── stripe ├── .rubocop.yml ├── 13.0 │ ├── _generator │ │ └── openapi.rb │ ├── _test │ │ └── stripe.rb │ ├── stripe.rbs │ └── stripe │ │ ├── address.rbs │ │ ├── charge.rbs │ │ ├── customer.rbs │ │ ├── errors.rbs │ │ ├── event.rbs │ │ ├── payment_intent.rbs │ │ ├── payment_method.rbs │ │ ├── price.rbs │ │ ├── product.rbs │ │ ├── refund.rbs │ │ └── source.rbs └── _reviewers.yaml ├── thor ├── .rubocop.yml └── 1.2 │ ├── _test │ └── test.rb │ ├── manifest.yaml │ └── thor.rbs ├── tzinfo ├── .rubocop.yml └── 2.0 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ ├── manifest.yaml │ └── tzinfo.rbs ├── ulid ├── .rubocop.yml └── 1.3 │ ├── _test │ └── ulid_test.rb │ └── ulid.rbs ├── wavedash ├── .rubocop.yml └── 0.1 │ ├── _test │ └── test.rb │ └── wavedash.rbs ├── web-push ├── .rubocop.yml └── 3.0 │ ├── _test │ ├── metadata.yaml │ └── test.rb │ └── web-push.rbs ├── webmock ├── .rubocop.yml └── 3.19 │ ├── _test │ └── test.rb │ ├── manifest.yaml │ └── webmock.rbs ├── woothee ├── .rubocop.yml └── 1.11 │ ├── _test │ └── test.rb │ └── woothee.rbs ├── yard ├── 0.9 │ ├── EXTERNAL_TODO.rbs │ ├── _generators │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── generate.rb │ │ ├── known_sig │ │ │ ├── symbol_hash.rbs │ │ │ └── tags.rbs │ │ ├── rbs_collection.lock.yaml │ │ ├── rbs_collection.yaml │ │ └── templates │ │ │ ├── EXTERNAL_TODO.rbs.erb │ │ │ ├── _test │ │ │ └── yard.rb.erb │ │ │ └── manifest.yaml.erb │ ├── _test │ │ └── yard.rb │ ├── manifest.yaml │ ├── symbol_hash.rbs │ ├── yard.rbs │ └── yard │ │ ├── cli.rbs │ │ ├── code_objects.rbs │ │ ├── config.rbs │ │ ├── docstring.rbs │ │ ├── docstring_parser.rbs │ │ ├── gem_index.rbs │ │ ├── handlers.rbs │ │ ├── i18n.rbs │ │ ├── logger.rbs │ │ ├── options.rbs │ │ ├── parser.rbs │ │ ├── rake.rbs │ │ ├── registry.rbs │ │ ├── registry_resolver.rbs │ │ ├── registry_store.rbs │ │ ├── serializers.rbs │ │ ├── server.rbs │ │ ├── stub_proxy.rbs │ │ ├── tags.rbs │ │ ├── templates.rbs │ │ └── verifier.rbs └── _reviewers.yaml └── zengin_code ├── .rubocop.yml └── 1.0 ├── _test └── test.rb └── zengin_code.rbs /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gem_rbs_collection--dev", 3 | "image": "ruby:latest", 4 | "workspaceFolder": "/workspaces/gem_rbs_collection", 5 | "customizations": { 6 | "vscode": { 7 | "extensions": [ 8 | "soutaro.rbs-syntax", 9 | "Shopify.ruby-extensions-pack" 10 | ] 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | indent_size = 2 6 | indent_style = space 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | charset = utf-8 10 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | .gitmodules merge=union 2 | .github/CODEOWNERS merge=union 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | /.github/ @pocke 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "bundler" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | - package-ecosystem: 'github-actions' 8 | directory: '/' 9 | schedule: 10 | interval: 'weekly' 11 | -------------------------------------------------------------------------------- /.github/workflows/pr_bot/changed_files.rb: -------------------------------------------------------------------------------- 1 | require_relative "./utils" 2 | 3 | paths = `git diff --name-only -z #{BASE_SHA}...#{HEAD_SHA}`.split("\0") 4 | changed_gems = paths.select { _1.start_with?("gems/") }.map { _1.split("/")[1] }.uniq 5 | changed_non_gems = paths.reject { _1.start_with?("gems/") } 6 | 7 | output :gems, JSON.generate(changed_gems) 8 | output :non_gems, JSON.generate(changed_non_gems) 9 | -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- 1 | name: RuboCop 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: {} 8 | 9 | jobs: 10 | rubocop: 11 | runs-on: ubuntu-latest 12 | timeout-minutes: 30 13 | steps: 14 | - uses: actions/checkout@v4 15 | - uses: ruby/setup-ruby@v1 16 | with: 17 | ruby-version: '3.3' 18 | bundler-cache: true 19 | - name: 'Install dependencies' 20 | run: 'bundle install' 21 | - name: 'Run RuboCop' 22 | run: 'bundle exec rubocop --format github' 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | tmp 2 | .gem_rbs_collection 3 | .yardoc 4 | /gems/*/*/_test/Steepfile 5 | /gems/*/*/_test/rbs_collection.lock.yaml 6 | /gems/*/*/_test/rbs_collection.yaml 7 | /gems/*/*/_test/Gemfile.back 8 | /gems/*/*/_test/Gemfile.lock.back 9 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "rbs" 4 | gem "steep" 5 | gem "typeprof" 6 | gem "rake" 7 | gem 'rubocop-on-rbs' 8 | -------------------------------------------------------------------------------- /bin/rbs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euo pipefail 3 | IFS=$'\n\t' 4 | 5 | ROOT_DIR=$(cd $(dirname $0)/..; pwd) 6 | 7 | bundle exec --gemfile=${ROOT_DIR}/Gemfile rbs $* 8 | -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euo pipefail 3 | IFS=$'\n\t' 4 | set -v 5 | 6 | ROOT_DIR=$(cd $(dirname $0)/..; pwd) 7 | 8 | bundle install --gemfile=${ROOT_DIR}/Gemfile 9 | gem install rbs:$(bundle exec gem list rbs | ruby -e 'puts gets[/([0-9.]+)/, 1]') 10 | -------------------------------------------------------------------------------- /gems/abbrev/0.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "abbrev" 5 | 6 | Abbrev.abbrev([]) 7 | Abbrev.abbrev(%w(abbrev)) 8 | Abbrev.abbrev(%w(abbrev), 'abb') 9 | Abbrev.abbrev(%w(abbrev), /^abb/) 10 | Abbrev.abbrev(%w(abbrev), nil) 11 | -------------------------------------------------------------------------------- /gems/abbrev/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | -------------------------------------------------------------------------------- /gems/actioncable/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/actioncable/7.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "actioncable" 5 | -------------------------------------------------------------------------------- /gems/actioncable/7.1/actioncable.rbs: -------------------------------------------------------------------------------- 1 | module ActionCable 2 | module Connection 3 | class Base 4 | end 5 | end 6 | 7 | module Channel 8 | class Base 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /gems/actioncable/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | - tk0miya 4 | -------------------------------------------------------------------------------- /gems/actionmailer/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/actionmailer/7.0/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - railties 3 | -------------------------------------------------------------------------------- /gems/actionmailer/7.0/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "actionmailer" 5 | -------------------------------------------------------------------------------- /gems/actionmailer/7.0/mail-message.rbs: -------------------------------------------------------------------------------- 1 | module Mail 2 | class Message 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /gems/actionmailer/7.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: cgi 8 | - name: date 9 | - name: logger 10 | - name: monitor 11 | - name: mutex_m 12 | - name: singleton 13 | - name: time 14 | - name: tsort 15 | -------------------------------------------------------------------------------- /gems/actionmailer/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | - ydah 4 | - tk0miya 5 | -------------------------------------------------------------------------------- /gems/actionpack/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/actionpack/6.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | module After 3 | def self.after: (ActionController::Base) -> untyped 4 | end 5 | 6 | def controller_instance_method: () -> untyped 7 | def authenticate: () -> untyped 8 | def fetch: () -> void 9 | end 10 | -------------------------------------------------------------------------------- /gems/actionpack/6.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: delegate 3 | - name: minitest 4 | -------------------------------------------------------------------------------- /gems/actionpack/7.2/_test/test.rb: -------------------------------------------------------------------------------- 1 | class FooController < ActionController::Base 2 | allow_browser versions: :modern 3 | end 4 | 5 | class BarController < ActionController::Base 6 | allow_browser versions: { safari: 17.5, chrome: 127, ie: false }, block: -> { head :not_acceptable } 7 | end 8 | -------------------------------------------------------------------------------- /gems/actionpack/7.2/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class FooController < ActionController::Base 2 | end 3 | 4 | class BarController < ActionController::Base 5 | end 6 | -------------------------------------------------------------------------------- /gems/actionpack/7.2/actioncontroller-7.2.rbs: -------------------------------------------------------------------------------- 1 | module ActionController 2 | module AllowBrowser 3 | extend ActiveSupport::Concern 4 | 5 | module ClassMethods 6 | def allow_browser: (versions: :modern | Hash[untyped, false | _ToS], ?block: ^() [self: Base] -> void, **untyped options) -> void 7 | end 8 | end 9 | 10 | class Base < Metal 11 | extend AllowBrowser::ClassMethods 12 | end 13 | end 14 | 15 | -------------------------------------------------------------------------------- /gems/actionpack/7.2/actioncontroller.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/actioncontroller.rbs -------------------------------------------------------------------------------- /gems/actionpack/7.2/actiondispatch.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/actiondispatch.rbs -------------------------------------------------------------------------------- /gems/actionpack/7.2/actionpack-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/actionpack-generated.rbs -------------------------------------------------------------------------------- /gems/actionpack/7.2/patch.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/patch.rbs -------------------------------------------------------------------------------- /gems/actionpack/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | - tk0miya 4 | -------------------------------------------------------------------------------- /gems/actiontext/7.2/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - activerecord 3 | -------------------------------------------------------------------------------- /gems/actiontext/7.2/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "actiontext" 2 | 3 | class Article < ActiveRecord::Base 4 | has_rich_text :content 5 | end 6 | -------------------------------------------------------------------------------- /gems/actiontext/7.2/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Article < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /gems/actiontext/7.2/actiontext.rbs: -------------------------------------------------------------------------------- 1 | module ActionText 2 | module Attribute 3 | module ClassMethods 4 | def has_rich_text: (String | Symbol name, ?encrypted: bool, ?strict_loading: bool) -> void 5 | def with_all_rich_text: () -> untyped 6 | def rich_text_association_names: () -> Array[String] 7 | end 8 | end 9 | end 10 | 11 | module ActiveRecord 12 | class Base 13 | include ActionText::Attribute 14 | extend ActionText::Attribute::ClassMethods 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /gems/actiontext/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - tk0miya 3 | -------------------------------------------------------------------------------- /gems/actionview/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/actionview/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | - ydah 4 | - tk0miya 5 | -------------------------------------------------------------------------------- /gems/active_decorator/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/active_decorator/1.4/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "active_decorator" 2 | 3 | class User; end 4 | user = User.new 5 | 6 | ActiveDecorator::Decorator.instance 7 | ActiveDecorator::Decorator.instance.decorate(user) 8 | 9 | ActiveDecorator::ViewContext.current 10 | -------------------------------------------------------------------------------- /gems/active_decorator/1.4/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class User 2 | end 3 | -------------------------------------------------------------------------------- /gems/active_decorator/1.4/active_decorator.rbs: -------------------------------------------------------------------------------- 1 | module ActiveDecorator 2 | class Decorator 3 | def self?.instance: () -> ActiveDecorator::Decorator 4 | def decorate: (untyped obj) -> untyped 5 | end 6 | 7 | module ViewContext 8 | def self.current: () -> (untyped | []) 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /gems/active_hash/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/active_hash/3.2/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Colour < ActiveHash::Base 2 | include ActiveHash::Enum 3 | extend ActiveHash::Enum::Methods 4 | end 5 | 6 | class Pallete < ActiveHash::Base 7 | include ActiveHash::Associations 8 | extend ActiveHash::Associations::Methods 9 | end 10 | -------------------------------------------------------------------------------- /gems/active_hash/3.2/active_file.rbs: -------------------------------------------------------------------------------- 1 | module ActiveFile 2 | class Base < ActiveHash::Base 3 | def self.set_root_path: (String) -> void 4 | def self.set_filename: (String) -> void 5 | def self.reload: (bool) -> void 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /gems/active_hash/3.2/active_yaml.rbs: -------------------------------------------------------------------------------- 1 | module ActiveYaml 2 | class Base < ActiveFile::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /gems/active_hash/3.2/enum.rbs: -------------------------------------------------------------------------------- 1 | module ActiveHash 2 | module Enum 3 | module Methods 4 | def enum_accessor: (*untyped field_names) -> void 5 | end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /gems/active_model_serializers/0.10/active_model_serializers.rbs: -------------------------------------------------------------------------------- 1 | module ActiveModelSerializers 2 | class Model 3 | def self.attributes: (*Symbol) -> void 4 | 5 | def initialize: (**untyped) -> void 6 | end 7 | 8 | class SerializableResource 9 | def initialize: (untyped resource, ?Hash[Symbol, untyped] options) -> void 10 | def to_json: () -> String 11 | def as_json: () -> Hash[Symbol, untyped] 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /gems/active_type/2.6/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/active_type/2.6/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/activeadmin/3.3/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - devise 3 | -------------------------------------------------------------------------------- /gems/activeadmin/3.3/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "activeadmin" 5 | 6 | class SessionsController < ActiveAdmin::Devise::SessionsController 7 | end 8 | 9 | class TestPanel < ActiveAdmin::Views::Panel 10 | builder_method :test_panel 11 | end 12 | 13 | class TestStatusTag < ActiveAdmin::Views::StatusTag 14 | builder_method :test_status_tag 15 | end 16 | -------------------------------------------------------------------------------- /gems/activeadmin/3.3/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class SessionsController < ActiveAdmin::Devise::SessionsController 2 | end 3 | 4 | class TestPanel < ActiveAdmin::Views::Panel 5 | end 6 | 7 | class TestStatusTag < ActiveAdmin::Views::StatusTag 8 | end 9 | -------------------------------------------------------------------------------- /gems/activeadmin/3.3/activeadmin.rbs: -------------------------------------------------------------------------------- 1 | module ActiveAdmin 2 | module Devise 3 | class SessionsController < ::Devise::SessionsController 4 | end 5 | end 6 | 7 | class Component < Arbre::Component 8 | end 9 | 10 | module Views 11 | class Panel < Component 12 | end 13 | 14 | class StatusTag < Component 15 | end 16 | end 17 | 18 | class Page 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /gems/activeadmin/3.3/shims.rbs: -------------------------------------------------------------------------------- 1 | # Avoid class missing issue when using activeadmin but not using devise. 2 | module Devise 3 | class SessionsController 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /gems/activejob/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/activejob/6.0/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - railties 3 | -------------------------------------------------------------------------------- /gems/activejob/6.0/_test/send_message_job.rbs: -------------------------------------------------------------------------------- 1 | class SendMessageJob < ActiveJob::Base 2 | def perform: (*untyped) -> void 3 | 4 | private 5 | 6 | def around_task: () -> void 7 | end 8 | -------------------------------------------------------------------------------- /gems/activejob/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | - tk0miya 4 | -------------------------------------------------------------------------------- /gems/activemerchant/1.89/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/activemerchant/1.89/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/activemerchant/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - hibariya 3 | -------------------------------------------------------------------------------- /gems/activemodel/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/activemodel/6.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Person 2 | include ActiveModel::Model 3 | include ActiveModel::Validations 4 | extend ActiveModel::Validations::ClassMethods 5 | 6 | attr_accessor name: String 7 | attr_accessor age: Integer 8 | attr_accessor email: String 9 | 10 | def foo?: () -> bool 11 | def should_be_satisfied_special_email_rule: () -> void 12 | end 13 | -------------------------------------------------------------------------------- /gems/activemodel/7.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Person 2 | include ActiveModel::Model 3 | include ActiveModel::Validations 4 | extend ActiveModel::Validations::ClassMethods 5 | 6 | attr_accessor name: String? 7 | attr_accessor email: String? 8 | 9 | def should_be_satisfied_special_email_rule: () -> void 10 | end 11 | -------------------------------------------------------------------------------- /gems/activemodel/7.0/activemodel-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activemodel-generated.rbs -------------------------------------------------------------------------------- /gems/activemodel/7.0/activemodel.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activemodel.rbs -------------------------------------------------------------------------------- /gems/activemodel/7.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: logger 9 | - name: monitor 10 | - name: mutex_m 11 | - name: singleton 12 | - name: time 13 | -------------------------------------------------------------------------------- /gems/activemodel/7.1/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Person 2 | include ActiveModel::Attributes 3 | extend ActiveModel::Attributes::ClassMethods 4 | include ActiveModel::AttributeRegistration 5 | extend ActiveModel::AttributeRegistration::ClassMethods 6 | include ActiveModel::Validations 7 | extend ActiveModel::Validations::ClassMethods 8 | 9 | attr_accessor name: String? 10 | end 11 | -------------------------------------------------------------------------------- /gems/activemodel/7.1/activemodel-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activemodel-generated.rbs -------------------------------------------------------------------------------- /gems/activemodel/7.1/activemodel.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activemodel.rbs -------------------------------------------------------------------------------- /gems/activemodel/7.1/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: logger 9 | - name: monitor 10 | - name: mutex_m 11 | - name: singleton 12 | - name: time 13 | -------------------------------------------------------------------------------- /gems/activemodel/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - hibariya 3 | - ksss 4 | - tk0miya 5 | -------------------------------------------------------------------------------- /gems/activerecord-import/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/activerecord-import/1.5/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Book < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /gems/activerecord/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | # Please specify only supported versions. 4 | RBS/Layout: 5 | Enabled: true 6 | Include: 7 | - "gems/activerecord/7.2/**/*.rbs" 8 | - "gems/activerecord/8.0/**/*.rbs" 9 | RBS/Lint: 10 | Enabled: true 11 | Include: 12 | - "gems/activerecord/7.2/**/*.rbs" 13 | - "gems/activerecord/8.0/**/*.rbs" 14 | RBS/Style: 15 | Enabled: true 16 | Include: 17 | - "gems/activerecord/7.2/**/*.rbs" 18 | - "gems/activerecord/8.0/**/*.rbs" 19 | -------------------------------------------------------------------------------- /gems/activerecord/6.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: delegate 3 | -------------------------------------------------------------------------------- /gems/activerecord/6.1/activerecord-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activerecord-generated.rbs -------------------------------------------------------------------------------- /gems/activerecord/6.1/activerecord.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activerecord.rbs -------------------------------------------------------------------------------- /gems/activerecord/6.1/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: delegate 3 | -------------------------------------------------------------------------------- /gems/activerecord/6.1/patch.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/patch.rbs -------------------------------------------------------------------------------- /gems/activerecord/6.1/railties.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/railties.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.0/activerecord-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activerecord-generated.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.0/activerecord.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activerecord.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: delegate 9 | - name: logger 10 | - name: monitor 11 | - name: mutex_m 12 | - name: singleton 13 | - name: time 14 | -------------------------------------------------------------------------------- /gems/activerecord/7.0/patch.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/patch.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.0/railties.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/railties.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.1/activerecord-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activerecord-generated.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.1/activerecord.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activerecord.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.1/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: delegate 9 | - name: logger 10 | - name: monitor 11 | - name: mutex_m 12 | - name: singleton 13 | - name: time 14 | -------------------------------------------------------------------------------- /gems/activerecord/7.1/patch.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/patch.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.1/railties.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/railties.rbs -------------------------------------------------------------------------------- /gems/activerecord/7.2/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - actionpack 3 | -------------------------------------------------------------------------------- /gems/activerecord/7.2/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: delegate 9 | - name: logger 10 | - name: monitor 11 | - name: mutex_m 12 | - name: singleton 13 | - name: time 14 | -------------------------------------------------------------------------------- /gems/activerecord/8.0/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - actionpack 3 | -------------------------------------------------------------------------------- /gems/activerecord/8.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: delegate 9 | - name: logger 10 | - name: monitor 11 | - name: mutex_m 12 | - name: singleton 13 | - name: time 14 | -------------------------------------------------------------------------------- /gems/activerecord/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - hibariya 3 | - ksss 4 | - Little-Rubyist 5 | - tk0miya 6 | -------------------------------------------------------------------------------- /gems/activestorage/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/activestorage/6.0/_test/test.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | has_one_attached :one_image 3 | has_many_attached :many_image 4 | end 5 | 6 | user = User.new 7 | one = ActiveStorage::Attached::One.new("one_image", user) 8 | one.url 9 | -------------------------------------------------------------------------------- /gems/activestorage/6.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /gems/activestorage/6.0/app/models/active_storage/current.rbs: -------------------------------------------------------------------------------- 1 | module ActiveStorage 2 | class Current < ActiveSupport::CurrentAttributes 3 | def self.host: () -> String 4 | def self.host=: (String) -> String 5 | def host: () -> String 6 | def host=: (String) -> String 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /gems/activestorage/6.0/lib/attached.rbs: -------------------------------------------------------------------------------- 1 | module ActiveStorage 2 | # Abstract base class for the concrete ActiveStorage::Attached::One and ActiveStorage::Attached::Many 3 | # classes that both provide proxy access to the blob association for a record. 4 | class Attached 5 | attr_reader name: String 6 | 7 | attr_reader record: untyped # Model 8 | 9 | def initialize: (String name, untyped record) -> void 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /gems/activestorage/6.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: tempfile 3 | -------------------------------------------------------------------------------- /gems/activestorage/6.1/_test: -------------------------------------------------------------------------------- 1 | ../6.0/_test -------------------------------------------------------------------------------- /gems/activestorage/6.1/app/models/active_storage/current.rbs: -------------------------------------------------------------------------------- 1 | ../../../../6.0/app/models/active_storage/current.rbs -------------------------------------------------------------------------------- /gems/activestorage/6.1/app/models/active_storage/record.rbs: -------------------------------------------------------------------------------- 1 | class ActiveStorage::Record < ActiveRecord::Base #:nodoc: 2 | end 3 | -------------------------------------------------------------------------------- /gems/activestorage/6.1/lib/attached.rbs: -------------------------------------------------------------------------------- 1 | ../../6.0/lib/attached.rbs -------------------------------------------------------------------------------- /gems/activestorage/6.1/lib/attached/many.rbs: -------------------------------------------------------------------------------- 1 | ../../../6.0/lib/attached/many.rbs -------------------------------------------------------------------------------- /gems/activestorage/6.1/lib/attached/one.rbs: -------------------------------------------------------------------------------- 1 | ../../../6.0/lib/attached/one.rbs -------------------------------------------------------------------------------- /gems/activestorage/6.1/lib/engine.rbs: -------------------------------------------------------------------------------- 1 | ../../6.0/lib/engine.rbs -------------------------------------------------------------------------------- /gems/activestorage/6.1/lib/reflection.rbs: -------------------------------------------------------------------------------- 1 | ../../6.0/lib/reflection.rbs -------------------------------------------------------------------------------- /gems/activestorage/6.1/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: tempfile 3 | -------------------------------------------------------------------------------- /gems/activestorage/7.0/_test: -------------------------------------------------------------------------------- 1 | ../6.0/_test -------------------------------------------------------------------------------- /gems/activestorage/7.0/app/models/active_storage/attachment.rbs: -------------------------------------------------------------------------------- 1 | ../../../../6.1/app/models/active_storage/attachment.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/app/models/active_storage/blob.rbs: -------------------------------------------------------------------------------- 1 | ../../../../6.1/app/models/active_storage/blob.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/app/models/active_storage/current.rbs: -------------------------------------------------------------------------------- 1 | module ActiveStorage 2 | class Current < ActiveSupport::CurrentAttributes 3 | def self.url_options: () -> Hash[Symbol, untyped] 4 | def self.url_options=: (Hash[Symbol, untyped]) -> Hash[Symbol, untyped] 5 | def url_options: () -> Hash[Symbol, untyped] 6 | def url_options=: (Hash[Symbol, untyped]) -> Hash[Symbol, untyped] 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /gems/activestorage/7.0/app/models/active_storage/record.rbs: -------------------------------------------------------------------------------- 1 | ../../../../6.1/app/models/active_storage/record.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/lib/attached.rbs: -------------------------------------------------------------------------------- 1 | ../../6.0/lib/attached.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/lib/attached/many.rbs: -------------------------------------------------------------------------------- 1 | ../../../6.0/lib/attached/many.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/lib/attached/model.rbs: -------------------------------------------------------------------------------- 1 | ../../../6.1/lib/attached/model.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/lib/attached/one.rbs: -------------------------------------------------------------------------------- 1 | ../../../6.0/lib/attached/one.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/lib/engine.rbs: -------------------------------------------------------------------------------- 1 | ../../6.0/lib/engine.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/lib/reflection.rbs: -------------------------------------------------------------------------------- 1 | ../../6.0/lib/reflection.rbs -------------------------------------------------------------------------------- /gems/activestorage/7.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | ../6.0/manifest.yaml -------------------------------------------------------------------------------- /gems/activestorage/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | - tk0miya 4 | -------------------------------------------------------------------------------- /gems/activesupport/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/activesupport/6.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class TestAttrInternal 2 | end 3 | -------------------------------------------------------------------------------- /gems/activesupport/6.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: monitor 3 | - name: date 4 | - name: singleton 5 | - name: logger 6 | - name: minitest 7 | - name: mutex_m 8 | - name: time 9 | - name: openssl 10 | - name: pathname 11 | - name: securerandom 12 | - name: erb 13 | -------------------------------------------------------------------------------- /gems/activesupport/7.0/activesupport-generated.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activesupport-generated.rbs -------------------------------------------------------------------------------- /gems/activesupport/7.0/activesupport.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/activesupport.rbs -------------------------------------------------------------------------------- /gems/activesupport/7.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: date 8 | - name: logger 9 | - name: minitest 10 | - name: monitor 11 | - name: mutex_m 12 | - name: openssl 13 | - name: singleton 14 | - name: time 15 | - name: securerandom 16 | - name: erb 17 | -------------------------------------------------------------------------------- /gems/activesupport/7.0/patch.rbs: -------------------------------------------------------------------------------- 1 | ../6.0/patch.rbs -------------------------------------------------------------------------------- /gems/activesupport/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - hibariya 3 | - ksss 4 | - ydah 5 | - tk0miya 6 | -------------------------------------------------------------------------------- /gems/addressable/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/arbre/1.7/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "arbre" 2 | 3 | class CustomComponent < Arbre::Component 4 | builder_method :custom_component 5 | end 6 | -------------------------------------------------------------------------------- /gems/arbre/1.7/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class CustomComponent < Arbre::Component 2 | end 3 | -------------------------------------------------------------------------------- /gems/arbre/1.7/arbre.rbs: -------------------------------------------------------------------------------- 1 | module Arbre 2 | class Element 3 | module BuilderMethods 4 | module ClassMethods 5 | def builder_method: (_ToS) -> void 6 | end 7 | end 8 | 9 | extend BuilderMethods::ClassMethods 10 | end 11 | 12 | module HTML 13 | class Tag < Element 14 | end 15 | 16 | class Div < Tag 17 | end 18 | end 19 | 20 | class Component < HTML::Div 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /gems/ast/2.4/_test/test.rbs: -------------------------------------------------------------------------------- 1 | module Kernel 2 | def String!: (String) -> void 3 | def Symbol!: (Symbol) -> void 4 | def Array!: (Array[untyped]) -> void 5 | def Node!: (AST::Node) -> void 6 | def Bool!: (bool) -> void 7 | end 8 | 9 | class X 10 | extend AST::Sexp 11 | end 12 | -------------------------------------------------------------------------------- /gems/ast/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - pocke 3 | -------------------------------------------------------------------------------- /gems/async/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/async/2.12/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/async/2.12/kernel.rbs: -------------------------------------------------------------------------------- 1 | module Kernel 2 | def Async: [Result] (*untyped arguments, **untyped options) { (::Async::Task[untyped], *untyped) -> Result } -> ::Async::Task[Result] 3 | 4 | def Sync: [Result] () { (::Async::Task[untyped]) -> Result } -> Result 5 | end 6 | -------------------------------------------------------------------------------- /gems/async/2.12/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/base64/0.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "base64" 5 | 6 | Base64.decode64(Base64.encode64("")) 7 | Base64.strict_decode64(Base64.strict_encode64("")) 8 | Base64.urlsafe_decode64(Base64.urlsafe_encode64("")) 9 | Base64.urlsafe_decode64(Base64.urlsafe_encode64("", padding: "true")) 10 | -------------------------------------------------------------------------------- /gems/base64/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | -------------------------------------------------------------------------------- /gems/bcrypt/3.1/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: openssl 3 | -------------------------------------------------------------------------------- /gems/bigdecimal/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | -------------------------------------------------------------------------------- /gems/binding_of_caller/1.0/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "binding_of_caller" 2 | 3 | BindingOfCaller::VERSION 4 | 5 | binding.of_caller(1) 6 | binding.callers 7 | binding.frame_count 8 | binding.frame_type 9 | binding.frame_description 10 | -------------------------------------------------------------------------------- /gems/binding_of_caller/1.0/binding_of_caller.rbs: -------------------------------------------------------------------------------- 1 | module BindingOfCaller 2 | VERSION: String 3 | 4 | module BindingExtensions 5 | def of_caller: (Integer) -> Binding 6 | def callers: () -> Array[Binding] 7 | def frame_count: () -> Integer 8 | def frame_type: () -> Symbol? 9 | def frame_description: () -> String? 10 | end 11 | end 12 | 13 | class Binding 14 | include BindingOfCaller::BindingExtensions 15 | end 16 | -------------------------------------------------------------------------------- /gems/browser/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/business_time/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/business_time/0.13/business_time.rbs: -------------------------------------------------------------------------------- 1 | module BusinessTime 2 | VERSION: String 3 | end 4 | -------------------------------------------------------------------------------- /gems/business_time/0.13/business_time/parsed_time.rbs: -------------------------------------------------------------------------------- 1 | module BusinessTime 2 | class ParsedTime 3 | include Comparable 4 | 5 | attr_reader hour: Integer 6 | attr_reader min: Integer 7 | attr_reader sec: Integer 8 | 9 | def initialize: (Integer hour, ?Integer min, ?Integer sec) -> void 10 | 11 | def self.parse: (Time | String time_or_string) -> BusinessTime::ParsedTime 12 | 13 | def to_s: () -> String 14 | 15 | def -: (Time other) -> Integer 16 | 17 | def <=>: (untyped other) -> Integer? 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /gems/business_time/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | -------------------------------------------------------------------------------- /gems/cancancan/3.5/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - 'activerecord' 3 | - 'actionpack' 4 | -------------------------------------------------------------------------------- /gems/cancancan/3.5/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class User 2 | def admin?: () -> bool 3 | end 4 | 5 | class Post < ActiveRecord::Base 6 | end 7 | 8 | class Ability 9 | include CanCan::Ability 10 | 11 | def initialize: (User user) -> void 12 | end 13 | 14 | class TestController < ActionController::Base 15 | @post: Post 16 | 17 | def show: () -> void 18 | end 19 | -------------------------------------------------------------------------------- /gems/carrierwave/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/carrierwave/3.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class AvatarUploader < CarrierWave::Uploader::Base 2 | end 3 | 4 | class MyUploader < CarrierWave::Uploader::Base 5 | include CarrierWave::RMagick 6 | end 7 | 8 | class ApplicationRecord < ActiveRecord::Base 9 | end 10 | 11 | class User < ApplicationRecord 12 | def avatar: () -> AvatarUploader 13 | end 14 | -------------------------------------------------------------------------------- /gems/caxlsx/4.2/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "caxlsx" 2 | 3 | package = Axlsx::Package.new 4 | package.to_stream 5 | io = package.to_stream(true) 6 | io.read if io 7 | 8 | workbook = package.workbook 9 | workbook.add_worksheet( 10 | name: 'worksheet name', 11 | ) 12 | -------------------------------------------------------------------------------- /gems/caxlsx/4.2/caxlsx.rbs: -------------------------------------------------------------------------------- 1 | module Axlsx 2 | class Package 3 | def to_stream: (?bool) -> (StringIO | false) 4 | def workbook: () ?{ (Workbook) -> void } -> Workbook 5 | end 6 | 7 | class Workbook 8 | def add_worksheet: (*untyped options) ?{ (Worksheet) -> void } -> Worksheet 9 | end 10 | 11 | class Worksheet 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /gems/chartkick/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/chartkick/5.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | module Example 2 | include ChartKick::Helper 3 | 4 | def example: () -> void 5 | end 6 | -------------------------------------------------------------------------------- /gems/chronic/0.10/chronic.rbs: -------------------------------------------------------------------------------- 1 | # Classes 2 | module Chronic 3 | def self.parse: (String text, ?context: (:future | :past), ?now: untyped, ?hours24: boolish, ?week_start: (:sunday | :monday), ?guess: (bool | :begin | :middle | :end), ?ambiguous_time_range: (Integer | :none), ?endian_precedence: (:middle | :little | Array[:middle | :little]), ?ambiguous_year_future_bias: Integer ) -> untyped 4 | end 5 | -------------------------------------------------------------------------------- /gems/chunky_png/1.4.0/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - zlib 3 | -------------------------------------------------------------------------------- /gems/chunky_png/1.4.0/_test/test_1.rb: -------------------------------------------------------------------------------- 1 | # Basic API usage - Color, Dimension 2 | png = ChunkyPNG::Image.new(128, 128, ChunkyPNG::Color::TRANSPARENT) 3 | png[1, 1] = ChunkyPNG::Color.rgba(10, 20, 30, 128) 4 | png[2, 1] = ChunkyPNG::Color('black @ 0.5') 5 | png[3, 1] = ChunkyPNG::Color.rgb(255, 0, 128) 6 | png.metadata['title'] = 'Test image' 7 | puts png.metadata['title'] 8 | puts png.dimension.height.to_s 9 | puts png.dimension.width.to_s 10 | -------------------------------------------------------------------------------- /gems/chunky_png/1.4.0/_test/test_2.rb: -------------------------------------------------------------------------------- 1 | # Loading Data - Datastream/StreamImport 2 | image = ChunkyPNG::Image.from_rgba_stream(128, 128, File.read('pixeldata.rgba')) 3 | image = ChunkyPNG::Image.from_rgb_stream(128, 128, File.read('pixeldata.rgb')) 4 | image = ChunkyPNG::Image.from_file('file.png') 5 | File.open('file.png', 'rb') { |io| image = ChunkyPNG::Image.from_io(io) } 6 | image = ChunkyPNG::Image.from_blob(File.read('file.png')) 7 | -------------------------------------------------------------------------------- /gems/chunky_png/1.4.0/_test/test_4.rb: -------------------------------------------------------------------------------- 1 | image = ChunkyPNG::Image.from_rgba_stream(128, 128, File.read('pixeldata.rgba')) # or 2 | image.save('filename.png', :best_compression) 3 | File.open('newfile.png', 'wb' ) { |io| image.write(io) } 4 | png_data = image.to_blob(:fast_rgba) 5 | image.save('filename.png', :color_mode => ChunkyPNG::COLOR_INDEXED, :compression => Zlib::NO_COMPRESSION, :interlace => true) 6 | -------------------------------------------------------------------------------- /gems/circuitbox/2.0/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/circuitbox/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - yykamei 3 | -------------------------------------------------------------------------------- /gems/climate_control/1.2/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/climate_control/1.2/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "climate_control" 2 | 3 | a = ClimateControl.modify(ABC: "abc", MY_VAR1: "var1", EDITOR: nil) do 4 | "#{ENV['ABC']} #{ENV['MY_VAR1']}" 5 | end 6 | a.upcase 7 | 8 | xs = ClimateControl.unsafe_modify(XYZ: nil, MY_VAR2: "var2") do 9 | [ENV["MY_VAR2"]] 10 | end 11 | xs.detect { |x| x == "var1" } 12 | -------------------------------------------------------------------------------- /gems/climate_control/1.2/climate_control.rbs: -------------------------------------------------------------------------------- 1 | module ClimateControl 2 | def self.modify: [T] (?Hash[_ToS, String?] environment_overrides) { () -> T } -> T 3 | def self.unsafe_modify: [T] (?Hash[_ToS, String?] environment_overrides) { () -> T } -> T 4 | end 5 | -------------------------------------------------------------------------------- /gems/climate_control/1.2/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/climate_control/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - yykamei 3 | -------------------------------------------------------------------------------- /gems/code_ownership/1.39/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "code_ownership" 2 | 3 | class TestClass 4 | end 5 | 6 | CodeOwnership.for_class(TestClass)&.name 7 | CodeOwnership.for_file('/path/to/file.rb')&.name 8 | 9 | begin 10 | raise "error" 11 | rescue StandardError => e 12 | CodeOwnership.for_backtrace(e.backtrace)&.name 13 | end 14 | 15 | CodeOwnership.for_team('My Team') 16 | -------------------------------------------------------------------------------- /gems/code_ownership/1.39/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class TestClass 2 | end 3 | -------------------------------------------------------------------------------- /gems/code_ownership/1.39/code_ownership.rbs: -------------------------------------------------------------------------------- 1 | module CodeOwnership 2 | def self.for_file: (String) -> CodeTeams::Team? 3 | def self.for_team: (CodeTeams::Team | String) -> String 4 | def self.for_backtrace: (Array[String]?, ?excluded_teams: Array[CodeTeams::Team]) -> CodeTeams::Team? 5 | def self.for_class: (Class | Module) -> CodeTeams::Team? 6 | def self.validate!: (?autocorrect: bool, ?stage_changes: bool, files: Array[String]?) -> void 7 | end 8 | -------------------------------------------------------------------------------- /gems/code_ownership/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - euglena1215 3 | -------------------------------------------------------------------------------- /gems/code_teams/1.0/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "code_teams" 2 | 3 | team = CodeTeams.find('My Team') 4 | team.name if team 5 | -------------------------------------------------------------------------------- /gems/code_teams/1.0/code_teams.rbs: -------------------------------------------------------------------------------- 1 | module CodeTeams 2 | def self.all: () -> Array[Team] 3 | def self.find: (String) -> Team? 4 | 5 | class Team 6 | def name: () -> String 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /gems/code_teams/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - euglena1215 3 | -------------------------------------------------------------------------------- /gems/commonmarker/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/commonmarker/1.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "commonmarker" 2 | 3 | Commonmarker.to_html('"Hi *there*"', options: { 4 | parse: { smart: true } 5 | }) 6 | 7 | doc = Commonmarker.parse("*Hello* world", options: { 8 | parse: { smart: true } 9 | }) 10 | puts(doc.to_html) # =>
Hello world
\n 11 | -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/_test/array.rb: -------------------------------------------------------------------------------- 1 | require "concurrent-ruby" 2 | 3 | array = Concurrent::Array.new 4 | 5 | array << 1 6 | array.include?(1) 7 | -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/_test/executor.rb: -------------------------------------------------------------------------------- 1 | require 'concurrent-ruby' 2 | 3 | Concurrent.executor(:io).post { p :io } 4 | Concurrent.executor(:fast).post { p :fast } 5 | Concurrent.executor(:immediate).post { p :immediate } 6 | 7 | Concurrent.global_io_executor.post { p :io } 8 | Concurrent.global_fast_executor.post { p :fast } 9 | Concurrent.global_immediate_executor.post { p :immediate } 10 | -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/_test/hash.rb: -------------------------------------------------------------------------------- 1 | require 'concurrent-ruby' 2 | 3 | hash = Concurrent::Hash.new 4 | 5 | hash[:a] = 1 6 | hash.key?(:a) 7 | hash.merge(b: 2) 8 | -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/_test/map.rb: -------------------------------------------------------------------------------- 1 | require 'concurrent-ruby' 2 | 3 | map = Concurrent::Map.new #: Concurrent::Map[Symbol, Integer] 4 | 5 | map[:a] = 1 6 | map.fetch(:b) { 2 } 7 | map.fetch(:c, 3) 8 | 9 | new_value = map.compute(:a) { |old_value| (old_value || 0) + 1 } 10 | new_value + 2 11 | map.compute(:a) { |_old_value| nil } 12 | 13 | new_value = map.compute_if_absent(:absent) { 3 } 14 | new_value + 2 15 | 16 | map.compute_if_present(:maybe_present) { |old_value| old_value + 1 } 17 | map.compute_if_present(:a) { |_old_value| nil } 18 | -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/array.rbs: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | class Array[T] < ::Array[T] 3 | end 4 | end -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/hash.rbs: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | class Hash[K, V] < ::Hash[K, V] 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /gems/concurrent-ruby/1.1/utility/processor_counter.rbs: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | def self.physical_processor_count: () -> Integer 3 | 4 | def self.processor_count: () -> Integer 5 | end 6 | -------------------------------------------------------------------------------- /gems/config/5.5/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "config" 2 | 3 | Config.load_and_set_settings(Config.setting_files("/path/to/config_root", "your_project_environment")) 4 | 5 | Config.load_and_set_settings("/path/to/yaml1", "/path/to/yaml2") 6 | -------------------------------------------------------------------------------- /gems/connection_pool/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/connection_pool/2.4/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "connection_pool" 5 | 6 | pool = ConnectionPool.new(size: 5, timeout: 5) { Hash.new } 7 | 8 | pool.with do |h| 9 | h['some-count'] 10 | end 11 | 12 | pool.then { |h| h['some-count'] } 13 | 14 | pool.with(timeout: 2.0) do |h| 15 | h['some-count'] 16 | end 17 | -------------------------------------------------------------------------------- /gems/connection_pool/2.4/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: timeout 3 | -------------------------------------------------------------------------------- /gems/csv/3.3/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: forwardable 3 | - name: stringio 4 | -------------------------------------------------------------------------------- /gems/csv/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - ksss 3 | -------------------------------------------------------------------------------- /gems/delayed_job/4.1/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - railties 3 | -------------------------------------------------------------------------------- /gems/delayed_job/4.1/lifecycle.rbs: -------------------------------------------------------------------------------- 1 | module Delayed 2 | class Lifecycle 3 | # TODO 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /gems/delayed_job_active_record/4.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | configuration = Delayed::Backend::ActiveRecord.configuration 2 | configuration.reserve_sql_strategy = :default_sql 3 | configuration.reserve_sql_strategy = :optimized_sql 4 | -------------------------------------------------------------------------------- /gems/devise/4.9/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - 'activerecord' 3 | -------------------------------------------------------------------------------- /gems/devise/4.9/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "devise" 2 | require "active_record" 3 | 4 | class CustomSessionsController < Devise::SessionsController 5 | end 6 | 7 | class User < ActiveRecord::Base 8 | devise :database_authenticatable, :omniauthable, :confirmable, 9 | :recoverable, :registerable, :rememberable, 10 | :trackable, :timeoutable, :validatable, :lockable, 11 | authentication_keys: [:email] 12 | end 13 | -------------------------------------------------------------------------------- /gems/diff-lcs/1.5/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/diff-lcs/1.5/_test/test.rb: -------------------------------------------------------------------------------- 1 | require 'diff/lcs' 2 | 3 | seq1 = %w(a b c e h j l m n p) 4 | seq2 = %w(b c d e f j k l m r s t) 5 | seq3 = 'hoge' 6 | seq4 = 'hoga' 7 | 8 | lcs = Diff::LCS.LCS(seq1, seq2) 9 | lcs = Diff::LCS.LCS(seq3, seq4) 10 | diffs = Diff::LCS.diff(seq1, seq2) 11 | diffs = Diff::LCS.diff(seq3, seq4) 12 | Diff::LCS.patch!(seq1, diffs) 13 | -------------------------------------------------------------------------------- /gems/diff-lcs/1.5/diff-lcs.rbs: -------------------------------------------------------------------------------- 1 | module Diff 2 | end 3 | 4 | module Diff::LCS 5 | def self.LCS: (Array[String], Array[String]) -> Array[String] 6 | | (String, String) -> Array[String] 7 | def self.diff: (Array[String], Array[String]) -> Array[String] 8 | | (String, String) -> Array[String] 9 | 10 | def self.patch!: (Array[String], Array[String]) -> String 11 | end 12 | -------------------------------------------------------------------------------- /gems/dogstatsd-ruby/5.5/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: logger 8 | -------------------------------------------------------------------------------- /gems/dogstatsd-ruby/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - VTRyo 3 | -------------------------------------------------------------------------------- /gems/dotenv-rails/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/dotenv-rails/2.8/_test/env_files/file1.env: -------------------------------------------------------------------------------- 1 | KEY1=key1 2 | -------------------------------------------------------------------------------- /gems/dotenv-rails/2.8/_test/env_files/file2.env: -------------------------------------------------------------------------------- 1 | KEY1=key1-hoge 2 | KEY2=key2 3 | -------------------------------------------------------------------------------- /gems/enumerize/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/enumerize/2.5/_test/test.rb: -------------------------------------------------------------------------------- 1 | require 'enumerize' 2 | 3 | class User 4 | extend Enumerize 5 | 6 | enumerize :role, in: %i(user admin) 7 | end 8 | -------------------------------------------------------------------------------- /gems/enumerize/2.5/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class User 2 | extend Enumerize 3 | extend Enumerize::Base::ClassMethods 4 | end 5 | -------------------------------------------------------------------------------- /gems/enumerize/2.5/patch.rbs: -------------------------------------------------------------------------------- 1 | module ActiveModel 2 | module Type 3 | class Value 4 | end 5 | end 6 | end 7 | 8 | module ActiveRecord 9 | module Type 10 | class Value 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /gems/faker/2.23/faker-2.23.rbs: -------------------------------------------------------------------------------- 1 | module Faker 2 | class Lorem < Faker::Base 3 | # https://github.com/faker-ruby/faker/blob/v2.23.0/lib/faker/default/lorem.rb#L5 4 | def self.sentence: (?word_count: Integer, ?supplemental: bool, ?random_words_to_add: Integer) -> String 5 | def self.paragraph: (?sentence_count: Integer, ?supplemental: bool, ?random_sentences_to_add: Integer) -> String 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /gems/faker/3.4.2/faker-2.23.rbs: -------------------------------------------------------------------------------- 1 | ../2.23/faker.rbs -------------------------------------------------------------------------------- /gems/faraday/2.5/_test/test_adapter.rbs: -------------------------------------------------------------------------------- 1 | class MyAdapter < Faraday::Adapter 2 | end 3 | -------------------------------------------------------------------------------- /gems/faraday/2.5/_test/test_adapter_registry.rb: -------------------------------------------------------------------------------- 1 | registry = Faraday::AdapterRegistry.new 2 | registry.get('Faraday::Connection') 3 | registry.get(:Faraday) 4 | registry.set(:Wind) 5 | registry.set(:Wave, nil) 6 | registry.set(:Sea, :new_name) 7 | registry.set(:Mountain, "another") 8 | registry.set(:Star, 123) 9 | -------------------------------------------------------------------------------- /gems/faraday/2.5/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: uri 3 | - name: forwardable 4 | -------------------------------------------------------------------------------- /gems/faraday/2.7/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/faraday/2.7/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "faraday" 5 | -------------------------------------------------------------------------------- /gems/faraday/2.7/_test/test_errors.rb: -------------------------------------------------------------------------------- 1 | Faraday::TooManyRequestsError.new 2 | -------------------------------------------------------------------------------- /gems/faraday/2.7/faraday-2.7.rbs: -------------------------------------------------------------------------------- 1 | module Faraday 2 | class TooManyRequestsError < ClientError 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /gems/faraday/2.7/faraday.rbs: -------------------------------------------------------------------------------- 1 | ../2.5/faraday.rbs -------------------------------------------------------------------------------- /gems/faraday/2.7/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: uri 3 | - name: forwardable 4 | -------------------------------------------------------------------------------- /gems/faraday/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - yykamei 3 | -------------------------------------------------------------------------------- /gems/fcm/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/fcm/2.0/_test/test.rbs: -------------------------------------------------------------------------------- 1 | GOOGLE_APPLICATION_CREDENTIALS_PATH: String 2 | FIREBASE_PROJECT_ID: String 3 | -------------------------------------------------------------------------------- /gems/flexirest/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "flexirest" 2 | 3 | class Person < Flexirest::Base 4 | base_url "https://www.example.com/api/v1" 5 | 6 | get :all, "/people" 7 | get :find, "/people/:id" 8 | put :save, "/people/:id" 9 | post :create, "/people" 10 | delete :remove, "/people/:id" 11 | end 12 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Person < Flexirest::Base 2 | end 3 | 4 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/base.rbs: -------------------------------------------------------------------------------- 1 | module Flexirest 2 | class Base < BaseWithoutValidation 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/caching.rbs: -------------------------------------------------------------------------------- 1 | module Flexirest 2 | module Caching 3 | module ClassMethods 4 | def perform_caching: (?bool value) -> bool 5 | def perform_caching=: (bool value) -> bool 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/callbacks.rbs: -------------------------------------------------------------------------------- 1 | module Flexirest 2 | module Callbacks 3 | module ClassMethods 4 | def before_request: (Symbol method_name) -> void 5 | | () { (Symbol name, Request request) -> (false | :retry | untyped) } -> void 6 | def after_request: (Symbol method_name) -> void 7 | | () { (Symbol name, untyped response) -> (false | :retry | untyped) } -> void 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/connection.rbs: -------------------------------------------------------------------------------- 1 | module Flexirest 2 | class BaseException < StandardError 3 | end 4 | 5 | class TimeoutException < BaseException 6 | end 7 | 8 | class ConnectionFailedException < BaseException 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/flexirest.rbs: -------------------------------------------------------------------------------- 1 | module Flexirest 2 | class NoAttributeException < StandardError 3 | end 4 | 5 | class ValidationFailedException < StandardError 6 | end 7 | 8 | class MissingOptionalLibraryError < StandardError 9 | end 10 | 11 | def self.name: () -> String 12 | def self.name=: (String value) -> String 13 | end 14 | -------------------------------------------------------------------------------- /gems/flexirest/1.12/headers_list.rbs: -------------------------------------------------------------------------------- 1 | module Flexirest 2 | class HeadersList 3 | def []=: (String key, untyped value) -> untyped 4 | def []: (String key) -> untyped 5 | def each: (?bool split_multiple_headers) { (String key, untyped value) -> void } -> void 6 | def delete: (String key) -> untyped 7 | def keys: () -> Array[String] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /gems/flipper/0.28/_test/test_basic.rb: -------------------------------------------------------------------------------- 1 | # Taken from https://github.com/flippercloud/flipper/blob/v0.28.0/examples/basic.rb 2 | 3 | require 'bundler/setup' 4 | require 'flipper' 5 | 6 | # check if search is enabled 7 | if Flipper.enabled?(:search) 8 | puts 'Search away!' 9 | else 10 | puts 'No search for you!' 11 | end 12 | 13 | puts 'Enabling Search...' 14 | Flipper.enable(:search) 15 | 16 | # check if search is enabled 17 | if Flipper.enabled?(:search) 18 | puts 'Search away!' 19 | else 20 | puts 'No search for you!' 21 | end 22 | -------------------------------------------------------------------------------- /gems/flipper/0.28/flipper/actor.rbs: -------------------------------------------------------------------------------- 1 | # Simple class for turning a flipper_id into an actor that can be based 2 | # to Flipper::Feature#enabled?. 3 | module Flipper 4 | class Actor 5 | attr_reader flipper_id: untyped 6 | 7 | def initialize: (untyped flipper_id) -> void 8 | 9 | def eql?: (untyped other) -> untyped 10 | 11 | alias == eql? 12 | 13 | def hash: () -> untyped 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /gems/flipper/0.28/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | dependencies: 7 | - name: forwardable 8 | -------------------------------------------------------------------------------- /gems/geocoder/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/geocoder/1.8/_test/models.rb: -------------------------------------------------------------------------------- 1 | require "active_record" 2 | 3 | class Venue < ActiveRecord::Base 4 | geocoded_by :address 5 | end 6 | 7 | obj = Venue.new 8 | obj.distance_to([43.9,-98.6]) # distance from obj to point 9 | obj.bearing_to([43.9,-98.6]) # bearing from obj to point 10 | 11 | obj2 = Venue.new 12 | obj.bearing_from(obj2) # bearing from obj2 to obj 13 | -------------------------------------------------------------------------------- /gems/geocoder/1.8/_test/models.rbs: -------------------------------------------------------------------------------- 1 | class Venue < ActiveRecord::Base 2 | # Note: Geocoder::Store::ActiveRecord is automatically loaded by `.geocoded_by` call on Ruby. 3 | # But there is no special way to do it on RBS side. Therefore, developers should include it manually in their types. 4 | include Geocoder::Store::ActiveRecord 5 | end 6 | -------------------------------------------------------------------------------- /gems/geocoder/1.8/_test/test_basic_search.rb: -------------------------------------------------------------------------------- 1 | #Taken from https://github.com/alexreisner/geocoder/tree/v1.8.0 2 | 3 | require "geocoder" 4 | 5 | results = Geocoder.search("Paris") 6 | results.first&.coordinates 7 | 8 | results = Geocoder.search([48.856614, 2.3522219]) 9 | results.first&.address 10 | 11 | results = Geocoder.search("172.56.21.89") 12 | results.first&.coordinates 13 | results.first&.country 14 | -------------------------------------------------------------------------------- /gems/gimei/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/globalid/1.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "globalid" 5 | 6 | GlobalID.app = 'blah' 7 | 8 | class Person 9 | include GlobalID::Identification 10 | 11 | # @dynamic id, id= 12 | attr_accessor :id 13 | 14 | def self.find(id) 15 | new.tap { |obj| obj.id = id } 16 | end 17 | end 18 | 19 | person = Person.find(1) 20 | person_gid = person.to_global_id 21 | p person_gid.uri 22 | p person_gid.to_s 23 | p person_gid.model_id 24 | -------------------------------------------------------------------------------- /gems/globalid/1.1/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class Person 2 | include GlobalID::Identification 3 | 4 | attr_accessor id: untyped 5 | 6 | def self.find: (untyped id) -> instance 7 | end 8 | -------------------------------------------------------------------------------- /gems/globalid/1.1/identification.rbs: -------------------------------------------------------------------------------- 1 | class GlobalID 2 | module Identification 3 | def to_global_id: (?::Hash[untyped, untyped] options) -> GlobalID 4 | 5 | alias to_gid to_global_id 6 | 7 | def to_gid_param: (?::Hash[untyped, untyped] options) -> String 8 | 9 | def to_signed_global_id: (?::Hash[untyped, untyped] options) -> SignedGlobalID 10 | 11 | alias to_sgid to_signed_global_id 12 | 13 | def to_sgid_param: (?::Hash[untyped, untyped] options) -> untyped 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /gems/globalid/1.1/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/globalid/_reviewers.yaml: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - pocke 3 | -------------------------------------------------------------------------------- /gems/google-apis-bigquery_v2/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/google-apis-bigquery_v2/0.76/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "google-apis-bigquery_v2" 2 | require "googleauth" 3 | 4 | json_key = '' 5 | client = Google::Apis::BigqueryV2::BigqueryService.new 6 | client.authorization = Google::Auth::ServiceAccountCredentials.make_creds( 7 | json_key_io: StringIO.new(json_key), scope: [Google::Apis::BigqueryV2::AUTH_BIGQUERY] 8 | ) 9 | query = 'SELECT 1' 10 | request = Google::Apis::BigqueryV2::QueryRequest.new(query:, use_legacy_sql: false) 11 | client.query_job('this is project_id', request) 12 | -------------------------------------------------------------------------------- /gems/google-apis-core/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/google-apis-core/0.15/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "google-apis-core" 5 | 6 | class MyService < Google::Apis::Core::BaseService 7 | end 8 | -------------------------------------------------------------------------------- /gems/google-apis-core/0.15/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class MyService < Google::Apis::Core::BaseService 2 | end 3 | -------------------------------------------------------------------------------- /gems/google-apis-core/0.15/hashable.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Apis 3 | module Core 4 | # Adds to_hash to objects 5 | module Hashable 6 | # Convert object to hash representation 7 | # 8 | # @return [Hash] 9 | def to_h: () -> untyped 10 | 11 | # Recursively serialize an object 12 | # 13 | # @param [Object] val 14 | # @return [Hash] 15 | def self.process_value: (untyped val) -> untyped 16 | end 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /gems/google-apis-core/0.15/logging.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Apis 3 | module Core 4 | # Logging support 5 | module Logging 6 | # Get the logger instance 7 | # @return [Logger] 8 | def logger: () -> untyped 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /gems/google-apis-core/0.15/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: signet 8 | -------------------------------------------------------------------------------- /gems/google-cloud-errors/1.5/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | # If the test needs gem's RBS files, declare them here. 2 | # 3 | # additional_gems: 4 | # - GEM_NAME 5 | -------------------------------------------------------------------------------- /gems/google-cloud-errors/1.5/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "google-cloud-errors" 5 | 6 | begin 7 | rescue Google::Cloud::UnauthenticatedError => e 8 | end 9 | -------------------------------------------------------------------------------- /gems/google-cloud-errors/1.5/manifest.yaml: -------------------------------------------------------------------------------- 1 | # manifest.yaml describes dependencies which do not appear in the gemspec. 2 | # If this gem includes such dependencies, comment-out the following lines and 3 | # declare the dependencies. 4 | # If all dependencies appear in the gemspec, you should remove this file. 5 | # 6 | # dependencies: 7 | # - name: pathname 8 | -------------------------------------------------------------------------------- /gems/google-cloud-firestore/2.15/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "google-cloud-firestore" 2 | 3 | firestore = Google::Cloud::Firestore.new(project_id: "test-project") 4 | 5 | firestore.doc("users/test-user").set({ user_name: "test", url: "https://example.com/" }) 6 | firestore.doc("users/test-user").update({ user_name: "test", url: "https://example.com/new" }) 7 | firestore.doc("users/test-user").get.data 8 | firestore.doc("users/test-user").get.exists? 9 | firestore.doc("users/test-user").delete 10 | -------------------------------------------------------------------------------- /gems/google-cloud-firestore/2.15/google-cloud-firestore/document_reference.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Cloud 3 | module Firestore 4 | class DocumentReference 5 | def set: (Hash[untyped, untyped] data, ?merge: untyped?) -> void 6 | def update: (Hash[untyped, untyped] data, ?update_time: Time?) -> void 7 | def get: () -> DocumentSnapshot 8 | def delete: (?exists: bool?, ?update_time: Time?) -> untyped 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /gems/google-cloud-firestore/2.15/google-cloud-firestore/document_snapshot.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Cloud 3 | module Firestore 4 | class DocumentSnapshot 5 | def data: () -> Hash[Symbol, untyped]? 6 | def exists?: () -> bool 7 | end 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "google-protobuf" 5 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/descriptor_pool.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class DescriptorPool 4 | def self.generated_pool: () -> instance 5 | 6 | public 7 | 8 | def add_serialized_file: (String descriptor_data) -> void 9 | 10 | def build: () { () -> void } -> void 11 | 12 | def lookup: (String name) -> Descriptor? 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class DescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/enum_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class EnumDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/enum_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class EnumOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/enum_value_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class EnumValueDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/enum_value_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class EnumValueOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/errors.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class Error < StandardError 4 | end 5 | class ParseError < Error 6 | end 7 | class TypeError < ::TypeError 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/extension_range_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class ExtensionRangeOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/field_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FieldDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/field_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FieldOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/file_descriptor.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FileDescriptor 4 | public 5 | 6 | def name: () -> String 7 | 8 | def syntax: () -> Symbol 9 | 10 | private 11 | 12 | def initialize: (untyped, untyped, untyped) -> void 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/file_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FileDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/file_descriptor_set.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FileDescriptorSet < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/file_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FileOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/generated_code_info.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class GeneratedCodeInfo < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/internal.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | module Internal 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/manifest.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | - name: time 3 | - name: forwardable 4 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/message_exts.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | module MessageExts 4 | def self.included: (Class klass) -> void 5 | 6 | public 7 | 8 | def to_json: (?Hash[untyped, untyped] options) -> String 9 | 10 | def to_proto: (?Hash[untyped, untyped] options) -> String 11 | 12 | module ClassMethods 13 | end 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/method_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class MethodDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/method_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class MethodOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/oneof_descriptor.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class OneofDescriptor 4 | include Enumerable[untyped] 5 | 6 | public 7 | 8 | def each: () { (FieldDescriptor) -> void } -> void 9 | 10 | def name: () -> String 11 | 12 | private 13 | 14 | def initialize: (untyped, untyped, untyped) -> void 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/oneof_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class OneofDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/oneof_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class OneofOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/service_descriptor_proto.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class ServiceDescriptorProto < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/service_options.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class ServiceOptions < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/any.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class Any < Google::Protobuf::AbstractMessage 4 | def self.pack: (AbstractMessage msg, ?String type_url_prefix) -> instance 5 | 6 | public 7 | 8 | def is: (Class klass) -> bool 9 | 10 | def pack: (AbstractMessage msg, ?String type_url_prefix) -> void 11 | 12 | def type_name: () -> String? 13 | 14 | def unpack: (Class klass) -> AbstractMessage? 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/duration.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class Duration < Google::Protobuf::AbstractMessage 4 | public 5 | 6 | def to_f: () -> Float 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/field_mask.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class FieldMask < Google::Protobuf::AbstractMessage 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/null_value.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | module NullValue 4 | def self.descriptor: () -> EnumDescriptor 5 | 6 | def self.lookup: (Integer) -> nil 7 | 8 | def self.resolve: (Symbol) -> void 9 | 10 | NULL_VALUE: Integer 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/timestamp.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class Timestamp < Google::Protobuf::AbstractMessage 4 | def self.from_time: (Time time) -> instance 5 | 6 | public 7 | 8 | def from_time: (Time time) -> self 9 | 10 | def to_f: () -> Float 11 | 12 | def to_i: () -> Integer 13 | 14 | def to_time: () -> Time 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/unexpected_struct_type.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class UnexpectedStructType < Google::Protobuf::Error 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /gems/google-protobuf/3.22/well_known_types/value.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | module Protobuf 3 | class Value < Google::Protobuf::AbstractMessage 4 | def self.from_ruby: (untyped value) -> instance 5 | 6 | public 7 | 8 | def from_ruby: (untyped value) -> self 9 | 10 | def to_ruby: (?untyped recursive) -> untyped 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /gems/googleauth/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/googleauth/1.11/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "googleauth" 2 | 3 | class MyCredentials < Google::Auth::Credentials 4 | # Set the default scope for these credentials 5 | self.scope = "http://example.com/my_scope" 6 | end 7 | 8 | Google::Auth::ServiceAccountCredentials.make_creds( 9 | json_key_io: StringIO.new(''), scope: [] 10 | ) 11 | -------------------------------------------------------------------------------- /gems/googleauth/1.11/_test/test.rbs: -------------------------------------------------------------------------------- 1 | class MyCredentials < Google::Auth::Credentials 2 | end 3 | -------------------------------------------------------------------------------- /gems/googleauth/1.11/json_key_reader.rbs: -------------------------------------------------------------------------------- 1 | module Google 2 | # Module Auth provides classes that provide Google-specific authorization 3 | # used to access Google APIs. 4 | module Auth 5 | # JsonKeyReader contains the behaviour used to read private key and 6 | # client email fields from the service account 7 | module JsonKeyReader 8 | def read_json_key: (untyped json_key_io) -> ::Array[untyped] 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /gems/grpc/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/grpc/1.63/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "grpc" 2 | 3 | begin 4 | raise GRPC::Unavailable 5 | rescue GRPC::BadStatus => e 6 | # nop 7 | end 8 | -------------------------------------------------------------------------------- /gems/grpc/1.63/grpc.rbs: -------------------------------------------------------------------------------- 1 | module GRPC 2 | class BadStatus < StandardError 3 | end 4 | 5 | class Unavailable < BadStatus 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /gems/hashdiff/1.1/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "hashdiff" 5 | 6 | diff1 = Hashdiff.diff({a:{x:2, y:3, z:4}, b:{x:3, z:45}}, {a:{y:3}, b:{y:3, z:30}}) 7 | diff2 = Hashdiff.diff({ a: 1, b: { d: 2, a: 3 }, c: 4 }, { a: 2, b: { d: 2, a: 7 }, c: 5 }, ignore_keys: :a) 8 | -------------------------------------------------------------------------------- /gems/hashdiff/1.1/hashdiff.rbs: -------------------------------------------------------------------------------- 1 | module Hashdiff 2 | def self.diff: (::Hash[untyped, untyped] obj1, ::Hash[untyped, untyped] obj2, ?::Hash[::Symbol, untyped] options) ?{ () -> untyped } -> ( ::Array[untyped] ) 3 | end 4 | -------------------------------------------------------------------------------- /gems/hashie/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: ../../.rubocop.yml 2 | 3 | RBS/Layout: 4 | Enabled: true 5 | RBS/Lint: 6 | Enabled: true 7 | RBS/Style: 8 | Enabled: true 9 | -------------------------------------------------------------------------------- /gems/hashie/5.0/_test/test.rb: -------------------------------------------------------------------------------- 1 | # Write Ruby code to test the RBS. 2 | # It is type checked by `steep check` command. 3 | 4 | require "hashie" 5 | 6 | mash = Hashie::Mash.new 7 | -------------------------------------------------------------------------------- /gems/hashie/5.0/hashie.rbs: -------------------------------------------------------------------------------- 1 | module Hashie 2 | class Mash < Hash[untyped, untyped] 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /gems/holiday_jp/0.8/_test/metadata.yaml: -------------------------------------------------------------------------------- 1 | additional_gems: 2 | - date 3 | -------------------------------------------------------------------------------- /gems/holiday_jp/0.8/_test/test.rb: -------------------------------------------------------------------------------- 1 | require "holiday_jp" 2 | 3 | holidays = HolidayJp.between(Date.new(2010, 9, 14), Date.new(2010, 9, 21)) # => [#