whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: don't die if text is not present
Date Fri, 10 Jun 2016 17:30:54 GMT
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 <rubys@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" <commits@whimsical.apache.org>'].

Mime
View raw message