foobara 0.0.61 → 0.0.63

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: 3a3b99978753271dc5d62b11b9132b0301d3285075c1cf61b0672713e7beb0ae
4
- data.tar.gz: c127430a4d7408018e8475d1ebe5311114f8709a04ba448665214605895eb45b
3
+ metadata.gz: 51f412dd4ee9050badd64dfc8e1ec04e82f500ca4b11108ac87ec7303df68cdf
4
+ data.tar.gz: 3c6a97a2c94639a964a728ffdf3a11cab2c1cd7bc3e966f2eb37b5b5de2a8af0
5
5
  SHA512:
6
- metadata.gz: 962b7fa09bafe6bccf89c7d963069eb6207f91c0d7656ba988b87f0cd271e148a8d03d0e86e092c2f536977ef5634a54ca90ca46e334e98448d09be8e1e5fd0d
7
- data.tar.gz: 02d17842a63a15dee83b364bde44b3844d59ec796005c04648e65199aa699e5642dada7aa1ca4121df3409a6c778eb4c40e41ecbb1bf39423e6fc78a1f80b515
6
+ metadata.gz: 62575b0f550c8dd9128f2d49d7b48fbda69af9f207533db1ca7a16c37981994506dcd4ba81b43efea51407bf14258bf7fa1f96e81a76aa006a0041641430a2d7
7
+ data.tar.gz: 345c92a3db7720d4b8710296e15c8a1ead1a445f87820120f0874a8940ac48ea4fbac83fafdb8af6e4de7e0c60c40e352be1cdf7061e89fe8f35d52e5c584267
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
- ## [0.0.61] - 2025-02-22
1
+ ## [0.0.63] - 2025-02-25
2
+
3
+ - Allow creating an Enumerated from a list of value strings that contain colons
4
+
5
+ ## [0.0.62] - 2025-02-21
6
+
7
+ - Add Manifest::Type#to_type_declaration_from_declaration_data
8
+
9
+ ## [0.0.61] - 2025-02-21
2
10
 
3
11
  - Add Manifest::Type#custom?
4
12
 
5
- ## [0.0.60] - 2025-02-22
13
+ ## [0.0.60] - 2025-02-21
6
14
 
7
15
  - Now including domain mappers in the .depends_on call is optional. If you include any of them, you must include all
8
16
  of them. Otherwise, you can include none of them and then no verification of them will be performed.
@@ -57,7 +57,7 @@ module Foobara
57
57
  normalized = {}
58
58
 
59
59
  symbol_map.each_pair do |name, value|
60
- normalized[Util.constantify_sym(name)] = value&.to_sym
60
+ normalized[Util.constantify(name).gsub(":", "_").to_sym] = value&.to_sym
61
61
  end
62
62
 
63
63
  normalized.freeze
@@ -90,6 +90,10 @@ module Foobara
90
90
 
91
91
  false
92
92
  end
93
+
94
+ def to_type_declaration_from_declaration_data
95
+ TypeDeclaration.new(root_manifest, [*path, :declaration_data])
96
+ end
93
97
  end
94
98
  end
95
99
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.61
4
+ version: 0.0.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-21 00:00:00.000000000 Z
10
+ date: 2025-02-25 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bigdecimal