origen 0.35.0 → 0.35.1
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 +5 -5
- data/config/version.rb +1 -1
- data/lib/origen/site_config.rb +10 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 6b14091e38af4447d8953abb52a8b9cd3ee5cef2bbf0ffddab823bfd5c399445
|
|
4
|
+
data.tar.gz: 857f1eacbdf3b6a01be3dc4d0a7997a2e2deda8a6dfb65b9df187e119afae22c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cf5c56e0a399f1c3f17befeaccb0c7739b0731f09e041b4449d2d14a577ea813950822ddd91439694d18f5b4d6590c4add886f5bcbec8a38be3ce2cb7108ff6
|
|
7
|
+
data.tar.gz: 803f2ff053951b2e6f16dafa98770edea566c315d2c270a7e624b83e478bb21804ef48f3cc77a996d7ccc3cd53fb29a3e2aca1af1c7b39f0d3d2fc79f498fad1
|
data/config/version.rb
CHANGED
data/lib/origen/site_config.rb
CHANGED
|
@@ -7,6 +7,10 @@ module Origen
|
|
|
7
7
|
TRUE_VALUES = ['true', 'TRUE', '1', 1]
|
|
8
8
|
FALSE_VALUES = ['false', 'FALSE', '0', 0]
|
|
9
9
|
|
|
10
|
+
# Adding parameters to this array will prevent them from being converted to booleans if
|
|
11
|
+
# they are assigned one of the values in the TRUE_VALUES/FALSE_VALUES arrays
|
|
12
|
+
NON_BOOLEAN_PARAMETERS = [:lsf_cores]
|
|
13
|
+
|
|
10
14
|
# Define a couple of site configs variables that need a bit of processing
|
|
11
15
|
|
|
12
16
|
# Gets the gem_intall_dir. This is either site_config.home_dir/gems or the site configs gem_install_dir
|
|
@@ -179,10 +183,12 @@ module Origen
|
|
|
179
183
|
value = config ? config[val] : nil
|
|
180
184
|
end
|
|
181
185
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
+
unless NON_BOOLEAN_PARAMETERS.include?(val.to_s.downcase.to_sym)
|
|
187
|
+
if TRUE_VALUES.include?(value)
|
|
188
|
+
return true
|
|
189
|
+
elsif FALSE_VALUES.include?(value)
|
|
190
|
+
return false
|
|
191
|
+
end
|
|
186
192
|
end
|
|
187
193
|
value
|
|
188
194
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: origen
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.35.
|
|
4
|
+
version: 0.35.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen McGinty
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -638,7 +638,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
638
638
|
version: 1.8.11
|
|
639
639
|
requirements: []
|
|
640
640
|
rubyforge_project:
|
|
641
|
-
rubygems_version: 2.6
|
|
641
|
+
rubygems_version: 2.7.6
|
|
642
642
|
signing_key:
|
|
643
643
|
specification_version: 4
|
|
644
644
|
summary: The Semiconductor Developer's Kit
|