forked from hummingbird-me/kitsu-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
181 lines (157 loc) · 5.13 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
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
source 'https://rubygems.org'
# Core Stuff
gem 'puma'
gem 'rails', '6.1.6'
gem 'i18n', '1.8.11'
# Database Stuff
gem 'activerecord-import' # Run bulk imports quicker
gem 'algoliasearch-rails' # Future Search
gem 'attr_encrypted', '~>3.1.0' # encrypt linked_profile tokens
gem 'chewy' # ElasticSearch (TODO: remove this once we switch to Algolia)
gem 'connection_pool' # Pool our Redises
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'
# Auth{entication,orization}
gem 'bcrypt'
gem 'doorkeeper', '~> 5.4.0'
gem 'doorkeeper-grants_assertion', git: 'https://github.com/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', '~> 5'
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' # Episode release schedules
gem 'iso-639' # Language codes
gem 'iso_country_codes' # Country codes
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 '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
gem 'typhoeus' # Parallelize scraping tasks
# 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 'health_bit' # Allow Kubernetes to check the health
gem 'marginalia' # Scribble in the margins of our queries
gem 'opentelemetry-exporter-otlp'
gem 'opentelemetry-instrumentation-action_pack'
gem 'opentelemetry-instrumentation-active_record'
gem 'opentelemetry-instrumentation-faraday'
gem 'opentelemetry-instrumentation-graphql'
gem 'opentelemetry-instrumentation-mongo'
gem 'opentelemetry-instrumentation-rack'
gem 'opentelemetry-instrumentation-rails'
gem 'opentelemetry-instrumentation-redis'
gem 'opentelemetry-sdk'
gem 'prometheus_exporter' # Shit out metrics over Prometheus
gem 'sentry-raven' # Send error data to Sentry
# Admin Panel
gem 'pghero'
gem 'pg_query' # pghero indexes
gem 'rails_admin', github: 'railsadminteam/rails_admin'
gem 'sassc-rails' # used by rails admin
gem 'sinatra' # used by sidekiq/web
group :development, :test do
gem 'dotenv-rails' # Load default ENV
gem 'dead_end' # Better error messages for missing `end`
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 'rspec-sidekiq' # Test Sidekiq jobs
gem 'shoulda-matchers' # it { should(:have_shoulda) }
gem '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