99 lines
4.5 KiB
Ruby
99 lines
4.5 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
source 'https://rubygems.org'
|
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
|
|
ruby '3.0.1'
|
|
|
|
# Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity.
|
|
# It encourages beautiful code by favoring convention over configuration.
|
|
gem 'rails', '~> 6.1.3', '>= 6.1.3.1'
|
|
# A set of common locale data and translations to internationalize and/or localize your Rails applications
|
|
gem 'rails-i18n', '~> 6.0.0'
|
|
# Use postgresql as the database for Active Record
|
|
gem 'pg', '~> 1.1'
|
|
# Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications
|
|
gem 'puma', '~> 5.0'
|
|
# Use SCSS for stylesheets
|
|
gem 'sass-rails', '>= 6'
|
|
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
|
gem 'webpacker', '~> 5.0'
|
|
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
|
gem 'turbolinks', '~> 5'
|
|
# Use Redis adapter to run Action Cable in production
|
|
gem 'redis', '~> 4.2.5'
|
|
# Use Active Model has_secure_password
|
|
gem 'bcrypt', '~> 3.1.7'
|
|
# Flexible authentication solution for Rails with Warden
|
|
gem 'devise', '~> 4.7.3'
|
|
# Tame Rails' multi-line logging into a single line per request
|
|
gem 'lograge', '~> 0.11.2'
|
|
# Stores and retrieves localized data through attributes on a Ruby class, with flexible support for different storage strategies
|
|
gem 'mobility', '~> 1.1.1'
|
|
# Omniauth Strategy for Battle.net OAuth Login. For more info visit https://dev.battle.net
|
|
gem 'omniauth-bnet', '~> 2.0.0'
|
|
# This gem provides a mitigation against CVE-2015-9284
|
|
gem 'omniauth-rails_csrf_protection', '~> 0.1.2'
|
|
# A Ruby wrapper around Blizzard's Game Data and Profile APIs
|
|
gem 'rbattlenet', '~> 2.2.6', git: 'https://github.com/Dainii/rbattlenet'
|
|
# A gem that provides Rails integration for the Sentry error logger
|
|
gem 'sentry-rails', '~> 4.4.0'
|
|
gem 'sentry-ruby', '~> 4.4.1'
|
|
# Simple, efficient background processing for Ruby
|
|
gem 'sidekiq', '~> 6.2.1'
|
|
# Agnostic pagination in plain ruby
|
|
gem 'pagy', '~> 4.3.0'
|
|
# Reduces boot times through caching; required in config/boot.rb
|
|
gem 'bootsnap', '>= 1.4.4', require: false
|
|
|
|
group :development, :test do
|
|
# Brakeman detects security vulnerabilities in Ruby on Rails applications via static analysis
|
|
gem 'brakeman', '~> 5.0.0'
|
|
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
|
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
|
# Strategies for cleaning databases. Can be used to ensure a clean slate for testing
|
|
gem 'database_cleaner'
|
|
# Autoload dotenv in Rails
|
|
gem 'dotenv-rails'
|
|
# rspec-rails is a testing framework for Rails 5+
|
|
gem 'rspec-rails'
|
|
# RuboCop is a Ruby code style checking and code formatting tool. It aims to enforce the community-driven Ruby Style Guide
|
|
gem 'rubocop', require: false
|
|
gem 'rubocop-performance', require: false
|
|
gem 'rubocop-rails', require: false
|
|
# Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
|
|
gem 'simplecov', require: false
|
|
end
|
|
|
|
group :development do
|
|
gem 'awesome_print'
|
|
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
|
gem 'web-console', '>= 4.1.0'
|
|
# Display performance information such as SQL time and flame graphs for each request in your browser.
|
|
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
|
|
gem 'rack-mini-profiler', '~> 2.0'
|
|
# The Listen gem listens to file modifications and notifies you about the changes. Works everywhere
|
|
gem 'listen', '~> 3.3'
|
|
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
|
gem 'spring'
|
|
# IDE tools for code completion, inline documentation, and static analysis
|
|
gem 'solargraph'
|
|
# Use Pry as your rails console
|
|
gem 'pry-rails', '~> 0.3.9'
|
|
# Automatically generate an entity-relationship diagram (ERD) for your Rails models.
|
|
gem 'rails-erd'
|
|
end
|
|
|
|
group :test do
|
|
# Adds support for Capybara system testing and selenium driver
|
|
gem 'capybara', '>= 3.26'
|
|
# WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user
|
|
# and as such interacts with the HTML of the application
|
|
gem 'selenium-webdriver'
|
|
# Easy installation and use of web drivers to run system tests with browsers
|
|
gem 'webdrivers'
|
|
end
|
|
|
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|