From e1e3ce0f2da242a1ee05ad6795bae5659178d074 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 77820e313..0efdade8e 100644 --- a/lib/page/term_table.rb +++ b/lib/page/term_table.rb @@ -58,8 +58,8 @@ def group_data def people @people ||= term.people.sort_by { |e| [e.sort_name, e.name] }.map do |person| PersonCard.new( - person: person, - term: term, + person: person, + term: term ) end end