Skip to content

Add stub signatures for Rack gem#36

Merged
pocke merged 2 commits intoruby:mainfrom
mame:add-stub-rbs-of-rack
Jul 15, 2021
Merged

Add stub signatures for Rack gem#36
pocke merged 2 commits intoruby:mainfrom
mame:add-stub-rbs-of-rack

Conversation

@mame
Copy link
Member

@mame mame commented Jul 12, 2021

I created the prototype of signatures by applying TypeProf to Rack and
editting the result manually.

bundle exec typeprof -Ilib example/lobster.ru -o sig/rack.rbs

I've checked that rbs validate passed.
There are still many glitches, but I believe that this is a good start
to create the RBS of Rack.

I created the prototype of signatures by applying TypeProf to Rack and
editting the result manually.

```
bundle exec typeprof -Ilib example/lobster.ru -o sig/rack.rbs
```

I've checked that `rbs validate` passed.
There are still many glitches, but I believe that this is a good start
to create the RBS of Rack.
check "."

repo_path "../../../"
library "rainbow"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why rainbow?

Copy link
Member

@pocke pocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@pocke pocke merged commit 3f6ae12 into ruby:main Jul 15, 2021
pocke added a commit to pocke/rbs_rails that referenced this pull request Jul 25, 2021
Because rack RBS has been added since ruby/gem_rbs_collection#36
elishadiah pushed a commit to elishadiah/ROR-mine that referenced this pull request Sep 20, 2022
Because rack RBS has been added since ruby/gem_rbs_collection#36
@ParadoxV5 ParadoxV5 mentioned this pull request Sep 20, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants