Libraries

Libraries that help you build and scale Ruby (and Rails) applications.

Printing (in console)

  • awesome_print - Pretty print your Ruby objects with style -- in full color and with proper indentation.

Resiliency and Failure

  • Semian - Resiliency toolkit for failing fast (e.g. Circuit breaker and bulk heading).

Feature Flags

  • rollout - Fast feature flags based on Redis.

Hash Enhancements / Helpers

  • Hashie - Hashie is a collection of classes and mixins that make hashes more powerful.

Background Jobs

  • sidekiq - Simple, efficient background processing for Ruby

  • sidekiq-cron - Scheduler / Cron for Sidekiq jobs to easily make recurring scheduled jobs.

  • sidekiq_alive - Liveness probe for Sidekiq in Kubernetes deployments.

  • sidekiq-statistic - Improved display of statistics for your sidekiq workers and jobs.

Location

  • geocoder - Complete Ruby geocoding solution.

Phones

  • phony - E164 international phone number normalizing, splitting, formatting. .

Money

  • money - A Ruby Library for dealing with money and currency conversion.

Linting and Formatting

  • Standard - Ruby style guide with linter & automatic code fixer, based on Rubocop.

Pagination

  • pagy - The ultimate pagination ruby gem, much faster than most pagination gems.

Testing

  • test-prof - Ruby tests profiling toolbox (measurments to improve test suite speed).

  • vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

  • parallel_tests - Speedup Test::Unit + RSpec + Cucumber + Spinach by running parallel on multiple CPU cores.

  • database_cleaner - Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.

  • factory_bot - A library for setting up Ruby objects as test data.

  • airborne - RSpec driven API testing framework.

  • knapsack - Knapsack splits tests across CI nodes and makes sure that tests will run comparable time on each node.

Last updated