origen 0.60.17 → 0.60.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/sub_blocks.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a68d3ec07f5d39ca0b395d5571407c64bbccc2d541e4b492163f42dfe56e2ac0
|
4
|
+
data.tar.gz: 12bf4962bbd86f588a0a02cb7885c142d354555255d913c2ca96a156a75569e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00dec76088c4bf7a5586d1adb924a81b25707183e4e21039b8e1baee2635ad4b291de83d40b58c93d06d41fe981c252d8892684898cd9af7c354239e2e7ee6b4
|
7
|
+
data.tar.gz: d5f6bc75637d545ab18a91f371655ffbfb2681fd5e69b5257c5bee27e3a37480207d3f43bc6024b879034870712b7d00da5ae017fa8f9a848f1b1dc5461efe61
|
data/config/version.rb
CHANGED
data/lib/origen/sub_blocks.rb
CHANGED
@@ -319,7 +319,11 @@ module Origen
|
|
319
319
|
# Note that override is to recreate an existing sub-block, not adding additional
|
320
320
|
# attributes to an existing one
|
321
321
|
if options[:override]
|
322
|
-
|
322
|
+
# deregister old block as a listener, as it'll stick around otherwise
|
323
|
+
dynamic_listeners = Origen.app.dynamic_resource(:callback_listeners, [])
|
324
|
+
dynamic_listeners -= [sub_blocks.delete(name.to_s)]
|
325
|
+
Origen.app.set_dynamic_resource(:callback_listeners, dynamic_listeners)
|
326
|
+
|
323
327
|
if options[:class_name]
|
324
328
|
constantizable = !!options[:class_name].safe_constantize
|
325
329
|
# this is to handle the case where a previously instantiated subblock wont allow
|
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.60.
|
4
|
+
version: 0.60.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|