lib/measures/tbd/resources/ua.rb in tbd-3.0.2 vs lib/measures/tbd/resources/ua.rb in tbd-3.0.3
- old
+ new
@@ -172,11 +172,10 @@
coll = {}
area = 0
film = 100000000000000
lc = nil
- uo = nil
id = ""
all = g[:op].downcase == "all wall constructions" ||
g[:op].downcase == "all roof constructions" ||
g[:op].downcase == "all floor constructions"
@@ -234,11 +233,11 @@
end
end
end
if coll.empty?
- log(ERR, "No construction to uprate - skipping (#{mth})")
+ log(ERR, "No #{label} construction to uprate - skipping (#{mth})")
next
elsif lc # valid layered construction - good to uprate!
# Ensure lc is referenced by surface types == label.
model.getSurfaces.each do |sss|
next if sss.construction.empty?
@@ -946,10 +945,10 @@
model = ""
model = "* model : #{ua[:file]}" if ua.key?(:file) && lang == :en
model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
model += " (v#{ua[:version]})" if ua.key?(:version)
report << model unless model.empty?
- report << "* TBD : v3.0.2"
+ report << "* TBD : v3.0.3"
report << "* date : #{ua[:date]}"
if lang == :en
report << "* status : #{msg(status)}" unless status.zero?
report << "* status : success !" if status.zero?