You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/06/10 17:30:54 UTC

[whimsy] branch master updated: don't die if text is not present

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

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  6a3a8de   don't die if text is not present
6a3a8de is described below

commit 6a3a8dee9a688bfe7affdcdaa5ee2bf35ae7f7d8
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Jun 10 13:30:38 2016 -0400

    don't die if text is not present
---
 lib/whimsy/asf/member.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/member.rb b/lib/whimsy/asf/member.rb
index b48b518..9ed4f30 100644
--- a/lib/whimsy/asf/member.rb
+++ b/lib/whimsy/asf/member.rb
@@ -50,7 +50,7 @@ module ASF
       end
 
       status = {}
-      sections = ASF::Member.text.split(/(.*\n===+)/)
+      sections = ASF::Member.text.to_s.split(/(.*\n===+)/)
       sections.shift(3)
       sections.each_slice(2) do |header, text|
         header.sub!(/s\n=+/,'')

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].