honeybee-openstudio 2.34.5 → 2.34.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdd9201849bf1da5bf6d581ac131eba749fcca29a4482a85db4f635903ecda34
4
- data.tar.gz: ffe318028f24cf4cdc04ce14402d87b5ee7bcbf7bd6807e7a5d3c166f2e35e40
3
+ metadata.gz: 96a0a6d175cfae2a36f0daa5775cb1f6979fce972e4bdb818dac0e1df67cb9ef
4
+ data.tar.gz: e868b0348f3bd8ea2dcdca115e5e7cbbb955c528a97c5b27dcd6b74e5fbb2a73
5
5
  SHA512:
6
- metadata.gz: d0dfb6907626671966642d1482b2300c75ec673527e2ca5a3fccfe7636b2626642c8449f0af02de35050bdd6431ca5327b1a9ba2208526a3e7e444fb868a9bd7
7
- data.tar.gz: 256430d6e0261df7fc68a4071c0ac9d23efc3ff146b5bbab437d893e32b0bef7b76f520846ec2e51efecb7ce95fef7626d8ef3d4286b842472b34999b3170dc3
6
+ metadata.gz: 9af5f2469ca5849ccc9c5cd12d55ec3bdf495aa8fb75e966948cfa2e6edf359aaa86cc63cd8deadc5d4f8953d05412e1bf5af2500e08f86be6ac63e009a103bd
7
+ data.tar.gz: a76b8a5d6899d58366303323625fc0428cc6f1ac7602466980a7da0e8b10b29527634c5ebf13622e0d39e363bd5fc8964a869251d4baa41d8626ee904cff2de8
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gemspec
7
7
  if File.exist?('../OpenStudio-extension-gem') # local development copy
8
8
  gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
9
9
  else # get it from rubygems.org
10
- gem 'openstudio-extension', '0.6.0'
10
+ gem 'openstudio-extension', '0.6.1'
11
11
  end
12
12
 
13
13
  # coveralls gem is used to generate coverage reports through CI
@@ -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.5'
7
+ spec.version = '2.34.7'
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
 
@@ -33,6 +33,6 @@ Gem::Specification.new do |spec|
33
33
  end
34
34
 
35
35
  spec.add_dependency 'json_pure'
36
- spec.add_dependency 'openstudio-extension', '0.6.0'
36
+ spec.add_dependency 'openstudio-extension', '0.6.1'
37
37
  spec.add_dependency 'openstudio-standards', '~> 0.3.0'
38
38
  end
@@ -2,42 +2,60 @@ source 'http://rubygems.org'
2
2
 
3
3
  ruby '~> 2.7.0'
4
4
 
5
- allow_local = ENV['FAVOR_LOCAL_GEMS']
6
-
7
- # pin this dependency to avoid unicode_normalize error
5
+ # pin these dependencies to prevent releases of gems from breaking URBANopt
8
6
  gem 'addressable', '2.8.1'
