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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d67484d6fd3ebaad383a6c13e74bbb1e18f0aafe0f256e82b75143e8f4111b72
4
- data.tar.gz: 35fb870a56b7cc8822606033e1193bc879c3accbc0075dfb60474f00ae29d0cf
3
+ metadata.gz: befc5f10d9177fbf9497bf40e92f44a0cf2c70ce7dffebb69d39900d5de9d069
4
+ data.tar.gz: f52ec9db164cfe5183a0cad52e01fc58b5f4f4b5f6ce752897e832517a7a26bf
5
5
  SHA512:
6
- metadata.gz: c98c740e66d3b860b094c45b7c8fb61d650f185b2a26cee2e994bc086a81be9356a88f78852c5a06fff40ed0e147c402f49ab09d5c9b92faa3003ff99f81372a
7
- data.tar.gz: bac75a7581ff73142d09652d20993feff817e692fc59ef2cd99391bb7dd8b93e7c2e48892828b5667ed22f1c1a1b0b41dae6f3eb8631b395139ef511cfdf0e82
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
@@ -29,5 +29,5 @@
29
29
  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
30
 
31
31
  module OSut
32
- VERSION = "0.9.0".freeze
32
+ VERSION = "0.9.1".freeze
33
33
  end
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.0
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-14 00:00:00.000000000 Z
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.0
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: []