origen 0.6.2 → 0.6.3
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 +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/specs.rb +8 -8
- 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: b918cf2aa4bd8dca1788f375b5af4827e93ad1e9
|
|
4
|
+
data.tar.gz: eb0bbe853476f9df9bf1bb8445952b685c6005da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fdc2131fac4f0d527f3f8920cdbf76b847971a95ede803c197cbdf8963e45b2fc84c5366b9f03d2a434204e5959a84b92f704cbd38f9e21e1d5d4aa3f5cd049d
|
|
7
|
+
data.tar.gz: ab6f218b1b986d91b5c70ef39e2806fa1121e997d8487f4602b827b6692826999c975048a18bafa8adf5b099c9c27da711fdf1ac8f3444385dafb84e63b2c7eb
|
data/config/version.rb
CHANGED
data/lib/origen/specs.rb
CHANGED
|
@@ -222,9 +222,9 @@ module Origen
|
|
|
222
222
|
h[k] = {}
|
|
223
223
|
end
|
|
224
224
|
# Filter @notes based off of the id
|
|
225
|
-
@_notes
|
|
225
|
+
filter_hash(@_notes, options[:id]).each do |id, hash|
|
|
226
226
|
# Filter hash based off of the type
|
|
227
|
-
hash
|
|
227
|
+
filter_hash(hash, options[:type]).each do |type, note|
|
|
228
228
|
# Store the note into note_found
|
|
229
229
|
notes_found[id][type] = note
|
|
230
230
|
end
|
|
@@ -247,8 +247,8 @@ module Origen
|
|
|
247
247
|
features_found = Hash.new do |h, k|
|
|
248
248
|
h[k] = {}
|
|
249
249
|
end
|
|
250
|
-
@_spec_features
|
|
251
|
-
hash
|
|
250
|
+
filter_hash(@_spec_features, options[:id]).each do |id, hash|
|
|
251
|
+
filter_hash(hash, options[:device]).each do |device, feat|
|
|
252
252
|
features_found[id][device] = feat
|
|
253
253
|
end
|
|
254
254
|
end
|
|
@@ -359,8 +359,8 @@ module Origen
|
|
|
359
359
|
modes_found = Hash.new do|h, k|
|
|
360
360
|
h[k] = {}
|
|
361
361
|
end
|
|
362
|
-
_mode_selects
|
|
363
|
-
hash
|
|
362
|
+
filter_hash(_mode_selects, options[:block]).each do |block, hash|
|
|
363
|
+
filter_hash(hash, options[:mode]).each do |mode, sel|
|
|
364
364
|
modes_found[block][mode] = sel
|
|
365
365
|
end
|
|
366
366
|
end
|
|
@@ -379,8 +379,8 @@ module Origen
|
|
|
379
379
|
ps_found = Hash.new do|h, k|
|
|
380
380
|
h[k] = {}
|
|
381
381
|
end
|
|
382
|
-
_power_supplies
|
|
383
|
-
hash
|
|
382
|
+
filter_hash(_power_supplies, options[:gen]).each do |gen, hash|
|
|
383
|
+
filter_hash(hash, options[:act]).each do |act, sel|
|
|
384
384
|
ps_found[gen][act] = sel
|
|
385
385
|
end
|
|
386
386
|
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.6.
|
|
4
|
+
version: 0.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen McGinty
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|