openstudio-standards 0.7.0 → 0.7.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: f9291620f66d76ddfd726191917cc813d14a29fb6b9ee9de5b1b5670abfd5620
4
- data.tar.gz: 6a0e1a0a9d6fc389a68667563e375a923fe6484a4685aac1940eeb5c10763f24
3
+ metadata.gz: 748c3d2973b4e481be8c66360823ad0c2498a3ac70225379d70afb8fcb6df529
4
+ data.tar.gz: 348ed8194710292232687d91f920c519611d41ca845a30928f6cf3fd3767e711
5
5
  SHA512:
6
- metadata.gz: 618793b8d2e6bb43e09827ad1371c26667fcc1b981bb058c1b3981b2781dd489ba048a8aa419e1a6289336bb6fac56c2a745c5f6814f6929f3c095bd9eabf5de
7
- data.tar.gz: dd545de9b41a33bb218e23799d86deb8c2426cfb6792e92dee496d0b3b32c211fe8097b2355fa5151e9de3b07dafb992b93f3c59296665d045e96c1957bd047c
6
+ metadata.gz: aaad2a85809fcb0eace0bb4ba30cbd2f31c1234d36818084e85f85f7700469f2547a56122378d6e74f6aedf16d342e57dd757341abf731b920be994d6d95767b
7
+ data.tar.gz: 926f9cb66ecf85fdaa4954f2b2a0e9674502e591180ea169206bff92ea27464a0fbab6351a5136fbac1c64e3c4c9dc637273b3645b70b07e17979845d3a6290a
@@ -13,5 +13,5 @@ module OpenstudioStandards
13
13
  end
14
14
  return 'git-not-found-on-this-system'
15
15
  end
16
- VERSION = '0.7.0'.freeze
16
+ VERSION = '0.7.1'.freeze
17
17
  end
@@ -202,7 +202,7 @@ module OpenstudioStandards
202
202
  stat_string = load_resource_relative("../../../data/weather/#{weather_file_name.gsub('.epw', '.stat')}")
203
203
 
204
204
  # extract to local weather dir
205
- weather_dir = File.expand_path(File.join(__dir__, 'extracted_files/weather/'))
205
+ weather_dir = File.expand_path(File.join(Dir.pwd, 'extracted_files/weather/'))
206
206
  OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.Weather.information', "Extracting weather files from OpenStudio CLI to #{weather_dir}")
207
207
  FileUtils.mkdir_p(weather_dir)
208
208
 
@@ -210,15 +210,15 @@ module OpenstudioStandards
210
210
  if path_length > 260
211
211
  OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.Weather.information', "Weather file path length #{path_length} is >260 characters and may cause issues in Windows environments.")
212
212
  end
213
- File.open("#{weather_dir}/#{weather_file_name}", 'wb').each do |f|
213
+ File.open("#{weather_dir}/#{weather_file_name}", 'wb') do |f|
214
214
  f << epw_string
215
215
  f.flush
216
216
  end
217
- File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.ddy')}", 'wb').each do |f|
217
+ File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.ddy')}", 'wb') do |f|
218
218
  f << ddy_string
219
219
  f.flush
220
220
  end
221
- File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.stat')}", 'wb').each do |f|
221
+ File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.stat')}", 'wb') do |f|
222
222
  f << stat_string
223
223
  f.flush
224
224
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-standards
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Adams
@@ -39,7 +39,7 @@ authors:
39
39
  autorequire:
40
40
  bindir: bin
41
41
  cert_chain: []
42
- date: 2024-11-05 00:00:00.000000000 Z
42
+ date: 2024-12-13 00:00:00.000000000 Z
43
43
  dependencies:
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: bundler
@@ -598,7 +598,7 @@ files:
598
598
  - data/geometry/DOERefWarehouse.json
599
599
  - data/geometry/DOERefWarehouse.osm
600
600
  - data/inventory/thermal_bridging.csv
601
- - data/standards/OpenStudio_Standards-ashrae_90_1.xlsx
601
+ - data/standards/OpenStudio_Standards-ashrae_90_1-ALL-comstock(space_types).xlsx
602
602
  - data/standards/exclude_list.csv
603
603
  - data/standards/export_OpenStudio_libraries.rb
604
604
  - data/standards/manage_OpenStudio_Standards.rb