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 2021/08/07 20:14:30 UTC

[whimsy] branch master updated: Add resolutionLink and URL to hash output

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 16084ca  Add resolutionLink and URL to hash output
16084ca is described below

commit 16084ca503bdc5291fc543f6cb00d34c274007af
Author: Sebb <se...@apache.org>
AuthorDate: Sat Aug 7 21:14:24 2021 +0100

    Add resolutionLink and URL to hash output
    
    This fixes #123
---
 lib/whimsy/asf/podling.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 8bd39db..92c5ec3 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -389,6 +389,8 @@ module ASF
       hash[:sponsor] = @sponsor if @sponsor
       hash[:duration] = self.duration
       hash[:podlingStatus] = podlingStatus
+      hash[:resolutionLink] = resolutionLink if resolutionLink
+      hash[:resolutionURL] = resolutionURL if resolutionURL
       hash
     end