2018-11-22 14:58:12 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-01-28 18:46:07 -05:00
|
|
|
ruby '2.6.0'
|
2018-11-22 14:33:08 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
source 'https://rubygems.org'
|
|
|
|
|
2019-01-29 04:10:49 -05:00
|
|
|
git_source(:github) { |s| "https://github.com/#{s}.git" }
|
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'.
|
2019-04-27 05:28:40 -04:00
|
|
|
gem 'rails', '~> 6.0.0.rc1'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-26 09:58:22 -05:00
|
|
|
# A set of common locale data and translations
|
|
|
|
# to internationalize and/or localize your Rails applications.
|
2019-01-29 04:10:49 -05:00
|
|
|
gem 'rails-i18n', '~> 6.0.0.beta1'
|
2018-11-26 09:58:22 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use postgresql as the database for Active Record.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'pg', '>= 0.18', '< 2.0'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use Puma as the app server.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'puma', '~> 3.11'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use SCSS for stylesheets.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'sass-rails', '~> 5.0'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use Uglifier as compressor for JavaScript assets.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'uglifier', '>= 1.3.0'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Turbolinks makes navigating your web application faster.
|
|
|
|
# Read more: https://github.com/turbolinks/turbolinks.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'turbolinks', '~> 5'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder.
|
|
|
|
# gem 'jbuilder', '~> 2.5'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use Redis adapter to run Action Cable in production.
|
2018-12-07 08:44:51 -05:00
|
|
|
gem 'redis', '~> 4.0'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use ActiveModel has_secure_password.
|
2018-11-29 15:23:41 -05:00
|
|
|
gem 'bcrypt', '~> 3.1'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Use ActiveStorage variant.
|
2018-11-22 14:33:08 -05:00
|
|
|
# gem 'mini_magick', '~> 4.8'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Reduces boot times through caching; required in config/boot.rb.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'bootsnap', '>= 1.1.0', require: false
|
|
|
|
|
2018-12-07 09:44:42 -05:00
|
|
|
# Provides extended documentation support for the REPL
|
|
|
|
# by means of improving the `show-doc` and `show-source` commands.
|
|
|
|
# With help of the plugin the commands are be able to display the source code
|
|
|
|
# and the docs of Ruby methods and classes implemented in C.
|
2019-01-28 18:52:54 -05:00
|
|
|
gem 'pry-doc', '~> 1.0'
|
2018-12-07 09:44:42 -05:00
|
|
|
|
2018-11-22 14:50:24 -05:00
|
|
|
# Use Pry as your Rails console.
|
|
|
|
gem 'pry-rails', '~> 0.3'
|
|
|
|
|
2018-11-23 14:20:56 -05:00
|
|
|
# This gem provides jQuery and the jQuery-ujs driver
|
|
|
|
# for your Rails 4+ application.
|
|
|
|
gem 'jquery-rails', '~> 4.3'
|
|
|
|
|
|
|
|
# The most popular HTML, CSS, and JavaScript framework for developing
|
|
|
|
# responsive, mobile first projects on the web.
|
2019-02-22 17:10:47 -05:00
|
|
|
gem 'bootstrap', '~> 4.3.1'
|
2018-11-23 14:20:56 -05:00
|
|
|
|
2018-11-23 14:38:56 -05:00
|
|
|
# Font-Awesome SASS gem for use in Ruby projects.
|
|
|
|
gem 'font-awesome-sass', '~> 5.5.0'
|
|
|
|
|
2018-11-26 08:58:09 -05:00
|
|
|
# Forms made easy for Rails!
|
|
|
|
# It's tied to a simple DSL, with no opinion on markup.
|
|
|
|
gem 'simple_form', '~> 4.1'
|
|
|
|
|
2018-11-29 09:35:42 -05:00
|
|
|
# A simple HTTP and REST client for Ruby,
|
|
|
|
# inspired by the Sinatra microframework style of specifying actions:
|
|
|
|
# get, put, post, delete.
|
|
|
|
gem 'rest-client', '~> 2.0'
|
|
|
|
|
2018-11-29 09:57:40 -05:00
|
|
|
# A gem that provides a client interface for the Sentry error logger.
|
|
|
|
gem 'sentry-raven'
|
|
|
|
|
2018-11-29 15:23:41 -05:00
|
|
|
# Flexible authentication solution for Rails with Warden.
|
2019-03-20 07:43:51 -04:00
|
|
|
gem 'devise', '~> 4.6'
|
2018-11-29 15:23:41 -05:00
|
|
|
|
|
|
|
# Translations for the devise gem.
|
|
|
|
gem 'devise-i18n', '~> 1.7'
|
|
|
|
|
2018-11-29 18:26:48 -05:00
|
|
|
# Very simple Roles library without any authorization enforcement
|
|
|
|
# supporting scope on resource objects (instance or class).
|
|
|
|
# Supports ActiveRecord and Mongoid ORMs.
|
|
|
|
gem 'rolify', '~> 5.2'
|
|
|
|
|
2018-11-29 19:02:04 -05:00
|
|
|
# Object oriented authorization for Rails applications.
|
|
|
|
gem 'pundit', '~> 2.0'
|
|
|
|
|
2018-11-30 19:07:30 -05:00
|
|
|
# Interactor provides a common interface
|
|
|
|
# for performing complex user interactions.
|
|
|
|
gem 'interactor', '~> 3.1'
|
|
|
|
|
2018-12-03 21:28:16 -05:00
|
|
|
# A generalized Rack framework for multiple-provider authentication.
|
|
|
|
gem 'omniauth', '~> 1.8'
|
|
|
|
|
|
|
|
# Official OmniAuth strategy for GitHub.
|
|
|
|
gem 'omniauth-github', '~> 1.3'
|
|
|
|
|
2018-12-05 17:29:31 -05:00
|
|
|
# A rack middleware for throttling and blocking abusive requests.
|
|
|
|
gem 'rack-attack', '~> 5.4'
|
|
|
|
|
2018-12-07 08:44:51 -05:00
|
|
|
# Simple, efficient background processing for Ruby.
|
|
|
|
gem 'sidekiq', '~> 5.2'
|
|
|
|
|
2018-12-13 21:13:49 -05:00
|
|
|
# Helpers for the reCAPTCHA API.
|
|
|
|
gem 'recaptcha', '~> 4.13'
|
|
|
|
|
2018-11-22 14:33:08 -05:00
|
|
|
group :development, :test do
|
2018-11-22 15:26:40 -05:00
|
|
|
# factory_bot provides a framework and DSL for defining and using factories.
|
|
|
|
gem 'factory_bot_rails', '~> 4.10'
|
|
|
|
|
2018-11-22 15:24:13 -05:00
|
|
|
# Faker is used to easily generate fake data:
|
|
|
|
# names, addresses, phone numbers, etc.
|
|
|
|
gem 'faker', '~> 1.8'
|
|
|
|
|
2018-11-22 14:57:13 -05:00
|
|
|
# Automatic Ruby code style checking tool.
|
|
|
|
# Aims to enforce the community-driven Ruby Style Guide.
|
2019-04-27 05:33:15 -04:00
|
|
|
gem 'rubocop', '~> 0.67.2'
|
2018-11-22 15:13:10 -05:00
|
|
|
|
2019-04-27 05:36:57 -04:00
|
|
|
# A collection of RuboCop cops
|
|
|
|
# to check for performance optimizations in Ruby code.
|
|
|
|
gem 'rubocop-performance', '~> 1.1'
|
|
|
|
|
2018-11-22 15:13:10 -05:00
|
|
|
# rspec-rails is a testing framework for Rails 3+
|
|
|
|
gem 'rspec-rails', '~> 3.8'
|
2018-12-04 18:19:35 -05:00
|
|
|
|
|
|
|
# bundler-audit provides patch-level verification for Bundled apps.
|
|
|
|
gem 'bundler-audit', '~> 0.6'
|
2018-12-04 18:42:05 -05:00
|
|
|
|
|
|
|
# Brakeman detects security vulnerabilities
|
|
|
|
# in Ruby on Rails applications via static analysis.
|
|
|
|
gem 'brakeman', '~> 4.3'
|
2018-11-22 14:33:08 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development do
|
2018-11-28 13:41:36 -05:00
|
|
|
# Capistrano is a utility and framework for executing commands in parallel
|
|
|
|
# on multiple remote machines, via SSH.
|
|
|
|
gem 'capistrano', '~> 3.11', require: false
|
|
|
|
|
2019-01-28 19:47:50 -05:00
|
|
|
# RVM integration for Capistrano.
|
|
|
|
gem 'capistrano-rvm', '~> 0.1', require: false
|
|
|
|
|
2018-11-28 13:41:36 -05:00
|
|
|
# Rails specific Capistrano tasks.
|
|
|
|
gem 'capistrano-rails', '~> 1.4', require: false
|
|
|
|
|
2018-12-04 08:55:09 -05:00
|
|
|
# Remote Rails console for Capistrano.
|
|
|
|
gem 'capistrano-rails-console', '~> 2.3', require: false
|
|
|
|
|
2018-11-22 15:23:10 -05:00
|
|
|
# Call 'byebug' anywhere in the code to stop execution
|
|
|
|
# and get a debugger console.
|
|
|
|
gem 'byebug', platforms: %i[mri mingw x64_mingw]
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-28 13:08:12 -05:00
|
|
|
# The Listen gem listens to file modifications
|
|
|
|
# and notifies you about the changes. Works everywhere!
|
2018-11-22 15:00:34 -05:00
|
|
|
gem 'listen', '>= 3.0.5', '< 3.2'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Access an interactive console on exception pages or by calling 'console'
|
|
|
|
# anywhere in the code.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'web-console', '>= 3.3.0'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-22 14:42:59 -05:00
|
|
|
# Spring speeds up development by keeping your application running
|
|
|
|
# in the background. Read more: https://github.com/rails/spring.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'spring'
|
2018-11-22 15:25:01 -05:00
|
|
|
|
2018-11-28 13:08:12 -05:00
|
|
|
# Makes spring watch files using the listen gem.
|
2018-11-22 14:33:08 -05:00
|
|
|
gem 'spring-watcher-listen', '~> 2.0.0'
|
2018-12-02 16:18:00 -05:00
|
|
|
|
|
|
|
# Automatically generate an entity-relationship diagram (ERD)
|
|
|
|
# for your Rails models.
|
|
|
|
gem 'rails-erd', '~> 1.5'
|
2018-12-03 07:51:04 -05:00
|
|
|
|
|
|
|
# YARD is a documentation generation tool for the Ruby programming language.
|
|
|
|
gem 'yard', '~> 0.9'
|
2018-12-03 12:58:39 -05:00
|
|
|
|
|
|
|
# When mail is sent from your application,
|
|
|
|
# Letter Opener will open a preview in the browser instead of sending.
|
|
|
|
gem 'letter_opener', '~> 1.6'
|
2018-11-22 14:33:08 -05:00
|
|
|
end
|
2018-11-22 15:22:11 -05:00
|
|
|
|
|
|
|
group :test do
|
2018-11-28 09:53:11 -05:00
|
|
|
# A Ruby implementation of the Coveralls API.
|
|
|
|
gem 'coveralls', require: false
|
|
|
|
|
2018-11-28 13:08:12 -05:00
|
|
|
# Strategies for cleaning databases.
|
|
|
|
# Can be used to ensure a clean state for testing.
|
2018-11-22 15:29:28 -05:00
|
|
|
gem 'database_cleaner', '~> 1.7'
|
|
|
|
|
2018-11-22 15:22:11 -05:00
|
|
|
# Code coverage for Ruby 1.9+ with a powerful configuration library
|
|
|
|
# and automatic merging of coverage across test suites.
|
|
|
|
gem 'simplecov', '~> 0.16', require: false
|
2018-11-26 08:38:29 -05:00
|
|
|
|
|
|
|
# Simple one-liner tests for common Rails functionality.
|
|
|
|
gem 'shoulda-matchers', '4.0.0.rc1'
|
2018-11-30 02:26:46 -05:00
|
|
|
|
|
|
|
# Cucumber Generator and Runtime for Rails.
|
2019-04-27 06:43:27 -04:00
|
|
|
gem 'cucumber-rails', '~> 1.7', require: false
|
2018-11-30 18:28:22 -05:00
|
|
|
|
|
|
|
# When a Cucumber step fails, it is useful to create a screenshot image
|
|
|
|
# and HTML file of the current page.
|
|
|
|
gem 'capybara-screenshot', '~> 1.0'
|
2018-11-30 18:41:15 -05:00
|
|
|
|
2018-12-12 18:56:14 -05:00
|
|
|
# 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', '~> 3.14'
|
2018-12-12 22:01:50 -05:00
|
|
|
|
|
|
|
# A set of RSpec matchers for testing Pundit authorization policies.
|
|
|
|
gem 'pundit-matchers', '~> 1.6'
|
2018-11-22 15:22:11 -05:00
|
|
|
end
|