install rubocop

This commit is contained in:
Devin Howard 2016-06-30 11:42:20 +08:00
parent 6c22ebcc51
commit e5097adcbc
4 changed files with 21 additions and 1 deletions

5
.rubocop.yml Normal file
View file

@ -0,0 +1,5 @@
AllCops:
TargetRubyVersion: 2.3
Rails:
Enabled: true

View file

@ -1 +1 @@
ruby-2.1.3 2.1.3

View file

@ -59,4 +59,5 @@ group :development, :test do
gem 'pry-rails' gem 'pry-rails'
gem 'quiet_assets' gem 'quiet_assets'
gem 'tunemygc' gem 'tunemygc'
gem 'rubocop'
end end

View file

@ -40,6 +40,7 @@ GEM
tzinfo (~> 1.1) tzinfo (~> 1.1)
addressable (2.3.8) addressable (2.3.8)
arel (6.0.3) arel (6.0.3)
ast (2.3.0)
aws-sdk (1.66.0) aws-sdk (1.66.0)
aws-sdk-v1 (= 1.66.0) aws-sdk-v1 (= 1.66.0)
aws-sdk-v1 (1.66.0) aws-sdk-v1 (1.66.0)
@ -151,8 +152,11 @@ GEM
cocaine (~> 0.5.5) cocaine (~> 0.5.5)
mime-types mime-types
mimemagic (= 0.3.0) mimemagic (= 0.3.0)
parser (2.3.1.2)
ast (~> 2.2)
pg (0.18.4) pg (0.18.4)
pkg-config (1.1.7) pkg-config (1.1.7)
powerpack (0.1.1)
pry (0.10.3) pry (0.10.3)
coderay (~> 1.1.0) coderay (~> 1.1.0)
method_source (~> 0.8.1) method_source (~> 0.8.1)
@ -202,6 +206,7 @@ GEM
activesupport (= 4.2.6) activesupport (= 4.2.6)
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (11.2.2) rake (11.2.2)
redis (3.3.0) redis (3.3.0)
responders (2.2.0) responders (2.2.0)
@ -223,6 +228,13 @@ GEM
rspec-mocks (~> 3.4.0) rspec-mocks (~> 3.4.0)
rspec-support (~> 3.4.0) rspec-support (~> 3.4.0)
rspec-support (3.4.1) rspec-support (3.4.1)
rubocop (0.41.1)
parser (>= 2.3.1.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.8.1)
sass (3.4.22) sass (3.4.22)
sass-rails (5.0.4) sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0) railties (>= 4.0.0, < 5.0)
@ -256,6 +268,7 @@ GEM
thread_safe (~> 0.1) thread_safe (~> 0.1)
uglifier (3.0.0) uglifier (3.0.0)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
unicode-display_width (1.1.0)
uservoice-ruby (0.0.11) uservoice-ruby (0.0.11)
ezcrypto (>= 0.7.2) ezcrypto (>= 0.7.2)
json (>= 1.7.5) json (>= 1.7.5)
@ -303,6 +316,7 @@ DEPENDENCIES
rails_12factor rails_12factor
redis redis
rspec-rails rspec-rails
rubocop
sass-rails sass-rails
shoulda-matchers shoulda-matchers
simplecov simplecov