You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/07/25 18:03:31 UTC

[whimsy] branch master updated: Reconstruct input line

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 29d2a38  Reconstruct input line
29d2a38 is described below

commit 29d2a383bbff77b003ee0deb53dc2f1bd4ea4a03
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jul 25 19:03:21 2019 +0100

    Reconstruct input line
---
 lib/whimsy/asf/icla.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/whimsy/asf/icla.rb b/lib/whimsy/asf/icla.rb
index 88ce8c7..9cfabae 100644
--- a/lib/whimsy/asf/icla.rb
+++ b/lib/whimsy/asf/icla.rb
@@ -146,6 +146,11 @@ module ASF
       end
     end
 
+    # show the original entry (reconstructed for now)
+    def as_line
+      [id,legal_name,name,email,form].join(':')
+    end
+
     # rearrange line in an order suitable for sorting
     def self.lname(line)
       return '' if line.start_with? '#'