evt-component_host 2.0.0.8 → 2.1.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/component_host/host.rb +2 -4
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a113a29ffad45da7e3f3711aa254f11d47292f9dea6656afe0dc2c0000342ff3
4
- data.tar.gz: aa2f0009d2dc3c1ce529d1ff54c9b9217cd979aa9506a27abb3bcc243b39839e
3
+ metadata.gz: 893865a35a8f9d5677d5207ad5aec2e96067666aa20d8bc18287e2ac4e51c617
4
+ data.tar.gz: 5082971d59b02d1440c81866a11350eff6872dbe4df30f1549a9af3352b41c25
5
5
  SHA512:
6
- metadata.gz: 3519f62281343b191f116c22ef2a929c343984facf5039806599406b7e2bd557c86ffa8bef6e78d46415a46808b3c98627ffd781870b4e56a03af12c5deb91c5
7
- data.tar.gz: 358fa6d36bed86536af6a8b462ed27fba1e4b5a6ff83f739379b4c667757e93997fcf63762ca16efcf87cb282ba81cdd2797da427e641bc6a7afd2d4aa767205
6
+ metadata.gz: 11895c036826c41424dab0ec7453e5194102f062adf1c41376a19a6071d3585ea6b78660cddc065ba0832957edba51286ed664310a20a7225f742afdad5d6910
7
+ data.tar.gz: ece8be85867a1b2b44124571b72b70cf96b4221ef52ad5a24f70f87d1a1e85271cfc5a1e857f6081f9ea5761d035739f98463b4fada3fab6d15393c28c105ab0
@@ -13,12 +13,10 @@ module ComponentHost
13
13
  instance
14
14
  end
15
15
 
16
- def register(initiator, name=nil, &block)
17
- initiator ||= proc { yield }
18
-
16
+ def register(initiator, name=nil)
19
17
  logger.trace(tag: :component_host) { "Registering component (Component Initiator: #{initiator}, Name: #{name || '(none)'})" }
20
18
 
21
- component = Component.new initiator, name
19
+ component = Component.new(initiator, name)
22
20
 
23
21
  components << component
24
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-component_host
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.8
4
+ version: 2.1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-22 00:00:00.000000000 Z
11
+ date: 2023-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ntl-actor
@@ -119,7 +119,7 @@ homepage: https://github.com/eventide-project/component-host
119
119
  licenses:
120
120
  - MIT
121
121
  metadata: {}
122
- post_install_message:
122
+ post_install_message:
123
123
  rdoc_options: []
124
124
  require_paths:
125
125
  - lib
@@ -134,8 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubygems_version: 3.1.2
138
- signing_key:
137
+ rubygems_version: 3.4.10
138
+ signing_key:
139
139
  specification_version: 4
140
140
  summary: Host components inside a single physical process
141
141
  test_files: []