gem_rbs_collection
typeprof
gem_rbs_collection | typeprof | |
---|---|---|
5 | 5 | |
271 | 778 | |
0.7% | 0.6% | |
9.5 | 9.1 | |
4 days ago | 21 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gem_rbs_collection
-
A decent VS Code and Ruby on Rails setup
I saw no mention of RBS+Steep, the latter providing a LSP. I use it a lot and very much like it, although it's still young and needs love, but it's making good, steady progress! I've been very pleasantly surprised by some of the crazy things Steep can catch, completely statically!
You appear to be working on projects with Sorbet (which I tried to like but found it fell short in practice, notably outside of the app use case i.e it's mostly useless for gems) so it may be a tall order to try on those. Maybe you can give RBS+Steep a shot on some small project?
RBS: https://github.com/ruby/rbs
RBS collection (for those gems that don't ship RBS signatures in `sig`, integrates with bundler): https://github.com/ruby/gem_rbs_collection
Steep: https://github.com/soutaro/steep
VS Code: https://github.com/soutaro/steep-vscode
Sublime Text: https://github.com/sublimelsp/LSP
Vim (I'm working on it): https://github.com/dense-analysis/ale/pull/4671
-
Is anyone using RBS?
For now there's a ruby/gem_rbs_collection repo now that's been started to grow a collection of signatures that RBS can pull from.
-
RBS introduced manifest.yaml
rbs collection detects the dependencies from Gemfile.lock. For example, if your Gemfile has an entry, gem 'rails', rbs collection finds dependencies gems, such as activesupport, railties, nokogiri and so on, from Gemfile.lock. Then it installs RBSs from ruby/gem_rbs_collection repository.
-
The future of rbs collection
Currently, rbs collection downloads RBSs with git clone from ruby/gem_rbs_collection GitHub repository.
-
rbs collection was released!
# Download sources sources: - name: ruby/gem_rbs_collection remote: https://github.com/ruby/gem_rbs_collection.git revision: main repo_dir: gems # A directory to install the downloaded RBSs path: .gem_rbs_collection gems: # Skip loading rbs gem's RBS. # It's unnecessary if you don't use rbs as a library. - name: rbs ignore: true # 👮👮👮 Add the following lines - name: pathname - name: logger - name: mutex_m - name: date - name: monitor - name: singleton - name: tsort - name: time - name: set
typeprof
- Почему я программирую на Ruby
- TypeProf: A type analysis tool for Ruby code based on abstract interpretation
-
Ruby 3.1.0 Preview 1 released with new experimental JIT
Good to see IDE support for TypeProf type hints[1]. I've been doing a lot of work in statically typed languages lately. Ruby has been moving towards static types for a while, but the lack of IDE support has always been the dealbreaker for me to pick up Ruby again.
[1] https://github.com/ruby/typeprof/blob/master/doc/ide.md
-
rbs collection was released!
rbs collection feature integrates this repository and tools use RBS, such as rbs command, Steep, and TypeProf.
What are some alternatives?
rbs - Type Signature for Ruby
typings - *DEPRECATED* The TypeScript Definition Manager
ruby-next - Ruby Next makes modern Ruby code run in older versions and alternative implementations
DefinitelyTyped - The repository for high quality TypeScript type definitions.
yjit - Optimizing JIT compiler built inside CRuby