diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-12-06 01:16:05 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-12-08 00:18:15 -0500 |
commit | 64729704f75b419aa3c41910c1729d51607965f5 (patch) | |
tree | 4a884344e46b74f47396fe53b74a77f421ab7ea5 /lib/sisu/develop/shared_metadata.rb | |
parent | d: track changes to sisu_version info (diff) |
d: in dp (param) project_details used instead of sisu_version
Diffstat (limited to 'lib/sisu/develop/shared_metadata.rb')
-rw-r--r-- | lib/sisu/develop/shared_metadata.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/sisu/develop/shared_metadata.rb b/lib/sisu/develop/shared_metadata.rb index 2f3300f6..854e9ad1 100644 --- a/lib/sisu/develop/shared_metadata.rb +++ b/lib/sisu/develop/shared_metadata.rb @@ -280,13 +280,13 @@ module SiSU_Metadata @tag,@inf=%{<b><u>Generated</u></b>},'' meta << self.meta_para end - if defined? @md.sisu_version \ - and @md.sisu_version.version=~/\S+/ + if defined? @md.project_details \ + and @md.project_details.version=~/\S+/ v="#{tr.sisu_version}: " + - "#{@md.sisu_version.project} " + - "#{@md.sisu_version.version} " + - "of #{@md.sisu_version.date_stamp} " + - "(#{@md.sisu_version.date})" + "#{@md.project_details.project} " + + "#{@md.project_details.version} " + + "of #{@md.project_details.date_stamp} " + + "(#{@md.project_details.date})" @tag,@inf,@class='Generated by',v,'ver' meta << self.meta_para end @@ -1216,13 +1216,13 @@ WOK tag,inf=tr.last_generated,@md.generated meta << meta_para(tag,inf) end - if defined? @md.sisu_version \ - and @md.sisu_version.version=~/\S+/ + if defined? @md.project_details \ + and @md.project_details.version=~/\S+/ tag=tr.sisu_version - inf="#{@md.sisu_version.project} " + - "#{@md.sisu_version.version} " + - "of #{@md.sisu_version.date_stamp} " + - "(#{@md.sisu_version.date})" + inf="#{@md.project_details.project} " + + "#{@md.project_details.version} " + + "of #{@md.project_details.date_stamp} " + + "(#{@md.project_details.date})" meta << meta_para(tag,inf) end if defined? @md.ruby_version \ |