forked from code-dot-org/code-dot-org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
264 lines (196 loc) · 7.29 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
source 'https://rubygems.org'
# Force HTTPS for github-source gems.
# This is a temporary workaround - remove when bundler version is >=2.0
# @see https://github.com/bundler/bundler/issues/4978
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.1'
gem 'rails-controller-testing'
# Compile Sprockets assets concurrently in `assets:precompile`.
# Ref: https://github.com/rails/sprockets/pull/470
gem 'sprockets', github: 'wjordan/sprockets', ref: 'concurrent_asset_bundle_3.x'
gem 'sprockets-rails'
# provide `respond_to` methods
# (see: http://guides.rubyonrails.org/4_2_release_notes.html#respond-with-class-level-respond-to)
gem 'responders', '~> 2.0'
gem 'sinatra', '~> 2.0.0.beta2', require: 'sinatra/base'
gem 'mysql2', '~> 0.3.13'
# Ref: https://github.com/bdurand/seamless_database_pool/issues/38
# Ref: https://github.com/bdurand/seamless_database_pool/pull/39
gem 'seamless_database_pool', github: 'wjordan/seamless_database_pool', ref: 'cdo'
gem 'dalli' # memcached
gem 'dalli-elasticache' # ElastiCache Auto Discovery memcached nodes
gem 'google_drive'
gem 'le', '~> 2.2'
gem 'os'
gem 'parallel'
gem 'redis', '~> 3.3.3'
# Using commit ref on fork until maintainer publishes a new version
gem 'redis-slave-read', require: false, github: 'code-dot-org/redis-slave-read', ref: 'cfe1bd0f5cf65eee5b52560139cab133f22cb880'
gem 'google-api-client'
gem 'launchy' # Peer dependency of Google::APIClient::InstalledAppFlow
gem 'crowdin-cli'
# CSRF protection for Sinatra.
gem 'rack_csrf'
group :development do
gem 'annotate'
gem 'rack-mini-profiler'
gem 'ruby-progressbar', require: false
gem 'thin'
gem 'web-console'
end
# Rack::Cache middleware used in development/test;
# Rack::Cache::Response used by Rack::Optimize in non-development environments.
gem 'rack-cache'
group :development, :test do
gem 'rerun', '~> 0.10.0'
gem 'shotgun'
# Use debugger
#gem 'debugger' unless ENV['RM_INFO']
gem 'active_record_query_trace'
gem 'better_errors'
gem 'binding_of_caller'
gem 'haml-rails' # haml (instead of erb) generators
gem 'ruby-prof'
gem 'vcr', require: false
# For unit testing.
gem 'webmock', require: false
gem 'codecov', require: false
gem 'fake_sqs'
gem 'fakeredis', require: false
gem 'mocha', require: false
gem 'simplecov', '~> 0.9', require: false
gem 'sqlite3'
gem 'timecop'
# For UI testing.
gem 'chromedriver-helper', '~> 0.0.7'
gem 'colorize'
gem 'cucumber', '~> 2.4.0'
gem 'eyes_selenium', '3.5.4'
gem 'minitest', '~> 5.5'
gem 'minitest-around'
gem 'minitest-reporters'
gem 'net-http-persistent'
gem 'rspec'
gem 'selenium-webdriver', '~> 3.0.3'
gem 'spring'
gem 'spring-commands-testunit'
# For pegasus PDF generation / merging testing.
gem 'parallel_tests'
gem 'pdf-reader', require: false
end
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
# Needed for unit testing, and also for /rails/mailers email previews.
gem 'factory_girl_rails', group: [:development, :staging, :test, :adhoc]
# For pegasus PDF generation.
gem 'open_uri_redirections', require: false, group: [:development, :staging, :test]
gem 'unicorn', '~> 5.1.0'
gem 'chronic', '~> 0.10.2'
# Use SCSS for stylesheets.
# Ref: https://github.com/rails/sass-rails/pull/386
gem 'sass-rails', github: 'wjordan/sass-rails', ref: 'frozen-array-fix'
# Use Uglifier as compressor for JavaScript assets.
gem 'uglifier', '>= 1.3.0'
# Use jquery as the JavaScript library.
gem 'jquery-rails'
gem 'phantomjs', '~> 1.9.7.1'
# For emoji in utility output.
gem 'gemoji'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Authentication and permissions.
gem 'cancancan', '~> 1.15.0'
gem 'devise', '~> 4.2.0'
gem 'devise_invitable', '~> 1.6.0'
# Ref: https://github.com/instructure/ims-lti/pull/90
gem 'ims-lti', github: 'wjordan/ims-lti', ref: 'oauth_051'
# Ref: https://github.com/Clever/omniauth-clever/pull/7
gem 'omniauth-clever', '~> 1.2.1', github: 'Clever/omniauth-clever'
gem 'omniauth-facebook', '~> 4.0.0.rc1'
gem 'omniauth-google-oauth2', '~> 0.3.1'
# Ref: https://github.com/joel/omniauth-windowslive/pull/16
# Ref: https://github.com/joel/omniauth-windowslive/pull/17
gem 'omniauth-windowslive', '~> 0.0.11', github: 'wjordan/omniauth-windowslive', ref: 'cdo'
gem 'bootstrap-sass', '~> 2.3.2.2'
gem 'haml'
gem 'jquery-ui-rails', '~> 5.0.3'
gem 'nokogiri', '~> 1.6.1'
gem 'highline', '~> 1.6.21'
gem 'honeybadger' # error monitoring
gem 'newrelic_rpm', '~> 3.16.0', group: [:staging, :development, :production] # perf/error/etc monitoring
gem 'redcarpet', '~> 3.3.4'
# Ref: https://github.com/alexreisner/geocoder/pull/1085 (pending new RubyGems release)
gem 'geocoder', github: 'wjordan/geocoder', ref: 'rack-request-fix'
gem 'mini_magick'
gem 'rmagick'
gem 'acts_as_list'
gem 'kaminari' # pagination
gem 'stringex', '~> 2.5.2' # Provides String.to_ascii
gem 'naturally' # for sorting string naturally
gem 'retryable' # retry code blocks when they throw exceptions
# Used by a build script.
gem 'execjs'
gem 'therubyracer', '~> 0.12.2', platforms: :ruby
gem 'jwt' # single signon for zendesk
gem 'codemirror-rails' # edit code in textarea
gem 'marked-rails' # js-based md renderer used for levelbuilder md preview
gem 'twilio-ruby' # SMS API for send-to-phone feature
gem 'font-awesome-rails', '~> 4.6.3'
gem 'sequel', '~> 4.30'
gem 'user_agent_parser'
gem 'paranoia'
# JSON model serializer for REST APIs.
gem 'active_model_serializers', github: 'rails-api/active_model_serializers', ref: '2962f3f64e7c672bfb5a13a8f739b5db073e5473'
gem 'aws-sdk', '~> 2'
# Lint tools
group :development, :staging do
gem 'haml_lint', require: false
gem 'rubocop', '0.46.0', require: false
gem 'scss_lint', require: false
end
# Reduce volume of production logs
gem 'lograge'
# Enforce SSL
gem 'rack-ssl-enforcer'
# PubSub for NetSim
gem 'pusher', '~> 1.3.1', require: false
gem 'youtube-dl.rb', group: [:development, :staging, :levelbuilder]
gem 'daemons'
gem 'httparty'
gem 'net-scp'
gem 'net-ssh'
gem 'oj'
gem 'rest-client', '~> 2.0'
gem 'rack-attack', '~> 4.4'
# Generate SSL certificates.
gem 'acmesmith'
gem 'addressable'
gem 'bcrypt'
gem 'firebase'
gem 'firebase_token_generator'
gem 'sshkit'
gem 'validates_email_format_of'
gem 'composite_primary_keys'
# GitHub API; used by the DotD script to automatically create new
# releases on deploy
gem 'octokit'
# Used to create a prefix trie of student names within a section
gem 'full-name-splitter', github: 'pahanix/full-name-splitter'
gem 'rambling-trie'
gem 'omniauth-openid-connect', github: 'wjordan/omniauth-openid-connect', ref: 'cdo'
# Ref: https://github.com/toy/image_optim/pull/145
# Also include sRGB color profile conversion.
gem 'image_optim', github: 'wjordan/image_optim', ref: 'cdo'
# Image-optimization tools and binaries.
gem 'image_optim_pack', '~> 0.5.0', github: 'wjordan/image_optim_pack', ref: 'guetzli'
# Ref: https://github.com/toy/image_optim_rails/pull/3
gem 'image_optim_rails', github: 'wjordan/image_optim_rails', ref: 'rails_root_config_path'
gem 'image_size', require: false
# Auto strip model attributes before validation (opt in)
gem 'auto_strip_attributes', '~> 2.1'