whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Oops
Date Mon, 07 Oct 2019 16:27:09 GMT
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 <sebb@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}.


Mime
View raw message