forked from Coursemology/coursemology2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
228 lines (186 loc) · 6.24 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
# frozen_string_literal: true
source 'https://rubygems.org'
# For Windows devs
gem 'tzinfo-data', platforms: [:mswin, :mswin64]
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '= 5.2.0'
# Use PostgreSQL for the backend
gem 'pg'
# Instance/Course settings
gem 'settings_on_rails'
# Manage read/unread status
gem 'unread'
# Extension for validating hostnames and domain names
gem 'validates_hostname'
# A Ruby state machine library
gem 'workflow'
gem 'workflow-activerecord', '>= 4.1', '< 6.0'
# Add creator_id and updater_id attributes to models
gem 'activerecord-userstamp', git: 'https://github.com/lowjoel/activerecord-userstamp'
# Allow actions to be deferred until after a record is committed.
gem 'after_commit_action'
# Allow declaring the calculated attributes of a record
gem 'calculated_attributes'
# Baby Squeel as an SQL-like DSL
gem 'baby_squeel'
# For multiple table inheritance
# TODO: Figure out breaking changes in v2 as polymorphism is not working correctly.
gem 'active_record-acts_as', git: 'https://github.com/Coursemology/active_record-acts_as', branch: 'rails5-2'
# Organise ActiveRecord model into a tree structure
gem 'edge'
# Upsert action for Postgres
gem 'active_record_upsert'
# Create pretty URLs and work with human-friendly strings
gem 'friendly_id'
# Use SCSS for stylesheets
gem 'sass-rails'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# TODO: Check compatibility with webpacker 3.2.0 when it is released.
# https://github.com/rails/webpacker/blob/4f65c5ee58666bbe58b234c48d47ec7d48fab4d8/CHANGELOG.md
gem 'webpacker', '<= 5.2.2'
# Internationalisation for JavaScript.
gem 'i18n-js', '>= 3.0.0.rc1'
# Routes from JavaScript
gem 'js-routes'
# Use jQuery as the JavaScript library
gem 'jquery-rails'
# Our Coursemology will be themed using Bootstrap
gem 'bootstrap-sass'
gem 'bootstrap-sass-extras', '>= 0.0.7', git: 'https://github.com/doabit/bootstrap-sass-extras'
gem 'autoprefixer-rails'
# Use font-awesome for icons
gem 'font-awesome-rails'
# HTML Pipeline and dependencies
gem 'html-pipeline'
gem 'sanitize', '>= 4.6.3'
gem 'rinku'
gem 'html-pipeline-rouge_filter'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder'
# Slim as the templating language
gem 'slim-rails'
# ejs for client-side templates
gem 'ejs'
# High Voltage for static pages
gem 'high_voltage'
# Paginator for Rails
gem 'kaminari'
# Work with Docker
gem 'docker-api'
group :development do
# Spring speeds up development by keeping your application running in the background.
# Read more: https://github.com/rails/spring
gem 'spring', platforms: [:ruby]
gem 'listen', '~> 3.2.0'
# Gems to make development mode faster and less painful
gem 'wdm', '>= 0.0.3', platforms: [:mswin, :mswin64]
# Helps to prevent database slowdowns
gem 'lol_dba', require: false
# General cleanliness
gem 'traceroute', require: false
# bundle exec yardoc generates the API under doc/.
# Use yard stats --list-undoc to find what needs documenting.
gem 'yard', group: :doc
# Gem to generate favicon
gem 'rails_real_favicon'
end
group :test do
gem 'email_spec'
gem 'rspec-html-matchers'
gem 'should_not'
gem 'simplecov'
gem 'shoulda-matchers'
# Capybara for feature testing
gem 'capybara'
gem 'capybara-selenium'
gem 'webdrivers'
gem 'aws-sdk-s3'
# Make screen shots in tests, helps with the debugging of JavaScript tests.
gem 'capybara-screenshot'
end
group :development, :test do
# Use RSpec for Behaviour testing
gem 'rspec-rails'
# Factory Bot for factories
gem 'factory_bot_rails'
# Checks that all translations are used and defined
gem 'i18n-tasks', require: false
# Helps to prevent database consistency mistakes
gem 'consistency_fail', require: false
# Prevent N+1 queries.
gem 'bullet', '>= 4.14.9'
gem 'parallel_tests'
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
end
group :ci do
# Code Coverage reporters
gem 'codecov', :require => false
gem 'rspec-retry'
gem 'rspec_junit_formatter'
end
# This is used only when producing Production assets. Deals with things like minifying JavaScript
# source files/image assets.
group :assets do
# Compress image assets
gem 'image_optim_rails'
end
group :production, :test do
# Puma will be our app server
gem 'puma', '4.3.6'
end
# Multitenancy
gem 'acts_as_tenant'
# Internationalization
gem 'http_accept_language'
# User authentication
gem 'devise'
gem 'devise_masquerade'
gem 'devise-multi_email'
gem 'omniauth'
gem 'omniauth-facebook'
# Use cancancan for authorization
gem 'cancancan'
gem 'cancancan-baby_squeel'
# Some helpers for structuring CSS/JavaScript
# Official version https://github.com/winston/rails_utils/pull/30 is no longer maintained.
# We also want stricter sanitization.
gem 'rails_utils', git: 'https://github.com/Coursemology/rails_utils', branch: 'full-sanitize-flash'
# Themes for instances
gem 'themes_on_rails', '>= 0.3.1', git: 'https://github.com/Coursemology/themes_on_rails',
branch: 'cache-theme-templates'
# Forms made easy for Rails
gem 'simple_form'
gem 'simple_form-bootstrap', git: 'https://github.com/Coursemology/simple_form-bootstrap'
# Dynamic nested forms
gem 'cocoon'
gem 'bootstrap3-datetimepicker-rails'
gem 'bootstrap-select-rails'
gem 'bootstrap_tokenfield_rails'
gem 'twitter-typeahead-rails'
gem 'summernote-rails'
# Using CarrierWave for file uploads
gem 'carrierwave'
# Generate sequential filenames
gem 'filename'
# Required by CarrierWave, for image resizing
gem 'mini_magick'
# Library for reading and writing zip files
gem 'rubyzip', require: 'zip'
# Manipulating XML files, needed for programming evaluation test report parsing.
gem 'nokogiri', '>= 1.8.1'
# Polyglot support
gem 'coursemology-polyglot'
# To assist with bulk inserts into database
gem 'activerecord-import', '>= 0.2.0'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
gem 'record_tag_helper'
gem 'rails-controller-testing'
# WordNet corpus to obtain lemma form of words, for comprehension questions.
gem 'rwordnet', git: 'https://github.com/makqien/rwordnet'
gem 'loofah', '>= 2.2.1'
gem 'rails-html-sanitizer', '>= 1.0.4'
gem 'mimemagic', '>= 0.3.7'
gem 'ffi', '>= 1.14.2'