Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
docker exec -t test bundle update
docker exec -t test bundle exec rake
docker kill test
test_380x:
test_390x:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
Expand All @@ -79,14 +79,14 @@ jobs:
run: |
echo $(pwd)
echo $(ls)
docker pull nrel/openstudio:3.8.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.8.0
docker pull nrel/openstudio:3.9.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.9.0
docker exec -t test pwd
docker exec -t test ls
docker exec -t test bundle update
docker exec -t test bundle exec rake
docker kill test
test_390x:
test_310x:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
Expand All @@ -95,14 +95,14 @@ jobs:
run: |
echo $(pwd)
echo $(ls)
docker pull nrel/openstudio:3.9.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.9.0
docker pull nrel/openstudio:3.10.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.10.0
docker exec -t test pwd
docker exec -t test ls
docker exec -t test bundle update
docker exec -t test bundle exec rake
docker kill test
test_3100x:
test_311x:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
Expand All @@ -111,8 +111,8 @@ jobs:
run: |
echo $(pwd)
echo $(ls)
docker pull nrel/openstudio:3.10.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.10.0
docker pull nrel/openstudio:3.11.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.11.0
docker exec -t test pwd
docker exec -t test ls
docker exec -t test bundle update
Expand Down
8 changes: 4 additions & 4 deletions lib/measures/tbd/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.1</schema_version>
<name>tbd_measure</name>
<uid>8890787b-8c25-4dc8-8641-b6be1b6c2357</uid>
<version_id>8649cb7e-2e58-4a6d-ba67-911b6e0a41a6</version_id>
<version_modified>2026-01-04T12:08:45Z</version_modified>
<version_id>833dbf17-e51f-43c7-9c8b-a79ef0e6bd3b</version_id>
<version_modified>2026-02-03T13:53:54Z</version_modified>
<xml_checksum>99772807</xml_checksum>
<class_name>TBDMeasure</class_name>
<display_name>Thermal Bridging and Derating - TBD</display_name>
Expand Down Expand Up @@ -541,13 +541,13 @@
<filename>ua.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>69C2A886</checksum>
<checksum>D3A2A391</checksum>
</file>
<file>
<filename>utils.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>BDF50D67</checksum>
<checksum>118F3A32</checksum>
</file>
<file>
<filename>version.rb</filename>
Expand Down
2 changes: 1 addition & 1 deletion lib/measures/tbd/resources/ua.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ def ua_md(ua = {}, 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.5.1"
report << "* TBD : v3.5.2"
report << "* date : #{ua[:date]}"

if lang == :en
Expand Down
4 changes: 2 additions & 2 deletions lib/measures/tbd/resources/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4825,7 +4825,7 @@ def spaceWidth(space = nil)
end
end

res = realignedFace(polyg.to_a.reverse)
res = realignedFace(polyg.to_a.reverse, true)
return 0 if res[:box].nil?

# A bounded box's 'height', at its narrowest, is its 'width'.
Expand Down Expand Up @@ -4904,7 +4904,7 @@ def genAnchors(s = nil, set = [], tag = :box)
# to 'genAnchors'), it inherits key :out - a Hash holding (among others) a
# 'realigned' set of points (by default a 'realigned' :box). The latter is
# typically generated from an outdoor-facing roof (e.g. when called from
# 'lights'). Subsequent calls to 'genAnchors' may send (as first
# 'addSkylights'). Subsequent calls to 'genAnchors' may send (as first
# argument) a corresponding ceiling tile below (also from 'addSkylights').
# Roof vs ceiling may neither share alignment transformation nor space
# site transformation identities. All subsequent calls to 'genAnchors'
Expand Down
2 changes: 1 addition & 1 deletion lib/tbd/ua.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ def ua_md(ua = {}, 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.5.1"
report << "* TBD : v3.5.2"
report << "* date : #{ua[:date]}"

if lang == :en
Expand Down
2 changes: 1 addition & 1 deletion lib/tbd/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
# SOFTWARE.

module TBD
VERSION = "3.5.1".freeze
VERSION = "3.5.2".freeze
end
2 changes: 1 addition & 1 deletion tbd.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |s|
s.metadata = {}

s.add_dependency "topolys", "~> 0"
s.add_dependency "osut", "~> 0.8.1"
s.add_dependency "osut", "~> 0"
s.add_dependency "json-schema", "~> 4"

s.add_development_dependency "bundler", "~> 2.1"
Expand Down