foobara 0.0.43 → 0.0.44

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: aa2be36d2ee83554bf301d1fffd4e39e99da510bb817c212835df9eab32b8a4e
4
- data.tar.gz: 71232aec15786e518056e59c978d5ae42e291bf844110b6d01202200c8a35b25
3
+ metadata.gz: b60c0cc3d83cf48f2ddf1f1e894780ac6734fbc900f7eed95a2330b22e3be91a
4
+ data.tar.gz: 33d2d647bbc84b7452dc0bd49d63bd011bba7ee1c7efec41a927dc31bdaf5e9c
5
5
  SHA512:
6
- metadata.gz: c9e95192d7d5a4da5f8ea25190bb1a14f99d9df8d7ef11370c87c02f9bba022b0d536d246beffad9dfd64dcc6c135dc9ac46c7463c94b4773729a100a0e0ae1c
7
- data.tar.gz: 5430f3014eb74bc235e842decc7ab33790ac0359339005d1573123b9df8f6a4689f7a55aec0f32ec4b4fa24572c55c8e97c98520decd349805aa7cec938b3852
6
+ metadata.gz: 70a2aad2daf712a50b363cf909a203e393b76ea5e1591d36800030df1dc338eabfeceb233e45dc9a08d2174077c31f389c96b58eb703c6b1666c0a7eff71fc44
7
+ data.tar.gz: 13708b13ba186780158224396be937ebdbceda0dd8ff0ac8d07ede3b35dda71013a14413f2548b2891d1ef1a7b54333b0d0383322e6fd3e08a5786d2f6ac1be0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
- ## [0.0.43] - 2025-01-03
1
+ ## [0.0.44] - 2025-01-03
2
2
 
3
3
  - Bumped Ruby from 3.2.2 to 3.4.1
4
+ - Allow passing in a module when registering a "builtin" type
4
5
 
5
6
  ## [0.0.42] - 2024-12-23
6
7
 
@@ -13,13 +13,14 @@ module Foobara
13
13
  type_symbol,
14
14
  base_type,
15
15
  target_classes = const_get("::#{Util.classify(type_symbol)}"),
16
- description: "Built-in #{type_symbol} type"
16
+ description: "Built-in #{type_symbol} type",
17
+ type_module: nil
17
18
  )
18
19
  declaration_data = { type: type_symbol.to_sym }
19
20
 
20
21
  module_symbol = Util.classify(type_symbol).to_sym
21
22
 
22
- builtin_type_module = const_get(module_symbol, false)
23
+ builtin_type_module = type_module || const_get(module_symbol, false)
23
24
 
24
25
  processor_classes_requiring_type = []
25
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi