From 181da1abb70368e3064e04a933e6ed7a01859f60 Mon Sep 17 00:00:00 2001 From: Priit Tamboom Date: Thu, 9 Oct 2014 18:15:29 +0300 Subject: [PATCH] Added code review to robot --- Gemfile | 1 + Gemfile.lock | 40 ++++++++++++++++++++++++++++++++++++++++ bin/robot | 3 +++ 3 files changed, 44 insertions(+) diff --git a/Gemfile b/Gemfile index 1c4e78ef4..2a5252727 100644 --- a/Gemfile +++ b/Gemfile @@ -128,6 +128,7 @@ group :development, :test do # For code review gem 'simplecov', '~> 0.9.1', :require => false + gem 'rubycritic', '~> 1.1.1' # for finding database optimizations gem 'bullet', '~> 4.14.0' diff --git a/Gemfile.lock b/Gemfile.lock index ebffd3ab0..99cacbe8b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -31,6 +31,10 @@ GEM ast (2.0.0) astrolabe (1.3.0) parser (>= 2.2.0.pre.3, < 3.0) + axiom-types (0.1.1) + descendants_tracker (~> 0.0.4) + ice_nine (~> 0.11.0) + thread_safe (~> 0.3, >= 0.3.1) bcrypt (3.1.7) binding_of_caller (0.7.3.pre1) debug_inspector (>= 0.0.1) @@ -54,6 +58,8 @@ GEM timers (~> 4.0.0) cliver (0.3.2) coderay (1.1.0) + coercible (1.0.0) + descendants_tracker (~> 0.0.1) coffee-rails (4.0.1) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) @@ -63,6 +69,8 @@ GEM coffee-script-source (1.7.0) database_cleaner (1.3.0) debug_inspector (0.0.2) + descendants_tracker (0.0.4) + thread_safe (~> 0.3, >= 0.3.1) devise (3.3.0) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -74,12 +82,19 @@ GEM epp (1.4.0) hpricot libxml-ruby + equalizer (0.0.9) erubis (2.7.0) execjs (2.2.1) fabrication (2.11.3) faker (1.3.0) i18n (~> 0.5) ffi (1.9.3) + flay (2.4.0) + ruby_parser (~> 3.0) + sexp_processor (~> 4.0) + flog (4.2.1) + ruby_parser (~> 3.1, > 3.1.0) + sexp_processor (~> 4.4) formatador (0.2.5) guard (2.6.1) formatador (>= 0.2.4) @@ -104,6 +119,7 @@ GEM hitimes (1.2.2) hpricot (0.8.6) i18n (0.6.11) + ice_nine (0.11.0) isikukood (0.1.2) jbuilder (2.1.3) activesupport (>= 3.0.0, < 5) @@ -190,6 +206,11 @@ GEM ffi (>= 0.5.0) rdoc (4.1.2) json (~> 1.4) + reek (1.3.8) + rainbow (>= 1.99, < 3.0) + ruby2ruby (>= 2.0.8, < 3.0) + ruby_parser (~> 3.3) + sexp_processor ref (1.0.5) rspec (3.0.0) rspec-core (~> 3.0.0) @@ -218,6 +239,18 @@ GEM rainbow (>= 1.99.1, < 3.0) ruby-progressbar (~> 1.4) ruby-progressbar (1.5.1) + ruby2ruby (2.1.3) + ruby_parser (~> 3.1) + sexp_processor (~> 4.0) + ruby_parser (3.6.3) + sexp_processor (~> 4.1) + rubycritic (1.1.1) + flay (= 2.4.0) + flog (= 4.2.1) + parser (~> 2.1) + reek (= 1.3.8) + ruby2ruby (>= 2.1.1, < 3.0) + virtus (~> 1.0) sass (3.2.19) sass-rails (4.0.3) railties (>= 4.0.0, < 5.0) @@ -228,6 +261,7 @@ GEM json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) selectize-rails (0.11.0) + sexp_processor (4.4.4) shoulda-matchers (2.6.2) activesupport (>= 3.0.0) simplecov (0.9.1) @@ -275,6 +309,11 @@ GEM raindrops (~> 0.7) uniform_notifier (1.6.2) uuidtools (2.1.5) + virtus (1.0.3) + axiom-types (~> 0.1) + coercible (~> 1.0) + descendants_tracker (~> 0.0, >= 0.0.3) + equalizer (~> 0.0, >= 0.0.9) warden (1.2.3) rack (>= 1.0) web-console (2.0.0.beta4) @@ -320,6 +359,7 @@ DEPENDENCIES rails (= 4.1.4) ransack (~> 1.3.0) rspec-rails (~> 3.0.2) + rubycritic (~> 1.1.1) sass-rails (~> 4.0.3) sdoc (~> 0.4.0) selectize-rails (~> 0.11.0) diff --git a/bin/robot b/bin/robot index c241189fd..bbd27b7d6 100755 --- a/bin/robot +++ b/bin/robot @@ -38,3 +38,6 @@ echo "END_OF_GIT_LAST_COMMITS" echo "TEST_RESULTS" RAILS_ENV=test ROBOT=true bundle exec rake test echo "END_OF_TEST_RESULTS" + +# update code review +rubycritic app lib