From dea563b86040e46702f5b7d13a9feb7248f155ac Mon Sep 17 00:00:00 2001 From: Harry Lascelles Date: Sat, 8 Dec 2018 14:21:55 +0000 Subject: [PATCH] Updating reek file --- .hound.yml | 2 +- quality.sh | 3 +++ spec/support/hash_support.rb | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.hound.yml b/.hound.yml index ce3cd21c..a713f042 100644 --- a/.hound.yml +++ b/.hound.yml @@ -3,6 +3,6 @@ ruby: config_file: .rubocop.yml reek: enabled: true - config_file: .reek.yml + config_file: .reek shellcheck: enabled: true diff --git a/quality.sh b/quality.sh index 2a092a0b..ed06c3aa 100755 --- a/quality.sh +++ b/quality.sh @@ -2,6 +2,9 @@ set -euo pipefail cd $(dirname $0) +echo "Running fasterer..." bundle exec fasterer +echo "Running rubocop..." bundle exec rubocop +echo "Running reek..." bundle exec reek diff --git a/spec/support/hash_support.rb b/spec/support/hash_support.rb index 58e01d9d..b37b9215 100644 --- a/spec/support/hash_support.rb +++ b/spec/support/hash_support.rb @@ -1,7 +1,7 @@ module HashSupport class << self def hash_to_enqueues(overdue_dictionary) - overdue_dictionary.map { |o| Que::Scheduler::DefinedJob::ToEnqueue.new(o) } + overdue_dictionary.map { |item| Que::Scheduler::DefinedJob::ToEnqueue.new(item) } end end end