tbd 3.4.1 → 3.4.2

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: 4d894d405f77c1eb33517cb957ca0a9a8f87319841c983047acdb8055aa5d79c
4
- data.tar.gz: 6788f593ac0bb66c52b81d0be2f5140dd6c4ef9c6dfb0f9df5e684bdd41c714a
3
+ metadata.gz: abfbf89a3f613a331c4bf58b25832bc2d9e8942a4872e73f76d534ee015eae57
4
+ data.tar.gz: a7c0be9d974075a0f7f1e2b661c5a2e2afffb3793f81b232d14a914bd79acc71
5
5
  SHA512:
6
- metadata.gz: 753541a1202a93df6346b8ce164679fbecdce11413d017977d62f9edb386ad0ab03e8b4b2a43be00eac01f0b0d3f45f9f4c91d9ec3db9c5e34a482a2b45a3600
7
- data.tar.gz: 945278734bc73490690e8fdc37e0bf9fe910ea29f4eef43370234f76f3032c8f0d25cf38a648ffde44f990db39c17fcc0fc115662dc4150b4fa1b0c5df8a8776
6
+ metadata.gz: 2b685fbad6b1964db44f7afeb782cc2a59b7a4e8322ee3b14ec402cc3fc0cbe4e7a6d177cb4dc07deab1c184dd3afd0fe66b4d49f5b985c4296138b24889aa48
7
+ data.tar.gz: 1f153539250dc61b2da7f5b7badb8bcbe5e6fbdaa8ae316a20bf3b743e57bee27b3cd061b9cbf49cc867db7d9fb867f21f6fcb32252ab60fade7e1e17131ab6e
@@ -118,3 +118,19 @@ jobs:
118
118
  docker exec -t test bundle update
119
119
  docker exec -t test bundle exec rake
120
120
  docker kill test
121
+ test_380x:
122
+ runs-on: ubuntu-22.04
123
+ steps:
124
+ - name: Check out repository
125
+ uses: actions/checkout@v2
126
+ - name: Run Tests
127
+ run: |
128
+ echo $(pwd)
129
+ echo $(ls)
130
+ docker pull nrel/openstudio:3.8.0
131
+ docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.8.0
132
+ docker exec -t test pwd
133
+ docker exec -t test ls
134
+ docker exec -t test bundle update
135
+ docker exec -t test bundle exec rake
136
+ docker kill test
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>tbd_measure</name>
5
5
  <uid>8890787b-8c25-4dc8-8641-b6be1b6c2357</uid>
6
- <version_id>4eec2792-b3ef-4152-95c8-a7dd6a6bf9c4</version_id>
7
- <version_modified>2024-04-17T14:29:06Z</version_modified>
6
+ <version_id>3ebf3217-230b-4420-b679-4bdf8cc51519</version_id>
7
+ <version_modified>2024-05-22T14:33:33Z</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>
@@ -523,7 +523,7 @@
523
523
  <filename>psi.rb</filename>
524
524
  <filetype>rb</filetype>
525
525
  <usage_type>resource</usage_type>
526
- <checksum>5ABDEC60</checksum>
526
+ <checksum>5ABDA733</checksum>
527
527
  </file>
528
528
  <file>
529
529
  <filename>tbd.rb</filename>
@@ -541,7 +541,7 @@
541
541
  <filename>ua.rb</filename>
542
542
  <filetype>rb</filetype>
543
543
  <usage_type>resource</usage_type>
544
- <checksum>928C5E7B</checksum>
544
+ <checksum>4133AC61</checksum>
545
545
  </file>
546
546
  <file>
547
547
  <filename>utils.rb</filename>
@@ -3308,9 +3308,9 @@ module TBD
3308
3308
  match2 = /files/.match(file_paths[1].to_s.strip)
3309
3309
  match = match1 || match2
3310
3310
 
3311
- if file_paths.size >= 2 && File.exists?(file_paths[1].to_s.strip) && match
3311
+ if file_paths.size >= 2 && File.exist?(file_paths[1].to_s.strip) && match
3312
3312
  out_dir = file_paths[1].to_s.strip
3313
- elsif !file_paths.empty? && File.exists?(file_paths.first.to_s.strip)
3313
+ elsif !file_paths.empty? && File.exist?(file_paths.first.to_s.strip)
3314
3314
  out_dir = file_paths.first.to_s.strip
3315
3315
  end
3316
3316
 
@@ -1000,7 +1000,7 @@ module TBD
1000
1000
  model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
1001
1001
  model += " (v#{ua[:version]})" if ua.key?(:version)
1002
1002
  report << model unless model.empty?
1003
- report << "* TBD : v3.4.0"
1003
+ report << "* TBD : v3.4.2"
1004
1004
  report << "* date : #{ua[:date]}"
1005
1005
 
1006
1006
  if lang == :en
data/lib/tbd/psi.rb CHANGED
@@ -3308,9 +3308,9 @@ module TBD
3308
3308
  match2 = /files/.match(file_paths[1].to_s.strip)
3309
3309
  match = match1 || match2
3310
3310
 
3311
- if file_paths.size >= 2 && File.exists?(file_paths[1].to_s.strip) && match
3311
+ if file_paths.size >= 2 && File.exist?(file_paths[1].to_s.strip) && match
3312
3312
  out_dir = file_paths[1].to_s.strip
3313
- elsif !file_paths.empty? && File.exists?(file_paths.first.to_s.strip)
3313
+ elsif !file_paths.empty? && File.exist?(file_paths.first.to_s.strip)
3314
3314
  out_dir = file_paths.first.to_s.strip
3315
3315
  end
3316
3316
 
data/lib/tbd/ua.rb CHANGED
@@ -1000,7 +1000,7 @@ module TBD
1000
1000
  model = "* modèle : #{ua[:file]}" if ua.key?(:file) && lang == :fr
1001
1001
  model += " (v#{ua[:version]})" if ua.key?(:version)
1002
1002
  report << model unless model.empty?
1003
- report << "* TBD : v3.4.0"
1003
+ report << "* TBD : v3.4.2"
1004
1004
  report << "* date : #{ua[:date]}"
1005
1005
 
1006
1006
  if lang == :en
data/lib/tbd/version.rb CHANGED
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module TBD
24
- VERSION = "3.4.1".freeze # TBD release version
24
+ VERSION = "3.4.2".freeze # TBD release version
25
25
  end
data/tbd.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
 
31
31
  s.add_dependency "topolys", "~> 0"
32
32
  s.add_dependency "osut", "~> 0"
33
- s.add_dependency "json-schema", "~> 2.7.0"
33
+ s.add_dependency "json-schema", "~> 4"
34
34
 
35
35
  s.add_development_dependency "bundler", "~> 2.1"
36
36
  s.add_development_dependency "rake", "~> 13.0"
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.4.1
4
+ version: 3.4.2
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: 2024-04-17 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: topolys
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.7.0
47
+ version: '4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.7.0
54
+ version: '4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -166,7 +166,7 @@ licenses:
166
166
  - MIT
167
167
  metadata:
168
168
  homepage_uri: https://github.com/rd2/tbd
169
- source_code_uri: https://github.com/rd2/tbd/tree/v3.4.1
169
+ source_code_uri: https://github.com/rd2/tbd/tree/v3.4.2
170
170
  bug_tracker_uri: https://github.com/rd2/tbd/issues
171
171
  post_install_message:
172
172
  rdoc_options: []