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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bc6e2ee2d9910f21faa52e1e948f6ed4bcbef92
4
- data.tar.gz: 5be7d023d1d1d571a83c60661aca1ab536c91d3f
3
+ metadata.gz: b918cf2aa4bd8dca1788f375b5af4827e93ad1e9
4
+ data.tar.gz: eb0bbe853476f9df9bf1bb8445952b685c6005da
5
5
  SHA512:
6
- metadata.gz: f216784f8927bccb6ff9433715b7e9e477eebaac491c3a1550fd1ddb2775fbc20f70a945f9ba1ed9964be9327f287ea4e4b2d43bb33c6fc3882bbe524f16b41b
7
- data.tar.gz: 494830907b1e2abb082d61b258057e4ccaa48ce1716ee3ed3f7a0eec81a4ae8eda7ab2882a497204f84cf7e556fb473c4d5a168f578e5041726d215989dea5c8
6
+ metadata.gz: fdc2131fac4f0d527f3f8920cdbf76b847971a95ede803c197cbdf8963e45b2fc84c5366b9f03d2a434204e5959a84b92f704cbd38f9e21e1d5d4aa3f5cd049d
7
+ data.tar.gz: ab6f218b1b986d91b5c70ef39e2806fa1121e997d8487f4602b827b6692826999c975048a18bafa8adf5b099c9c27da711fdf1ac8f3444385dafb84e63b2c7eb
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 6
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -222,9 +222,9 @@ module Origen
222
222
  h[k] = {}
223
223
  end
224
224
  # Filter @notes based off of the id
225
- @_notes.filter(options[:id]).each do |id, hash|
225
+ filter_hash(@_notes, options[:id]).each do |id, hash|
226
226
  # Filter hash based off of the type
227
- hash.filter(options[:type]).each do |type, note|
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.filter(options[:id]).each do |id, hash|
251
- hash.filter(options[:device]).each do |device, feat|
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.filter(options[:block]).each do |block, hash|
363
- hash.filter(options[:mode]).each do |mode, sel|
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.filter(options[:gen]).each do |gen, hash|
383
- hash.filter(options[:act]).each do |act, sel|
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.2
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-15 00:00:00.000000000 Z
11
+ date: 2016-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport