origen 0.12.0 → 0.12.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
2
  SHA1:
3
- metadata.gz: 7f8ba64d3b0ecc75adf1a8d9e494db97b7367cc5
4
- data.tar.gz: 6552aebba7e09bf8ad59ea4d5cd75f75395c6adf
3
+ metadata.gz: bc4a84b64d3cb9f9ee4b5d8de1160a3ba5de60cd
4
+ data.tar.gz: 0eb5bb2d2e1fc69c2292d0c055d8a0015fd3930e
5
5
  SHA512:
6
- metadata.gz: 3093953c422bf77ff2bc60af0878aab13f49a0f1b6911555a6ee7958b3ce5bed3bf5266c157d6ace7ef8c2af98f8d0d7cff6d7454cdca9118db3a79cdaf3bb67
7
- data.tar.gz: 7a54ad39e2cb1c0c5ba1c9b86fc420c620e0aee9a2b8d8e6f937181a5307fed6bc53b3aae69c948afc191a59cac8562d98ee18dc6f564d31d6398c8805fc4024
6
+ metadata.gz: a9fcae76485f5a2920fc838bab48563b6287d9c57d06d3ff6d01d99b0d974cd6d5c5f954f8fb00d8d229e298254402ea8f6b1264404716ab40b594b4ff5c048b
7
+ data.tar.gz: be008ee6ce644e6af04ea0983f8e48389ab94a410f77049915b351914ebcb85b3f91a36b60d818d5db45a006973dd2763bde078501b940002cce1b5a3b89420a
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 12
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -194,9 +194,7 @@ module Origen
194
194
 
195
195
  # Creates a header and footer for the pattern based on the current tester and any supplied options
196
196
  def pattern_wrapper(iterators, args, options = {})
197
- options[:iterators] = iterators
198
- options[:args] = args
199
- pattern_open(options)
197
+ pattern_open(options.merge(iterators: iterators, args: args))
200
198
  yield # Pass control back to the pattern source
201
199
  pattern_close(options)
202
200
  end
@@ -91,7 +91,7 @@ module Origen
91
91
  # not explicitly defined on this register it will be inherited from the parent
92
92
  # and will default to :lsb0 at the top-level
93
93
  def bit_order
94
- @bit_order ||= parent.bit_order
94
+ @bit_order ||= parent.respond_to?(:bit_order) ? parent.bit_order : :lsb0
95
95
  end
96
96
 
97
97
  def freeze
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.12.0
4
+ version: 0.12.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: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -600,7 +600,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
600
600
  version: 1.8.11
601
601
  requirements: []
602
602
  rubyforge_project:
603
- rubygems_version: 2.5.1
603
+ rubygems_version: 2.6.7
604
604
  signing_key:
605
605
  specification_version: 4
606
606
  summary: The Semiconductor Developer's Kit