9
-
10
- if allow_local && File.exist?('../openstudio-common-measures-gem')
11
- gem 'openstudio-common-measures', path: '../openstudio-common-measures-gem'
12
- elsif allow_local
13
- gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
14
- else
15
- gem 'openstudio-common-measures', '~> 0.7.0'
16
- end
17
-
18
- if allow_local && File.exist?('../openstudio-model-articulation-gem')
19
- gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem'
20
- elsif allow_local
21
- gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
22
- else
23
- gem 'openstudio-model-articulation', '0.7.0'
24
- end
25
-
26
- if allow_local && File.exist?('../urbanopt-geojson-gem')
27
- gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
28
- elsif allow_local
29
- gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
30
- else
31
- gem 'urbanopt-geojson', '~> 0.9.0'
32
- end
33
-
34
- if allow_local && File.exist?('../urbanopt-reporting-gem')
35
- gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
36
- elsif allow_local
37
- gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
38
- else
39
- gem 'urbanopt-reporting', '~> 0.7.0'
40
- end
7
+ gem 'ansi', '1.5.0'
8
+ gem 'ast', '2.4.2'
9
+ gem 'bcl', '0.7.1'
10
+ gem 'builder', '3.2.4'
11
+ gem 'docile', '1.4.0'
12
+ gem 'faraday', '1.0.1'
13
+ gem 'git', '1.12.0'
14
+ gem 'json-schema', '2.8.1'
15
+ gem 'json_pure', '2.6.3'
16
+ gem 'macaddr', '1.7.2'
17
+ gem 'minitar', '0.9'
18
+ gem 'multipart-post', '2.3.0'
19
+ gem 'octokit', '4.18.0'
20
+ gem 'openstudio-calibration', '0.7.0'
21
+ gem 'openstudio-common-measures', '0.7.0'
22
+ gem 'openstudio-ee', '0.7.0'
23
+ gem 'openstudio-extension', '0.6.0'
24
+ gem 'openstudio-geb', '0.2.1'
25
+ gem 'openstudio-load-flexibility-measures', '0.6.1'
26
+ gem 'openstudio_measure_tester', '0.3.2'
27
+ gem 'openstudio-model-articulation', '0.7.0'
28
+ gem 'openstudio-standards', '0.3.0'
29
+ gem 'openstudio-workflow', '2.3.1'
30
+ gem 'parallel', '1.19.2'
31
+ gem 'parser', '3.2.2.2'
32
+ gem 'public_suffix', '5.0.1'
33
+ gem 'minitest', '5.14.4'
34
+ gem 'minitest-reporters', '1.4.3'
35
+ gem 'rchardet', '1.8.0'
36
+ gem 'rake', '13.0.6'
37
+ gem 'rainbow', '3.1.1'
38
+ gem 'regexp_parser', '2.8.1'
39
+ gem 'rexml', '3.2.5'
40
+ gem 'rubocop', '1.15.0'
41
+ gem 'rubocop-ast', '1.29.0'
42
+ gem 'rubocop-checkstyle_formatter', '0.4.0'
43
+ gem 'rubocop-performance', '1.11.5'
44
+ gem 'ruby-ole', '1.2.12.2'
45
+ gem 'ruby-progressbar', '1.13.0'
46
+ gem 'rubyzip', '2.3.2'
47
+ gem 'sawyer', '0.8.2'
48
+ gem 'simplecov', '0.18.5'
49
+ gem 'simplecov-html', '0.12.3'
50
+ gem 'spreadsheet', '1.2.9'
51
+ gem 'systemu', '2.6.5'
52
+ gem 'unicode-display_width', '2.4.2'
53
+ gem 'urbanopt-core', '0.9.0'
54
+ gem 'urbanopt-geojson', '0.9.0'
55
+ gem 'urbanopt-reporting', '0.7.0'
56
+ gem 'uuid', '2.3.9'
57
+ gem 'yamler', '0.1.0'
58
+ gem 'zliby', '0.0.5'
41
59
 
42
60
  # include the honeybee-openstudio-gem
43
61
  gem 'honeybee-openstudio', '2.33.4'
@@ -99,8 +99,14 @@ module Honeybee
99
99
 
100
100
  # create OpenStudio objects in the OpenStudio model
101
101
  def create_openstudio_objects(log_report=true)
102
- # assign a standards building type so that David's measures can run
102
+ # assign the building name and a default standards building type so measures can run
103
103
  building = @openstudio_model.getBuilding
104
+ if @hash[:display_name]
105
+ clean_name = @hash[:display_name].to_s.gsub(/[^.A-Za-z0-9_-] /, " ")
106
+ building.setName(clean_name)
107
+ else
108
+ building.setName(@hash[:identifier])
109
+ end
104
110
  if building.standardsBuildingType.empty?
105
111
  building.setStandardsBuildingType('MediumOffice')
106
112
  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.5
4
+ version: 2.34.7
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-05-01 00:00:00.000000000 Z
14
+ date: 2023-07-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure
@@ -33,14 +33,14 @@ dependencies:
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.6.0
36
+ version: 0.6.1
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.6.0
43
+ version: 0.6.1
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: openstudio-standards
46
46
  requirement: !ruby/object:Gem::Requirement