You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/10/07 16:27:09 UTC

[whimsy] branch master updated: Oops

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 773edb2  Oops
773edb2 is described below

commit 773edb22c49ca7d4968127a06306c77bc501af9e
Author: Sebb <se...@apache.org>
AuthorDate: Mon Oct 7 17:27:06 2019 +0100

    Oops
---
 lib/whimsy/asf/board.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/board.rb b/lib/whimsy/asf/board.rb
index 1fda596..4f8f678 100644
--- a/lib/whimsy/asf/board.rb
+++ b/lib/whimsy/asf/board.rb
@@ -14,7 +14,7 @@ module ASF
       if withId
         ASF::Service['board'].members.
         map {|person| [person.id, {name: person.public_name}]}.
-          sort_by {|id,hash| hash[:name].split(' ').rotate}.t_h
+          sort_by {|id,hash| hash[:name].split(' ').rotate}.to_h
       else
         ASF::Service['board'].members.
           map {|person| person.public_name}.