Skip to content

Commit

Permalink
Add guard-rubycritic gem
Browse files Browse the repository at this point in the history
  • Loading branch information
lujanfernaud committed May 23, 2018
1 parent 82ca19d commit 402c226
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ group :development do
gem 'binding_of_caller', '~> 0.8.0'
gem 'bullet', '~> 5.7', '>= 5.7.5'
gem 'guard-livereload', '~> 2.5', '>= 2.5.2'
gem 'guard-rubycritic', '~> 2.9', '>= 2.9.3'
gem 'rails-erd', '~> 1.5', '>= 1.5.2', require: false
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
Expand Down
35 changes: 35 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ GEM
cloudinary (1.9.1)
aws_cf_signer
rest-client
codeclimate-engine-rb (0.4.1)
virtus (~> 1.0)
coderay (1.1.2)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
Expand Down Expand Up @@ -132,13 +134,23 @@ GEM
http_parser.rb (~> 0.6.0)
equalizer (0.0.11)
erubi (1.7.1)
erubis (2.7.0)
eventmachine (1.2.5)
execjs (2.7.0)
faker (1.8.7)
i18n (>= 0.7)
ffi (1.9.23)
figaro (1.1.1)
thor (~> 0.14)
flay (2.12.0)
erubis (~> 2.7.0)
path_expander (~> 1.0)
ruby_parser (~> 3.0)
sexp_processor (~> 4.0)
flog (4.6.2)
path_expander (~> 1.0)
ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.8)
formatador (0.2.5)
friendly_id (5.2.4)
activerecord (>= 4.0.0)
Expand All @@ -164,6 +176,9 @@ GEM
guard-minitest (2.4.6)
guard-compat (~> 1.2)
minitest (>= 3.0)
guard-rubycritic (2.9.3)
guard (~> 2.6)
rubycritic (>= 2.9.3)
hashdiff (0.3.7)
http-cookie (1.0.3)
domain_name (~> 0.5)
Expand Down Expand Up @@ -223,6 +238,7 @@ GEM
parallel (1.12.1)
parser (2.5.1.0)
ast (~> 2.4.0)
path_expander (1.0.3)
pg (0.21.0)
pg_search (2.1.2)
activerecord (>= 4.2)
Expand Down Expand Up @@ -282,6 +298,10 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
reek (4.8.1)
codeclimate-engine-rb (~> 0.4.0)
parser (>= 2.5.0.0, < 2.6)
rainbow (>= 2.0, < 4.0)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
Expand All @@ -304,6 +324,18 @@ GEM
ruby-graphviz (1.2.3)
ruby-progressbar (1.9.0)
ruby_dep (1.5.0)
ruby_parser (3.11.0)
sexp_processor (~> 4.9)
rubycritic (3.4.0)
flay (~> 2.8)
flog (~> 4.4)
launchy (= 2.4.3)
parser (~> 2.5.0)
rainbow (~> 3.0)
reek (~> 4.4)
ruby_parser (~> 3.8)
tty-which (~> 0.3.0)
virtus (~> 1.0)
safe_yaml (1.0.4)
sass (3.5.6)
sass-listen (~> 4.0.0)
Expand All @@ -316,6 +348,7 @@ GEM
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sexp_processor (4.11.0)
shellany (0.0.1)
simplecov (0.16.1)
docile (~> 1.1)
Expand Down Expand Up @@ -345,6 +378,7 @@ GEM
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
tty-which (0.3.0)
turbolinks (5.1.1)
turbolinks-source (~> 5.1)
turbolinks-source (5.1.0)
Expand Down Expand Up @@ -409,6 +443,7 @@ DEPENDENCIES
guard (= 2.14.0)
guard-livereload (~> 2.5, >= 2.5.2)
guard-minitest (= 2.4.6)
guard-rubycritic (~> 2.9, >= 2.9.3)
inline_svg (~> 1.3, >= 1.3.1)
jbuilder (~> 2.5)
jquery-rails (= 4.3.1)
Expand Down
5 changes: 5 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ guard 'livereload' do
watch(%r{app/helpers/.+\.rb})
watch(%r{config/locales/.+\.yml})
end

guard "rubycritic" do
watch(%r{^app/(.+)\.rb$})
watch(%r{^lib/(.+)\.rb$})
end

0 comments on commit 402c226

Please sign in to comment.