Skip to content

Latest commit

 

History

History
80 lines (51 loc) · 4.75 KB

libraries.md

File metadata and controls

80 lines (51 loc) · 4.75 KB

Libraries

Ruby Gems and other libraries we recommend to use.

Backgound Jobs

Configuration

  • config - Easiest way to add multi-environment yaml settings to Rails and other Ruby projects.
  • dotenv - A Ruby gem to load environment variables from .env.

Development & Debugging

  • amazing_print - It is a Ruby library that pretty prints Ruby objects in full color exposing their internal structure with proper indentation.
  • annotate - Annotate Rails classes with schema and routes info.
  • lefhook - Fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects.
  • letter_opener, letter_opener_web - Preview email in the default browser instead of sending it.
  • pry-rails, pry-byebug - A runtime developer console and IRB alternative with powerful introspection capabilities.

Deployment

  • capistrano - Remote multi-server automation tool.

File Uploading

  • carrierwave - Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks.
  • shrine - File Attachment toolkit for Ruby applications.

Network & HTTP

  • faraday - Faraday is an HTTP client library that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle. (See guide Building HTTP Client).
  • awesome-faraday - A curated list of awesome middleware and adapters for Faraday.

Pagination

  • kaminari - A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps.
  • pagy - The ultimate pagination ruby gem (unless project does not have kaminari by default).

Performance

  • bullet - Helps to kill N+1 queries and unused eager loading.
  • mini-profiler - Profiler for your Ruby rack apps.

Policies & Roles

  • pundit - Minimal authorization through OO design and pure Ruby classes.
  • rolify - Advanced role management library with resource scoping.

Push Notifications

  • rpush - The push notification service for Ruby.

Search

  • ransack - Object-based searching.

Security

  • brakeman - Brakeman is a free vulnerability scanner specifically designed for Ruby on Rails applications.

Testing

  • airborne - RSpec driven API testing framework.
  • factory_bot, factory_bot_rails - A library for setting up Ruby objects as test data.
  • faker - A library for generating fake data such as names, addresses, and phone numbers.
  • rspec, rspec-rails - Behavior Driven Development for Ruby.
  • simplecov - Code coverage with a powerful configuration library.
  • shoulda-matchers - Simple one-liner tests for common Rails functionality.
  • webmock - Library for stubbing and setting expectations on HTTP requests in Ruby.

Uncategorized

  • clowne - A flexible gem for cloning your models.
  • money, money-rails - A Ruby Library for dealing with money and currency conversion.
  • scenic - Versioned database views for Rails.