gem_rbs_collection
gem_rbs_collection copied to clipboard
A collection of RBS for gems.
Fix type signature for `ActiveRecord::Base.validate` (to better support official Ruby documentation)
According to https://guides.rubyonrails.org/v6.0/active_record_validations.html#combining-validation-conditions the official documentation says you can have `if: [Proc.new { |c| c.market.retail? }, :desktop?],` so, RBS signatures should reflect that.
ActiveStorage specs for versions 6.1 and up don't reflect several methods that are delegated from the `Attached::*` objects to the `Attachment` object, and from `Attachment` to the `Blob` model. For...
Dear Maintainers of Rails Repositories(@tk0miya, @ydah, @hibariya, @Little-Rubyist). Currently, Rails repositories follow a method where v6 signatures are inherited, and differences are added incrementally. While this approach keeps management costs...
Fix types definitions for `delete_all` methods. Changed the return type of `delete_all` methods to `Integer`.
A clear reproduction case for this issue can be found here [aaronmallen/steep_failure_test](https://github.com/aaronmallen/steep_failure_test) see also [steep/#1357](https://github.com/soutaro/steep/issues/1357) Steep fails type checks on an initial install of rbs collection. Output: ``` ...
- `logger` is defined using `Class#cattr_accessor` in activesupport with instance_reader/instance_writer/instance_accessor set to true. - The default for `logger` is ActiveSupport::TaggedLogging, but it is not necessarily an instance of ActiveSupport::TaggedLogging or...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 7. Release notes Sourced from actions/download-artifact's releases. v7.0.0 v7 - What's new [!IMPORTANT] actions/download-artifact@v7 now runs on Node.js 24 (runs.using: node24) and requires a minimum...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6. Release notes Sourced from actions/upload-artifact's releases. v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum...
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist...
Previously, we needed to add our own handwritten type to AR model. ```rbs class Talk < ApplicationRecord class ActiveRecord_Relation def page: (untyped) -> self def per: (Integer) -> self end...