install rubocop
This commit is contained in:
parent
6c22ebcc51
commit
e5097adcbc
4 changed files with 21 additions and 1 deletions
5
.rubocop.yml
Normal file
5
.rubocop.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
AllCops:
|
||||
TargetRubyVersion: 2.3
|
||||
|
||||
Rails:
|
||||
Enabled: true
|
|
@ -1 +1 @@
|
|||
ruby-2.1.3
|
||||
2.1.3
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -59,4 +59,5 @@ group :development, :test do
|
|||
gem 'pry-rails'
|
||||
gem 'quiet_assets'
|
||||
gem 'tunemygc'
|
||||
gem 'rubocop'
|
||||
end
|
||||
|
|
14
Gemfile.lock
14
Gemfile.lock
|
@ -40,6 +40,7 @@ GEM
|
|||
tzinfo (~> 1.1)
|
||||
addressable (2.3.8)
|
||||
arel (6.0.3)
|
||||
ast (2.3.0)
|
||||
aws-sdk (1.66.0)
|
||||
aws-sdk-v1 (= 1.66.0)
|
||||
aws-sdk-v1 (1.66.0)
|
||||
|
@ -151,8 +152,11 @@ GEM
|
|||
cocaine (~> 0.5.5)
|
||||
mime-types
|
||||
mimemagic (= 0.3.0)
|
||||
parser (2.3.1.2)
|
||||
ast (~> 2.2)
|
||||
pg (0.18.4)
|
||||
pkg-config (1.1.7)
|
||||
powerpack (0.1.1)
|
||||
pry (0.10.3)
|
||||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.8.1)
|
||||
|
@ -202,6 +206,7 @@ GEM
|
|||
activesupport (= 4.2.6)
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rainbow (2.1.0)
|
||||
rake (11.2.2)
|
||||
redis (3.3.0)
|
||||
responders (2.2.0)
|
||||
|
@ -223,6 +228,13 @@ GEM
|
|||
rspec-mocks (~> 3.4.0)
|
||||
rspec-support (~> 3.4.0)
|
||||
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-rails (5.0.4)
|
||||
railties (>= 4.0.0, < 5.0)
|
||||
|
@ -256,6 +268,7 @@ GEM
|
|||
thread_safe (~> 0.1)
|
||||
uglifier (3.0.0)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
unicode-display_width (1.1.0)
|
||||
uservoice-ruby (0.0.11)
|
||||
ezcrypto (>= 0.7.2)
|
||||
json (>= 1.7.5)
|
||||
|
@ -303,6 +316,7 @@ DEPENDENCIES
|
|||
rails_12factor
|
||||
redis
|
||||
rspec-rails
|
||||
rubocop
|
||||
sass-rails
|
||||
shoulda-matchers
|
||||
simplecov
|
||||
|
|
Loading…
Add table
Reference in a new issue