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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c950b711edf77a4d8d93f709d8010e3793b0773
4
- data.tar.gz: 8cb014f35322edfff1102e710e144bea94d50e21
3
+ metadata.gz: 08f1c56ecac14dce6b5f6da391730640a46dbecd
4
+ data.tar.gz: 8ed2cad5fe61d8314a91f75ddda8ca2ff4bbeb04
5
5
  SHA512:
6
- metadata.gz: 696f140221118442a52a8cbc8a728d566da1fe1e080f7ef4338fae661f79081eb6723fb76a5314eb583b8bc554402e4e5f336c7146301acdf4c88ca80af298ef
7
- data.tar.gz: 7694b6fa457d97619594e0986836e4f9aab76734e38a9275ad471c4c722859f37f090705a6160255acd4ad06fc4d9d4817d4c981066a5ff2e4d665bbecda1e14
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
- @osa[:problem][:workflow][i][:arguments].each do |arg|
49
- step_hash[:arguments][arg[:name].to_sym] = arg[:value]
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
@@ -1,5 +1,5 @@
1
1
  module OpenStudio
2
2
  module Analysis
3
- VERSION = '1.0.0-rc2'
3
+ VERSION = '1.0.0-rc3'
4
4
  end
5
5
  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.rc2
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-03 00:00:00.000000000 Z
11
+ date: 2016-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday