tbd 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -3
- data/README.md +2 -3
- data/Rakefile +17 -25
- data/lib/measures/tbd/measure.xml +6 -6
- data/lib/measures/tbd/resources/ua.rb +1 -1
- data/lib/tbd/ua.rb +1 -1
- data/lib/tbd/version.rb +1 -1
- data/sponsors/qc_can.png +0 -0
- metadata +4 -5
- data/sponsors/canada.png +0 -0
- data/sponsors/quebec.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ebdeeffd85c3a9e1f4adff58aa3d35a2a02877b8903ecb7c79fb599f7fd1e1b
|
4
|
+
data.tar.gz: ed97dce90e40b3314b1c8569719bc6ae48f4cbe2766c5119d45b8095968f54db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d2e63401158cb2e7c89998e03aed05417a59a8854046e4eb8c816142156cd44d39885487e2160b772126d1278ba3dc183d417cae801119d0b1244daddc9be40
|
7
|
+
data.tar.gz: 4769131e58078354b451d8020b42e0f4c6e3ef3241258d6badde2d521db49cd3140ee57c5bdce176b1963e4b64ca6571736ca95bfd163808a88e7728a0d0f969
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -148,7 +148,6 @@ docker kill test
|
|
148
148
|
|
149
149
|
## Support
|
150
150
|
|
151
|
-
|
151
|
+
Merci aux gouvernements du [Québec](https://transitionenergetique.gouv.qc.ca) et du Canada ([CNRC](https://nrc.canada.ca/en/research-development/research-collaboration/research-centres/construction-research-centre), [CanmetÉNERGIE](https://www.nrcan.gc.ca/energy/offices-labs/canmet/ottawa-research-centre/the-built-environment/23341)).
|
152
152
|
|
153
|
-
|
154
|
-
[![](https://github.com/rd2/tbd/blob/master/sponsors/canada.png)](https://nrc.canada.ca/en/research-development/research-collaboration/research-centres/construction-research-centre)
|
153
|
+
![Thanks to the Quebec and Canadian governments](./sponsors/qc_can.png "Thanks to the Quebec and Canadian governments")
|
data/Rakefile
CHANGED
@@ -13,48 +13,40 @@ task :libraries do
|
|
13
13
|
|
14
14
|
require "fileutils"
|
15
15
|
|
16
|
-
libs
|
17
|
-
|
16
|
+
libs = ["topolys", "osut", "oslg", "tbd"]
|
17
|
+
files = {}
|
18
18
|
|
19
|
-
|
19
|
+
$:.each do |path|
|
20
20
|
libs.each do |l|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
puts "#{l} lib files:"
|
29
|
-
lib_files[l].each { |lf| puts "... #{lf}" }
|
30
|
-
puts
|
31
|
-
end
|
21
|
+
next unless path.include?(l)
|
22
|
+
files[l] = Dir.glob(File.join(path, "#{l}/*.rb"))
|
23
|
+
files[l].delete_if { |f| f.include?("version.rb") } unless l == "topolys"
|
24
|
+
puts "#{l} lib files:"
|
25
|
+
files[l].each { |lf| puts "... #{lf}" }
|
26
|
+
puts
|
32
27
|
end
|
33
28
|
end
|
34
29
|
|
35
30
|
dirs = Dir.glob(File.join(__dir__, "lib/measures/*"))
|
36
31
|
|
37
32
|
dirs.each do |dir|
|
38
|
-
|
39
|
-
|
33
|
+
files.values.each do |items|
|
34
|
+
items.each { |file| FileUtils.cp(file, "#{dir}/resources/.") }
|
40
35
|
end
|
41
36
|
end
|
42
37
|
end
|
43
38
|
|
44
39
|
desc "Update Measure"
|
45
|
-
task :
|
40
|
+
task measure: [:libraries] do
|
46
41
|
puts "Updating Measure"
|
47
42
|
|
48
43
|
require "openstudio"
|
49
44
|
require "open3"
|
50
45
|
|
51
|
-
cli
|
52
|
-
command
|
53
|
-
|
54
|
-
|
55
|
-
raise "Failed to update measures\n\n#{out}\n\n#{err}" unless ps.success?
|
46
|
+
cli = OpenStudio.getOpenStudioCLI
|
47
|
+
command = "#{cli} measure -t './lib/measures'"
|
48
|
+
out, err, ps = Open3.capture3({ "BUNDLE_GEMFILE" => nil }, command)
|
49
|
+
raise "Failed to update measures\n\n#{out}\n\n#{err}" unless ps.success?
|
56
50
|
end
|
57
|
-
task :measure => [:libraries]
|
58
51
|
|
59
|
-
# default spec test depends on updating measure
|
60
|
-
task :spec => [:measure]
|
52
|
+
task spec: [:measure] # default spec test depends on updating measure, lib files
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>tbd_measure</name>
|
5
5
|
<uid>8890787b-8c25-4dc8-8641-b6be1b6c2357</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>ea7c945a-d074-4893-bc2c-7f48dd7ad740</version_id>
|
7
|
+
<version_modified>20220907T200625Z</version_modified>
|
8
8
|
<xml_checksum>99772807</xml_checksum>
|
9
9
|
<class_name>TBDMeasure</class_name>
|
10
10
|
<display_name>Thermal Bridging and Derating - TBD</display_name>
|
@@ -445,16 +445,16 @@
|
|
445
445
|
<checksum>6ED9AF88</checksum>
|
446
446
|
</file>
|
447
447
|
<file>
|
448
|
-
<filename>
|
448
|
+
<filename>psi.rb</filename>
|
449
449
|
<filetype>rb</filetype>
|
450
450
|
<usage_type>resource</usage_type>
|
451
|
-
<checksum>
|
451
|
+
<checksum>655E8232</checksum>
|
452
452
|
</file>
|
453
453
|
<file>
|
454
|
-
<filename>
|
454
|
+
<filename>ua.rb</filename>
|
455
455
|
<filetype>rb</filetype>
|
456
456
|
<usage_type>resource</usage_type>
|
457
|
-
<checksum>
|
457
|
+
<checksum>2BE6E743</checksum>
|
458
458
|
</file>
|
459
459
|
</files>
|
460
460
|
</measure>
|
@@ -948,7 +948,7 @@ module TBD
|
|
948
948
|
model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
|
949
949
|
model += " (v#{ua[:version]})" if ua.key?(:version)
|
950
950
|
report << model unless model.empty?
|
951
|
-
report << "* TBD : v3.0.
|
951
|
+
report << "* TBD : v3.0.1"
|
952
952
|
report << "* date : #{ua[:date]}"
|
953
953
|
|
954
954
|
if lang == :en
|
data/lib/tbd/ua.rb
CHANGED
@@ -948,7 +948,7 @@ module TBD
|
|
948
948
|
model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
|
949
949
|
model += " (v#{ua[:version]})" if ua.key?(:version)
|
950
950
|
report << model unless model.empty?
|
951
|
-
report << "* TBD : v3.0.
|
951
|
+
report << "* TBD : v3.0.1"
|
952
952
|
report << "* date : #{ua[:date]}"
|
953
953
|
|
954
954
|
if lang == :en
|
data/lib/tbd/version.rb
CHANGED
data/sponsors/qc_can.png
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tbd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Bourgeois & Dan Macumber
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: topolys
|
@@ -154,8 +154,7 @@ files:
|
|
154
154
|
- lib/tbd/psi.rb
|
155
155
|
- lib/tbd/ua.rb
|
156
156
|
- lib/tbd/version.rb
|
157
|
-
- sponsors/
|
158
|
-
- sponsors/quebec.png
|
157
|
+
- sponsors/qc_can.png
|
159
158
|
- tbd.gemspec
|
160
159
|
- tbd.schema.json
|
161
160
|
- v291_MacOS.md
|
@@ -164,7 +163,7 @@ licenses:
|
|
164
163
|
- MIT
|
165
164
|
metadata:
|
166
165
|
homepage_uri: https://github.com/rd2/tbd
|
167
|
-
source_code_uri: https://github.com/rd2/tbd/tree/v3.0.
|
166
|
+
source_code_uri: https://github.com/rd2/tbd/tree/v3.0.1
|
168
167
|
bug_tracker_uri: https://github.com/rd2/tbd/issues
|
169
168
|
post_install_message:
|
170
169
|
rdoc_options: []
|
data/sponsors/canada.png
DELETED
Binary file
|
data/sponsors/quebec.png
DELETED
Binary file
|