2020-03-16 20:30:46 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-03-23 00:22:25 +00:00
|
|
|
source 'http://rubygems.org'
|
2020-03-23 03:38:38 +00:00
|
|
|
ruby '2.6.5'
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2020-03-16 20:10:14 +00:00
|
|
|
# Rails core
|
2020-03-23 03:38:38 +00:00
|
|
|
gem 'rails', '~> 6.0.2.2'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'rake'
|
2020-03-15 18:31:46 +00:00
|
|
|
|
|
|
|
# Dotenv
|
|
|
|
gem 'dotenv-rails'
|
|
|
|
|
|
|
|
# DB
|
2020-03-17 00:01:43 +00:00
|
|
|
gem 'mysql2'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'dalli'
|
2020-04-10 15:32:18 +00:00
|
|
|
gem 'connection_pool' # Needed for MT
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2020-03-15 18:31:46 +00:00
|
|
|
# Web server
|
2020-03-25 23:32:35 +00:00
|
|
|
gem 'faraday'
|
2020-03-16 20:30:46 +00:00
|
|
|
gem 'puma'
|
2020-04-10 15:32:18 +00:00
|
|
|
# gem 'unicorn'
|
2020-03-15 18:31:46 +00:00
|
|
|
|
|
|
|
# Model plugins
|
2020-03-23 03:38:38 +00:00
|
|
|
gem 'unread'
|
2020-04-02 00:08:19 +00:00
|
|
|
gem 'scrypt'
|
2020-04-10 15:32:18 +00:00
|
|
|
gem 'active_flag'
|
|
|
|
# gem 'impressionist
|
2020-03-22 13:04:06 +00:00
|
|
|
# gem 'ratyrate'
|
2020-03-16 01:08:21 +00:00
|
|
|
# gem "acts_as_rateable", :git => "git://github.com/anton-zaytsev/acts_as_rateable.git"
|
2020-03-15 18:31:46 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# External APIs
|
|
|
|
gem 'google-api-client', '~> 0.10.3'
|
|
|
|
gem 'steam-condenser', github: 'koraktor/steam-condenser-ruby'
|
|
|
|
|
2020-04-10 15:32:18 +00:00
|
|
|
# Auth
|
|
|
|
gem 'omniauth'
|
|
|
|
gem 'omniauth-steam'
|
|
|
|
gem 'omniauth-rails_csrf_protection'
|
|
|
|
# FIXME
|
|
|
|
# gem 'rails_csrf_protection'
|
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# View and model helper gems
|
|
|
|
gem 'time_difference'
|
|
|
|
gem 'public_suffix'
|
|
|
|
gem 'carrierwave'
|
2020-03-16 21:59:01 +00:00
|
|
|
gem 'bbcoder'
|
|
|
|
gem 'bluecloth'
|
2020-03-17 01:03:02 +00:00
|
|
|
gem 'nokogiri'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'sanitize'
|
2020-03-17 01:03:02 +00:00
|
|
|
gem 'rmagick'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'will_paginate'
|
|
|
|
gem 'active_link_to'
|
2017-08-23 20:45:09 +00:00
|
|
|
gem 'country_select', require: 'country_select_without_sort_alphabetical'
|
2019-09-24 19:55:34 +00:00
|
|
|
gem 'i18n_country_select'
|
2020-03-17 01:03:02 +00:00
|
|
|
gem 'dynamic_form'
|
2020-03-15 18:31:46 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# Views
|
|
|
|
gem 'haml'
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2020-03-16 20:10:14 +00:00
|
|
|
# Javascript
|
2020-03-16 21:59:01 +00:00
|
|
|
gem 'coffee-rails'
|
|
|
|
gem 'jquery-rails'
|
|
|
|
gem 'tinymce-rails'
|
2020-03-17 01:03:02 +00:00
|
|
|
gem 'i18n-js'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'uglifier'
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# CSS
|
|
|
|
gem 'sass-rails', '~> 5.0.3' # This it outdated by sassc
|
2020-03-17 00:01:43 +00:00
|
|
|
gem 'bourbon','~> 3.1.8'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'neat', '~> 1.6.0' # Upgrading will cause issues
|
|
|
|
gem 'font-awesome-sass', '~> 4.1.0.0' # Fix icons before updating
|
2020-03-17 00:13:40 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# FIXME: Legacy feature shims
|
|
|
|
gem 'rails_autolink'
|
|
|
|
gem 'responders'
|
|
|
|
gem 'active_record_union'
|
2020-03-16 20:10:14 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# FIXME: Dependency version fix
|
2020-03-16 20:10:14 +00:00
|
|
|
gem 'signet', '0.11.0'
|
2014-04-05 16:26:11 +00:00
|
|
|
|
2020-11-15 03:16:59 +00:00
|
|
|
gem 'bundle-audit'
|
|
|
|
|
2020-03-15 18:31:46 +00:00
|
|
|
group :production do
|
2020-03-16 21:59:01 +00:00
|
|
|
gem 'newrelic_rpm'
|
2020-04-12 10:39:33 +00:00
|
|
|
gem 'puma_worker_killer'
|
2020-03-15 18:31:46 +00:00
|
|
|
end
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2014-03-23 01:53:42 +00:00
|
|
|
group :development do
|
2020-03-28 20:06:22 +00:00
|
|
|
# Check models
|
|
|
|
gem 'rubocop'
|
2020-04-12 10:39:33 +00:00
|
|
|
|
2020-03-28 20:06:22 +00:00
|
|
|
# annotate models
|
2020-03-16 20:30:46 +00:00
|
|
|
gem 'annotate'
|
2020-03-28 20:06:22 +00:00
|
|
|
|
|
|
|
# error message
|
2020-03-15 18:31:46 +00:00
|
|
|
gem 'better_errors'
|
|
|
|
gem 'binding_of_caller'
|
2020-03-25 23:32:35 +00:00
|
|
|
gem 'web-console'
|
2014-03-23 00:22:25 +00:00
|
|
|
end
|
|
|
|
|
2014-03-23 01:53:42 +00:00
|
|
|
group :test do
|
2020-03-28 20:06:22 +00:00
|
|
|
# FIXME: Use dev versions because of rspec bug
|
2020-03-25 01:54:21 +00:00
|
|
|
gem 'rspec-core', git: 'https://github.com/rspec/rspec-core'
|
|
|
|
gem 'rspec-expectations', git: 'https://github.com/rspec/rspec-expectations'
|
|
|
|
gem 'rspec-mocks', git: 'https://github.com/rspec/rspec-mocks'
|
|
|
|
gem 'rspec-rails', git: 'https://github.com/rspec/rspec-rails'
|
|
|
|
gem 'rspec-support', git: 'https://github.com/rspec/rspec-support'
|
|
|
|
|
2020-03-17 01:03:02 +00:00
|
|
|
# FIXME: Downgraded b/c of deprecations, fix static attributes
|
|
|
|
gem 'factory_bot_rails', '4.10.0'
|
2020-03-25 01:54:21 +00:00
|
|
|
|
2020-03-25 23:32:35 +00:00
|
|
|
# Feature testing
|
2020-03-25 01:54:21 +00:00
|
|
|
gem 'capybara'
|
2020-03-16 21:59:01 +00:00
|
|
|
gem 'poltergeist'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem 'phantomjs', require: 'phantomjs/poltergeist'
|
2020-03-16 02:35:44 +00:00
|
|
|
gem 'selenium-webdriver'
|
2020-03-25 01:54:21 +00:00
|
|
|
|
2020-03-17 01:58:33 +00:00
|
|
|
# Fix FF issue
|
|
|
|
gem 'geckodriver-helper'
|
2020-03-25 23:32:35 +00:00
|
|
|
|
2020-03-17 01:58:33 +00:00
|
|
|
# Fix legacy issue
|
|
|
|
gem 'rails-controller-testing'
|
2020-03-25 01:54:21 +00:00
|
|
|
|
2020-03-25 23:32:35 +00:00
|
|
|
# Coverage
|
2020-03-16 21:59:01 +00:00
|
|
|
gem 'simplecov', require: false
|
|
|
|
gem 'timecop'
|
2020-03-18 03:38:17 +00:00
|
|
|
|
2020-03-25 01:54:21 +00:00
|
|
|
# Do I need this?
|
|
|
|
gem 'test-unit'
|
2020-03-21 20:33:44 +00:00
|
|
|
|
2020-03-25 01:54:21 +00:00
|
|
|
# For JS test
|
|
|
|
gem 'mime-types'
|
2020-03-23 03:11:36 +00:00
|
|
|
|
|
|
|
# Database cleaner
|
|
|
|
gem 'database_cleaner-active_record'
|
|
|
|
gem 'database_cleaner-redis'
|
2020-03-24 21:58:47 +00:00
|
|
|
|
2020-03-25 01:54:21 +00:00
|
|
|
# For circle ci + CC
|
2020-03-24 21:58:47 +00:00
|
|
|
gem 'rspec_junit_formatter'
|
2020-03-25 01:54:21 +00:00
|
|
|
gem 'codeclimate-test-reporter', require: nil
|
2014-03-23 00:22:25 +00:00
|
|
|
end
|
|
|
|
|
2014-03-23 01:53:42 +00:00
|
|
|
group :development, :test do
|
2020-03-18 19:11:10 +00:00
|
|
|
gem 'pry-rails'
|
2020-03-22 17:44:39 +00:00
|
|
|
gem 'pry-byebug'
|
2020-03-25 23:32:35 +00:00
|
|
|
gem 'spring'
|
2020-03-28 20:06:22 +00:00
|
|
|
gem "rails_best_practices"
|
2020-04-10 15:32:18 +00:00
|
|
|
gem 'awesome_print'
|
2020-03-25 01:54:21 +00:00
|
|
|
# For n+1 uqeries
|
2020-03-25 23:32:35 +00:00
|
|
|
# gem 'bullet'
|
2014-03-23 00:22:25 +00:00
|
|
|
end
|