From 6006c595fd15918aed035c37bb697a34daa16387 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Tue, 17 Jan 2017 21:18:49 +0000 Subject: [PATCH] Fix Rubocop errors Rubocop complained about the following things: lib/page/term_table.rb:90:11: C: Align the elements of a hash literal if they span more than one line. person: person, ^^^^^^^^^^^^^^^^^^^^^^^ lib/page/term_table.rb:91:11: C: Align the elements of a hash literal if they span more than one line. term: term, ^^^^^^^^^^^^^^^^^^^^^ lib/page/term_table.rb:91:32: C: Avoid comma after the last parameter of a method call. term: term, ^ This commit fixes those errors in a way that seems to fit the local style in this file. --- lib/page/term_table.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/page/term_table.rb b/lib/page/term_table.rb index 65b3c152d..b1f964d44 100644 --- a/lib/page/term_table.rb +++ b/lib/page/term_table.rb @@ -87,8 +87,8 @@ def group_data def people @people ||= term.people.sort_by(&:sort_name).map do |person| PersonCard.new( - person: person, - term: term, + person: person, + term: term ) end end