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 6dd6303 Simplify
6dd6303 is described below
commit 6dd63039863cd9036571f0313700c61ec0f8bc25
Author: Sebb <[email protected]>
AuthorDate: Fri Jun 5 17:50:27 2020 +0100
Simplify
---
lib/whimsy/asf/member.rb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/whimsy/asf/member.rb b/lib/whimsy/asf/member.rb
index 12cb218..5a331b0 100644
--- a/lib/whimsy/asf/member.rb
+++ b/lib/whimsy/asf/member.rb
@@ -111,9 +111,8 @@ module ASF
# Return the Last Changed Date for <tt>members.txt</tt> in svn as
# a <tt>Time</tt> object.
def self.svn_change
- foundation = ASF::SVN['foundation']
- file = File.join(foundation, 'members.txt')
- return Time.parse(`svn info #{file}`[/Last Changed Date: (.*) \(/,
1]).gmtime
+ file = File.join(ASF::SVN['foundation'], 'members.txt')
+ return Time.parse(ASF::SVN.getInfoItem(file,'last-changed-date')).gmtime
end
# sort an entire members.txt file