tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

The swiss army knife of RBI generation

Results 187 tapioca issues
Sort by recently updated
recently updated
newest added

### Motivation In a Rails project is common to have helpers defined in a base controller. Currently those helpers are declared on every `.rbi` file for descendant controllers unless those...

### Motivation In https://github.com/Shopify/tapioca/pull/1046#discussion_r1009820193, there was a proposal to use a syntax that would not have been supported on the version of Sorbet we list as our minimum. It occurred...

One of the apps I work on uses delegated types ( https://api.rubyonrails.org/classes/ActiveRecord/DelegatedType.html ). Given ``` class Entry < ApplicationRecord delegated_type :entryable, types: %w[ Message Comment ] end ``` then in...

### Motivation AASM global callbacks takes splat argument as first argument instead of a nilable symbol: https://github.com/aasm/aasm/blob/0e03746a2b86558ee1bf7bd7db873938cbb3b29b/lib/aasm/base.rb#L145-L171 ### Implementation Change AASM compiler to use correct params definition. ### Tests Added...

cla-needed

Bumps the minor-and-patch group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [minitest](https://github.com/minitest/minitest) | `5.23.1` |...

dependencies
ruby

### Motivation Profiling `tapioca DSL SomeConst` identified this method as a hot spot, taking roughly 1 out of the 6 total second spent by Tapioca (not including application load time)....

enhancement

### Motivation Closes #1918, depends on Shopify/rbi#308. ### Implementation ### Tests

Workaround for [this issue](https://youtrack.jetbrains.com/issue/RUBY-33007/Using-Minitest-should-not-require-changes-to-testhelper.rb).

chore

Tapioca can sometimes crash, caused by an error raised by a DSL compiler from an old/inactive version of Tapioca. For example, I was using `v0.14.3`, but got an errr caused...

[Limiting](https://github.com/Shopify/tapioca/pull/1923) the bundler version isn't a long term solution. CI: https://github.com/Shopify/tapioca/actions/runs/9519041069 Was able to reproduce one test locally: `bin/test spec/tapioca/cli/gem_spec.rb:706` for https://github.com/Shopify/tapioca/blob/a983c8456771bdb1bbbf860202fad63b63387308/spec/tapioca/cli/gem_spec.rb#L706 Edit: Still happening on 2.5.15: https://github.com/Shopify/tapioca/actions/runs/9958874529