Ruby sorbet

Open-source Ruby projects categorized as sorbet

Top 7 Ruby sorbet Projects

  • sorbet

    A fast, powerful type checker designed for Ruby

    Project mention: RJIT a New JIT for Ruby | news.ycombinator.com | 2023-03-07

    > I guess what I'm asking is: do you see a future where there is more explicit control afforded to people who want to pick their own tradeoffs without resorting to writing everything performance-sensitive in extensions written in C/Rust/whatever?

    An approach exists already in the present, and it's Stripe's Sorbet AOT compiler (https://github.com/sorbet/sorbet/tree/master/compiler).

  • sorbet-rails

    A set of tools to make the Sorbet typechecker work with Ruby on Rails seamlessly.

    Project mention: Crystal for Rubyists | news.ycombinator.com | 2022-11-28

    There are solutions like sorbet[^1] and sorbet-rails[^2]. Have you tried them?

    [^1]: https://sorbet.org/

    [^2]: https://github.com/chanzuckerberg/sorbet-rails

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • tapioca

    The swiss army knife of RBI generation

    Project mention: Can text editors detect undefined variables in Ruby? | reddit.com/r/ruby | 2023-01-24

    Sorbet can do this, as long as you have type signatures for your code. Given Ruby's highly dynamic nature that's where tools like Tapioca come in to generate these, for example for Active Record models where instance methods are generated based on the database schema. But the moment when something returns T.untyped you're back where you were before - it helps but isn't perfect.

  • sorbet-typed

    A central repository for sharing type definitions for Ruby gems

    Project mention: Why We’re Sticking with Ruby on Rails at GitLab | reddit.com/r/rails | 2022-06-09

    The tooling around "installing" types for third party dependencies (the equivalent of doing "npm install @types/something" is non existent. I had to manually copy over files from https://github.com/sorbet/sorbet-typed, which is so far behind pythons and typescript, where you can just "pip install"/"npm install" the types. Not only that, most third party dependencies don't provide types, so the "coverage" is super incomplete. I had to try and create some third party types myself, bit even that was a challenge because it's so hard to be sure of the entirety of what's going on in a ruby codebase because the language is dynamic.

  • sord

    Convert YARD docs to Sorbet RBI and Ruby 3/Steep RBS files

    Project mention: How do you document your code? | reddit.com/r/rails | 2023-01-17

    I tend to follow along using the YardDoc comment style. It has many small things I love about it; an example is when yardoc is followed it can be used to generate RBS/Sorbet type files with the sord gem, you can also generate application documents similar to rdoc/sdoc.

  • parlour

    A type signature generator, merger and parser system for Sorbet and Ruby 3/Steep

  • rspec-sorbet

    A small gem consisting of helpers for using Sorbet & RSpec together.

    Project mention: Why We’re Sticking with Ruby on Rails at GitLab | reddit.com/r/rails | 2022-06-09
  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-07.

Ruby sorbet related posts

Index

What are some of the best open-source sorbet projects in Ruby? This list will help you:

Project Stars
1 sorbet 3,398
2 sorbet-rails 627
3 tapioca 499
4 sorbet-typed 369
5 sord 244
6 parlour 80
7 rspec-sorbet 30
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com