bcl 0.5.0 → 0.5.1

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
  SHA1:
3
- metadata.gz: 0102b8e0a960be6a451282df54e0085e1f5f0326
4
- data.tar.gz: 3c2782995b885b716a487e7cdf1ea4065ae9c550
3
+ metadata.gz: 3c8261d7e2ced17fc7e883474d73b51a02b78f51
4
+ data.tar.gz: 60d28a64b32d5181fdd0012c41d9d67119f75a68
5
5
  SHA512:
6
- metadata.gz: aeb50fb46e7813091e870a957d1b80d74c33759fad953e1fba1430b27c9bb6a33eba385ea063414407b6d8bc754135e9ab07a559618be794a6e2a15dca5f5d99
7
- data.tar.gz: b31c0c600958f41b85f15c442f0a59930bc524e84b4da699be82c305856906db5e6fde8acd134bf2903d2327de4cbe06a450c4e00a3166cf0bcfebda127ba1b9
6
+ metadata.gz: 0ae00869258b819c3bcd25ca754d146425396f3e3e947390f19b355bb3c9ffe84b7faece96dd08185ca98b7f57f11c3f71a44a7eeb718088d1e42061d89b5775
7
+ data.tar.gz: 493314cacf68654e9c51af902089674cb6d4d268b941a9cc4fd6444522ab02487193a6a645d5ad0fe5630fb36c59c329e47b3a7196bb2af98e208af0251c9026
@@ -228,12 +228,15 @@ module BCL
228
228
  args = measure_string.scan(/(.*).*=.*OpenStudio::Ruleset::OSArgument::make(.*)Argument\((.*).*\)/)
229
229
  #puts "found #{args.size} arguments for measure '#{measure[:measure][:name]}'"
230
230
  args.each do |arg|
231
+
232
+
231
233
  new_arg = {}
232
234
  new_arg[:local_variable] = arg[0].strip
233
235
  new_arg[:variable_type] = arg[1]
234
236
  arg_params = arg[2].split(",")
235
237
  new_arg[:name] = arg_params[0].gsub(/"|'/, "")
236
- choice_vector = arg_params[1].strip
238
+ next if new_arg[:name] == 'info_widget'
239
+ choice_vector = arg_params[1] ? arg_params[1].strip : nil
237
240
 
238
241
  # local variable name to get other attributes
239
242
  new_arg[:display_name] = measure_string.match(/#{new_arg[:local_variable]}.setDisplayName\((.*)\)/)[1]
data/lib/bcl/version.rb CHANGED
@@ -18,5 +18,5 @@
18
18
  ######################################################################
19
19
 
20
20
  module BCL
21
- VERSION = "0.5.0"
21
+ VERSION = "0.5.1"
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Macumber
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-01-31 00:00:00.000000000 Z
14
+ date: 2014-02-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: uuid