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 +4 -4
- data/lib/bcl/component_methods.rb +4 -1
- data/lib/bcl/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: 3c8261d7e2ced17fc7e883474d73b51a02b78f51
|
4
|
+
data.tar.gz: 60d28a64b32d5181fdd0012c41d9d67119f75a68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
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.
|
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-
|
14
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: uuid
|