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 +4 -4
- data/Gemfile +1 -1
- data/honeybee-openstudio.gemspec +2 -2
- data/lib/files/urbanopt_Gemfile +53 -35
- data/lib/to_openstudio/model.rb +7 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96a0a6d175cfae2a36f0daa5775cb1f6979fce972e4bdb818dac0e1df67cb9ef
|
4
|
+
data.tar.gz: e868b0348f3bd8ea2dcdca115e5e7cbbb955c528a97c5b27dcd6b74e5fbb2a73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
10
|
+
gem 'openstudio-extension', '0.6.1'
|
11
11
|
end
|
12
12
|
|
13
13
|
# coveralls gem is used to generate coverage reports through CI
|
data/honeybee-openstudio.gemspec
CHANGED
@@ -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.
|
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.
|
36
|
+
spec.add_dependency 'openstudio-extension', '0.6.1'
|
37
37
|
spec.add_dependency 'openstudio-standards', '~> 0.3.0'
|
38
38
|
end
|
data/lib/files/urbanopt_Gemfile
CHANGED
@@ -2,42 +2,60 @@ source 'http://rubygems.org'
|
|
2
2
|
|
3
3
|
ruby '~> 2.7.0'
|
4
4
|
|
5
|
-
|
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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
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'
|
data/lib/to_openstudio/model.rb
CHANGED
@@ -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
|
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.
|
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-
|
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.
|
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.
|
43
|
+
version: 0.6.1
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: openstudio-standards
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|