Bump RuboCop to v1.x
This commit is contained in:
parent
8948277363
commit
1ae2a1dd04
2
Gemfile
2
Gemfile
|
@ -23,7 +23,7 @@ group :test do
|
||||||
gem "nokogiri", "~> 1.7"
|
gem "nokogiri", "~> 1.7"
|
||||||
gem "rspec"
|
gem "rspec"
|
||||||
gem "rspec-mocks"
|
gem "rspec-mocks"
|
||||||
gem "rubocop", "~> 0.93.0"
|
gem "rubocop", "~> 1.0"
|
||||||
gem "rubocop-performance"
|
gem "rubocop-performance"
|
||||||
gem "test-dependency-theme", :path => File.expand_path("test/fixtures/test-dependency-theme", __dir__)
|
gem "test-dependency-theme", :path => File.expand_path("test/fixtures/test-dependency-theme", __dir__)
|
||||||
gem "test-theme", :path => File.expand_path("test/fixtures/test-theme", __dir__)
|
gem "test-theme", :path => File.expand_path("test/fixtures/test-theme", __dir__)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Rubocop $(bundle exec rubocop --version)"
|
echo "RuboCop $(bundle exec rubocop --version)"
|
||||||
bundle exec rubocop -D $@
|
bundle exec rubocop -D $@
|
||||||
success=$?
|
success=$?
|
||||||
if ((success != 0)); then
|
if ((success != 0)); then
|
||||||
|
|
Loading…
Reference in New Issue