From 19cfc54410fb30fa31eab9555e2ae66dc6db5fb0 Mon Sep 17 00:00:00 2001 From: Luca Guidi Date: Wed, 9 Nov 2016 12:16:58 +0100 Subject: [PATCH] Make the build to pass with rubocop ~> 0.45 --- .rubocop.yml | 7 +++++++ .travis.yml | 2 +- Gemfile | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index c441045..99183be 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,2 +1,9 @@ +AllCops: + DisplayCopNames: true + DisplayStyleGuide: true + ExtraDetails: false Metrics/LineLength: Enabled: false +Metrics/BlockLength: + Exclude: + - 'test/**/*' diff --git a/.travis.yml b/.travis.yml index 89ed917..8aaa15c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: ruby sudo: false cache: bundler -script: 'bundle exec rake test:coverage --trace && bundle exec rubocop --display-cop-names' +script: 'bundle exec rake test:coverage --trace && bundle exec rubocop' rvm: - 2.2.5 - 2.3.1 diff --git a/Gemfile b/Gemfile index b57c110..be14b31 100644 --- a/Gemfile +++ b/Gemfile @@ -13,5 +13,5 @@ gem 'dry-validation', require: false, github: 'dry-rb/dry-validation' # FIXME: t gem 'hanami-utils', '~> 0.8', require: false, github: 'hanami/utils', branch: '0.8.x' gem 'hanami-model', '~> 0.7', require: false, github: 'hanami/model', branch: '0.7.x' gem 'i18n', '~> 0.7', require: false -gem 'rubocop', '~> 0.41', require: false +gem 'rubocop', '~> 0.45', require: false gem 'coveralls', require: false