-
Notifications
You must be signed in to change notification settings - Fork 7
/
Gemfile
313 lines (218 loc) · 6.94 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
# Rails framework
gem 'rails', '6.1.7.8'
gem 'rails-i18n'
# Psych 4 (included in Ruby 3.1) breaks Rails < 7
# Remove this entry completely when updating to Rails 7
gem 'psych', '< 4'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false
# Threaded application server
gem 'puma'
# Prevent server memory from growing until OOM
gem 'puma_worker_killer'
# Knockout for embedded widgets
gem 'knockoutjs-rails'
# Using this branch in pattern library due to multiselect (until it's merged to master)
gem 'pattern-library', git: 'https://github.com/openstax/pattern-library.git', ref: 'c3dd0b2c8ed987f9089b7da302fb02d2fc4cd840'
# Lev framework
# - introduces two new concepts: Routines and Handlers
gem 'lev', github: 'lml/lev', ref: 'a33c93c83afea63c80b5da6317efec4bfd357df5'
gem 'openstax_transaction_retry', github: 'openstax/transaction_retry', ref: '36e26d0a068756c334b9d1c671d40773bbfc9300'
gem 'openstax_transaction_isolation', github: 'openstax/transaction_isolation', ref: '7387fa091462118704967a7c4b2821cd0f5d9e01'
# SCSS stylesheets
gem 'sass-rails'
# Bootstrap front-end framework
gem 'bootstrap-sass'
# Compass stylesheets
gem 'compass-rails'
# Prevent deprecation warning coming from Compass in Sass 3.4.20
gem 'sass', '3.4.19'
gem 'ffi', '< 1.17'
# CoffeeScript for .js.coffee assets and views
gem 'coffee-rails'
# JavaScript asset compiler
gem 'mini_racer'
# JavaScript asset compressor
gem 'uglifier'
# Nicely-styled static error pages
gem 'error_page_assets'
# Password hashing
gem 'bcrypt'
# OAuth provider
gem 'doorkeeper'
# OAuth clients
gem 'omniauth', '~> 1.9'
gem 'omniauth-identity'
gem 'omniauth-facebook'
gem 'omniauth-twitter'
gem 'omniauth-google-oauth2'
# Key-value store for caching
gem 'redis-rails'
# Utilities for OpenStax websites
gem 'openstax_utilities'
# API versioning and documentation
gem 'openstax_api'
# Notify developers of Exceptions in production
gem 'openstax_rescue_from'
# Sentry integration
gem 'sentry-ruby'
gem 'sentry-rails'
gem 'sentry-delayed_job'
# Background job status store
gem 'jobba'
# jQuery library
gem 'jquery-rails'
# Upserts
gem 'activerecord-import'
gem 'smarter_csv'
# API documentation
gem 'apipie-rails'
gem 'maruku'
gem 'rexml'
gem 'jbuilder'
# Background job queueing
gem 'delayed_job_active_record'
# Run delayed_job workers with a control process in the foreground
gem 'delayed_job_worker_pool'
# Ensure background jobs unlock if a delayed_job worker crashes
gem 'delayed_job_heartbeat_plugin'
# JSON Api builder
gem 'representable'
# Keyword search
gem 'keyword_search'
# ToS/PP management
gem 'fine_print', github: 'lml/fine_print', ref: '636023f68e95196dffaf295bfad3ad8051c23542'
# Send users back to the correct page after login
gem 'action_interceptor'
# PostgreSQL database
gem 'pg'
# Support systemd Type=notify services for puma and delayed_job
gem 'sd_notify', require: false
# Add P3P headers for IE
gem 'p3p'
# Font-Awesome for the asset pipeline
gem 'font-awesome-rails'
# Apply CSS stylesheets to emails
gem 'premailer-rails'
# Pagination
gem 'will_paginate'
# Datetime parsing
gem 'chronic'
# Salesforce
gem 'openstax_salesforce'
# Allows 'ap' alternative to 'pp', used in a mailer
gem 'awesome_print'
gem 'whenever', require: false
# Admin toggles
gem 'rails-settings-cached'
# Respond to ELB healthchecks in /ping and /ping/
gem 'openstax_healthcheck'
# Allow Accounts routes to be accessed under an /accounts prefix (for use in CloudFront)
gem 'openstax_path_prefixer', github: 'openstax/path_prefixer', ref: 'e3edfc70589bc90fcffba63b417260a88c1377d7'
# JWE library used by the SSO cookie
gem 'json-jwt'
# international country codes javascript plugin
gem 'intl-tel-input-rails', git: 'https://github.com/openstax/intl-tel-input-rails.git', branch: 'master'
# internationalization based on the `HTTP_ACCEPT_LANGUAGE` header sent by browsers
gem 'http_accept_language'
# Fast JSON parsing
gem 'oj'
# Replace JSON with Oj
gem 'oj_mimic_json'
# CORS for local testing/dev
gem 'rack-cors'
# Data visualization and query
gem 'blazer', '< 3.0'
group :development, :production do
# Get env variables from .env file
gem 'dotenv-rails'
end
group :development, :test do
# Run specs in parallel
gem 'parallel_tests'
# Show failing parallel specs instantly
gem 'rspec-instafail'
# See config/initializers/04-debugger.rb
#
# Call 'debugger' anywhere in the code to stop execution and get a debugger console
gem 'byebug', require: false
# Debug in VS Code - these do not install properly on the latest OS X
# gem 'ruby-debug-ide', require: false
# gem 'debase', require: false
# Use RSpec for tests
gem 'rspec-rails'
# Because `assigns` has been extracted from RSpec to a gem
gem 'rails-controller-testing'
# Fixture replacement
gem 'factory_bot_rails'
# fake data generation
gem 'faker'
# Time travel
gem 'timecop'
# Codecov integration
gem 'codecov', require: false
# Run specs when files change
gem 'guard-rspec'
gem 'guard-livereload', require: false
# Stubs HTTP requests
gem 'webmock'
# Records HTTP requests
gem 'vcr'
# Lint ruby files
gem 'rubocop', require: false
# Lint RSpec files
gem 'rubocop-rspec'
gem 'faraday'
gem 'faraday_middleware'
end
group :development do
# See updates in development to reload rails
gem 'listen'
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console'
gem 'i18n-tasks'
# Generate Entity-Relationship Diagrams for Rails applications
gem 'rails-erd'
# "RailsPanel" — Chrome/Firefox extension for Rails development
gem 'meta_request'
end
group :test do
# Fixes https://discuss.rubyonrails.org/t/invalid-domain-example-com-in-rspec-after-changing-session-store-to-domain-all/81922/1
gem 'cgi'
# RSpec matchers for convenience
gem 'shoulda-matchers'
# Test database cleanup gem with multiple strategies
gem 'database_cleaner'
gem 'db-query-matchers'
# Run feature tests with Capybara + Selenium; choose which driver gems to use
# based on test environment.
gem 'capybara'
gem 'selenium-webdriver', require: false
gem 'webdrivers', require: false
# Testing emails
gem 'capybara-email'
# Fake in-memory Redis for testing
gem 'fakeredis', require: 'fakeredis/rspec'
gem 'launchy'
gem 'capybara-screenshot', require: false
gem 'whenever-test'
end
group :production, :test do
# AWS SES integration
gem 'aws-sdk-rails'
end
group :production do
# Used to backup the database before migrations
gem 'aws-sdk-rds', require: false
# Used to record a lifecycle action heartbeat after creating the RDS snapshot before migrating
gem 'aws-sdk-autoscaling', require: false
# Used to send custom delayed_job metrics to Cloudwatch
gem 'aws-sdk-cloudwatch', require: false
# Consistent logging
gem 'lograge'
end