ex_aequo_base 0.1.9 → 0.1.10

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
  SHA256:
3
- metadata.gz: e92467b526715617cfc4936b88dbdd843195e0ddd474a94da9c52650fb7e6d4a
4
- data.tar.gz: 8545cb2f614673f13250d4deea5338baed5e78a7ccd1c89a9d6712527368029d
3
+ metadata.gz: df234a242bd18d417f8c1df61d6b25dfdfe59e0d9af1eea2c9c560cc60287f72
4
+ data.tar.gz: 4792d00ba86ce36c352ed3b575df8f68fc4f7a7f37ee49d43141aaed04e5821d
5
5
  SHA512:
6
- metadata.gz: 934cec29d13da31c801ab3901e9484bafbcf48b2cc0dd47e22cbd850f48bfb382d529bba2b18a20a433d3c5cebab2c7824ce8c612dfcdd96b76cdb2390c5b8ef
7
- data.tar.gz: 05db10e7a72ea3140345cca0d480a4e8b927752f3760484cf87fcf5f0e152da62f51fc938e10055d65dd538819a94f500b1eb7bbee5a1071443b90326bc93fde
6
+ metadata.gz: 7df36f9dd42146763cfb902b7550871c1365991eeaab71eef99ee169ce606566cbf298abeb63dbd79529fcd1ded14069967f5b6b576efa90d94d69be72f907e1
7
+ data.tar.gz: b85818ae40aa7be88bab8e0bd62e21b653187e73a8d761d15547493d916239ec966e783ec2bdd5e6d6c7ae1d8d3a7ffea3f03b3269c991786fcf865c2f8368fa
@@ -6,6 +6,11 @@ module ExAequo
6
6
  module Forwarder
7
7
  include Forwardable
8
8
 
9
+ def forward(message, to:, as: nil)
10
+ as ||= message
11
+ def_delegator(to, as, message)
12
+ end
13
+
9
14
  def forward_all(*messages, to:)
10
15
  def_delegators(to, *messages)
11
16
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module ExAequo
4
4
  module Base
5
- VERSION = '0.1.9'
5
+ VERSION = '0.1.10'
6
6
  end
7
7
  end
8
8
  # SPDX-License-Identifier: AGPL-3.0-or-later
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ex_aequo_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Dober