mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Add Rubocop scan
This commit is contained in:
parent
ef3eaa87fc
commit
d03fa2d3f6
2
.rubocop.yml
Normal file
2
.rubocop.yml
Normal file
@ -0,0 +1,2 @@
|
||||
AllCops:
|
||||
RunRailsCops: true
|
||||
@ -30,4 +30,6 @@ before_script:
|
||||
- cp config/database.yml.travis config/database.yml
|
||||
- psql -c 'create database travis_ci_test;' -U postgres
|
||||
|
||||
script: "bundle exec rake test:$TEST_SUITE"
|
||||
script:
|
||||
- bundle exec rake test:$TEST_SUITE
|
||||
- bundle exec rubocop
|
||||
|
||||
1
Gemfile
1
Gemfile
@ -27,6 +27,7 @@ group :test, :development do
|
||||
gem 'selenium-webdriver'
|
||||
gem 'coveralls', :require => false
|
||||
gem 'simplecov', :require => false
|
||||
gem 'rubocop', require: false
|
||||
gem 'sqlite3'
|
||||
gem 'tzinfo-data' # addresses a bug when working on Windows
|
||||
end
|
||||
|
||||
15
Gemfile.lock
15
Gemfile.lock
@ -28,6 +28,9 @@ GEM
|
||||
thread_safe (~> 0.1)
|
||||
tzinfo (~> 1.1)
|
||||
arel (5.0.1.20140414130214)
|
||||
ast (2.0.0)
|
||||
astrolabe (1.3.0)
|
||||
parser (>= 2.2.0.pre.3, < 3.0)
|
||||
aws-sdk (1.63.0)
|
||||
aws-sdk-v1 (= 1.63.0)
|
||||
aws-sdk-v1 (1.63.0)
|
||||
@ -97,9 +100,12 @@ GEM
|
||||
activesupport (>= 3.0.0)
|
||||
cocaine (~> 0.5.3)
|
||||
mime-types
|
||||
parser (2.2.0.3)
|
||||
ast (>= 1.1, < 3.0)
|
||||
pg (0.18.1)
|
||||
pg (0.18.1-x86-mingw32)
|
||||
polyglot (0.3.5)
|
||||
powerpack (0.1.0)
|
||||
rack (1.5.2)
|
||||
rack-test (0.6.3)
|
||||
rack (>= 1.0)
|
||||
@ -118,6 +124,7 @@ GEM
|
||||
activesupport (= 4.1.0)
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rainbow (2.0.0)
|
||||
rake (10.4.2)
|
||||
ref (1.0.5)
|
||||
rest-client (1.7.3)
|
||||
@ -128,6 +135,13 @@ GEM
|
||||
mime-types (>= 1.16, < 3.0)
|
||||
netrc (~> 0.7)
|
||||
rmagick (2.13.4)
|
||||
rubocop (0.29.1)
|
||||
astrolabe (~> 1.3)
|
||||
parser (>= 2.2.0.1, < 3.0)
|
||||
powerpack (~> 0.1)
|
||||
rainbow (>= 1.99.1, < 3.0)
|
||||
ruby-progressbar (~> 1.4)
|
||||
ruby-progressbar (1.7.1)
|
||||
rubyzip (1.1.7)
|
||||
sass (3.2.19)
|
||||
sass-rails (4.0.5)
|
||||
@ -196,6 +210,7 @@ DEPENDENCIES
|
||||
pg
|
||||
rails (= 4.1.0)
|
||||
rmagick
|
||||
rubocop
|
||||
sass-rails (~> 4.0.3)
|
||||
selenium-webdriver
|
||||
simplecov
|
||||
|
||||
Loading…
Reference in New Issue
Block a user