Skip to content

Commit

Permalink
Updating reek file
Browse files Browse the repository at this point in the history
  • Loading branch information
hlascelles committed Dec 8, 2018
1 parent 414d118 commit dea563b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .hound.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ ruby:
config_file: .rubocop.yml
reek:
enabled: true
config_file: .reek.yml
config_file: .reek
shellcheck:
enabled: true
3 changes: 3 additions & 0 deletions quality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion spec/support/hash_support.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dea563b

Please sign in to comment.