-
Notifications
You must be signed in to change notification settings - Fork 143
/
Gemfile
185 lines (159 loc) · 4.98 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# frozen_string_literal: true
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
source 'https://rubygems.org'
# Core Stuff
gem 'i18n', '1.8.11'
gem 'puma'
gem 'rails', '6.1.7.6'
# Database Stuff
gem 'activerecord-import' # Run bulk imports quicker
gem 'attr_encrypted' # encrypt linked_profile tokens
gem 'connection_pool' # Pool our Redises
gem 'fx' # Database functions
gem 'hiredis' # Faster redis
gem 'mongo' # MongoDB for Aozora
gem 'pg' # Postgres
gem 'redis', '> 3.3.0', require: ['redis', 'redis/connection/hiredis'] # Redis
gem 'scenic' # Database views
# Search
gem 'algoliasearch-rails' # what we tried to switch to (algolia)
gem 'chewy' # the original search (elasticsearch)
gem 'typesensual' # what we're doing now (typesense)
# Auth{entication,orization}
gem 'bcrypt'
gem 'doorkeeper'
gem 'doorkeeper-grants_assertion'
gem 'jwt' # Used for Nolt SSO
gem 'pundit'
gem 'pundit-resources', github: 'hummingbird-me/pundit-resources'
gem 'rolify'
# Attachments
gem 'apollo_upload_server'
gem 'aws-sdk-s3', '~> 1'
gem 'blurhash'
gem 'image_optim', require: false
gem 'image_optim_pack', require: false
gem 'image_processing'
gem 'marcel'
gem 'mini_magick'
gem 'shrine'
gem 'shrine-blurhash'
# Background tasks
gem 'sidekiq', '~> 7'
gem 'sidekiq-debounce'
gem 'sidekiq-scheduler'
# Text pipeline
gem 'html-pipeline'
gem 'kramdown'
gem 'kramdown-parser-gfm'
gem 'rinku'
gem 'sanitize'
# Feature Flagging
gem 'flipper'
gem 'flipper-redis'
gem 'flipper-ui'
# API Frameworks
gem 'graphql'
gem 'graphql-batch'
gem 'graphql-fancy_loader'
gem 'jsonapi-resources', '0.9.12'
# Miscellaneous Utilities
gem 'active_flag' # Bitfields!
gem 'addressable' # Fancy address logic
gem 'ancestry' # Ancestry for categories
gem 'bootsnap' # Faster boots
gem 'counter_culture' # Fancier counter caches
gem 'faraday'
gem 'faraday_middleware'
gem 'fastimage' # Quickly get image sizes
gem 'friendly_id' # slug-urls-are-cool
gem 'google-api-client' # Google APIs
gem 'graphql-client' # make graphql calls
gem 'http' # Pewpew HTTP calls easier
gem 'ice_cube', github: 'ice-cube-ruby/ice_cube' # Episode release schedules
gem 'iso-639' # Language codes
gem 'iso_country_codes' # Country codes
gem 'lograge' # Better logging
gem 'mechanize' # Automating interaction with websites
gem 'nokogiri' # Parse MAL XML shit
gem 'one_signal' # Send push notifications
gem 'paranoia', '~> 2.4' # Faux deletion
gem 'postmark-rails' # Send via Postmark
gem 'preferred_locale' # Process Accept-Language headers
gem 'rack-timeout' # Rack timeout
gem 'ranked-model' # Sortables!
gem 'retriable' # Retry when errors happen
gem 'roadie-rails' # Inline CSS for emails
gem 'ruby-progressbar' # Fancy progress bars for Rake tasks
gem 'sass-rails' # Process SCSS for emails
gem 'sitemap_generator' # Generate Sitemaps
gem 'strait' # Rate limiting anything!
gem 'stream_rails', github: 'GetStream/stream-rails',
branch: 'feature/subreference-enrichment' # Feed Enrichment
gem 'stream-ruby', '~> 2.10.0' # Feeds
# Cash Money
gem 'stripe'
# Rack Middleware
gem 'rack-attack'
gem 'rack-cors'
# Optimizations
gem 'fast_blank' # Faster String#blank?
gem 'oj' # Blazing-fast JSON parsing
gem 'oj_mimic_json' # Hook it in place of JSON gem
gem 'parallel' # Process shit in parallel
# Monitoring
gem 'graphql-metrics'
gem 'health_bit' # Allow Kubernetes to check the health
gem 'marginalia' # Scribble in the margins of our queries
gem 'prometheus_exporter' # Shit out metrics over Prometheus
gem 'sentry-rails'
gem 'sentry-ruby'
gem 'sentry-sidekiq'
gem 'stackprof'
# Admin Panel
gem 'pghero'
gem 'pg_query' # pghero indexes
gem 'rails_admin'
gem 'sassc-rails' # used by rails admin
gem 'sinatra' # used by sidekiq/web
group :development, :test do
gem 'dead_end' # Better error messages for missing `end`
gem 'dotenv-rails' # Load default ENV
gem 'pry-rails' # Better Console
gem 'spring' # Faster CLI
# Rubocop stuff
gem 'rubocop', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false
# Development+Testing
gem 'database_cleaner' # Clean the database fully before doing anything
gem 'factory_bot_rails' # Factories > Fixtures
gem 'rspec-rails' # Specs > Tests
# Guard notices filesystem changes and *does things*
gem 'guard'
gem 'guard-rspec', require: false # Running specs
# Useful for benchmarking!
gem 'benchmark-ips'
gem 'derailed_benchmarks'
# Debugging tests and scripts
gem 'pry-byebug'
end
group :test do
gem 'faker' # Fake data
gem 'json_expressions' # Test outputted JSON
gem 'pundit-matchers' # Test pundit policies
gem 'rspec-sidekiq' # Test Sidekiq jobs
gem 'shoulda-matchers' # it { should(:have_shoulda) }
gem 'stripe-ruby-mock', github: 'stripe-ruby-mock/stripe-ruby-mock',
require: 'stripe_mock' # Mock Stripe API
gem 'timecop' # stop [hammer-]time
gem 'webmock' # Web faking
# Coverage
gem 'simplecov' # Local coverage
# Libraries used to test our API itself
gem 'oauth2'
end
group :production, :staging do
gem 'puma_worker_killer'
end