origen 0.33.1 → 0.33.2

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: ea3de179e5091905ff3b66188f8401c3cfff2188
4
- data.tar.gz: 6e3c6bd9aba7ef3b6708c808c23698e26b9eb09a
3
+ metadata.gz: 15df9e0e9b7827f5f28275103a4214a7a71e20e7
4
+ data.tar.gz: 4d1412c20073a4cb6c44599c57a631e22d049eda
5
5
  SHA512:
6
- metadata.gz: a1e8f905773712b62081c45d718b2cf73eea2b2658b33e5d01bea258454ba913286992ccf9253f15c5accc37981d0a44a2e7479f5c76c566e89ae7f0cba7aa49
7
- data.tar.gz: 089977506d24231885841260a7d6b5610b9e6b2db41bda63940b14f930cbfc7869f1c22c7ab8cd8b1cc2271f89cbce160e1a324aad3537db7481eb17eafc941c
6
+ metadata.gz: 866cb4e9a95ff7cb59e134e8ab45de0a7ef3c6da15170bd7081f71a53f9d687ff60037e0da9837f968f700772a39d879aac27e19172bb5f715f7ac96c9075e30
7
+ data.tar.gz: 9e9084dd4e500602a2a5f9c00f509f21f322ab35a64cb28b7d90b273e4c0522accc1a4b100f0b70284aebda0d2866e269edc1ffbb4e71b32cb4d0fe0c9bb5c37
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 33
4
- BUGFIX = 1
4
+ BUGFIX = 2
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -70,7 +70,7 @@ module Origen
70
70
  ivar = "@#{method_name.to_s.gsub('=', '')}"
71
71
  ivar_sym = ":#{ivar}"
72
72
  if method_name[-1] == '?'
73
- id == method_name[0..-2].to_sym
73
+ return id == method_name[0..-2].to_sym
74
74
  elsif method_name[-1] == '='
75
75
  define_singleton_method(method_name) do |val|
76
76
  instance_variable_set(ivar, val)
@@ -16,12 +16,10 @@ module Origen
16
16
  next unless [String, Numeric, Float, Integer, Symbol, Range].include? attr_val.class
17
17
  headers << attr_getter unless headers.include?(attr_getter)
18
18
  str = case attr_val
19
- when Numeric
20
- attr_val.as_V
21
19
  when Range
22
20
  start_voltage = attr_val.first
23
21
  end_voltage = attr_val.last
24
- "#{start_voltage.as_V}\.\.#{end_voltage.as_V}"
22
+ "#{start_voltage}\.\.#{end_voltage}"
25
23
  else
26
24
  attr_val.to_s
27
25
  end
@@ -69,7 +69,7 @@ module Origen
69
69
  model.add_virtual_pin :relay1
70
70
  model.add_virtual_pin :relay2, packages: { bga: {} }
71
71
 
72
- model.sub_block :block1, file: 'origen/export1/block1.rb', dir: '/proj/.tec_k3s/users/cengelken_b50956/origen_blocks/master/vendor/lib/models', lazy: true
72
+ model.sub_block :block1, file: 'origen/export1/block1.rb', dir: '/proj/imxrt1170_test/users/nxa20023/origen/dev/origen/vendor/lib/models', lazy: true
73
73
 
74
74
  end
75
75
  end
@@ -4,7 +4,7 @@ module Origen
4
4
  module Export1
5
5
  module Block1
6
6
  def self.extended(model)
7
- model.sub_block :x, file: 'origen/export1/block1/x.rb', dir: '/proj/.tec_k3s/users/cengelken_b50956/origen_blocks/master/vendor/lib/models', lazy: true, base_address: 0x40000000
7
+ model.sub_block :x, file: 'origen/export1/block1/x.rb', dir: '/proj/imxrt1170_test/users/nxa20023/origen/dev/origen/vendor/lib/models', lazy: true, base_address: 0x40000000
8
8
 
9
9
  end
10
10
  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.33.1
4
+ version: 0.33.2
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-05-04 00:00:00.000000000 Z
11
+ date: 2018-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport