honeybee-openstudio 2.34.1 → 2.34.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: a4dfa78bd619d4e0ee96bedcae85ed99bce737a61516a8abf6d3be8ad1fa2b7b
4
- data.tar.gz: 0eae35ad7865b835097a4454215d965ee76499c9174162bb3865e7ce9d768c15
3
+ metadata.gz: 6947078e38b09ec6c7ee9a64b5d530a3fd7eb3b86137c02471e60d9d7422c08a
4
+ data.tar.gz: 2b9c9771fc008175bef01a951ec104e4df61173ad305da5606e0703e933a43e6
5
5
  SHA512:
6
- metadata.gz: 6aed2c7158f039c171832d76e3d791bca8fffb5a0d2710d534afe4cc20959e993b8de3ce8747b0fefd30933eadb64b896d554c3d64cb135ac88d9f890e3e435d
7
- data.tar.gz: 4b0ea7396722cd43895fc8a79cdae978135f747fc5e34b533b1409be7a8fcef48579352df59c571b26df8e0cf535c13fb770c4055ed3daf20b861e324dc44ea8
6
+ metadata.gz: 45fb3ea19af186fbb5a1dda5946714e80c9c8347839d33b00376f86658e5f9d7329d8a3c2bb96c8c68d5fcd2b6ff2699c47cc9259c102a8103da9fda824b9ccd
7
+ data.tar.gz: 52cbe21e52ceb223c5cb333e1332b5a18db6e2a00859485946813bd65c27bb18483219a0bf4e09f9f977d9a3ed212d287ac49ff724401a7fec151dbcc76ba80e
@@ -6,7 +6,7 @@ jobs:
6
6
 
7
7
  test:
8
8
  name: Unit tests
9
- runs-on: ubuntu-18.04
9
+ runs-on: ubuntu-latest
10
10
 
11
11
  steps:
12
12
  - name: Check out repository
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'honeybee-openstudio'
7
- spec.version = '2.34.1'
7
+ spec.version = '2.34.2'
8
8
  spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
9
9
  spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
10
10
 
@@ -238,15 +238,15 @@ module Honeybee
238
238
 
239
239
  # note any efficency standards that have been assigned to the
240
240
  if @hash[:sizing_parameter]
241
- if @hash[:sizing_parameter][:efficiency_standard]
241
+ if @hash[:sizing_parameter][:efficiency_standard] && @hash[:sizing_parameter][:efficiency_standard] != 0
242
242
  std_gem_standard = @@standard_mapper[@hash[:sizing_parameter][:efficiency_standard].to_sym]
243
243
  building = @openstudio_model.getBuilding
244
244
  building.setStandardsTemplate(std_gem_standard)
245
245
  end
246
- if @hash[:sizing_parameter][:climate_zone]
246
+ if @hash[:sizing_parameter][:climate_zone] && @hash[:sizing_parameter][:climate_zone] != 0
247
247
  climate_zone_objs.setClimateZone('ASHRAE', @hash[:sizing_parameter][:climate_zone])
248
248
  end
249
- if @hash[:sizing_parameter][:building_type]
249
+ if @hash[:sizing_parameter][:building_type] && @hash[:sizing_parameter][:building_type] != 0
250
250
  building = @openstudio_model.getBuilding
251
251
  building.setStandardsBuildingType(@hash[:sizing_parameter][:building_type])
252
252
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.34.1
4
+ version: 2.34.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2023-02-27 00:00:00.000000000 Z
14
+ date: 2023-04-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure