openstudio-analysis 1.0.0.pre.rc2 → 1.0.0.pre.rc3
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/openstudio/analysis/translator/workflow.rb +5 -2
- data/lib/openstudio/analysis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 08f1c56ecac14dce6b5f6da391730640a46dbecd
|
|
4
|
+
data.tar.gz: 8ed2cad5fe61d8314a91f75ddda8ca2ff4bbeb04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 069cedb27a9a0b9c8d7f13ac6ea5b780e6e3757fd07e9536bef4116612d650d023736f533b7d207a5754e479f059ed10ca570513a70ccda5859a6c3365a9f6c4
|
|
7
|
+
data.tar.gz: 168d9a504aad35de67c6c3fb5ce437f96b3d8cfe74382e6dde3af3348f2791b1ef0cb88dd186b5eab17323074aa9c57ab701696e837508df0a022e39cced5c94
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
OpenStudio Analysis Gem Change Log
|
|
2
2
|
==================================
|
|
3
3
|
|
|
4
|
+
Version 1.0.0.pre.rc3
|
|
5
|
+
---------------------
|
|
6
|
+
* Catch null arguments when translating from OSA/OSD to OSW
|
|
7
|
+
|
|
4
8
|
Version 1.0.0.pre.rc2
|
|
5
9
|
--------------------------------
|
|
6
10
|
* Note that pre.rc1 was yanked from Rubygems.
|
|
@@ -45,8 +45,11 @@ module OpenStudio
|
|
|
45
45
|
step_hash = {}
|
|
46
46
|
step_hash[:measure_dir_name] = File.basename(step[:measure_definition_directory])
|
|
47
47
|
step_hash[:arguments] = {}
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
# Measures can have no arguments -- make sure to catch it
|
|
49
|
+
if @osa[:problem][:workflow][i][:arguments]
|
|
50
|
+
@osa[:problem][:workflow][i][:arguments].each do |arg|
|
|
51
|
+
step_hash[:arguments][arg[:name].to_sym] = arg[:value]
|
|
52
|
+
end
|
|
50
53
|
end
|
|
51
54
|
@steps << step_hash
|
|
52
55
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstudio-analysis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0.pre.
|
|
4
|
+
version: 1.0.0.pre.rc3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicholas Long
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-08-
|
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|