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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70955627ab1d2e7b8081a36d3e7391bce1b01aa2e68c780387788164d43bb6e2
4
- data.tar.gz: 85764e242bc9ebdc08ef5d06d75b38ff05a47a2e9cb7453a9b115b466b77891e
3
+ metadata.gz: a68d3ec07f5d39ca0b395d5571407c64bbccc2d541e4b492163f42dfe56e2ac0
4
+ data.tar.gz: 12bf4962bbd86f588a0a02cb7885c142d354555255d913c2ca96a156a75569e0
5
5
  SHA512:
6
- metadata.gz: 7de2bb6511755a65bd3aadc4b12d35ff5762b3276240d7d9e23c321370280e7a11d06582b53b308c5d37f91c295b1d83ea01cf6072ea812657015c680afdfc0f
7
- data.tar.gz: 23dfc2de0dbd50f781e9b486427793f12cf1359459768dca36e53ada6a9460375680812432e96fc671a2e08efd4adb8a3bb9698dc85eb6bbaff888f5b2a69a9f
6
+ metadata.gz: 00dec76088c4bf7a5586d1adb924a81b25707183e4e21039b8e1baee2635ad4b291de83d40b58c93d06d41fe981c252d8892684898cd9af7c354239e2e7ee6b4
7
+ data.tar.gz: d5f6bc75637d545ab18a91f371655ffbfb2681fd5e69b5257c5bee27e3a37480207d3f43bc6024b879034870712b7d00da5ae017fa8f9a848f1b1dc5461efe61
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 60
4
- BUGFIX = 17
4
+ BUGFIX = 18
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
7
7
  end
@@ -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
- sub_blocks.delete(name.to_s)
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.17
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: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport