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 2019/10/16 22:53:18 UTC
[whimsy] branch master updated: ignore leading spaces
This is an automated email from the ASF dual-hosted git repository.
rubys 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 1f2e05b ignore leading spaces
1f2e05b is described below
commit 1f2e05b271ebaf3331bc502e327965890cf7574f
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Oct 16 18:52:51 2019 -0400
ignore leading spaces
---
lib/whimsy/asf/podling.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index ae81f1b..f55c427 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -421,7 +421,7 @@ module ASF
if name
name.sub! /^Apache\s+/, ''
name.gsub! /\s+\(.*?\)/, ''
- name = nil if name =~ /^This/ or name !~ /[A-Z]/
+ name = nil if name =~ /^\s*This/ or name !~ /[A-Z]/
end
name ||= title[/"Apache ([a-zA-Z].*?)"/, 1]