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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a2952f9e16ab5a67591228b85f5a29c8f7ed78b8
4
- data.tar.gz: cd860b639b95180e82d8696575cc236032404ddc
2
+ SHA256:
3
+ metadata.gz: 6b14091e38af4447d8953abb52a8b9cd3ee5cef2bbf0ffddab823bfd5c399445
4
+ data.tar.gz: 857f1eacbdf3b6a01be3dc4d0a7997a2e2deda8a6dfb65b9df187e119afae22c
5
5
  SHA512:
6
- metadata.gz: 1d5ab28b916cfeffe7dbdff873940b06e768ebd2a8fd617d78ee746f3b8a244220c0d429d8a89d1b51d8b4e849698702f6f30223720899afff3a636121821dd4
7
- data.tar.gz: 4323ad68a74301cc311a808cb749d402fd5ce821601fa8570bd525bee903816d168afbdb00f361b69c291c59a7916631d34f2298ee324263e7e815a78a654106
6
+ metadata.gz: 3cf5c56e0a399f1c3f17befeaccb0c7739b0731f09e041b4449d2d14a577ea813950822ddd91439694d18f5b4d6590c4add886f5bcbec8a38be3ce2cb7108ff6
7
+ data.tar.gz: 803f2ff053951b2e6f16dafa98770edea566c315d2c270a7e624b83e478bb21804ef48f3cc77a996d7ccc3cd53fb29a3e2aca1af1c7b39f0d3d2fc79f498fad1
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 35
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -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
- if TRUE_VALUES.include?(value)
183
- return true
184
- elsif FALSE_VALUES.include?(value)
185
- return false
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.0
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-08-24 00:00:00.000000000 Z
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.14.1
641
+ rubygems_version: 2.7.6
642
642
  signing_key:
643
643
  specification_version: 4
644
644
  summary: The Semiconductor Developer's Kit