Skip to content

Instantly share code, notes, and snippets.

@coderberry
Created February 3, 2023 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderberry/9ed2e1d5b3a1451de0aadb39fcd64c06 to your computer and use it in GitHub Desktop.
Save coderberry/9ed2e1d5b3a1451de0aadb39fcd64c06 to your computer and use it in GitHub Desktop.
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "2.7.6"
# Authorization framework for Ruby/Rails application
# [https://github.com/palkan/action_policy]
gem "action_policy", "~> 0.6.4"
# Action Policy integration for GraphQL-Ruby
# [https://github.com/palkan/action_policy-graphql]
gem "action_policy-graphql", "~> 0.3"
# Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations.
# [https://github.com/bibendi/activerecord-postgres_enum]
gem "activerecord-postgres_enum", "~> 2.0.1"
# Executes code after database commit wherever you want in your application
# [https://github.com/Envek/after_commit_everywhere]
gem "after_commit_everywhere", "~> 1.3.0"
# Alba is the fastest JSON serializer for Ruby.
# [https://github.com/okuramasafumi/alba]
gem "alba", "~> 2.1.0"
# Configuration DSL for Ruby libraries and applications
# [http://github.com/palkan/anyway_config]
gem "anyway_config", "~> 2.3.1"
# lazy_preload implementation for ActiveRecord models
# [https://github.com/DmitryTsepelev/ar_lazy_preload]
gem "ar_lazy_preload", "~> 1.1.2"
# Useful tools to help construct database queries with ActiveRecord and Arel.
# [https://github.com/camertron/arel-helpers]
gem "arel-helpers", "~> 2.14.0"
# Churn vs Complexity Chart Generator
# [https://github.com/julianrubisch/attractor]
gem "attractor", "~> 2.4.0"
# Boot large ruby/rails apps faster
# [https://github.com/Shopify/bootsnap]
gem "bootsnap", "~> 1.16.0", require: false
# help to kill N+1 queries and unused eager loading.
# [https://github.com/flyerhzm/bullet]
gem "bullet", "~> 7.0.7"
# Rack middleware to measure production code usage (LOC runtime usage)
# [https://github.com/danmayer/coverband]
gem "coverband", "~> 5.2.5"
# Provide an easy way to check the consistency of the database constraints with the application validations.
# [https://github.com/djezzzl/database_consistency]
gem "database_consistency", "~> 1.7.4"
# Provide compatibility between database constraints and ActiveRecord validations with better performance and consistency.
# [https://github.com/toptal/database_validations]
gem "database_validations", "~> 1.1.1"
# Benchmarks designed to performance test your ENTIRE site
# [https://github.com/zombocom/derailed_benchmarks]
gem "derailed_benchmarks", "~> 2.1.2"
# Flexible authentication solution for Rails with Warden
# [https://github.com/heartcombo/devise]
gem "devise", "~> 4.8.1"
# ActiveRecord soft-deletes done right
# [https://github.com/jhawthorn/discard]
gem "discard", "~> 1.2.1"
# DSL for declaring params and options of the initializer
# [https://dry-rb.org/gems/dry-initializer]
gem "dry-initializer", "~> 3.1.1"
# Create partial and anonymized production database dumps for use in development
# [https://github.com/palkan/evil-seed]
gem "evil-seed", "~> 0.4.0"
# This gem provides a mechanism for pending features.
# [https://github.com/bibendi/feature_toggles]
gem "feature_toggles", "~> 1.2.1"
# A comprehensive slugging and pretty-URL plugin.
# [https://github.com/norman/friendly_id]
gem "friendly_id", "~> 5.5.0"
# Support for database functions and triggers in Rails migrations
# [https://github.com/teoljungberg/fx]
gem "fx", "~> 0.7.0"
# A GraphQL language and runtime for Ruby
# [https://github.com/rmosolgo/graphql-ruby]
gem "graphql", "~> 2.0.16"
# GraphQL cursor-based stable pagination to work with Active Record relations
# [https://github.com/bibendi/graphql-connections]
gem "graphql-connections", "~> 1.3.0"
# Fragment cache for graphql-ruby
# [https://github.com/DmitryTsepelev/graphql-ruby-fragment_cache]
gem "graphql-fragment_cache", "~> 1.18.1"
# Persisted queries for graphql-ruby
# [https://github.com/DmitryTsepelev/graphql-ruby-persisted_queries]
gem "graphql-persisted_queries", "~> 1.7.0"
# The simplest way to group temporal data
# [https://github.com/ankane/groupdate]
gem "groupdate", "~> 6.2.0"
# imgproxy URL generator
# [https://github.com/imgproxy/imgproxy.rb]
gem "imgproxy", "~> 2.1.0"
# Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.
# [https://github.com/rails/importmap-rails]
gem "importmap-rails", "~> 1.1.5"
# Detect non-atomic interactions within DB transactions
# [https://github.com/palkan/isolator]
gem "isolator", "~> 0.8.0"
# Create JSON structures via a Builder-style DSL
# [https://github.com/rails/jbuilder]
gem "jbuilder", "~> 2.11.5"
# A native development UI for ViewComponent
# [https://github.com/ViewComponent/lookbook]
gem "lookbook", "~> 1.5.1", require: false
# RSpec and Minitest matchers to prevent N+1 queries problem
# [http://github.com/palkan/n_plus_one_control]
gem "n_plus_one_control", "~> 0.6.2"
# Presenting names of people in full, familiar, abbreviated, and initialized forms (but without titulation etc)
# [https://github.com/basecamp/name_of_person]
gem "name_of_person", "~> 1.1.1"
# A toolkit to upgrade your next Rails application
# [https://github.com/fastruby/next_rails]
gem "next_rails", "~> 1.2.1"
# A fast JSON parser and serializer.
# [http://www.ohler.com/oj]
gem "oj", "~> 3.14.1"
# Pg is the Ruby interface to the PostgreSQL RDBMS
# [https://github.com/ged/ruby-pg]
gem "pg", "~> 1.1"
# PgSearch builds Active Record named scopes that take advantage of PostgreSQL's full text search
# [https://github.com/Casecommons/pg_search]
gem "pg_search", "~> 2.3.6"
gem "postgresql_cursor", "~> 0.6.8"
# ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set
# [http://github.com/afair/postgresql_cursor]
# Easily create styled HTML emails in Rails.
# [https://github.com/fphilipe/premailer-rails]
gem "premailer-rails", "~> 1.12.0"
# Puma is a simple, fast, threaded, and highly parallel HTTP 1.1 server for Ruby/Rack applications
# [https://puma.io]
gem "puma", "~> 5.0"
# Profiles loading speed for rack applications.
# [https://miniprofiler.com]
gem "rack-mini-profiler", "~> 3.0.0"
# Full-stack web application framework.
# [https://rubyonrails.org]
gem "rails", "~> 7.0.4", ">= 7.0.4.1"
# Rails PostgreSQL performance database insights
# [http://github.com/pawurb/rails-pg-extras]
gem "rails-pg-extras", "~> 4.13.0"
# A Ruby client library for Redis
# [https://github.com/redis/redis-rb]
gem "redis", "~> 4.0"
# Distributed lock using Redis written in Ruby.
# [https://github.com/leandromoreira/redlock-rb]
gem "redlock", "~> 1.3.2"
# Retriable is a simple DSL to retry failed code blocks with randomized exponential backoff
# [http://github.com/kamui/retriable]
gem "retriable", "~> 3.1.2"
# Support for database views in Rails migrations
# [https://github.com/scenic-views/scenic]
gem "scenic", "~> 1.7.0"
# Ruby Scheduler
# [https://github.com/bibendi/schked]
gem "schked", "~> 1.1.2"
# Simple, efficient background processing for Ruby
# [https://sidekiq.org]
gem "sidekiq", "~> 7.0.3"
# Allows identical sidekiq jobs to be processed with a single background call
# [http://github.com/gzigzigzeo/sidekiq-grouping]
gem "sidekiq-grouping", "~> 1.3.0"
# Sidekiq strategy to support queue limits
# [https://github.com/deanpcmad/sidekiq-limit_fetch]
gem "sidekiq-limit_fetch", "~> 4.4.1"
# sampling callstack-profiler for ruby 2.2+
# [http://github.com/tmm1/stackprof]
gem "stackprof", "~> 0.2.23"
# A modest JavaScript framework for the HTML you already have.
# [https://stimulus.hotwired.dev]
gem "stimulus-rails", "~> 1.2.1"
# ActiveRecord extension which adds typecasting to store accessors
# [http://github.com/palkan/store_attribute]
gem "store_attribute", "~> 1.0.2"
# Gem for working with JSON-backed attributes as ActiveRecord models
# [https://github.com/DmitryTsepelev/store_model]
gem "store_model", "~> 1.5.1"
# Catch unsafe migrations in development
# [https://github.com/ankane/strong_migrations]
gem "strong_migrations", "~> 1.4.2"
# The speed of a single-page web application without having to write any JavaScript.
# [https://github.com/hotwired/turbo-rails]
gem "turbo-rails", "~> 1.3.3"
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
# A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
# [https://viewcomponent.org]
gem "view_component", "~> 2.82.0"
# A collection of extensions and developer tools for ViewComponent
# [http://github.com/palkan/view_component-contrib]
gem "view_component-contrib", "~> 0.1.3"
# Use Vite in Rails and bring joy to your JavaScript experience
# [https://github.com/ElMassimo/vite_ruby]
gem "vite_rails", "~> 3.0.13"
# A simple gem to help you whoop your logs into shape.
# [https://github.com/coderberry/whoop]
gem "whoop", "~> 1.0.3"
# Dynamically build a model within an RSpec context
# [https://github.com/Casecommons/with_model]
gem "with_model", "~> 2.1.6"
group :development, :test do
# Debugging functionality for Ruby
# [https://github.com/ruby/debug]
gem "debug", "~> 1.7.1", platforms: %i[ mri mingw x64_mingw ]
# factory_bot_rails provides integration between factory_bot and rails 5.0 or newer
# [https://github.com/thoughtbot/factory_bot_rails]
gem "factory_bot_rails", "~> 6.2.0"
# the instafailing RSpec progress bar formatter
# [https://github.com/thekompanee/fuubar]
gem "fuubar", "~> 2.5.1", require: false
# Show failing specs instantly
# [https://github.com/grosser/rspec-instafail]
gem "rspec-instafail", "~> 1.0.0", require: false
# RSpec for Rails
# [https://github.com/rspec/rspec-rails]
gem "rspec-rails", "~> 6.0.1"
# Automatic Rails code style checking tool.
# [https://github.com/rubocop/rubocop-rails]
gem "rubocop-rails", "~> 2.17.4"
end
group :development do
# Annotates Rails Models, routes, fixtures, and others based on the database schema.
# [https://github.com/ctran/annotate_models]
gem "annotate", "~> 3.2.0"
# Security vulnerability scanner for Ruby on Rails.
# [https://brakemanscanner.org]
gem "brakeman", "~> 5.4.0", require: false
# Patch-level verification for Bundler
# [https://github.com/rubysec/bundler-audit#readme]
gem "bundler-audit", "~> 0.9.1", require: false
# Hosted code coverage
# [https://github.com/codecov/codecov-ruby]
gem "codecov", "~> 0.6.0"
# Like Unit Tests, but for your Team Culture.
# [https://github.com/danger/danger]
gem "danger", "~> 9.2.0", require: false
# Easily add magic comments '# frozen_string_literal: true' followed by a blank line to multiple Ruby source files
# [https://github.com/Invoca/magic_frozen_string_literal]
gem "magic_frozen_string_literal", "~> 1.2.0"
# Organize your Gemfile with annotations
# [https://github.com/coderberry/organize_gemfile]
gem "organize_gemfile", "~> 0.1.2"
# Code coverage for Ruby
# [https://github.com/simplecov-ruby/simplecov]
gem "simplecov", "~> 0.21.2"
# Generate Sorbet RBI files from YARD documentation
# [https://github.com/AaronC81/sord]
gem "sord", "~> 5.0.0"
# Ruby Style Guide, with linter & automatic code fixer
# [https://github.com/testdouble/standard]
gem "standard", "~> 1.22.1"
# A debugging tool for your Ruby on Rails applications.
# [https://github.com/rails/web-console]
gem "web-console", "~> 4.2.0"
end
group :development, :development do
# Compare GraphQL schemas and get the changes that happened.
# [https://github.com/xuorig/graphql-schema_comparator]
gem "graphql-schema_comparator", "~> 1.1.2"
end
group :test do
# Headless Chrome driver for Capybara
# [https://github.com/rubycdp/cuprite]
gem "cuprite", "~> 0.14.3"
# A Page Object Model DSL for Capybara
# [https://github.com/site-prism/site_prism]
gem "site_prism", "~> 3.7.3"
# Ruby applications tests profiling tools
# [http://github.com/test-prof/test-prof]
gem "test-prof", "~> 1.1.0"
# Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
# [https://relishapp.com/vcr/vcr/docs]
gem "vcr", "~> 6.1.0"
# Library for stubbing HTTP requests in Ruby.
# [https://github.com/bblimke/webmock]
gem "webmock", "~> 3.18.1"
# Zonebie prevents bugs in code that deals with timezones by randomly assigning a zone on every run
# [https://github.com/alindeman/zonebie]
gem "zonebie", "~> 0.6.1"
end
group :production do
# Tame Rails' multi-line logging into a single line per request
# [https://github.com/roidrage/lograge]
gem "lograge", "~> 0.12.0"
# Puma web server plugin for collecting puma metrics with Yabeda framework.
# [http://github.com/yabeda-rb/yabeda-puma-plugin]
gem "yabeda-puma-plugin", "~> 0.7.1", require: false
# Extensible Prometheus exporter for monitoring your Sidekiq
# [https://github.com/yabeda-rb/yabeda-sidekiq]
gem "yabeda-sidekiq", "~> 0.10.0", require: false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment