Skip to content

Commit

Permalink
Add Bullet gem
Browse files Browse the repository at this point in the history
  • Loading branch information
lujanfernaud committed Apr 30, 2018
1 parent 00f15d4 commit 32e36cf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 19 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ group :test do
end

group :development do
gem 'bullet', '~> 5.7', '>= 5.7.5'
gem 'guard-livereload', '~> 2.5', '>= 2.5.2'
gem 'rails-erd', '~> 1.5', '>= 1.5.2', require: false
gem 'web-console', '>= 3.3.0'
Expand Down
43 changes: 24 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ GEM
ansi (1.5.0)
arel (8.0.0)
ast (2.4.0)
autoprefixer-rails (8.2.0)
autoprefixer-rails (8.4.1)
execjs
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
Expand All @@ -60,6 +60,9 @@ GEM
will_paginate
breadcrumbs_on_rails (3.0.1)
builder (3.2.3)
bullet (5.7.5)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.11.0)
byebug (10.0.2)
capybara (2.18.0)
addressable
Expand All @@ -68,8 +71,8 @@ GEM
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (>= 2.0, < 4.0)
capybara-screenshot (1.0.18)
capybara (>= 1.0, < 3)
capybara-screenshot (1.0.19)
capybara (>= 1.0, < 4)
launchy
capybara-webkit (1.15.0)
capybara (>= 2.3, < 4.0)
Expand Down Expand Up @@ -100,7 +103,7 @@ GEM
sort_alphabetical (~> 1.0)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.3)
crass (1.0.4)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.4.3)
Expand Down Expand Up @@ -157,7 +160,7 @@ GEM
fog-xml (~> 0.1.1)
ipaddress (~> 0.5)
json (>= 1.8, < 2.0)
fog-aliyun (0.2.0)
fog-aliyun (0.2.1)
fog-core (~> 1.27)
fog-json (~> 1.0)
ipaddress (~> 0.8)
Expand Down Expand Up @@ -252,7 +255,7 @@ GEM
fog-voxel (0.1.0)
fog-core
fog-xml
fog-vsphere (2.0.1)
fog-vsphere (2.1.1)
fog-core
rbvmomi (~> 1.9)
fog-xenserver (0.3.0)
Expand Down Expand Up @@ -286,7 +289,7 @@ GEM
minitest (>= 3.0)
hashdiff (0.3.7)
http_parser.rb (0.6.0)
i18n (0.9.5)
i18n (1.0.1)
concurrent-ruby (~> 1.0)
i18n_data (0.8.0)
ice_nine (0.11.2)
Expand Down Expand Up @@ -328,8 +331,8 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
money (6.10.1)
i18n (>= 0.6.4, < 1.0)
money (6.11.0)
i18n (>= 0.6.4, < 1.1)
multi_json (1.13.1)
nenv (0.3.0)
nio4r (2.3.0)
Expand All @@ -340,7 +343,7 @@ GEM
shellany (~> 0.0)
orm_adapter (0.5.0)
parallel (1.12.1)
parser (2.5.0.5)
parser (2.5.1.0)
ast (~> 2.4.0)
pg (0.21.0)
popper_js (1.12.9)
Expand All @@ -354,10 +357,10 @@ GEM
pry-rails (0.3.6)
pry (>= 0.10.4)
public_suffix (3.0.2)
puma (3.11.3)
puma (3.11.4)
pundit (1.1.0)
activesupport (>= 3.0.0)
rack (2.0.4)
rack (2.0.5)
rack-test (1.0.0)
rack (>= 1.0, < 3)
rails (5.1.6)
Expand Down Expand Up @@ -397,7 +400,7 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rbvmomi (1.11.7)
rbvmomi (1.12.0)
builder (~> 3.0)
json (>= 1.8)
nokogiri (~> 1.5)
Expand All @@ -406,14 +409,14 @@ GEM
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rolify (5.2.0)
rubocop (0.54.0)
rubocop (0.55.0)
parallel (~> 1.10)
parser (>= 2.5)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rails (1.2.2)
rubocop-rails (1.3.0)
railties (>= 3.0)
rubocop (~> 0.49)
ruby-graphviz (1.2.3)
Expand Down Expand Up @@ -461,23 +464,24 @@ GEM
thread_safe (0.3.6)
tilt (2.0.8)
trollop (2.1.2)
turbolinks (5.1.0)
turbolinks (5.1.1)
turbolinks-source (~> 5.1)
turbolinks-source (5.1.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.8)
uglifier (4.1.10)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.3.0)
unicode-display_width (1.3.2)
unicode_utils (1.4.0)
uniform_notifier (1.11.0)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
warden (1.2.7)
rack (>= 1.0)
web-console (3.5.1)
web-console (3.6.2)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
Expand All @@ -502,6 +506,7 @@ DEPENDENCIES
bootstrap (~> 4.0.0.beta2.1)
bootstrap-will_paginate (= 1.0.0)
breadcrumbs_on_rails (~> 3.0, >= 3.0.1)
bullet (~> 5.7, >= 5.7.5)
capybara (~> 2.14)
capybara-screenshot (~> 1.0, >= 1.0.18)
capybara-webkit (~> 1.15)
Expand Down
8 changes: 8 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@
# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
config.file_watcher = ActiveSupport::EventedFileUpdateChecker

config.after_initialize do
Bullet.enable = true
Bullet.alert = true
Bullet.bullet_logger = true
Bullet.console = true
Bullet.rails_logger = true
end
end

0 comments on commit 32e36cf

Please sign in to comment.