-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
146 lines (121 loc) · 3.01 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
source 'https://rubygems.org'
### BASICS
# Ruby version
ruby '2.6.0'
# Rails version
gem 'rails', '~> 5.2'
# Use postgres as database
gem 'pg'
# Use Puma as the app server
gem 'puma'
# For Travis CI
gem 'rake', group: :test
# Make loading large Ruby/Rails apps faster
gem 'bootsnap', require: false
### END BASICS
### VIEWS, ASSETS, FRONTEND STUFF
# Use SCSS for stylesheets
gem 'sassc-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'
gem 'jquery-turbolinks'
# Use Bootstrap, the CSS framework (getbootstrap.com)
gem 'bootstrap'
# Javascript interpreter
# therubyracer contains too old JS runtime
# gem 'therubyracer', platforms: :ruby
gem 'mini_racer', platforms: :ruby
group :development do
# Favicon set
gem 'rails_real_favicon', '>= 0.0.7'
# Generate Entity-Relationship Diagram
gem 'rails-erd', require: false
end
### END ASSETS
### UTILITIES
# Environment variables
gem 'dotenv-rails', require: 'dotenv/rails-now'
# Mailgun
gem 'mailgun-ruby', '~> 1.2.0'
# Excel (XLSX) importing
gem 'axlsx_rails'
# Axlsx dependency
gem 'rubyzip', '>= 1.2.1'
# Axlsx dependency
gem 'caxlsx'
# Force loofah update
gem 'loofah', '>= 2.3.1'
group :test do
# Test coverage
gem 'coveralls', require: false
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'
gem 'listen'
# 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'
end
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a
# debugger console
gem 'byebug', platforms: %i[mri mingw x64_mingw]
# Rspec testing framework
gem 'rspec-rails'
# Factory bot: factories for testing
gem 'factory_bot_rails'
# Shoulda Matchers: matchers for testing -- experimental gem for Rails 5
gem 'shoulda-matchers', '~> 4.3'
# Trace routes
gem 'traceroute'
# For assert_template (check if view is rendered)
gem 'rails-controller-testing'
end
### END UTILITIES
### QUALITY
group :development, :test do
# Ruby linter
gem 'rubocop'
gem 'rubocop-rspec'
# SCSS linter
gem 'scss_lint', require: false
end
### END QUALITY
### MAINTENANCE
# Add browser info in logs
gem 'browser_details'
group :development, :production do
# Database profiler
gem 'rack-mini-profiler'
# Auto-email exceptions
gem 'exception_notification'
end
group :production do
# Sitemap generator
gem 'sitemap_generator'
end
### END MAINTENANCE
### SECURITY
# Adds authentication
gem 'devise'
# Adds roles
gem 'rolify'
# Adds privileges
gem 'cancancan'
# Adds various security stuff. You need protection!
gem 'rack-protection'
group :development, :test do
# Security checkup
gem 'brakeman'
end
### END SECURITY