-
Notifications
You must be signed in to change notification settings - Fork 7
/
Gemfile
191 lines (161 loc) · 3.92 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
# frozen_string_literal: true
source 'https://rubygems.org'
git_source(:github) { |name| "https://github.com/#{name}.git" }
### BASICS
# Ruby version
ruby '2.5.0'
# Rails version
gem 'rails', '~> 4'
# Use postgres as database
gem 'pg', '< 1'
# For Travis CI
gem 'rake', group: :test
### END BASICS
### VIEWS, ASSETS, FRONTEND STUFF
# HAML makes your life easier
gem 'haml'
# Use SCSS for stylesheets
gem 'sass-rails'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier'
# Use jQuery
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster.
# Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Use Bootstrap, the CSS framework (getbootstrap.com)
gem 'bootstrap-sass'
# Javascript interpreter
# gem 'therubyracer', platforms: :ruby
# Adds attachments
gem 'paperclip'
# Adds nested forms
gem 'nested_form'
# Markdown parser
gem 'redcarpet'
# Zip submissions
gem 'rubyzip'
# Autoprefixer for SCSS
gem 'autoprefixer-rails'
# Inline SVG
gem 'inline_svg'
# Sprockets
gem 'sprockets', '< 4'
group :development do
# Favicon set
gem 'rails_real_favicon'
end
### END ASSETS
### UTILITIES
# Schema Validations: to maintin referential integrity in database and models
gem 'schema_validations', github: 'donjar/schema_validations'
# Add time validations
gem 'validates_timeliness'
# Allows more complex SQL queries
gem 'squeel'
# Adds delayed job queueing for jobs that are executed in the future
gem 'delayed_job_active_record'
# Do not generate digests for error pages
gem 'non-stupid-digest-assets'
# Add pagination
gem 'will_paginate'
# Generate PDF
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
# Facebook Graph API
gem 'koala'
# Environment variables
gem 'dotenv-rails', require: 'dotenv/rails-now'
group :test do
# Acceptance testing
gem 'capybara'
# Driver for Capybara to allow JS stuff
gem 'selenium-webdriver'
# Allow transcations with Capybara and Selenius
gem 'transactional_capybara'
end
group :development do
# Annotates model with schema
gem 'annotate'
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console'
# Spring speeds up development by keeping your application running in the
# background. Read more: https://github.com/rails/spring
gem 'spring'
# Shoot those n+1 queries!
gem 'bullet'
# ?
gem 'table_flipper'
end
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a
# debugger console
gem 'byebug'
# Factory bot: factories for testing
gem 'factory_bot_rails'
# Trace routes
gem 'traceroute'
end
group :production do
# Adds daemons for DelayedJob
gem 'daemons'
# Email with Mailgun
gem 'rest-client'
end
### END UTILITIES
### QUALITY
group :development, :test do
# Ruby linter
gem 'rubocop', '~> 1.11.0'
# Rails cops extracted to rubocop-rails gem
gem 'rubocop-rails'
# HAML linter
gem 'haml_lint'
# SCSS linter
gem 'scss_lint', require: false
end
### END QUALITY
### MAINTENANCE
# Model logging
gem 'paper_trail'
# Add browser info in logs
gem 'browser_details'
group :development, :production do
# Database profiler
gem 'rack-mini-profiler', require: false
# Profiler
gem 'newrelic_rpm'
# Auto-email exceptions
gem 'exception_notification'
end
group :production do
# Sitemap generator
gem 'sitemap_generator'
end
### END MAINTENANCE
### SECURITY
# Adds roles
gem 'rolify'
# Adds privileges
gem 'cancancan'
# Adds various security stuff. You need protection!
gem 'rack-protection'
# Adds hashes for passwords.
gem 'bcrypt'
# A recaptcha helper gem.
gem 'recaptcha', require: 'recaptcha/rails'
group :development, :test do
# Security checkup
gem 'brakeman'
end
### END SECURITY
### PRODUCTION STUFF
group :development do
# Use capistrano and its extensions.
gem 'capistrano'
gem 'capistrano3-delayed-job'
gem 'capistrano-bundler'
gem 'capistrano-rails'
gem 'capistrano-rvm', github: 'capistrano/rvm'
end
### END PRODUCTION STUFF