gem_rbs_collection icon indicating copy to clipboard operation
gem_rbs_collection copied to clipboard

A collection of RBS for gems.

Results 52 gem_rbs_collection issues
Sort by recently updated
recently updated
newest added

As a preparation of https://github.com/ruby/gem_rbs_collection/pull/693, this moves the definition of `Rails::Generator::PluginGenerator#app_path` to railties.rbs

`ActiveRecord::QueryMethods::WhereChain#associated` has been added since v7.0. refs: https://github.com/rails/rails/pull/40696

ActiveModel::API has been added since v7.0. refs: https://github.com/rails/rails/pull/43223

reproduction: 1. run `bin/init_new_gem foobar` (version: `0.0`) 2. edit `gems/foobar/0.0/foobar.rbs` as below ```rbs module Foobar def foo: (?) -> untyped end ``` 3. running `bin/test gems/foobar/0.0`, raises an error as...

Currently, the `from` method is defined for the `ActiveRecord::QueryMethods` class, but not for the class method of the ActiveRecord type. Therefore, `User.from(something)` is a type error. However, `from` is actually...

Support [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent) types

- Add type definitions for Sequel 5.93 - Focus on core APIs: database connections, dataset queries, and model CRUD operations - Include basic error classes and transaction support - Exclude...

The `RQRCode::QRCode#initialize` method accepts a string as the first parameter and additional optional arguments. References: - https://www.rubydoc.info/gems/rqrcode/2.2.0/RQRCode/QRCode#initialize-instance_method - https://github.com/whomwah/rqrcode/blob/v2.2.0/lib/rqrcode/qrcode/qrcode.rb

Arguments can be passed, and the block is optional.

In ActiveSupport 7 `ActiveSupport::Messages::Metadata` is a module while in ActiveSupport 6 it's a class. As the types for ActiveSupport 7 are symlinked to the generated rbs of ActiveSupport 6 the...