osut 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/osut/utils.rb +5 -5
- data/lib/osut/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: befc5f10d9177fbf9497bf40e92f44a0cf2c70ce7dffebb69d39900d5de9d069
|
|
4
|
+
data.tar.gz: f52ec9db164cfe5183a0cad52e01fc58b5f4f4b5f6ce752897e832517a7a26bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b26ad5209d099a55ed5ebee6db5443c90807831af8e96fe7e3b47eb625c07aaa5a1b3397678a7226b1486d15533c47892ee9c56bd83d846ef07e2f8fec560c8c
|
|
7
|
+
data.tar.gz: 9d63be17940bf26db51d48aafef9418665ffac180b02b12703d1d99535df0c38f344b3a4456dc847ec30cf8a0da30fa33a09688c18bbe6619c3e0fab5c33affa
|
data/lib/osut/utils.rb
CHANGED
|
@@ -204,8 +204,8 @@ module OSut
|
|
|
204
204
|
# returned if a valid surface tilt [0, PI] is provided. Otherwise, generic
|
|
205
205
|
# tilt-independent air film resistances are returned instead.
|
|
206
206
|
#
|
|
207
|
-
# @param [:to_sym] surface type, e.g. :roof, :wall, :partition, :ceiling
|
|
208
|
-
# @param [Numeric] surface tilt (in rad), optional
|
|
207
|
+
# @param type [:to_sym] surface type, e.g. :roof, :wall, :partition, :ceiling
|
|
208
|
+
# @param tilt [Numeric] surface tilt (in rad), optional
|
|
209
209
|
#
|
|
210
210
|
# @return [Float] surface air film resistance(s)
|
|
211
211
|
# @return [0.0] if invalid input (see logs)
|
|
@@ -587,7 +587,7 @@ module OSut
|
|
|
587
587
|
mt.setName(id)
|
|
588
588
|
|
|
589
589
|
unless mt.setThermalResistance(r)
|
|
590
|
-
return invalid("Failed #{id}: RSi#{r.round(2)}", mth)
|
|
590
|
+
return invalid("Failed #{id}: RSi#{r.round(2)}", mth, 0, DBG, 0.0)
|
|
591
591
|
end
|
|
592
592
|
|
|
593
593
|
lc.setLayer(index, mt)
|
|
@@ -621,11 +621,11 @@ module OSut
|
|
|
621
621
|
mt.setName(id)
|
|
622
622
|
|
|
623
623
|
unless mt.setThermalConductivity(k)
|
|
624
|
-
return invalid("Failed #{id}: K#{k.round(3)}", mth)
|
|
624
|
+
return invalid("Failed #{id}: K#{k.round(3)}", mth, 0, DBG, 0.0)
|
|
625
625
|
end
|
|
626
626
|
|
|
627
627
|
unless mt.setThickness(d)
|
|
628
|
-
return invalid("Failed #{id}: #{(d*1000).to_i}mm", mth)
|
|
628
|
+
return invalid("Failed #{id}: #{(d*1000).to_i}mm", mth, 0, DBG, 0.0)
|
|
629
629
|
end
|
|
630
630
|
|
|
631
631
|
lc.setLayer(index, mt)
|
data/lib/osut/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: osut
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Bourgeois
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oslg
|
|
@@ -90,7 +90,7 @@ licenses:
|
|
|
90
90
|
- BSD-3-Clause
|
|
91
91
|
metadata:
|
|
92
92
|
homepage_uri: https://github.com/rd2/osut
|
|
93
|
-
source_code_uri: https://github.com/rd2/osut/tree/v0.9.
|
|
93
|
+
source_code_uri: https://github.com/rd2/osut/tree/v0.9.1
|
|
94
94
|
bug_tracker_uri: https://github.com/rd2/osut/issues
|
|
95
95
|
post_install_message:
|
|
96
96
|
rdoc_options: []
|